If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:evaput

From BoxMatrix
(Redirected from evaput)


BoxMatrix >> Shell-Commands >> evaput @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

AVM-Command

Goto:   Examples  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

evaput is a remote firmware uploader for the 5188, a client for EVA bootloader's FTP interface.

The 5188 is the only model which contains 2 AR7 SoCs. Both have their own RAM but only one has Flash for the firmware.
The second SoC gets the Bootloader uploaded via VLYNQ with the CPU variable set to 2 so the firmware knows where it runs.
After this the second SoC behaves like a normal box and can be "recovered" by evaput to receive the cloned firmware.

Older fw help:

$ evaput -?      

usage: evaput [options] ipaddr [firmwarefile]

options:
  -?                 - print this help
  -p                 - use pasv mode. (NOTSET)
  -m STRING          - mtd. (NULL)
  -a                 - transfer to adam2. (NOTSET)
  -s                 - silent (no hashmarks). (NOTSET)
  -q                 - no messages at all. (NOTSET)
  -S                 - put to SRAM. (NOTSET)
  -n                 - use quit insteed of reboot. (NOTSET)
  -b INTEGER         - blocksize of chunks. (32768)
  -Q                 - query SYST only. (NOTSET)
  -D STRING          - switch debug logs on. (NULL)

You can update eva urlader if you use mtd2+, be carefull.

Examples

rc.S of the 5188 first checks if /dev/mtd9 exists, if it does it is copied to /var/kernel.
If the size of /var/kernel is not zero its content is "flashed":

echo "Load RAM Kernel"
evaput26 -S $nfs_client_ip /var/kernel

If the size of /var/kernel is zero the content of mtdblock2 is "flashed":

echo "Load FLASH Kernel (ram kernel not valid)"
evaput26 -S $nfs_client_ip /dev/mtdblock2

If /dev/mtd9 does not exist the content of mtdblock2 is "flashed" too:

echo "Load FLASH Kernel (no ram kernel)"
evaput26 -S $nfs_client_ip /dev/mtdblock2  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-12-21 07:44 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Symlinked by cmd evaput26 1 4.56 - 4.81 Remote Firmware uploader for 5188. AVM
Depends on lib libavmcsock.so 1 4.56 - 4.81 Networking, I/O and helper functions AVM
Depends on lib libc.so 1 4.56 - 4.81 Standard C library Linux
Depends on lib libdl.so 1 4.56 - 4.81 Dynamic linking library Linux
Depends on lib libgcc_s.so 1 4.56 GCC low-level runtime library Linux
Depends on lib libpthread.so 1 4.56 - 4.81 POSIX threading library Linux
Depends on lib libslab.so 1 4.56 - 4.61 Slab allocator or empty dummy library Linux
7 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-12-21 05:44 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
VoIP Gateway 5188 4.56 - 4.81 /bin 14.7k - 18.9k
1 model uses this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-12-21 07:44 GMT.

Firmware Symbol
4.56 - 4.81 SignalHandler
4.56 - 4.81 ftpcmd
4.56 - 4.81 main
3 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.