From: Marc Kleine-Budde <mkl@pengutronix.de>
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 13:57:54 +0200 [thread overview]
Message-ID: <4E6F4542.70408@pengutronix.de> (raw)
In-Reply-To: <E78BBE677EB9144B8F0A0A29674CD533489C0CDCAF@SRV-VS06.TELEVIC.COM>
[-- Attachment #1.1: Type: text/plain, Size: 956 bytes --]
Hello Vanhauwaert,
please don't reply to an existing thread if you start a new topic!
On 09/13/2011 01:50 PM, Vanhauwaert Wouter wrote:
> Yes, I already thought that this nandwrite command can be used for
> writing. But problem is I get the image via tftp and my RAM is to
> little to store it temporary. So I have to write it directly to
> flash. Can I combine this nandwrite and tftp in any way? I'm using
> busybox
You need a tftp client that supports writing to stdout and a nandwrite
that supports reading from stdin.
Than it's the usual
tftp $server $file | nandwrite /dev/mtdfoo -
You probably need to pad the input file with '-p'
cheers, Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2011-09-13 11:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-13 11:36 tftp to flash from linux Vanhauwaert Wouter
2011-09-13 11:43 ` Baruch Siach
2011-09-13 11:50 ` Vanhauwaert Wouter
2011-09-13 11:57 ` Marc Kleine-Budde [this message]
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=4E6F4542.70408@pengutronix.de \
--to=mkl@pengutronix.de \
--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 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.