On Wed, Sep 14, 2011 at 05:03:07PM +0200, Vanhauwaert Wouter wrote: > > 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) Try passing the data via a named pipe: mkfifo nand_pipe tftp -g -l nand_pipe -r zImage 10.0.56.4 & nandwrite -p /dev/mtd4 nand_pipe baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@xxxxxxxxxx - tel: +972.2.679.5364, http://www.tkos.co.il - _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox