Re: HOW TO- Build modules for embedded platform?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yeah, you need to create a file system for your target board.And in that file system under /lib/modules you can install(dummy install) the modules, like if you want ebtables module then in Makefile you need to give :

install:
    $(INSTALL_MODULE) net/bridge/netfilter/ebtables.ko  /home/user_name/your_fs/lib/modules/ebtables.ko


Thanks,
Vishal
 

On Thu, May 28, 2009 at 9:21 AM, <sudheer.divakaran@xxxxxxxxx> wrote:

>But won't this install kernel modules for my current working host machine
>instead of installing modules for TARGET?
>
>I am not sure how to get /lib/modules on TARGET board.
>
>Regards,
>Vipul.

I think your taget board may be holding a filesystem/inital ramdisk. In order to make the modules part of the filesystem, you need to:

1. Install the modules to the 'lib' directory under the 'directory tree' from which you have created the existing filesystem for the TARGET.
2. create a new filesystem image from the above directory tree.
3. Flash the filesystem to the target board to the same location where the existing filesystem resides OR tell the kernel to use the new filesystem if you are specifying te filesystem in other methods.

HTH,
Sudheer




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux