From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 16 Jan 2013 14:29:26 -0600 Subject: [U-Boot] [PATCH 1/3] powerpc/p5040: enable NAND boot support In-Reply-To: <1358303980-16631-1-git-send-email-Shaohui.Xie@freescale.com> (from Shaohui.Xie@freescale.com on Tue Jan 15 20:39:38 2013) Message-ID: <1358368166.18317.10@snotra> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01/15/2013 08:39:38 PM, Shaohui Xie wrote: > Signed-off-by: Shaohui Xie > --- > boards.cfg | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/boards.cfg b/boards.cfg > index e4b0d44..8cf4936 100644 > --- a/boards.cfg > +++ b/boards.cfg > @@ -855,6 +855,7 @@ P5020DS_SECURE_BOOT powerpc > mpc85xx corenet_ds freesca > P5020DS_SPIFLASH powerpc mpc85xx > corenet_ds freescale - > P5020DS:RAMBOOT_PBL,SPIFLASH,SYS_TEXT_BASE=0xFFF80000 > P5020DS_SRIO_PCIE_BOOT powerpc mpc85xx > corenet_ds freescale - > P5020DS:SRIO_PCIE_BOOT_SLAVE,SYS_TEXT_BASE=0xFFF80000 > P5040DS powerpc mpc85xx > corenet_ds freescale > +P5040DS_NAND powerpc mpc85xx > corenet_ds freescale - > P5040DS:RAMBOOT_PBL,NAND,SYS_TEXT_BASE=0xFFF80000 > BSC9131RDB_SPIFLASH powerpc mpc85xx > bsc9131rdb freescale - > BSC9131RDB:BSC9131RDB,SPIFLASH > stxgp3 powerpc mpc85xx > stxgp3 stx > stxssa powerpc mpc85xx > stxssa stx - stxssa This needs more explanation. What sort of image am I supposed to get when I build "P5040DS_NAND"? Where is the PBI? What is the long-term plan for fixing the problem of the environment not being available until after relocation? With SPL we could use CONFIG_NAND_ENV_DST (which has some issues, but they're fixable). It would also be nice to include instructions for configuring the board to boot from NAND in a README (Freescale's user manuals often do not make this clear, especially for soft configuration). Also please provide a built-in command (or script in the default environment) to soft-boot into NAND (or if it already exists, please document it). -Scott