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.

DRA7xx UART boot - memory problem

Hello,


I've been following this tutorial : http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_Software_Developers_Guide#Using_UART_boot , in order to boot the board via UART.


I was able to push the SPL with the perl script, but then pushing the u-boot img via ymodem seemed impossible. We read the code of the ymodem into u-boot, we added print, etc to debug what was wrong. We realized that all the members of the public structures handling the ymodem communication were always 0. Even when setting a var = 1, the var was still 0.


We decided to map the BSS segment in a static ram bank, instead of mapping it to the SDRAM. It fixed our problem, and we were able to push the u-boot img via ymodem. (Now the SPL ymodem was working, and the variables we not overwritten anymore)

But once the u-boot is loaded, it's reporting problem about the memory (which we expected, because u-boot want to use the SDRAM):

U-Boot 2013.04-00096-g53fa2ad-dirty (Jan 12 2015 - 20:37:54)

 

CPU  : DRA752 ES1.1

Board: DRA7xx

I2C:   ready

SDRAM: identified size not same as expected size identified: 4 expected: 40000000

DRAM:  0 Bytes

----------

Booting via SDCARD is working fine.
I'm thinking that the SPL code of the dra7xx doesn't initialize the DDR properly.

Any idea ? anything I could try to investigate further ?
thank you

Nick