AnsweredAssumed Answered

How do I change the u-boot environment variable using bitbake?

Question asked by Takashi Kashiwagi on Jun 6, 2019
Latest reply on Jul 9, 2019 by Takashi Kashiwagi

Hi all

 

I use "uuu.exe" to write "fsl-image-qt5-validation-imx.sdcard" in eMMc.

After writing by uuu.exe is finished, I change some env manually as follows.

 

  • setenv fdt_file fsl-imx8mm-evk-rm67191.dtb
  • setenv run_m4_tcm 'fatload mmc 1:1 0x7E0000 XXXX.bin; bootaux 0x7e0000'
  • setenv bootcmd "run run_m4_tcm; mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else booti ${loadaddr} - ${fdt_addr}; fi"

 

I want to create "fsl-image-qt5-validation-imx.sdcard" preconfigured env above.

How do I make recipe files (*.bb or *.bbappend)?

 

 

Best Regards,

T.Kashiwagi

Outcomes