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.

[FAQ] TDA4VH:Enable saveenv feature in SDCARD , eMMC and a workaround for saveenv in OSPI flash.

Part Number: TDA4VH

Tool/software:

How to enable save-env feature in SDCARD , eMMC and OSPI FLASH ?

  • 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 ENABLE ON EMMC UDA FAT PARTITION:

    In order to save the env to EMMC UDA FAT partition, 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:

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1400212/faq-tda4vm-how-to-use-uenv-txt-to-configure-u-boot-env-when-using-ospi-as-boot-media