How to download the mtd block via TFTP?

A.W.C. bluestream at ymail.com
Fri Dec 4 10:02:41 UTC 2015


There is no way to update Busybox to latest version, I can only use existing version, the code is precompiled and running on embedded device.
Regards,A.
 


    On Friday, December 4, 2015 10:28 AM, walter harms <wharms at bfs.de> wrote:
 

 Version 1.4 is seriously outdated.
please try the latest version. You are missing several fixes from the last years.

note: there is no need to replace BB completely. you can create tftp only and see
what is happening. Do not use links otherwise you may accidentally overwrite your
current binary.

re,
 wh

Am 03.12.2015 23:11, schrieb A.W.C.:
> MontaVista Linux on embedded device,BusyBox v1.4.2 (2012-06-01 11:17:34 CST) Built-in shell (ash)
> Enter 'help' for a list of built-in commands.
> 
> # help
> 
> Built-in commands:
> -------------------
>        . : [ [[ bg break cd chdir continue echo eval exec exit export
>        false fg getopts hash help jobs kill local pwd read readonly
>        return set shift source test times trap true type ulimit umask
>        unset wait 
> # tftp
> BusyBox v1.4.2 (2012-06-01 11:17:34 CST) multi-call binary
> 
> Usage: tftp [OPTION]... HOST [PORT]
> Regards,Alex
> 
>    On Thursday, December 3, 2015 4:24 PM, walter harms <wharms at bfs.de> wrote:
>  
> 
>  who to reproduce that ?
> 
> what busybox version ? perhaps what compiler/libc/OS ?
> 
> re,
>  wh
> 
> Am 13.11.2015 21:36, schrieb Alexander:
>> 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 at busybox.net
>> http://lists.busybox.net/mailman/listinfo/busybox
>>
> 
> 
>  


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20151204/7c00c02b/attachment.html>


More information about the busybox mailing list