
28 Jan
2008
28 Jan
'08
7:37 p.m.
Matthew,
I spotted a few issues:
1. in cpu/mcf52x2/interrupt.c should be imlr0 &= 0xFFFFFFFE;
2. in include/asm-m68k/immap.h CFG_TMRINTR_PRI should set to 0x1E for timer interrupt to work probably. #define CFG_TMRINTR_PRI (0x1E)
3. in board/freescale/m5275evb/u-boot.lds, this will take care the environment problem. When the . = DEFINED(env_offset) ? env_offset : .; is commented, u-boot does not know where to retrieve the env data from flash; therefore, it always shows bad CRC when booting.
cpu/mcf52x2/start.o (.text) common/dlmalloc.o (.text) lib_generic/string.o (.text) ilb_generic/zlib.o (.text)
. = DEFINED(env_offset) ? env_offset : .; common/environment.o (.text)
Regards, TsiChung