AnsweredAssumed Answered

howto create boot.scr from boot.cmd with yocto

Question asked by florian koenig on Jun 1, 2017
Latest reply on Jun 6, 2017 by florian koenig

Hi,

i want to create a boot.scr file.  I added  to SRC_URI = "file://boot.cmd"  and placed the file boot.cmd into the folder  meta-my-uboot/recipes-bsp/u-boot/files .

 

Then i added  UBOOT_ENV = "boot"  and UBOOT_ENV_SUFFIX = "scr" into my local.conf.  

 

 

But that is not enough, it complains about not finding  ${S}/boot.scr   ??

 

Do i need to add a  do_compile()  function to build the boot.scr from boot.cmd with mkimage ??  I really think this feature is already integrated into yocto , or?

 

thanks for help

Outcomes