RE: tftp to flash from linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

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


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux