[yocto] How to get fw_env.config installed

Matt Schuckmann Matt.Schuckmann at planar.com
Tue Oct 28 07:32:58 PDT 2014



Matt S. 
Sent from my pocket

> On Oct 28, 2014, at 12:03 AM, Isak Lichtenstein <Isak.Lichtenstein at kistler.com> wrote:
> 
> 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".
> 
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?

Matt S. 

> 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