Tool/software:
How to enable save-env feature in SDCARD , eMMC and OSPI FLASH ?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Below are the steps to enable saveenv on different boot medias.
SAVE ENABLE ON SD CARD FAT PARTITION:
In order to save the env to SD card , the below changes must be added to the corresponding A72/A53 defconfig file of the corresponding board specific file of U-BOOT.
SAVE ENV ENABLE ON EMMC BOOT 0 PARTITION:
1) In order to save the env to EMMC , the below changes must be added to the corresponding A72/A53 defconfig file of the corresponding board specific file of U-BOOT.
2)Once the above changes are made,rebuild Uboot.
3)Now to save the environment variables,enter into Uboot:
=>setenv ...
=>setenv ...
=>savenv
4)Reboot
Note : The value assigned to CONFIG_ENV_OFFSET variable may vary from board to board.Hence,it is advised to look into the SDK documentation of the respective board for cross-verifying the offset values.
WORKAROUND FOR SAVEENV IN OSPI FLASH: