[U-Boot] [u-boot-release] [PATCH 2/2][v5] nxp/ls2080ardb: Add QSPI-boot support

Priyanka Jain priyanka.jain at nxp.com
Thu Apr 27 04:56:37 UTC 2017



> -----Original Message-----
> From: York Sun [mailto:york.sun at nxp.com]
> Sent: Wednesday, April 26, 2017 9:04 PM
> To: Priyanka Jain <priyanka.jain at nxp.com>; u-boot at lists.denx.de
> Cc: Suresh Gupta <suresh.gupta at nxp.com>
> Subject: Re: [u-boot-release] [PATCH 2/2][v5] nxp/ls2080ardb: Add QSPI-boot
> support
> 
> On 04/25/2017 11:15 PM, Priyanka Jain wrote:
> > QSPI-boot is verified on LS2088ARDB RevF board with LS2088A SoC.
> > LS2088ARDB RevF Board has limitation that QIXIS can not be access, so
> > QIXIS flag is kept disabled
> >
> > Signed-off-by: Priyanka Jain <priyanka.jain at nxp.com>
> > Signed-off-by: Suresh Gupta <suresh.gupta at nxp.com>
> > ---
> >  Changes for v5: Renamed defconfig to ls2088ardb_qspi_defconfig  and
> > incorporated other review comments
> >
> >  Changes for v4: Updated copyright
> >  Changes for v3: Updated README
> >
> >  Changes for v2: Incorporated Sun York's comments
> >    Introduced another patch to update qixis related code
> >
> 
> 
> <snip>
> 
> > diff --git a/board/freescale/ls2080ardb/README
> > b/board/freescale/ls2080ardb/README
> > index 0c9c574..5bf2635 100644
> > --- a/board/freescale/ls2080ardb/README
> > +++ b/board/freescale/ls2080ardb/README
> > @@ -43,6 +43,7 @@ Memory map from core's view
> >  0x00_0000_0000 .. 0x00_000F_FFFF	Boot Rom
> >  0x00_0100_0000 .. 0x00_0FFF_FFFF	CCSR
> >  0x00_1800_0000 .. 0x00_181F_FFFF	OCRAM
> > +0x00_2000_0000 .. 0x00_2FFF_FFFF	QSPI region #1
> >  0x00_3000_0000 .. 0x00_3FFF_FFFF	IFC region #1
> >  0x00_8000_0000 .. 0x00_FFFF_FFFF	DDR region #1
> >  0x05_1000_0000 .. 0x05_FFFF_FFFF	IFC region #2
> > @@ -68,6 +69,31 @@ Booting Options
> >  ---------------
> >  a) NOR boot
> >  b) NAND boot
> > +c) QSPI boot
> > +
> > +cfg_rcw_src switches needs to be changed for booting from different option.
> > +Refer to board documentation for correct switch setting.
> > +
> > +QSPI boot details
> > +===================
> > +Supported only for
> > + LS2088ARDB RevF board with LS2088A SoC.
> > +
> > +Images needs to be copied to QSPI flash as per memory map given
> > +below.
> > +
> > +Memory map for QSPI flash
> > +-------------------------
> > +Image				Flash Offset
> > +RCW+PBI				0x00000000
> > +Boot firmware (U-Boot)		0x00100000
> > +Boot firmware Environment	0x00300000
> > +PPA firmware			0x00400000
> > +Cortina PHY firmware		0x00980000
> > +DPAA2 MC			0x00A00000
> > +DPAA2 DPL			0x00D00000
> > +DPAA2 DPC			0x00E00000
> > +Kernel.itb			0x01100000
> >
> 
> Priyanka,
> 
> I understand you don't have access to CPLD. Do you still have access to IFC NOR
> flash? Can you boot from NOR flash, and issue a cpld command to reboot from
> QSPI?
> 
> York
No, NOR and QSPI are muxed at RCW level. So, IFC is disabled for QSPI-boot.
We use QSPI emulator on board or code-warrior to write to on-board QSPI flash. 

Also, for LS2088ARDB, we only have single QSPI flash. So no alternate bank.

Priyanka


More information about the U-Boot mailing list