[U-Boot-Users] U-boot for MCF5329
w.wegner at astro-kom.de
w.wegner at astro-kom.de
Fri Jul 27 17:12:50 CEST 2007
Sorry I can not yet give an answer to why I cannot boot linux with the new coldfire port.
I just found another thing worth thinking about:
In icache_enable (cpu/mcf532x/start.S), the following line should include a mask
in case the SDRAM size is larger than 16MB.
move.l #(CFG_SDRAM_BASE + 0xc000), %d0 /* Setup cache mask */
would something like
move.l #(CFG_SDRAM_BASE + 0xc000 + ((CFG_SDRAM_SIZE & 0x1fe0) << 11)), %d0
do the trick?
(It works for me with CFG_SDRAM_SIZE of 32, but I am not really sure what is done by
preprocessor and what by assembler)
Regards,
Wolfgang
More information about the U-Boot
mailing list