From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 26/28] armv8/ls2085ardb: Enable NAND SPL support
Date: Mon, 23 Mar 2015 20:24:05 -0500 [thread overview]
Message-ID: <1427160245.22867.36.camel@freescale.com> (raw)
In-Reply-To: <1426904912-29186-27-git-send-email-yorksun@freescale.com>
On Fri, 2015-03-20 at 19:28 -0700, York Sun wrote:
> diff --git a/board/freescale/ls2085ardb/README b/board/freescale/ls2085ardb/README
> index cfd5185..5a5171c 100644
> --- a/board/freescale/ls2085ardb/README
> +++ b/board/freescale/ls2085ardb/README
> @@ -107,3 +107,22 @@ Booting Options
> ---------------
> a) NOR boot
> b) NAND boot
> +
> +Generage NAND image
Generate
> +-------------------
> +To form the NAND image, build u-boot with LS2085ARDB_NAND_defconfig.
> +Append u-boot-with-spl.bin after RCW image.
I thought we were going to put the SPL image in a separate erase block,
rather than concatenate it to the PBI.
> The RCW image should
> +have these PBI commands
> +
> +1) CCSR 4-byte write to 0x00e00404, data=0x00000000
> +2) CCSR 4-byte write to 0x00e00400, data=0x1800a000
> +3) Block Copy: SRC=0x0104, SRC_ADDR=0x000000c0, DEST_ADDR=0x1800a000,
> +BLOCK_SIZE=0x00014000
0xc0 assumes that's the size of the PBI. This is one reason I don't
like the concatenated approach.
> +These PBI commands set the bootloc registers to OCRAM address 0x1800a000
> +and the SPL image is copied from the combined image into OCRAM.
> +
> +The SRC_ADDR should match the size of RCW image, i.e. it is the offset
> +of u-boot-with-spl.bin in the NAND image. If putting RCW in a separated
> +block is desired, the offset needs adjustment. Padding between the end
> +of RCW and the start of u-boot image may be required.
The padding between SPL and main U-Boot and other constants would also
need to change. I don't think we want to make this a user knob.
-Scott
next prev parent reply other threads:[~2015-03-24 1:24 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-21 2:28 [U-Boot] [PATCH v5 0/28] Adding LS2085AQDS and RDB York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 01/28] armv8/fsl-lsch3: Implement workaround for erratum A008585 York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 02/28] armv8/ls2085a: Update common header file York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 03/28] armv8/fsl-lsch3: Fix platform clock calculation York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 04/28] armv8/ls2085a: Fix generic timer clock source York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 05/28] armv8/ls2085a: Add support for reset request York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 06/28] armv8/fsl-lsch3: Set nodes in DVM domain York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 07/28] armv8/fsl-lsch3: Update early MMU table York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 08/28] fsl-lsch3: Introduce place for common early SoC init York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 09/28] armv8/ls2085a: Add workaround for USB erratum A-008751 York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 10/28] armv8/fsl-lsch3: Use correct compatible for serial clock fixup York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 11/28] driver/ldpaa_eth: Update ldpaa ethernet driver York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 12/28] armv8: Add SerDes framework for Layerscape Architecture York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 13/28] net/phy/cortina: Fix compilation warning York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 14/28] drivers/fsl-mc: Changed MC firmware loading for new boot architecture York Sun
2015-03-23 18:02 ` Kim Phillips
2015-03-23 18:15 ` York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 15/28] net/memac_phy: reuse driver for little endian SoCs York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 16/28] armv8/fsl-ch3: Add support to print RCW configuration York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 17/28] armv8/fsl-lsch3: Enable system error aborts York Sun
2015-03-23 17:46 ` York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 18/28] driver/ldpaa: Add support of WRIOP static data structure York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 19/28] armv8/ls2085aqds: Add support of LS2085AQDS platform York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 20/28] armv8/ls2085ardb: Add support of LS2085ARDB platform York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 21/28] drivers/fsl-mc: Autoload AOIP image from NOR flash York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 22/28] board/ls2085qds: Add support ethernet York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 23/28] driver/ifc: Add 64KB page support York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 24/28] armv8/ls2085aqds: NAND boot support York Sun
2015-03-24 1:34 ` Scott Wood
2015-03-24 15:45 ` York Sun
2015-03-24 16:34 ` prabhakar at freescale.com
2015-03-24 16:46 ` York Sun
2015-03-24 17:25 ` Scott Wood
2015-03-21 2:28 ` [U-Boot] [PATCH v5 25/28] freescale/qixis: Add support for booting from NAND York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 26/28] armv8/ls2085ardb: Enable NAND SPL support York Sun
2015-03-24 1:24 ` Scott Wood [this message]
2015-03-21 2:28 ` [U-Boot] [PATCH v5 27/28] ls2085a: esdhc: Add esdhc support for ls2085a York Sun
2015-03-21 2:28 ` [U-Boot] [PATCH v5 28/28] armv8/fsl-lsch3: Implement workaround for I2C issue York Sun
2015-04-24 1:40 ` [U-Boot] [PATCH v5 0/28] Adding LS2085AQDS and RDB York Sun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1427160245.22867.36.camel@freescale.com \
--to=scottwood@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.