Open gnulux opened 1 year ago
Hi , I still not can save my env when booting from eMMc
Option-1 If you boot from an SD card, you might get the error. Flash the image on the eMMC and boot from eMMC; the problem will be gone. If you're still facing the error, you can go for Option-2.
Option-2 You can adjust the variables here to make it work. # Example adjustment to 2 MB (CONFIG_ENV_OFFSET=0x200000). Then, rebuild the Yocto image with the new configuration.
https://github.com/ADLINK/meta-adlink-nxp/blob/scarthgap/recipes-bsp/u-boot/u-boot-imx/adlink_lec8mp_defconfig CONFIG_ENV_OFFSET=0x400000
I have build core-image-mininal succesfully . However it is not possible to save variable from U-BOOT When i try "saveenv" i have this message :
Environment size: 2331/4092 bytes u-boot=> saveenv Saving Environment to MMC... Writing to MMC(2)... MMC: block number 0x2008 exceeds max(0x2000) failed Failed (1)
How to solve this issue ?