[yocto] How to get fw_env.config installed

Isak Lichtenstein Isak.Lichtenstein at kistler.com
Wed Oct 29 00:09:50 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?
> >
> > The u-boot.inc file is looking for  a ".config" file, not ".conf".
> >
> Thanks Isak, I'm aware of that I just miss typed it in that one sentence in my e-mail.
> I got it right everywhere else including my code. Can I ask have you used this
> mechanism and does it work for you?
> 
Sorry to disappoint you. 
As I've got a whole bunch of files to install in /etc, I'm using a custom recipe.

Regards

Isak 




More information about the yocto mailing list