From: Andy Fleming Date: Fri, 21 Jun 2013 15:35:00 -0500 Subject: [U-Boot] [U-Boot, 6/6, v2] powerpc/t4qds: Slave module for boot from SRIO and PCIE In-Reply-To: <1367915450-17784-6-git-send-email-Gang.Liu@freescale.com> References: <1367915450-17784-6-git-send-email-Gang.Liu@freescale.com> Message-ID: <20130621203500.GC11333@right.am.freescale.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, May 07, 2013 at 04:30:50PM +0800, Liu Gang wrote: > When a T4 board boots from SRIO or PCIE, it needs to finish these processes: > 1. Set all the cores in holdoff status. > 2. Set the boot location to one PCIE or SRIO interface by RCW. > 3. Set a specific TLB entry for the boot process. > 4. Set a LAW entry with the TargetID of one PCIE or SRIO for the boot. > 5. Set a specific TLB entry in order to fetch ucode and ENV from > master. > 6. Set a LAW entry with the TargetID one of the PCIE ports for > ucode and ENV. > 7. Slave's u-boot image should be generated specifically by > make xxxx_SRIO_PCIE_BOOT_config. > This will set SYS_TEXT_BASE=0xFFF80000 and other configurations. > > For more information about the feature of Boot from SRIO/PCIE, please > refer to the document doc/README.srio-pcie-boot-corenet. > > Signed-off-by: Liu Gang Applied with fixes for build errors. I think this was just an issue of this patch arriving before the T4 consolidation patch, but please be careful. > diff --git a/boards.cfg b/boards.cfg > index 61acc3f..354738e 100644 > --- a/boards.cfg > +++ b/boards.cfg > @@ -896,6 +896,7 @@ stxssa_4M powerpc mpc85xx stxssa stx > T4240QDS powerpc mpc85xx t4qds freescale > T4240QDS_SDCARD powerpc mpc85xx t4qds freescale - T4240QDS:RAMBOOT_PBL,SDCARD,SYS_TEXT_BASE=0xFFF80000 > T4240QDS_SPIFLASH powerpc mpc85xx t4qds freescale - T4240QDS:RAMBOOT_PBL,SPIFLASH,SYS_TEXT_BASE=0xFFF80000 > +T4240QDS_SRIO_PCIE_BOOT powerpc mpc85xx t4qds freescale - T4240QDS:SRIO_PCIE_BOOT_SLAVE,SYS_TEXT_BASE=0xFFF80000 Had to fix this line so it included PPC_T4240, for future reference Thanks, Andy