Setting U-Boot’s environment variables#
One can set the environment variables using UBOOT_ENV_VARS, either in local.conf or directly in u-boot-imx-msc-bootenv.bb. Then, a file named uEnv.txt will be created in the boot partition with UBOOT_ENV_VARS’s content. If it’s value isn’t set, a dummy file is created anyway, and the user is free to mount the SD card and edit the file manually.