"TFTPD32 v3.23 Build Jun 2 2007 copyrighted 1998-2007 by Philippe Jounin" tftp server (philippe@jounin.net) on windows XP. http://tftpd32.jounin.net/tftpd32_download.html
so wrote this little script
Code: Select all
#!/bin/sh -x
if [ "$1" ];then
PC=$1
else
PC=192.168.1.2
fi
cd /var/tmp
block=2
while [ "$block" -lt 6 ]; do
mtd=mtd"$block".bin
cat /dev/mtdblock/$block >$mtd
tftp -p -l $mtd $PC
rm $mtd
let block=$block+1
done
Code: Select all
Directory of C:\tftp
26/02/2008 22:07 65,536 mtd2.bin
26/02/2008 22:07 65,536 mtd3.bin
26/02/2008 22:07 3,538,944 mtd4.bin
26/02/2008 22:07 524,288 mtd5.bin
4 File(s) 4,194,304 bytes
Only real use of binary files in this form is via JTAG (mtd2 bootloader, mtd3 env+config, no need for kernel+filesystem mtd4), but thought I'd share it...