- 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.
-
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
- South Bridge -> Chipset -> SCC Configuration
-
If you want to build your own kernel step-by-step, there are steps as follows:
-
- Install Ubuntu 16.04.2 ISO from Ubuntu official website, make sure that installation is only in UEFI boot mode.
-
- modify GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=1" to /etc/default/grub, it will prevent system freezing.
-
- In the terminal, sudo apt-get update
-
- sudo apt-get dist-upgrade
-
- sudo apt-get install git
-
- git clone this repository.
-
- cd in
-
- make mrproper
-
- make upboard_defconfig
-
- make -j4
-
- sudo make modules_install
-
- sudo make firmware_install
-
- sudo make headers_install
-
- sudo make install
-
- patch UCM configuration file to /usr/share/alsa/ucm/chtrt5645
-
- build rtl8723bs_bt dirver
-
- move binary to /usr/sbin
-
- add systemd service rtl8723bsbt.service
-
- link BT service for all users
-
- 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.
-
-
- 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.
-
- merge the split files to get a DEB file, cd in package directory.
-
- cat lattepanda-z8350-64-mainline_4.12.0-rc1-1_amd64.deb.parta* > lattepanda-z8350-64-mainline_4.12.0-rc1-1_amd64.deb
-
- sudo dpkg -i lattepanda-64-mainline_4.12.0-rc1-1_amd64.deb
-
- reboot your LattePanda to take effect.
-
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:
-
- Install Ubuntu 16.04.2 ISO from Ubuntu official website, make sure that installation is only in UEFI boot mode.
-
- modify GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=1" to /etc/default/grub, it will prevent system freezing.
-
- In the terminal, sudo apt-get update
-
- sudo apt-get dist-upgrade
-
- sudo apt-get install git
-
- git clone this repository.
-
- cd in
-
- make mrproper
-
- make upboard_defconfig
-
- make -j4
-
- sudo make modules_install
-
- sudo make firmware_install
-
- sudo make headers_install
-
- sudo make install
-
- patch UCM configuration file to /usr/share/alsa/ucm/chtrt5645
-
- add systemd service bcm43340bt.service
-
- link BT service for all users
-
- 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.
-
-
- 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.
-
- merge the split files to get a DEB file, cd in package directory.
-
- cat lattepanda-z8300-64-mainline_4.12.0-rc1-1_amd64.deb.parta* > lattepanda-z8300-64-mainline_4.12.0-rc1-1_amd64.deb
-
- sudo dpkg -i lattepanda-z8300-64-mainline_4.12.0-rc1-1_amd64.deb
-
- reboot your LattePanda to take effect.
- Please refer to Debian 8 installation