This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux Kernel Modules

Hi all,


the step-by-step descriptions on omappedia of how to build the different android versions/ systems for OMAP based devices contain all the point 'Building Kernel modules'.

Where are these modules used?

I can't find any place where these modules are inserted into the resulting image.
There is nothing like 'make modules_install' nor manual copy.

Best regards,
Roman Jordan

  • Hi Roman.

    The inserting of the modules is done by the board-specific init script.  See device/ti/blaze/init.omap4blazeboard.rc for example.

    The copying of the modules needs to be done as part of building up myfs (Preparing Android binaries section of the notes).  These notes show the copying of the modules made outside the kernel tree (WiFi).  The notes appear to be missing a mention of copying modules made within the kernel tree (if you actually need any).

    Regards,

        Steve

  • Hi Steve,

    the current blaze_defconfig for the linux kernel contains a lot of module-entries. I had expected that these modules are used because they are built also in a separate step. Currently 'make modules' does nothing here.

    BTW: Some of the generated kernel modules have the same names like those coming with android. If kernel modules are used they have to copied first (to be overriden in such a case).

    Best regards and many thanks,

    Roman

  • Not sure what version you are using but the 4AJ.2.1 and 4AJ.2.3 release note tell you where to copy the modules in the android build output dir.