Am 16.02.2017 um 09:57 schrieb Vesta:
Hi,

BusyBox v1.4.2 on an embedded device running Linux v2.6.18.

I tried to download mtdblock6 "RootFileSystem" MTD partition via tftp, but at 
the very end, transfer every time ended with error tftp: read error: Input/output error.

This way you just download the device file, not the block device represented by the device file. Use netcat/nc or a SSH tunnel in combination with dd to create an image of the block device on the fly. Imaging with dd also works whan mounted, but might result in corruption of the image (usually no bad corruption since most devices with simple flash keep writes low) when mounted read-write.

Yours,
Mattias



/proc/mtd
dev:    size   erasesize  name
...
mtd6: 00416800 00010000 "RootFileSystem"

brw-rw----    1 0        0         31,   6 mtdblock6

Is there way to solve this issue? Does it possible unmount RootFileSystem MTD 
partition without rebooting and dropping network connection? Busybox commands 
is limited by defined functions only.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

--
Mattias Schlenker - Freier IT-Fachredakteur und -autor
                             redakt...@mattiasschlenker.de
Mattias Schlenker - IT-Consulting, Softwareentwicklung
                            consult...@mattiasschlenker.de

Address__ August-Bebel-Str. 74 - D-04275 LEIPZIG - GERMANY
Phone: +49 341 39290767              Fax: +49 341 30393578
Mobile: +49 163  6953657  Another mobile: +49 159 03160327
VATIN_________________________________________ DE240998538

Fork me!____________________ https://github.com/mschlenker
Website.__________________ http://www.mattiasschlenker.de/
My books!___________ http://www.arduino-hausautomation.de/

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to