
Hello Felix
NAND boot must use DDR for P1020RDB. Infact it is DDR for P2020RDB also as per implementation. We need to change the CONFIG_SYS_TEXT_BASE to 0x11001000 as shown below for NAND boot in include/configs/P1_P2_RDB.h
#ifdef CONFIG_NAND_SPL #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE_SPL #else #define CONFIG_SYS_TEXT_BASE 0x11001000 #endif /* CONFIG_NAND_SPL */ #endif
Looks like we missed to push this change, I will send a patch for this.
Regards Poonam
-----Original Message----- From: u-boot-bounces@lists.denx.de [mailto:u-boot-bounces@lists.denx.de] On Behalf Of Felix Radensky Sent: Monday, January 02, 2012 11:28 AM To: U-Boot-Denx; Aggrwal Poonam-B10812; Kumar Gala Subject: [U-Boot] NAND boot looks broken on P1020RDB
Hi,
NAND boot implementation for P2020RDB/P1020RDB first copies u-boot to L2 SRAM, and then to DDR. This works for P2020, where L2 size is 512K, but breaks on P1020, where L2 size is 256K. Looks like NAND SPL for these platforms should not rely on L2 cache, and copy u-boot directly into DDR.
Felix. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot