
27 Jul
2007
27 Jul
'07
5:12 p.m.
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