* Adding firmware to initramfs @ 2014-11-28 12:37 Chris Tapp 2014-11-30 8:06 ` ChenQi 0 siblings, 1 reply; 4+ messages in thread From: Chris Tapp @ 2014-11-28 12:37 UTC (permalink / raw) To: Yocto Project I'm network booting a system using iPXE. The process uses a core-image-minimal-initramfs image to select the final rootfs that gets loaded. This generally works fine, but I need to be able to install linux-firmware in the initramfs image (specifically for the NIC that gets used to load the final rootfs). How do I get linux-firmware to install in core-image-minimal-initramfs? I've tried adding the following into local.conf, but with no luck: MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-firmware" IMAGE_INSTALL_append = " linux-firmware" CORE_IMAGE_EXTRA_INSTALL += " linux-firmware" -- Chris Tapp opensource@keylevel.com www.keylevel.com ---- You can tell you're getting older when your car insurance gets real cheap! ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Adding firmware to initramfs 2014-11-28 12:37 Adding firmware to initramfs Chris Tapp @ 2014-11-30 8:06 ` ChenQi 2014-11-30 23:08 ` Chris Tapp 0 siblings, 1 reply; 4+ messages in thread From: ChenQi @ 2014-11-30 8:06 UTC (permalink / raw) To: yocto Create a bbappend file for core-image-minimal-initramfs, and add the following line to the bbappend file. PACKAGE_INSTALL += "linux-firmware" Best Regards, Chen Qi On 11/28/2014 08:37 PM, Chris Tapp wrote: > I'm network booting a system using iPXE. The process uses a core-image-minimal-initramfs image to select the final rootfs that gets loaded. > > This generally works fine, but I need to be able to install linux-firmware in the initramfs image (specifically for the NIC that gets used to load the final rootfs). > > How do I get linux-firmware to install in core-image-minimal-initramfs? I've tried adding the following into local.conf, but with no luck: > > MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-firmware" > IMAGE_INSTALL_append = " linux-firmware" > CORE_IMAGE_EXTRA_INSTALL += " linux-firmware" > > -- > > Chris Tapp > opensource@keylevel.com > www.keylevel.com > > ---- > You can tell you're getting older when your car insurance gets real cheap! > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Adding firmware to initramfs 2014-11-30 8:06 ` ChenQi @ 2014-11-30 23:08 ` Chris Tapp 2014-12-01 13:23 ` Bryan Evenson 0 siblings, 1 reply; 4+ messages in thread From: Chris Tapp @ 2014-11-30 23:08 UTC (permalink / raw) To: ChenQi; +Cc: yocto On 30 Nov 2014, at 08:06, ChenQi <Qi.Chen@windriver.com> wrote: > Create a bbappend file for core-image-minimal-initramfs, and add the following line to the bbappend file. > > PACKAGE_INSTALL += "linux-firmware" Thanks, PACKAGE_INSTALL works great :-) I've gone with the following in my local.conf: PACKAGE_INSTALL_append_pn-core-image-minimal-initramfs = " linux-firmware" > > On 11/28/2014 08:37 PM, Chris Tapp wrote: >> I'm network booting a system using iPXE. The process uses a core-image-minimal-initramfs image to select the final rootfs that gets loaded. >> >> This generally works fine, but I need to be able to install linux-firmware in the initramfs image (specifically for the NIC that gets used to load the final rootfs). >> >> How do I get linux-firmware to install in core-image-minimal-initramfs? I've tried adding the following into local.conf, but with no luck: >> >> MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-firmware" >> IMAGE_INSTALL_append = " linux-firmware" >> CORE_IMAGE_EXTRA_INSTALL += " linux-firmware" -- Chris Tapp opensource@keylevel.com www.keylevel.com ---- You can tell you're getting older when your car insurance gets real cheap! ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Adding firmware to initramfs 2014-11-30 23:08 ` Chris Tapp @ 2014-12-01 13:23 ` Bryan Evenson 0 siblings, 0 replies; 4+ messages in thread From: Bryan Evenson @ 2014-12-01 13:23 UTC (permalink / raw) To: Chris Tapp, ChenQi; +Cc: yocto@yoctoproject.org Chris, > -----Original Message----- > From: yocto-bounces@yoctoproject.org [mailto:yocto- > bounces@yoctoproject.org] On Behalf Of Chris Tapp > Sent: Sunday, November 30, 2014 6:09 PM > To: ChenQi > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] Adding firmware to initramfs > > > On 30 Nov 2014, at 08:06, ChenQi <Qi.Chen@windriver.com> wrote: > > > Create a bbappend file for core-image-minimal-initramfs, and add the > following line to the bbappend file. > > > > PACKAGE_INSTALL += "linux-firmware" > > Thanks, PACKAGE_INSTALL works great :-) > > I've gone with the following in my local.conf: > > PACKAGE_INSTALL_append_pn-core-image-minimal-initramfs = " linux- > firmware" > For future management, you may be better off using a .bbappend for the image instead of adding this to your local.conf. If you have your own layer in which you have your own recipes, placing a .bbappend for the image in this layer makes it easy to keep track of everything you changed to customize the image. If you need to start a new build setup from scratch (new developer starts working on the project, hard drive crashes, etc.) you can get a copy of your layer and have all your image customizations ready. Specifically for your case, adding the file recipes-core/images/core-image-minimal-initramfs.bbappend to your layer with the contents: PACKAGE_INSTALL += "linux-firmware" should get you the same results but be easier to maintain. Regards, Bryan > > > > On 11/28/2014 08:37 PM, Chris Tapp wrote: > >> I'm network booting a system using iPXE. The process uses a core-image- > minimal-initramfs image to select the final rootfs that gets loaded. > >> > >> This generally works fine, but I need to be able to install linux-firmware in > the initramfs image (specifically for the NIC that gets used to load the final > rootfs). > >> > >> How do I get linux-firmware to install in core-image-minimal-initramfs? > I've tried adding the following into local.conf, but with no luck: > >> > >> MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-firmware" > >> IMAGE_INSTALL_append = " linux-firmware" > >> CORE_IMAGE_EXTRA_INSTALL += " linux-firmware" > > -- > > Chris Tapp > opensource@keylevel.com > www.keylevel.com > > ---- > You can tell you're getting older when your car insurance gets real cheap! > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-01 13:39 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-11-28 12:37 Adding firmware to initramfs Chris Tapp 2014-11-30 8:06 ` ChenQi 2014-11-30 23:08 ` Chris Tapp 2014-12-01 13:23 ` Bryan Evenson
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.