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.
Property:ar7-lite
BoxMatrix >> Shell-Commands >> ar7-lite | @ 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 |
Chipset-Command
Command: | ar7-lite - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Chipset-Commands - Origin: FIT | ||||||
Path: | Release: /bin Lab+Rel: /bin | ||||||
Properties: | Size: 21.4k - 29.2k - Firmware: 7.29 - 8.00 | ||||||
Function: | FIT-Image transfer and boot command using simple FTP to a remote EVA bootloader. |
Goto: Source - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
ar7-lite is a FIT-Image transfer and boot command using simple FTP to a remote EVA bootloader, like a Recovery.exe does.
It is used in upx-hwk-boot-prx on a Hawkeye to first set the remote Bootloader-Environment and then transfer and boot the
Falcon firmware fit-image on a 5590.
The name of this program comes from the fact that the remote side is the Bootcore of the Falcon, a 4Kc
MIPS like in an AR7,
which also received the upload of the bootloader through a serial interface in upx-hwk-send-urlader-prx.
The mostly crypted bootloader binary contains the string 4Kc
, the Interaptiv of the Falcon uses a 34Kc
MIPS core.
fw 7.29 help:
root@fake:# ar7-lite -? usage: ar7-lite [OPTIONS] HOST FIT_IMAGE Options: -u USER Use the user USER to log into the ftp server. (Default: adam2) -p PASS Use the password PASS to log into the ftp server. (Default: adam2) -h Print this help text. -s NAME=VALUE Set the urlader environment value NAME to VALUE. (Default: Empty) -t TIME*NUM/P Try connecting for TIME ms up to NUM times before giving up. Each P tries there is a progress output (0: disabled). (Default: 100*300/5) -c COL Print the progress when uploading a file with at most COL columns. Disabled by setting the value to 0. (Default: 62) -e ADDR Load the image into a memory area ending at the address ADDR -f LEN Explicitly specify the image size (0: use the file size). (Default: 0) Send the firmware <fit_image> over the network to a cooperating bootloader on <host>, which will load it into the host's memory and boot it.
Source
The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.29 source files:
$ strings /bin/ar7-lite | grep -e '\.c$' -e '\.cpp$' ar7-lite.c avm_fit.c crtstuff.c deadline.c dynalloc.c ext_err.c ftp.c fw_flash.c gai_connect.c misc.c progress.c Scrt1.c timespec.c trace.c
A very helpful finding for FIT-Image research is this:
$ strings -n 3 /bin/ar7-lite | grep fit avm_fit.c avm_fit_ed25519_hdr_htox avm_fit_ed25519_hdr_xtoh
Now we finally know the signature algorithm in the AVM FIT-Image header is ED25519.
Dependencies
Daily updated index of all dependencies of this command. Last update: 2024-12-23 07:59 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Depends on | lib | libbasis.so | 1 | 7.70 - 8.00 | Basic I/O, time and string helper functions | AVM |
Depends on | lib | libc.so | 1 | 7.29 - 8.00 | Standard C library | Linux |
2 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-23 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 |
---|---|---|---|
FRITZ!Box 5590 Fiber (main) | 7.29 - 8.00 | /bin | 21.4k - 29.2k |
1 model uses this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-12-23 07:59 GMT.
Firmware | Symbol |
---|---|
7.29 - 7.30 | main |
1 symbol for this command |