[yocto] How to get fw_env.config installed

Matt Schuckmann Matt.Schuckmann at planar.com
Mon Oct 27 17:31:03 PDT 2014


I'm working on including the u-boot fw utility tools in my image, specifically fw_printenv and fw_setenv. 
For these to work the file fw_env.config needs to be placed at /etc/fw_env.config. 

I can see in oe-core/meta/recipes-bsp/u-boot/u-boot.inc there is a test that if fw_env.config is in the working dir it will be installed in ${sysconfdir} and I can see in the meta-ti/recipes-bsp/u-boot/u-boot-beagleboard_2011.09.bb they simply include file://fw_env.conf in the SRC_URI list to get the file in the working dir. 

So I created a bbappend file for the ti u-boot recipe (u-boot-ti-staging_2013.10.bb) that I'm using and build and I don't get the file in my image root filesystem.

If I run bitbake -c install virtual/bootloader I can see that the file does get copied into u-boot's working dir image/etc directory but it never makes it into the final root filesystem. 

What am I missing? 

Thanks,
Matt S.

PS I should note that I'm working Dylan branch with the TI Arago layer. 





More information about the yocto mailing list