[Letux-kernel] How to build LetuxOS Android Kernel for LetuxOS Replicant 4.2?

H. Nikolaus Schaller hns at goldelico.com
Fri Jun 28 19:19:13 CEST 2019


Hi,

> Am 28.06.2019 um 19:01 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> On Fri, 28 Jun 2019 18:41:45 +0200
> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> 
> [...]
>> What does this mean?
>> 
>> * kernel can be built outside of Replicant build system
>> * uImage can simply be patched over to /boot/uImage
> 
> well, that is obvious, because it can be loaded by 
> ordinary uboot.

Well, not completely. It could have been that it needs some other tweaks.

> 
>> * kernel modules are built differently by the Replicant build system or post-processed
>> * and I have not found where this is done...
>> 
>> So if we can find the post-processing script that prepares the kernel modules to /system/lib/modules
>> we can do the same outside of the Replicant build system.
>> 
> after make modules_install to somewhere
> a oneliner like:
> 
> find -name "*.ko" -exec mv \{\} /path/to/system/lib/modules \;

That is what I had tried first but it did not load any module...
Maybe it needs a special depmod to be run.

> not worth searching for.

Others seemed to have problems as well:

https://stackoverflow.com/questions/6282669/how-do-you-create-a-loadable-kernel-module-for-android

> 
> Regards,
> Andreas

BR,
Nikolaus



More information about the Letux-kernel mailing list