Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-13 Thread Scott Wood
On Fri, 2013-12-13 at 21:09 -0600, Liu Po-B43644 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Saturday, December 14, 2013 4:26 AM > > To: Liu Po-B43644 > > Cc: u-boot@lists.denx.de; Sun York-R58495; Kushwaha Prabhakar-B32579 > > Subject: Re: [PATCH v2 2/2] power

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-13 Thread Scott Wood
On Tue, 2013-12-10 at 20:46 -0600, Liu Po-B43644 wrote: > > > Sorry for late reply since the email system crash. > > > -Original Message- > > From: Scott Wood [mailto:scottw...@freescale.com] > > Sent: Saturday, December 07, 2013 9:22 AM > > To: Liu Po-B43644 > > Cc: u-boot@lists.d

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-13 Thread Scott Wood
On Wed, 2013-12-11 at 00:16 -0600, Liu Po-B43644 wrote: > > > SET_TLB_ENTRY(1, CONFIG_SYS_NAND_BASE, > > CONFIG_SYS_NAND_BASE_PHYS, > > > -MAS3_SW|MAS3_SR, MAS2_I|MAS2_G, > > > +MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G, > > >

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-11 Thread Scott Wood
On Wed, 2013-12-11 at 12:10 +0530, Prabhakar Kushwaha wrote: > On 12/10/2013 11:50 PM, Scott Wood wrote: > > On Tue, 2013-12-10 at 11:37 +0530, Prabhakar Kushwaha wrote: > >> On 12/9/2013 11:21 PM, Scott Wood wrote: > >>> On Mon, 2013-12-09 at 11:10 +0530, Prabhakar Kushwaha wrote: > On 12/7/2

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-10 Thread Prabhakar Kushwaha
On 12/11/2013 8:24 AM, Liu Po-B43644 wrote: -Original Message- From: Scott Wood [mailto:scottw...@freescale.com] Sent: Wednesday, December 11, 2013 2:20 AM To: Kushwaha Prabhakar-B32579 Cc: Liu Po-B43644; u-boot@lists.denx.de; Sun York-R58495 Subject: Re: [PATCH v2 2/2] power

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-10 Thread Prabhakar Kushwaha
On 12/10/2013 11:50 PM, Scott Wood wrote: On Tue, 2013-12-10 at 11:37 +0530, Prabhakar Kushwaha wrote: On 12/9/2013 11:21 PM, Scott Wood wrote: On Mon, 2013-12-09 at 11:10 +0530, Prabhakar Kushwaha wrote: On 12/7/2013 6:51 AM, Scott Wood wrote: Prabhakar, why did you extend that to other use

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-10 Thread po....@freescale.com
> > SET_TLB_ENTRY(1, CONFIG_SYS_NAND_BASE, CONFIG_SYS_NAND_BASE_PHYS, > > - MAS3_SW|MAS3_SR, MAS2_I|MAS2_G, > > + MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G, > > 0, 5, BOOKE_PAGESZ_64K, 1), > > No. Without MAS3_SX, the board can't run in

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-10 Thread po....@freescale.com
> -Original Message- > From: Scott Wood [mailto:scottw...@freescale.com] > Sent: Wednesday, December 11, 2013 2:20 AM > To: Kushwaha Prabhakar-B32579 > Cc: Liu Po-B43644; u-boot@lists.denx.de; Sun York-R58495 > Subject: Re: [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot >

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-10 Thread po....@freescale.com
Sorry for late reply since the email system crash. > -Original Message- > From: Scott Wood [mailto:scottw...@freescale.com] > Sent: Saturday, December 07, 2013 9:22 AM > To: Liu Po-B43644 > Cc: u-boot@lists.denx.de; Sun York-R58495; Kushwaha Prabhakar-B32579 > Subject: Re: [PATCH v

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-10 Thread Scott Wood
On Tue, 2013-12-10 at 11:37 +0530, Prabhakar Kushwaha wrote: > On 12/9/2013 11:21 PM, Scott Wood wrote: > > On Mon, 2013-12-09 at 11:10 +0530, Prabhakar Kushwaha wrote: > >> On 12/7/2013 6:51 AM, Scott Wood wrote: > >>> Prabhakar, why did you extend that to other uses? Why are both entries > >>> i

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-09 Thread Prabhakar Kushwaha
On 12/9/2013 11:21 PM, Scott Wood wrote: On Mon, 2013-12-09 at 11:10 +0530, Prabhakar Kushwaha wrote: On 12/7/2013 6:51 AM, Scott Wood wrote: Prabhakar, why did you extend that to other uses? Why are both entries ifdeffed here, but only the 0xe000 entry on existing boards? both entry sho

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-09 Thread Scott Wood
On Mon, 2013-12-09 at 11:10 +0530, Prabhakar Kushwaha wrote: > On 12/7/2013 6:51 AM, Scott Wood wrote: > > Prabhakar, why did you extend that to other uses? Why are both entries > > ifdeffed here, but only the 0xe000 entry on existing boards? > > both entry should not be in ifdef. p1010rdb/bs

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-08 Thread Prabhakar Kushwaha
On 12/7/2013 6:51 AM, Scott Wood wrote: On Thu, 2013-12-05 at 14:19 +0800, Po Liu wrote: diff --git a/board/freescale/c29xpcie/spl.c b/board/freescale/c29xpcie/spl.c new file mode 100644 index 000..7bc8ce1 --- /dev/null +++ b/board/freescale/c29xpcie/spl.c @@ -0,0 +1,73 @@ +/* Copyright 201

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-06 Thread Scott Wood
On Thu, 2013-12-05 at 14:19 +0800, Po Liu wrote: > diff --git a/board/freescale/c29xpcie/spl.c b/board/freescale/c29xpcie/spl.c > new file mode 100644 > index 000..7bc8ce1 > --- /dev/null > +++ b/board/freescale/c29xpcie/spl.c > @@ -0,0 +1,73 @@ > +/* Copyright 2013 Freescale Semiconductor, Inc

[U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-04 Thread Po Liu
Using the TPL/SPL method to booting from 8k page NAND flash. - Add 8kB size tlb for minimal SPL image; - Add 256kB size SRAM tlb for second step booting; - Add spl.c for TPL image boot; - Add spl_minimal.c for minimal SPL image; - Add C29XPCIE_NAND configure;