Any way to find module in linux kernel image

Mar 16, 2007 1 Replies

Hi,



After build the kernel, I want to check if the module I added to kernel is in image without downloading the image to target, anyone knows such way( Like in VxWorks, you can check if the module is in image without downloading the image to target )



Thanks


"Bridy" skrev i meddelandet news:ete7ff$k3g$ snipped-for-privacy@zcars129.ca.nortel.com...

Run an arbitrary linux application with your kernel as a parameter. If the application terminates successfully, it will return the number of modules which are inside the kernel image and you can check that in a script.

If you want to check if a module is inside a file system, then you can use loop mounting:

$ mount -o loop ...

Best Regards, Ulf Samuelsson This is intended to be my personal opinion which may, or may not be shared by my employer Atmel Nordic AB

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required