public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] NAND boot looks broken on P1020RDB
@ 2012-01-02  5:57 Felix Radensky
  2012-01-02  6:30 ` Aggrwal Poonam-B10812
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Radensky @ 2012-01-02  5:57 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] NAND boot looks broken on P1020RDB
  2012-01-02  5:57 [U-Boot] NAND boot looks broken on P1020RDB Felix Radensky
@ 2012-01-02  6:30 ` Aggrwal Poonam-B10812
  0 siblings, 0 replies; 2+ messages in thread
From: Aggrwal Poonam-B10812 @ 2012-01-02  6:30 UTC (permalink / raw)
  To: u-boot

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 at lists.denx.de [mailto:u-boot-bounces at 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 at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-02  6:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-02  5:57 [U-Boot] NAND boot looks broken on P1020RDB Felix Radensky
2012-01-02  6:30 ` Aggrwal Poonam-B10812

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox