From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] howto write uboot to nand
Date: Fri, 28 Jun 2013 16:04:56 -0500 [thread overview]
Message-ID: <1372453496.8183.76@snotra> (raw)
In-Reply-To: <alpine.DEB.2.00.1306281513150.3134@tehzcl2.tehzcl-arg> (from kqt4at5v@gmail.com on Fri Jun 28 15:15:03 2013)
On 06/28/2013 03:15:03 PM, kqt4at5v at gmail.com wrote:
> I thought I should ask before I screw this up. I have a new uboot
> that I load with kwboot. It works fine and I want to write it to
> nand. I see many references to write it after loading with tftp but
> not kwboot. Can I do this? How? This is to a Guruplug. Using tftp
>
> tftp 0x6400000 u-boot.kwb
> nand erase 0x00000000 0x0100000
> nand write 0x6400000 0x0000000 0x80000
I'm not familiar with guruplug or kwboot (if you want an answer from
someone who is, you should put it in the subject line) -- but assuming
the image is supposed to be written to the beginning of NAND, the
commands look good.
I'm curious why you erase 1 MiB but only write 512 KiB, though. Even
if your erase block size really is that large, the "nand erase" command
will round up (so you can use $filesize if you want).
-Scott
next prev parent reply other threads:[~2013-06-28 21:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-28 20:15 [U-Boot] howto write uboot to nand kqt4at5v at gmail.com
2013-06-28 21:04 ` Scott Wood [this message]
2013-06-29 15:28 ` Jason Cooper
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=1372453496.8183.76@snotra \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox