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.

AMDM 37x u-boot entry point for flash?

Hi Guys,

I have AMDM 3730 evm. I have built its u-boot and have flashed it as well and now booting from MMC. All this seems to be working fine. I now want to debug u-boot code in flash. But when I readelf -h ./u-boot it shows entry point at 0x80e80000 which is SDRAM address.

1) Do I need to rebuild my u-boot by changing its config file with TEXT_BASE of 0x40000000 (Boot ROM)? Or any other idea?

 

-Taimoor

  • On the AM/DM 3730 a multi-stage boot process is followed, SPL/MLO which thens loads u-boot to the address defined by CONFIG_SYS_TEXT_BASE, in this case this address is in DDR. Regardless of the boot method u-boot is always loaded to the same address in DDR on this processor using the SDK that comes with the EVM.  If you have access to an emulator that supports HW breakpoints then you can set that address to break on when the SPL/MLO transfer control to that address.