Quote:
Originally Posted by ixtab
Does anyone have an explanation for this? Could it be that the DRAM isn't initialized yet?
|
Yes.
Quote:
Originally Posted by ixtab
And if so... which options do we have? For now, it seems like the only region that we can really access is the 128kB of OCRAM starting at F8000000. That's obviously enough for putting u-boot in there, but not much more.
Thinking aloud: maybe a custom u-boot that downloads a kernel using tftp could do...
|
To initialize DRAM one must setup a bunch of registers. The exact initialization sequence could be found in Amazon's U-Boot source.
Initialization (writing to registers) could be made with the help of ordinary code or through DCD.
And remember, just a part of 128kb of OCRAM is free for arbitrary use (refer to Reference Manual for details).