Skip to content

addebc/lattepanda-mainline-4.11

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

  • The Kernel version 4.12.0-rc1 was based on Ubuntu mainline build to have a better experience.
  • Mainline build
  • Unlike UP board, this kernel should work for other CherryTrail tablets and laptops, because LattePanda focused on the Atmel MCU and developed it.
  • This repository could be cooperative. Any comments and suggestions will be appreciated.

z8350 based platform

  • Enivorment

    • Testing OS on LattePanda(4G/64G):
    • Ubuntu 16.04.2 64Bit LTS
    • GCC version 5.4.0 20160609
  • Patch:

    • WiFi (rtl8723bs directory and in Tree)
    • Bluetooth (rtl8723bs_bt directory)
    • Audio (ucm directory)
    • PWM (in Tree)
  • BIOS:

    • South Bridge -> Chipset -> SCC Configuration
      • SCC SDIO Support -> PCI Mode
  • If you want to build your own kernel step-by-step, there are steps as follows:


    1. Install Ubuntu 16.04.2 ISO from Ubuntu official website, make sure that installation is only in UEFI boot mode.
    1. modify GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=1" to /etc/default/grub, it will prevent system freezing.
    1. In the terminal, sudo apt-get update
    1. sudo apt-get dist-upgrade
    1. sudo apt-get install git
    1. git clone this repository.
    1. cd in
    1. make mrproper
    1. make upboard_defconfig
    1. make -j4
    1. sudo make modules_install
    1. sudo make firmware_install
    1. sudo make headers_install
    1. sudo make install
    1. patch UCM configuration file to /usr/share/alsa/ucm/chtrt5645
    1. build rtl8723bs_bt dirver
    1. move binary to /usr/sbin
    1. add systemd service rtl8723bsbt.service
    1. link BT service for all users
    1. patch BT and WiFi firmware to /lib/firmware
  • p.s.

  • If you see warnings as follows:

    • W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915

    • W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915

    • W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915

    • Download and install firmwares, but assume that CherryTrail is not involved in the firmwares.

    • Intel firmwares

    1. reboot and play. You could edit your grub menu to roll back original kernel.

  • If you want to install the kernel and apply all steps, there are steps as follows:

  • z8350 directory: (split files)
  • Prebuilt Linux kernel, modules and steps by a DEB file, it is easy to install.
    1. merge the split files to get a DEB file, cd in package directory.
    1. cat lattepanda-z8350-64-mainline_4.12.0-rc1-1_amd64.deb.parta* > lattepanda-z8350-64-mainline_4.12.0-rc1-1_amd64.deb
    1. sudo dpkg -i lattepanda-64-mainline_4.12.0-rc1-1_amd64.deb
    1. reboot your LattePanda to take effect.

z8300 based platform

  • Enivorment

    • Testing OS on LattePanda(4G/64G):
    • Ubuntu 16.04.2 64Bit LTS
    • GCC version 5.4.0 20160609
  • Patch:

    • (BT ID is BCM2E95)
    • WiFi (bcm43340 directory and in Tree)
    • Bluetooth (bcm34430_bt directory and in Tree)
    • Audio (ucm directory)
    • PWM (in Tree)
  • If you want to build your own kernel step-by-step, there are steps as follows:


    1. Install Ubuntu 16.04.2 ISO from Ubuntu official website, make sure that installation is only in UEFI boot mode.
    1. modify GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=1" to /etc/default/grub, it will prevent system freezing.
    1. In the terminal, sudo apt-get update
    1. sudo apt-get dist-upgrade
    1. sudo apt-get install git
    1. git clone this repository.
    1. cd in
    1. make mrproper
    1. make upboard_defconfig
    1. make -j4
    1. sudo make modules_install
    1. sudo make firmware_install
    1. sudo make headers_install
    1. sudo make install
    1. patch UCM configuration file to /usr/share/alsa/ucm/chtrt5645
    1. add systemd service bcm43340bt.service
    1. link BT service for all users
    1. patch BT and WiFi firmware to /lib/firmware
  • p.s.

  • If you see warnings as follows:

    • W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915

    • W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915

    • W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915

    • Download and install firmwares, but assume that CherryTrail is not involved in the firmwares.

    • Intel firmwares

    1. reboot and play. You could edit your grub menu to roll back original kernel.

  • If you want to install the kernel and apply all steps, there are steps as follows:

  • z8300 directory: (split files)
  • Prebuilt Linux kernel, modules and steps by a DEB file, it is easy to install.
    1. merge the split files to get a DEB file, cd in package directory.
    1. cat lattepanda-z8300-64-mainline_4.12.0-rc1-1_amd64.deb.parta* > lattepanda-z8300-64-mainline_4.12.0-rc1-1_amd64.deb
    1. sudo dpkg -i lattepanda-z8300-64-mainline_4.12.0-rc1-1_amd64.deb
    1. reboot your LattePanda to take effect.

For Debian 8 (Jessie)

About

Mainline Linux Kernel version 4.12.0-rc1 for LattePanda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.7%
  • Assembly 1.6%
  • C++ 1.4%
  • Objective-C 0.7%
  • Makefile 0.3%
  • Perl 0.1%
  • Other 0.2%