
Dne Čt 30. září 2010 19:49:24 Wolfgang Denk napsal(a):
Dear Heiko Schocher,
In message 4CA4AF81.4000105@denx.de you wrote:
I setup the initial stack in the SDRAM, because I didn;t know, if there is on this cpu family a better place for the initial stack. (Some cpu internal ram?)
As mentioned before: if ther eios no SRAM or other on-chip memory, we can lock the data cache, or parts of it. This has been done on other boards before.
I think Marek has patches in his queue that implement this for PXA, so maybe these may be interesting for other ARM families as well.
Marek, maybe you can post your stuff, even if preliminary? Thanks.
Best regards,
Wolfgang Denk
http://git.denx.de/?p=u-boot/u-boot- pxa.git;a=commitdiff;h=34a7734a0fafffb888f95134c93a627df159add1
See start.S, look for "enable MMU and Dcache as DRAM" ... it should be very similar on kirkwood. Also, you need temporary TTB, see at the bottom of the same file.
CHeers