From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 24/28] armv8/ls2085aqds: NAND boot support
Date: Tue, 24 Mar 2015 09:46:14 -0700 [thread overview]
Message-ID: <551194D6.9040101@freescale.com> (raw)
In-Reply-To: <DM2PR0301MB06703ACD34B2731FDAC596E4A90A0@DM2PR0301MB0670.namprd03.prod.outlook.com>
On 03/24/2015 09:34 AM, Kushwaha Prabhakar-B32579 wrote:
>
>> -----Original Message-----
>> From: Sun York-R58495
>> Sent: Tuesday, March 24, 2015 9:15 PM
>> To: Wood Scott-B07421
>> Cc: u-boot at lists.denx.de; Kushwaha Prabhakar-B32579
>> Subject: Re: [PATCH v5 24/28] armv8/ls2085aqds: NAND boot support
>>
>>
>>
>> On 03/23/2015 06:34 PM, Scott Wood wrote:
>>> On Fri, 2015-03-20 at 19:28 -0700, York Sun wrote:
>>>> +Generage NAND image
>>>> +-------------------
>>>> +To form the NAND image, build u-boot with LS2085AQDS_NAND_defconfig.
>>>> +Append u-boot-with-spl.bin after RCW image. 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
>>>
>>> The RCW source should probably be 0x107, not 0x104. Bit 0x002
>>> requests first/last bad block markers rather than first/second, and
>>> bit 0x001 enables ECC. Also, this documentation is LS2085A-specific
>>> (most of it will probably apply to all chips with this chassis), not
>>> RDB or QDS specific, with the exception of the RCW source ID which
>>> depends on the specific NAND chip. It would be better to put it in
>>> one place rather than duplicate it, with a table of RCW source IDs for each
>> board.
>>>
>>> Also, you have RDB as having SRC=0x104, but that (as well as 0x107) is
>>> for a 2K-page NAND chip. RDB has a 4K-page NAND, so I think you want
>>> RCW source to be 0x111.
>>>
>>
> for RDB. I think RCW source should be 0x119.
> bad block at first/last page(ONFI requirement) and 4bit ECC
>
I think 0x119 is correct. It is the same value I read back from rcw_src. I just
verified it boots OK. I have been using 0x104 as the source id incorrectly but
it also boots.
York
next prev parent reply other threads:[~2015-03-24 16:46 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 [this message]
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
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=551194D6.9040101@freescale.com \
--to=yorksun@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox