tftp to flash from linux

Vanhauwaert Wouter W.Vanhauwaert at TELEVIC.com
Wed Sep 14 11:03:07 EDT 2011


> please don't reply to an existing thread if you start a new topic!
> 

Ok (did I do that?)

> 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 -
> 

I try 
	mx27iat# tftp -g -l /proc/self/fd/1 -r zImage_iat_3.0.11_0.02-dbg1 10.0.56.4 | nandwrite -p /dev/mtd4 -

But this doesn't work. Gives some output, from which:
	open input file: No such file or directory
The same command without the pipe at the end works (output to stdout)
 



More information about the barebox mailing list