linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: "Navin Boppuri" <navin.boppuri@newisys.com>
Cc: "Linuxppc-Embedded (E-mail)" <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Flash Driver
Date: Tue, 14 Aug 2001 21:54:51 +0200	[thread overview]
Message-ID: <20010814195456.248D610CBA@denx.denx.de> (raw)
In-Reply-To: Your message of "Tue, 14 Aug 2001 14:40:28 CDT." <3A494DE356A49A40B37442E1E0D9F3B506341D@ptah.ad.newisys.com>


In message <3A494DE356A49A40B37442E1E0D9F3B506341D@ptah.ad.newisys.com> you wrote:
>
> Can I have the dd commands once again? I am not using busybox stuff.

dd if=some_file of=/dev/flashXY bs=ZZZk conv=sync

whith:

X = 'a' for the first, 'b' for the second flash bank, etc.
Y = number of the flash partition (1 = 1st, 2 = 2nd, etc.)

ZZZ = your erase block size

For instance, I can use

	dd if=/tmp/ppcboot.bin of=/dev/flasha1 bs=128k conv=sync

to write a new PPCboot image to soem of our boards.

Be careful - /dev/flasha is the full 1st flash bank  (unpartitioned).
The devices names are similar to those of harddisks.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Remember, there's a big difference between kneeling down and  bending
over.                                                   - Frank Zappa

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2001-08-14 19:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-14 19:40 Flash Driver Navin Boppuri
2001-08-14 19:54 ` Wolfgang Denk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-07-07 19:16 flash driver liran raz
2008-07-08  6:34 ` Marco Stornelli
     [not found]   ` <e3b3ab5c0807081104w44565527m5602c9d6e85b5875@mail.gmail.com>
     [not found]     ` <e3b3ab5c0807081106l50914537xc41f777669655c52@mail.gmail.com>
2008-07-09  7:00       ` Marco Stornelli
2001-08-14 19:32 Flash Driver Wolfgang Denk
2001-08-14 19:15 Navin Boppuri
2001-08-13 22:09 Navin Boppuri
2001-08-13 22:28 ` Wolfgang Denk

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=20010814195456.248D610CBA@denx.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=navin.boppuri@newisys.com \
    /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;
as well as URLs for NNTP newsgroup(s).