mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: Vanhauwaert Wouter <W.Vanhauwaert@TELEVIC.com>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: tftp to flash from linux
Date: Tue, 13 Sep 2011 14:43:53 +0300	[thread overview]
Message-ID: <20110913114353.GA25206@sapphire.tkos.co.il> (raw)
In-Reply-To: <E78BBE677EB9144B8F0A0A29674CD533489C0CDC8A@SRV-VS06.TELEVIC.COM>

Hi Wouter,

On Tue, Sep 13, 2011 at 01:36:31PM +0200, Vanhauwaert Wouter wrote:
> To update our platform from within a booted linux, we need tftp to write to 
> the nand-flash (another partition) directly.
> Which one do I use? /dev/mtdx or /dev/mtdblockx? And what happens with bad 
> blocks here? Are these bad-block aware?

Use the nandwrite utility from the mtd-utils package (there's also a Busybox 
version), and /dev/mtdx.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2011-09-13 11:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13 11:36 Vanhauwaert Wouter
2011-09-13 11:43 ` Baruch Siach [this message]
2011-09-13 11:50   ` Vanhauwaert Wouter
2011-09-13 11:57     ` Marc Kleine-Budde
2011-09-14 15:03       ` Vanhauwaert Wouter
2011-09-14 16:43         ` Baruch Siach
2011-09-15  8:38           ` Vanhauwaert Wouter
2011-09-15  9:40             ` Vanhauwaert Wouter
2011-09-13 12:03     ` Baruch Siach

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=20110913114353.GA25206@sapphire.tkos.co.il \
    --to=baruch@tkos.co.il \
    --cc=W.Vanhauwaert@TELEVIC.com \
    --cc=barebox@lists.infradead.org \
    /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