[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    How to download the mtd block via TFTP?
From:       Alexander <bluestream () ymail ! com>
Date:       2015-11-13 20:36:32
Message-ID: 372292121.3731366.1447446992108.JavaMail.yahoo () mail ! yahoo ! com
[Download RAW message or body]

I tried download mtdblock from remote device (embedded Linux) to local computer via \
TFTP (telnet), but download fails.

tftp -l /dev/mtdblock3 -p 192.168.100.10

Download starts, but only downloads about ~900KB, then falls. TFTP show timeout, and \
also errors tftp: server says: 'Access violation' or 'Illegal TFTP operation'.

mtd blocks:

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "U-Boot"
mtd1: 00010000 00010000 "env1"
mtd2: 00010000 00010000 "env2"
mtd3: 003a0000 00010000 "UBFI1"
mtd4: 003a0000 00010000 "UBFI2"
mtd5: 000cf6f4 00010000 "Kernel"
mtd6: 002cc800 00010000 "RootFileSystem"
mtd7: 00070000 00010000 "nvram"


# cd dev
# ls -l

brw-rw----    1 0        0         31,   3 mtdblock3
brw-rw----    1 0        0         31,   4 mtdblock4
...
crw-rw----    1 0        0         90,   6 mtd3
crw-rw----    1 0        0         90,   7 mtd3ro
crw-rw----    1 0        0         90,   8 mtd4
crw-rw----    1 0        0         90,   9 mtd4ro

How to solve this issue?
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic