
29 Jan
2008
29 Jan
'08
7:05 p.m.
1. in cpu/mcf52x2/interrupt.c should be imlr0 &= 0xFFFFFFFE;
Could you please specify whether you're referring to the line in the interrupt_init() function or dtimer_intr_setup() function (or both)?
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)
OK, I've changed that.
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.
I've changed this too, and I can confirm it works.
If you can clear up the first point I'll send out a new patch asap.
Matt