* [U-Boot] [PATCH 0/1] Add NAND to board/ti/am335x/README
@ 2013-07-17 16:24 Tom Rini
2013-07-17 16:24 ` [U-Boot] [PATCH 1/1] board/ti/am335x/README: Document NAND programming Tom Rini
0 siblings, 1 reply; 5+ messages in thread
From: Tom Rini @ 2013-07-17 16:24 UTC (permalink / raw)
To: u-boot
The following depends on v2 of the "Improve falcon mode and am335x_evm
docs" series, as that adds the README to start with.
--
Tom
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH 1/1] board/ti/am335x/README: Document NAND programming
2013-07-17 16:24 [U-Boot] [PATCH 0/1] Add NAND to board/ti/am335x/README Tom Rini
@ 2013-07-17 16:24 ` Tom Rini
2013-07-17 21:52 ` Scott Wood
2013-07-30 13:28 ` Tom Rini
0 siblings, 2 replies; 5+ messages in thread
From: Tom Rini @ 2013-07-17 16:24 UTC (permalink / raw)
To: u-boot
The AM335x GP EVM ships with NAND. Document programming of the chip
including the redundant locations that the ROM will check.
Signed-off-by: Tom Rini <trini@ti.com>
---
board/ti/am335x/README | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/board/ti/am335x/README b/board/ti/am335x/README
index ccc5e16..3444d7e 100644
--- a/board/ti/am335x/README
+++ b/board/ti/am335x/README
@@ -13,6 +13,31 @@ documented in TI's reference designs:
- AM335x EVM SK
- Beaglebone White
- Beaglebone Black
+'
+NAND
+====
+
+The AM335x GP EVM ships with a 256MiB NAND available in most profiles. In
+this example to program the NAND we assume that an SD card has been
+inserted with the files to write in the first SD slot and that mtdparts
+have been configured correctly for the board. As a time saving measure we
+load MLO into memory in one location, copy it into the three locatations
+that the ROM checks for additional valid copies, then load U-Boot into
+memory. We then write that whole section of memory to NAND.
+
+U-Boot # mmc rescan
+U-Boot # env default -f -a
+U-Boot # nand erase.chip
+U-Boot # saveenv
+U-Boot # load mmc 0 81000000 MLO
+U-Boot # cp.b 81000000 81020000 20000
+U-Boot # cp.b 81000000 81040000 20000
+U-Boot # cp.b 81000000 81060000 20000
+U-Boot # load mmc 0 81080000 u-boot.img
+U-Boot # nand write 81000000 0 260000
+U-Boot # load mmc 0 ${loadaddr} uImage
+U-Boot # nand erase.part kernel
+U-Boot # nand write ${loadaddr} kernel 500000
Falcon Mode
===========
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH 1/1] board/ti/am335x/README: Document NAND programming
2013-07-17 16:24 ` [U-Boot] [PATCH 1/1] board/ti/am335x/README: Document NAND programming Tom Rini
@ 2013-07-17 21:52 ` Scott Wood
2013-07-17 22:04 ` Tom Rini
2013-07-30 13:28 ` Tom Rini
1 sibling, 1 reply; 5+ messages in thread
From: Scott Wood @ 2013-07-17 21:52 UTC (permalink / raw)
To: u-boot
On 07/17/2013 11:24:30 AM, Tom Rini wrote:
> The AM335x GP EVM ships with NAND. Document programming of the chip
> including the redundant locations that the ROM will check.
>
> Signed-off-by: Tom Rini <trini@ti.com>
> ---
> board/ti/am335x/README | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/board/ti/am335x/README b/board/ti/am335x/README
> index ccc5e16..3444d7e 100644
> --- a/board/ti/am335x/README
> +++ b/board/ti/am335x/README
> @@ -13,6 +13,31 @@ documented in TI's reference designs:
> - AM335x EVM SK
> - Beaglebone White
> - Beaglebone Black
> +'
> +NAND
> +====
> +
> +The AM335x GP EVM ships with a 256MiB NAND available in most
> profiles. In
> +this example to program the NAND we assume that an SD card has been
> +inserted with the files to write in the first SD slot and that
> mtdparts
> +have been configured correctly for the board. As a time saving
> measure we
> +load MLO into memory in one location, copy it into the three
> locatations
> +that the ROM checks for additional valid copies, then load U-Boot
> into
> +memory. We then write that whole section of memory to NAND.
> +
> +U-Boot # mmc rescan
> +U-Boot # env default -f -a
> +U-Boot # nand erase.chip
> +U-Boot # saveenv
> +U-Boot # load mmc 0 81000000 MLO
> +U-Boot # cp.b 81000000 81020000 20000
> +U-Boot # cp.b 81000000 81040000 20000
> +U-Boot # cp.b 81000000 81060000 20000
> +U-Boot # load mmc 0 81080000 u-boot.img
> +U-Boot # nand write 81000000 0 260000
> +U-Boot # load mmc 0 ${loadaddr} uImage
> +U-Boot # nand erase.part kernel
> +U-Boot # nand write ${loadaddr} kernel 500000
You've already done a "nand erase.chip"... Why do you need to erase
"kernel" again?
-Scott
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH 1/1] board/ti/am335x/README: Document NAND programming
2013-07-17 21:52 ` Scott Wood
@ 2013-07-17 22:04 ` Tom Rini
0 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2013-07-17 22:04 UTC (permalink / raw)
To: u-boot
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/17/2013 05:52 PM, Scott Wood wrote:
> On 07/17/2013 11:24:30 AM, Tom Rini wrote:
>> The AM335x GP EVM ships with NAND. Document programming of the
>> chip including the redundant locations that the ROM will check.
>>
>> Signed-off-by: Tom Rini <trini@ti.com> --- board/ti/am335x/README
>> | 25 +++++++++++++++++++++++++ 1 file changed, 25
>> insertions(+)
>>
>> diff --git a/board/ti/am335x/README b/board/ti/am335x/README
>> index ccc5e16..3444d7e 100644 --- a/board/ti/am335x/README +++
>> b/board/ti/am335x/README @@ -13,6 +13,31 @@ documented in TI's
>> reference designs: - AM335x EVM SK - Beaglebone White -
>> Beaglebone Black +' +NAND +==== + +The AM335x GP EVM ships with a
>> 256MiB NAND available in most profiles. In +this example to
>> program the NAND we assume that an SD card has been +inserted
>> with the files to write in the first SD slot and that mtdparts
>> +have been configured correctly for the board. As a time saving
>> measure we +load MLO into memory in one location, copy it into
>> the three locatations +that the ROM checks for additional valid
>> copies, then load U-Boot into +memory. We then write that whole
>> section of memory to NAND. + +U-Boot # mmc rescan +U-Boot # env
>> default -f -a +U-Boot # nand erase.chip +U-Boot # saveenv +U-Boot
>> # load mmc 0 81000000 MLO +U-Boot # cp.b 81000000 81020000 20000
>> +U-Boot # cp.b 81000000 81040000 20000 +U-Boot # cp.b 81000000
>> 81060000 20000 +U-Boot # load mmc 0 81080000 u-boot.img +U-Boot #
>> nand write 81000000 0 260000 +U-Boot # load mmc 0 ${loadaddr}
>> uImage +U-Boot # nand erase.part kernel +U-Boot # nand write
>> ${loadaddr} kernel 500000
>
> You've already done a "nand erase.chip"... Why do you need to
> erase "kernel" again?
No, that's just what I get for concatening my instructions too
quickly, thanks!
- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJR5xT5AAoJENk4IS6UOR1Wr9sP/RtZpkzON7zC5LIqEQCfVFBj
vJCTQYB0xKaMGgYLpQ2uLy5PH4CgPuy3PTmdVrK1Ooqj2YHTmZpBH7yjTl3VTjxd
nrODm1VLQ1kd3QNC94ftOzv5vvISfV8A1HtS8WeoExAphFrcpaTnbbSfhcMpQfR6
m+fEdfpHDtzgh2dKZPqPC29XqgDkN5RtcH6jDV+ZujjyBMHuxCc1wslwJZSz2WSv
lY1GKCxHiJALZyII4nCaT7tsRGWJWWZziqFzK+XObYZzcN9XKVimqZGe2vSTM4pu
sl+Sddp7j6EzfxY6vSWRTAuRIa0uiGKHuGm+yA52qyP6FznzdtLzdr/eNEOs34Q4
ekz15q6l8F9z4witCm9msDhxbzjD6imfVylgJHiDqpc0LopQj7fNw4e6PQ3wRvjD
WWti5eGmTeMwxdlm7awBFi9RrMTSz2NnhIAHcN59CVqaobxf/MxtIGAJ8IZeqL81
T9U2U8EauR1Ba7KrJWhYH8U6zic1KChZ2GyTn21HH78Px+Vf15M+qv6RGm6im9m/
yBO2aygKQYNwEMMGyjNAI2a0cy31FuZhYl7MbpQufi7oWPDUtobBMBOQz/V7wBa9
I5QcZ7Fqcd6R9QG58ioPcIzTxzMBB0cfrKhYKMiO1lvHbSt7jIKkpnErXl7djiGp
7xh5j6JWedBDdA5xZSad
=M00E
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH 1/1] board/ti/am335x/README: Document NAND programming
2013-07-17 16:24 ` [U-Boot] [PATCH 1/1] board/ti/am335x/README: Document NAND programming Tom Rini
2013-07-17 21:52 ` Scott Wood
@ 2013-07-30 13:28 ` Tom Rini
1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2013-07-30 13:28 UTC (permalink / raw)
To: u-boot
On Wed, Jul 17, 2013 at 12:24:30PM -0400, Tom Rini wrote:
> The AM335x GP EVM ships with NAND. Document programming of the chip
> including the redundant locations that the ROM will check.
>
> Signed-off-by: Tom Rini <trini@ti.com>
Applied to u-boot-ti/master with Scott's comment fixed.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130730/688142b9/attachment.pgp>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-07-30 13:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-17 16:24 [U-Boot] [PATCH 0/1] Add NAND to board/ti/am335x/README Tom Rini
2013-07-17 16:24 ` [U-Boot] [PATCH 1/1] board/ti/am335x/README: Document NAND programming Tom Rini
2013-07-17 21:52 ` Scott Wood
2013-07-17 22:04 ` Tom Rini
2013-07-30 13:28 ` Tom Rini
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.