All of lore.kernel.org
 help / color / mirror / Atom feed
* How to install the in-tree modules into the rootfs.
@ 2013-03-25 10:40 Biao
  2013-03-25 10:47 ` Paul Eggleton
  0 siblings, 1 reply; 3+ messages in thread
From: Biao @ 2013-03-25 10:40 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

 Hi all,

step 1. Configure the kernel with some modules as "M".
step 2. Build the kernel.
step 3. After the building, there is a modules-*.tgz in the deploy/images directory.
My question is how to install it to the target rootfs. I assume it is "bitbake -f -c populate_sysroot core-image-minimal-dev', but i was wrong.

Thanks,
Biao


[-- Attachment #2: Type: text/html, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to install the in-tree modules into the rootfs.
  2013-03-25 10:40 How to install the in-tree modules into the rootfs Biao
@ 2013-03-25 10:47 ` Paul Eggleton
  2013-03-25 13:05   ` Biao
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2013-03-25 10:47 UTC (permalink / raw)
  To: Biao; +Cc: yocto

On Monday 25 March 2013 18:40:04 Biao wrote:
> step 1. Configure the kernel with some modules as "M".
> step 2. Build the kernel.
> step 3. After the building, there is a modules-*.tgz in the deploy/images
> directory. My question is how to install it to the target rootfs. I assume
> it is "bitbake -f -c populate_sysroot core-image-minimal-dev', but i was
> wrong.

Each module ends up as a separate package (kernel-module-modulename); there is
also a kernel-modules package which installs all of them. In either case you
need to add those packages to the image. For information on how to do that,
see:

http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#usingpoky-extend-customimage

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to install the in-tree modules into the rootfs.
  2013-03-25 10:47 ` Paul Eggleton
@ 2013-03-25 13:05   ` Biao
  0 siblings, 0 replies; 3+ messages in thread
From: Biao @ 2013-03-25 13:05 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 936 bytes --]



At 2013-03-25 18:47:54,"Paul Eggleton" <paul.eggleton@linux.intel.com> wrote:
>On Monday 25 March 2013 18:40:04 Biao wrote:
>> step 1. Configure the kernel with some modules as "M".
>> step 2. Build the kernel.
>> step 3. After the building, there is a modules-*.tgz in the deploy/images
>> directory. My question is how to install it to the target rootfs. I assume
>> it is "bitbake -f -c populate_sysroot core-image-minimal-dev', but i was
>> wrong.
>
>Each module ends up as a separate package (kernel-module-modulename); there is
>also a kernel-modules package which installs all of them. In either case you
>need to add those packages to the image. For information on how to do that,
>see:
>
>http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#usingpoky-extend-customimage
Paul,
Thanks a lot for your help.
>
>Cheers,
>Paul
>
>-- 
>
>Paul Eggleton
>Intel Open Source Technology Centre

[-- Attachment #2: Type: text/html, Size: 1678 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-25 13:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-25 10:40 How to install the in-tree modules into the rootfs Biao
2013-03-25 10:47 ` Paul Eggleton
2013-03-25 13:05   ` Biao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.