Sunday 3 July 2016

[p9 lite] kernel source updated to 3.10.102 - use it if you want!



I think I'm really close to building the kernel for the P9 Lite, but now I am stuck at the Hisilicon driver.
[edit] Compilation succesful! People, feel free to use this updated version of the kernel source and do whatever you want with it. It's been carefully upgraded as you can see in commit history.

( initially I forgot to include $ make ARCH=arm64 O=../out merge_hi6250_defconfig , doh, RTFM)

Edited source code at my repository https://github.com/twicejr/HUAWEI-P9-Lite_OpenSource

( Props to paulobrien for the idea and great tutorial on P9 http://forum.xda-developers.com/p9/d...ei-p9-t3373617 )

I've copied the p9 kernel config, because I didn't know how to do it from the p9 lite kernel image.

I've used paulobrien's code to see how I would proceed... all I did was copy the p9 kernel config, and put it on top of the source code from Huawei:
http://download-c.huawei.com/downloa...Code=worldwide

Then I have applied all the linux kernel patches for 3.10 from https://www.kernel.org/pub/linux/kernel/v3.x/
- it included manually patching lots of files because they failed in automatic patching

Maybe someone else with more experience can use my source code, fork it or take it over from me :angel:
I'd love to help and learn more too. I am a linux webdeveloper, willing to learn more about c, etc.
The main goal for me would be to provide a better kernel and eventually integrate more features, like undervolting :cool:



No comments:

Post a Comment