[yocto] How to get fw_env.config installed

Isak Lichtenstein Isak.Lichtenstein at kistler.com
Tue Oct 28 00:03:39 PDT 2014


 Hi Matt,

> 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?

The u-boot.inc file is looking for  a ".config" file, not ".conf".

BR

Isak

> 
> Thanks,
> Matt S.
> 
> PS I should note that I'm working Dylan branch with the TI Arago layer.
> 
> 
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list