Hello forum,
The Sitara am335x supports up to 1GiB of DDR SDRAM (0x4000_0000 bytes). The SK has 256MiB DDR on-board (0x1000_0000 bytes).
Therefore issuing the following commands at u-boot prompt:
1) U-Boot# mw.b 80000000 ff 50000000
2) U-Boot# mw.b 82000000 ff E000001
3) U-Boot# mw.b 82000000 ff E000000
one might expect:
1) (error) out of memory address range
2) (warning) memory fill beyond the available ext. RAM
3) should work normal.
However, U-boot just hangs, and this is the main issue I want to address/understand.
More to that,
A) SK: if I specify some odd memory fill size, the mw.b command always works OK, and if 1 byte more than that - always hangs.
B) EVM: if I specify (another) odd memory fill size, the command always works OK, if 1 byte more - always crashes rebooting the board, and if I specify even bigger size to fill - hangs.
I experimented with 2 SK boards, and 1 EVM.
So, could please somebody try reproduce my "discovery", or if possible suggest a reason for that, or a workaround.
The case is that with my own board I seem to have troubles, with the roots around a DDR writing. Hope, working aroung U-boot (same behavior there) will help to better understand the case.
Attached is a picture illustration.
Thanks!