Hi Mats,<br><br>Thanks. <br>Yes, I had added the driver as a patch.<br>Adding "kernel-modules" in IMAGE_INSTALL does install it in rootfs.<br><br>Best Regards,<br>Kaushal<br><br><div class="gmail_quote">On Thu, Mar 24, 2011 at 12:44 PM, Mats Kärrman <span dir="ltr"><<a href="mailto:Mats.Karrman@tritech.se">Mats.Karrman@tritech.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">Hi Kaushal,<br>
<br>
Have you added your driver as a patch to the kernel build?<br>
In that case all drivers built as modules are stored in the deploy folder as something like "modules-2.6.X-rX-machine.tgz".<br>
If IMAGE_INSTALL in the image recipe contains "kernel_modules" then all those modules are added to the resulting image.<br>
<br>
// Mats<br>
<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr>
<div style="direction: ltr;"><font color="#000000" face="Tahoma" size="2"><b>From:</b> <a href="mailto:openembedded-users-bounces@linuxtogo.org" target="_blank">openembedded-users-bounces@linuxtogo.org</a> [<a href="mailto:openembedded-users-bounces@linuxtogo.org" target="_blank">openembedded-users-bounces@linuxtogo.org</a>] on behalf of Kaushal Kumar [<a href="mailto:k.kaushal@gmail.com" target="_blank">k.kaushal@gmail.com</a>]<br>
<b>Sent:</b> Wednesday, March 23, 2011 6:20 PM<br>
<b>To:</b> <a href="mailto:openembedded-users@linuxtogo.org" target="_blank">openembedded-users@linuxtogo.org</a><br>
<b>Subject:</b> [Openembedded-users] how to add custom kernel module to rootfs<br>
</font><br>
</div><div><div></div><div class="h5">
<div></div>
<div>Hi,<br>
<br>
Could someone please help me with this query:<br>
<br>
I have added a custom driver into my kernel and it builds fine. It also creates its ipk package file.<br>
<br>
How to ensure that it installs in the rootfs. I am using <a href="http://minimal-image.bb" target="_blank">
minimal-image.bb</a> to create rootfs.<br>
<br>
Is there a package list used by do_rootfs where I can add this ipk or something?<br>
<br>
Thanks,<br>
Kaushal<br>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br>