[Letux-kernel] How to build LetuxOS Android Kernel for LetuxOS Replicant 4.2?
H. Nikolaus Schaller
hns at goldelico.com
Sun Jun 30 10:55:52 CEST 2019
Hi,
I am now able to build letux-4.14.129-replicant, patch it over the replicant 4.2 image and get the display working.
To make it work automatically, it needs some modifications to the load_modules.sh to get omapdss and the tvout up and running.
Charging with 500mA is now working out of the box :)
Libertas WiFi firmware also loads. The main mistake was a misinterpretation of the message
[ 341.977203] libertas_sdio mmc1:0001:1: Direct firmware load for libertas/sd8686_v8_helper.bin failed with error -2
This will always come since the firmware loader is trying in sequence:
sd8686_v9_helper.bin
sd8686_v8_helper.bin
sd8686_helper.bin
So a successful load of sd8686_helper.bin is not reported!
If I rename sd8686_helper.bin -> sd8686_v8_helper.bin it will still report that two variants do fail.
Still, moving the Settings/Wi-Fi switch to ON makes it snap back immediately without any console activity.
As a next step I'll try to add the missing module loading to the kernel tree...
This might need to maintain the /system/load_modules.sh script within the kernel branch.
Which seems to be a good idea since it must track kernel changes.
There are also other drivers renamed, e.g. bmp085 -> bmp280 etc.
So bringing that into a publishable shape is the next step.
The good thing is now that I just have to swap µSD cards to boot the letux-4.14.129 and compare things.
It would even be possible to install them on the same µSD and use the U-Boot firmware chooser.
Another thought: most likely I can simply copy binaries like iwconfig to get more comparable results.
I.e. enhance the Replicant installation by some tools from Debian :)
BR,
Nikolaus
More information about the Letux-kernel
mailing list