abc91199 / lattepanda-mainline-4.11

Mainline Linux Kernel version 4.11.0-rc8 for LattePanda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Kernel version 4.11.0-rc8 was based on Ubuntu mainline build to have a better experience.
git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack

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.

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
SCC SD Card Support -> PCI Mode

Steps:
1. Install Ubuntu 16.04.2 ISO from Ubuntu official website, make sure that installation is only in UEFI boot mode.
2. In the terminal, sudo apt-get update
3. sudo apt-get dist-upgrade
4. sudo apt-get install git
5. git clone this repository.
6. cd in
7. make mrproper
8. make upboard_defconfig
9. make -j4
10. sudo make modules_install
11. sudo make firmware_install
12. sudo make headers_install
13. sudo make install
14. patch UCM configuration file to /usr/share/alsa/ucm/chtrt5645
15. build rtl8723bs_bt dirver
16. move binary to /usr/sbin
17. add systemd service rtl8723bsbt.service
18. link BT service for all users
19. 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.
https://01.org/linuxgraphics/downloads/firmware

20. reboot and play, you could edit your grub menu to roll back original kernel.

Package: (split Zip file)
Prebuilt Linux kernel and modules by a DEB file, it is easy to install.

About

Mainline Linux Kernel version 4.11.0-rc8 for LattePanda


Languages

Language:C 95.1%Language:C++ 2.2%Language:Assembly 1.7%Language:Objective-C 0.3%Language:Makefile 0.3%Language:Perl 0.1%Language:Shell 0.1%Language:Python 0.1%Language:Yacc 0.0%Language:Lex 0.0%Language:Roff 0.0%Language:Awk 0.0%Language:GDB 0.0%Language:UnrealScript 0.0%Language:Gherkin 0.0%Language:Perl 6 0.0%Language:M4 0.0%Language:SourcePawn 0.0%Language:XS 0.0%Language:Clojure 0.0%