
17 Feb
2006
17 Feb
'06
9:48 p.m.
In message 43F6091D.7040901@paulidav.org you wrote:
So, yes, the first instruction to be executed is located at 0x0 (that's how your CPU works), but then the code works using 0x04000000 as a base and that is fine. The CPU does not care.
This is not correct. Depending on your HRCW the first instruction is either fetched from physical address 0x0100, or 0xFFF00100.
And by the way: that's MPC8xx (not PPC... which traditionally usually refers to a IBM / AMCC processor).
The desired location for FLASH memory will be at 0x0400_0000. This is the address space to which I link U-Boot.
That's OK. It will simply limit your SDRAM size to 64M.
And my cause other problems as well. Don't do it. Map flash at a high address.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Change is the essential process of all existence.
-- Spock, "Let That Be Your Last Battlefield",
stardate 5730.2