Building U-Boot environment variables in YOCTO

I want to somehow include the following in the image generated by YOCTO:

setup='setupargs vt.global_cursor_default=0 console=null console=${console},${baudrate}n8 ${memargs} consoleblank=0; setenv bootm_boot_mode sec'
vidargs='video=mxsfb:800x480M-16@60,pixclockpol=1'

Hello @Ilan_Figueiredo ,

Yes, you can do that by editing the U-boot sources (http://git.toradex.com/cgit/u-boot-toradex.git/tree/include/configs/colibri_imx7.h?h=toradex_imx_v2020.04_5.4.70_2.3.0#n194) and then git diff and patch the changes

Best Regards,
Janani