
22 Jun
2005
22 Jun
'05
8:50 a.m.
In message 17080.32989.840476.307428@astp0002.localdomain you wrote:
...
Raymond> 0xFE00_0000 = 0x1F00100 > 16M, So if my flash is 8M bytes, Raymond> i can't use this configuration, right?
Wrong, read again. You will see your flash in the last 8MB (FF800000-FFFFFFFF). In fact, you will see it repeating itself four
...
For MONITOR_BASE=TEXT_ADDR=0xFFF00000 you need CFG_FLASH_BASE=0xFF800000. Check BDI initialisations and set the HRCW to
Actually I think that using "CFG_FLASH_BASE=0xFF800000" or similar for a high-boot configuration is not optimal, as it does not adjust automatically for varying flash sizes.
Usually I use something like
#define CFG_FLASH_BASE (0-flash_info[0].size)
or even
#define CFG_FLASH_BASE (0-flash_info[0].size-flash_info[1].size)
in such cases.
Just an idea....
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
No, I'm not going to explain it. If you can't figure it out, you
didn't want to know anyway... :-)
- Larry Wall in 1991Aug7.180856.2854@netlabs.com