From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 20 Mar 2015 14:23:35 -0700 Subject: [U-Boot] [PATCH v4 24/28] armv8/ls2085aqds: NAND boot support In-Reply-To: <1426886140.27998.206.camel@freescale.com> References: <1426879262-32573-1-git-send-email-yorksun@freescale.com> <1426879262-32573-2-git-send-email-yorksun@freescale.com> <1426886140.27998.206.camel@freescale.com> Message-ID: <550C8FD7.5080208@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03/20/2015 02:15 PM, Scott Wood wrote: > On Fri, 2015-03-20 at 12:21 -0700, York Sun wrote: >> From: Scott Wood >> >> This adds NAND boot support for LS2085AQDS, using SPL framework. >> >> To form a NAND image, append u-boot-with-spl.bin after a proper >> nand boot RCW and flash to the beginning of NAND. > > Do we want to do it this way, or should we keep the RCW in a separate > block? I would like to see RCW in a separated block. > > What constitutes a "proper nand boot RCW" (those were not my words)? > There are details in this patch regarding offsets that need to match > details in the PBI (which is more than just RCW). It is not your original words. Yours was "To form a NAND image, append u-boot-with-spl.bin after PBL_0x3_0x07_1333_nand.bin and flash to the beginning of NAND.". I try to make the message generic. A proper nand boot RCW means the RCW should contains PBI commands to set bootloc and block copy the image. Since RCW is not in the scope of u-boot, I cannot refer to any specific file. Do you want to include an RCW file into u-boot, like those for powerpc boards? > > It would also be nice to sort out loading the environment during SPL. That can be an additional patch when you have it. York