All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 5/5] board/ti/am335x/README: update for NAND boot
Date: Thu, 29 Aug 2013 09:08:57 -0400	[thread overview]
Message-ID: <521F47E9.6050109@ti.com> (raw)
In-Reply-To: <20980858CB6D3A4BAE95CA194937D5E73EA05DA1@DBDE04.ent.ti.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/29/2013 09:01 AM, Gupta, Pekon wrote:
>>
>> On 08/29/2013 06:56 AM, Pekon Gupta wrote:
>>> NAND boot mode on AM335x EVM has been verified, and steps
>>> to use it has been documented and update in this README
>>>
>>> Signed-off-by: Pekon Gupta <pekon@ti.com>
>> [snip]
>>> +	# redundant copies of MLO are kept as backup
>>> +	U-Boot # load mmc 0 0x81000000 MLO
>>> +	U-Boot # nand write 0x81000000 0x00000 0x20000
>>> +	U-Boot # nand write 0x81000000 0x20000 0x20000
>>> +	U-Boot # nand write 0x81000000 0x40000 0x20000
>>> +	U-Boot # nand write 0x81000000 0x60000 0x20000
>>> +	# flash u-boot.img
>>> +	U-Boot # load mmc 0 0x81000000 u-boot.img
>>> +	U-Boot # nand write 0x81000000 0x80000 0x60000
>>
>> I had lumped these as a series of copies/loads and a single write as the
>> write operation was the long (time wise) part of the process.
>>
> Yes, I could see your comment. I just separated each for clarity to user. 
> feel you can drop this one..
> 
>>> +	# flash kernel image
>>> +	U-Boot # load mmc 0 0x81000000 uImage
>>> +	U-Boot # nand write 0x81000000 {kernel-load-address} 0x500000
>>> +	# flash filesystem image
>>> +	U-Boot # load mmc 0 0x81000000 {filesystem-image}
>>> +	U-Boot # nand write 0x81000000 {filesystem-load-address} 0x300000
>>
>> These should also reference real variables or MTD parts names.
> Opps sorry my bad.. 
> I looked it from different angle, just as an example.
> Therefore I added comments above each command to explain each step.
> 
> Anyways this particular patch is just updating README. So, if you may
> drop this PATCH 5/5..

No, I want the README updated, it's helpful.  We should just reference
the other example things we setup like mtdparts (and make use of
${filesize} :)  Thanks!

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSH0fpAAoJENk4IS6UOR1WypsP/RvksLKO3oIUgmCCblr8BnhN
tp1kKIW4P5h90tZ9h7/dPg3Iy77DyZIncEAveu7oDrYYOwL4ThxbRW5oc8UymY6w
ZHD9HZPPzsoDwgDEY4wcL+DkDtqfPZJRewbGWJhb6v7yadFzM4hkW/peGHiEmTWQ
wPCai0ZzlI7A2nSiCvq2nYmjRR59GFupdjbwubzLIUgv9qGAOkd8muZLBpnchU5i
Na1/DLIdzwpEN1GrtmOuLo/TTxBO8rR87R7OAR8zQSmnAAeDYiPzCvZ3k6Ys40S1
7HOK8fP6zmMRor91OsFJ2AsnF2yYJyqp5uBj9hfLfjcKVJdMbSzJMXOxE5H1BRZ+
WlqhFZkTo0DM/Ssrpy9WVgzeqyE2mfE3zST7vb2Y0J4BFGVoX0egFfuKS/x2D71C
mgDPXk31uhT8PmF4VwJiHi9ZW917IpMi1u4PqavrAslY7PHOxDos8YJ8lPqI9C0O
RpyL3YgIQW4uikxxVfeIHlOzLDYNMqxFdS4GBq/towV7JefayV8d+n3B7igKPFcd
DJh7TzHIhGAKD0xN2DDILg1+twRRGvvb1eL1dyNocSzN5mTeaVFZiM3+2FZ8mFff
9sra+ZLoF6+0sF/7+uT1edwVeHeiy25uPTq3m7p/GDpr5Lv99bpgnT105hOT4HSL
JShvbj5X7740l6ofYh2l
=M1AD
-----END PGP SIGNATURE-----

  parent reply	other threads:[~2013-08-29 13:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-29 10:56 [U-Boot] [PATCH v3 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver Pekon Gupta
2013-08-29 10:56 ` [U-Boot] [PATCH v3 1/5] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform Pekon Gupta
2013-08-29 15:01   ` Tom Rini
2013-08-29 10:56 ` [U-Boot] [PATCH v3 2/5] mtd: nand: omap: optimize chip->ecc.hwctl() for H/W ECC schemes Pekon Gupta
2013-08-29 10:56 ` [U-Boot] [PATCH v3 3/5] mtd: nand: omap: optimize chip->ecc.calculate() " Pekon Gupta
2013-08-29 10:56 ` [U-Boot] [PATCH v3 4/5] mtd: nand: omap: optimized chip->ecc.correct() " Pekon Gupta
2013-08-29 10:56 ` [U-Boot] [PATCH v3 5/5] board/ti/am335x/README: update for NAND boot Pekon Gupta
2013-08-29 12:56   ` Tom Rini
     [not found]     ` <20980858CB6D3A4BAE95CA194937D5E73EA05DA1@DBDE04.ent.ti.com>
2013-08-29 13:08       ` Tom Rini [this message]
2013-08-29 16:06 ` [U-Boot] [PATCH v3 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver Tom Rini
     [not found]   ` <20980858CB6D3A4BAE95CA194937D5E73EA07FF2@DBDE04.ent.ti.com>
2013-08-29 17:47     ` Tom Rini
     [not found]       ` <20980858CB6D3A4BAE95CA194937D5E73EA0AA07@DBDE04.ent.ti.com>
2013-09-04 12:51         ` Tom Rini

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=521F47E9.6050109@ti.com \
    --to=trini@ti.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.