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.

DRA829V: When saving under uboot, reporting error issue

Part Number: DRA829V

Hi team,

When executing saveenv from the shell command of uboot, the following error is reported:

Saving Environment to FAT... Card did not respond to voltage select! :-110

mmc_init:-95,time 37

Failed (1)

The customer would like to know what's the possible reason for that and how to resolve it.

Thanks!

Best Regards,

Cherry Zhou

  • Hi Cherry,

    Please check out: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1031148/faq-tda4vm-u-boot-changes-in-sdk-8-0-vs-7-3

    Look at: 1) Environment is now saved to FAT partition of SD as against eMMC in the previous 7.3 version. This is to accommodate eaik boards that do not have eMMC

    section & try saving env to eMMC and that should solve the problem. Please click on verify answer if that solves your issue.

    Best Regards,
    Keerthy

  • Hi Keerthy,

    Thanks for your reply!

    From the FAQ you provided, customer's SDK package is deployed on virtual machines and cannot be restored through Git at this time.

    And the address in the file(arch/arm/dts/k3-j721e-som-p0.dtsi): "Memory starting from 0xa0000000 through 0xabc00000 are reserved.", the customer cannot find.

    Could you please show more about how to change dtsi file to enable env to be saved to EMC.

    Thanks a lot!

    Best Regards,

    Cherry 

  • Hi Cherry,

    It is not a Device tree based change. The patch that needs to be reverted is below:

    commit 20e7036ac9194b4ec8b0161b830d7f4f4d6db95f (tag: 08.00.00.002)
    Author: Amarnath MB <amarnath.mb@ti.com>
    Date:   Wed Jun 23 17:38:20 2021 +0530
    
    Date:   Wed Jun 23 17:38:20 2021 +0530
    
        configs: j721e_evm: Enable configs to store env in MMC FAT partition
        
        J721E EVM used to store env on eMMC, since EVM and EAIK uses same
        defconfig and there is no eMMC on EAIK, we need to keep env in an
        interface which available on both EVM and EAIK. So, save env in FAT
        partition of MMC SD Card.
        
        Enable defconfigs relevant for storing env on FAT partion of MMC.
        
        Signed-off-by: Amarnath MB <amarnath.mb@ti.com>
        Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
        Reviewed-by: Lokesh Vutla <lokesjhvutla@ti.com>
    
    diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig
    index a6d3cb6866..2ea212fa17 100644
    --- a/configs/j721e_evm_a72_defconfig
    +++ b/configs/j721e_evm_a72_defconfig
    @@ -80,10 +80,11 @@ CONFIG_OF_LIST="k3-j721e-common-proc-board k3-j721e-tps65917-proc-board k3-j721e
     CONFIG_SPL_MULTI_DTB_FIT=y
     CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
     CONFIG_ENV_OVERWRITE=y
    -CONFIG_ENV_IS_IN_MMC=y
     CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
     CONFIG_SYS_RELOC_GD_ENV_ADDR=y
    -CONFIG_SYS_MMC_ENV_PART=1
    +CONFIG_ENV_IS_NOWHERE=y
    +CONFIG_ENV_IS_IN_FAT=y
    +CONFIG_ENV_FAT_DEVICE_AND_PART="1:1"
     CONFIG_NET_RANDOM_ETHADDR=y
     CONFIG_DM=y
     CONFIG_SPL_DM=y
    diff --git a/configs/j721e_evm_r5_defconfig b/configs/j721e_evm_r5_defconfig
    index 01dadb98bf..f6620698dd 100644
    --- a/configs/j721e_evm_r5_defconfig
    +++ b/configs/j721e_evm_r5_defconfig
    @@ -68,6 +68,7 @@ CONFIG_SPL_MULTI_DTB_FIT=y
     CONFIG_SPL_OF_LIST="k3-j721e-r5-common-proc-board k3-j721e-r5-eaik"
     CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
     CONFIG_ENV_OVERWRITE=y
    +CONFIG_ENV_IS_NOWHERE=y
     CONFIG_SYS_RELOC_GD_ENV_ADDR=y
     CONFIG_DM=y
     CONFIG_SPL_DM=y
    

    It is a CONFIG option change. Hence we cannot modify DT to compensate that change.

    Hope you understood. If no other questions please click on verify answer.

    Best Regards,
    Keerthy