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        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to