[U-Boot-Users] [PATCH] ColdFire: Added M5275EVB support.

Liew Tsi Chung Tsi-chung.Liew at freescale.com
Mon Jan 28 19:37:14 CET 2008


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	




More information about the U-Boot mailing list