From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m13-104.163.com (unknown [220.181.13.104]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id AC99CE014D0 for ; Mon, 25 Mar 2013 06:05:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Received:Date:From:To:Cc:Subject:In-Reply-To: References:Content-Type:MIME-Version:Message-ID; bh=6tvjWqj26Hyn b+QrlwIM5T+uGSjlRSnasV89FOn0Nso=; b=Xi9GLEWY/LRN4Y59BlFeCL35hkzE ck6U6ZRNL/avLLGyhCmAuPxpDFLmpgauwdVNz/HkM3otusZTQqD8Em1IrTQXNhMX EQKT+8KUUcc1Wy1xzEjjLEgBSFhFeF4i37dyNPiudRh4d9DF+nh4u/NvpZzrIS2+ EJuSvyDE89ej8LI= Received: from huanmateme$163.com ( [111.194.203.227] ) by ajax-webmail-wmsvr104 (Coremail) ; Mon, 25 Mar 2013 21:05:08 +0800 (CST) X-Originating-IP: [111.194.203.227] Date: Mon, 25 Mar 2013 21:05:08 +0800 (CST) From: Biao To: "Paul Eggleton" X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20130201(21528.5249.5248) Copyright (c) 2002-2013 www.mailtech.cn 163com In-Reply-To: <3679852.pVsUhJRn4g@helios> References: <22f4a24d.10498.13da1222f53.Coremail.huanmateme@163.com> <3679852.pVsUhJRn4g@helios> MIME-Version: 1.0 Message-ID: <35966270.12595.13da1a6fea6.Coremail.huanmateme@163.com> X-CM-TRANSID: aMGowEBpS0GFS1BRtwYAAA--.172W X-CM-SenderInfo: xkxd0z5dwhzvi6rwjhhfrp/1tbiJw-qgFEABqhj8AACss X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Cc: yocto@yoctoproject.org Subject: Re: How to install the in-tree modules into the rootfs. X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2013 13:05:28 -0000 Content-Type: multipart/alternative; boundary="----=_Part_279162_1847807971.1364216708774" ------=_Part_279162_1847807971.1364216708774 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit At 2013-03-25 18:47:54,"Paul Eggleton" 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 ------=_Part_279162_1847807971.1364216708774 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit

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
------=_Part_279162_1847807971.1364216708774--