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.

AM5728: Environment issue in custom board booting

Part Number: AM5728


Hello,

When we boot EVM AM5728 with prebuilt images, we are getting the following logs :

U-Boot SPL 2019.01-g333c3e72d3 (Apr 20 2020 - 04:15:00 +0000)
DRA752-GP ES2.0
no pinctrl state for default mode
Trying to boot from MMC1
no pinctrl state for default mode
Loading Environment from FAT... *** Warning - bad CRC, using default environment

Loading Environment from MMC... OK

 

Then it boots properly.

Now we have a custom board based on AM5728, we have compiled Uboot for it and we are getting the following logs:

U-Boot SPL 2019.01-g323d514-dirty (May 07 2021 - 09:30:25 +0530)
DRA752-GP ES2.0                        
** Unable to read file dra7-ipu1-fw.xem4 **
Firmware loading failed                
Trying to boot from MMC1                
env_init: Environment FAT init done (ret=-2)
env_init: Environment MMC init done (ret=-2)
Loading Environment from FAT... *** Warning - bad CRC, using default environment
                                                                   
Loading Environment from MMC...*** Warning - bad CRC, using default environment
                                                                               
     

So comparing the logs, we found that we are not getting the environment from MMC in custom board. We have kept the same uEnv.txt file in SD card in both the cases(EVM and custom board). So what else do we need to resolve this issue?