tftp to flash from linux

Vanhauwaert Wouter W.Vanhauwaert at TELEVIC.com
Thu Sep 15 05:40:32 EDT 2011


> Doesn't work:
> 
> mx27iat# mkfifo nand_pipe
> mx27iat# tftp -g -l nand_pipe -r output 10.56.114 | nandwrite -p /dev/mtd4
> nand_pipe
> tftp: using blksize 512MTD_open
> MTD_ioctl

I did some further testing, and apparantly, the nandwrite closes after writing 1 buffer
Did the test with one console "nandwrite -p /dev/mtd4 nand_pipe" and from another echo this is a test > nand_pipe:

mx27iat# nandwrite -p /dev/mtd4 nand_pipe
MTD_open
MTD_ioctl
Writing data to block 0MTD_ioctl

MTD_write
MTD_close



More information about the barebox mailing list