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:update image

From BoxMatrix


BoxMatrix >> Shell-Commands >> update_image @ 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:   Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

update_image is a serial flash firmware updater.

It is a statically linked and completely stripped fat binary. The strings show it contains exactly this error strings.
xz compresses it to 33%, the same result as for a libc, so there's no crypted part. binwalk doesn't find anything.

It is or was installed on Dakota and Jet models and it's only called from post_install generated by an update install script:

update_image -i kernel.image -o /dev/mtdX     # X = mtd containing the kernel + filesystem

This explains why it is statically built. It was likely designed to be placed into a firmware image.

The 4040, 600, 2400, 1260e where update_image is still installed all use S-Flash and have a zero size filesystem.image.
The 7530 and 1260 only used zero size filesystem.image in old Labors and use NAND-Flash today.

4040 fw 7.39 help:

update_image [options]

       -i       input
       -o       output
       -j       jffs2-file
       -offset  offset2jffs2
       -h       this help

The input file is expected to be kernel + filesystem + an optional jffs2 appended. The jffs2 can be directed to a file.
For this the squashfs is located by a sqsh or hsqs signature and its end is computed, padded to 256 bytes boundary.
Optionally the offset of the jffs2 can be specified explicitely.

Dependencies

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

Relation Typ Object Mod Firmware Info Origin
0 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-18 05:08 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) label in the Model column shows which CPU is meant for models with multiple Linux instances.
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 4040 6.52 - 7.57 /sbin 258k - 317k
FRITZ!Repeater 600 7.11 - 7.58 /sbin 277k - 351k
FRITZ!Repeater 2400 7.12 - 7.58 /sbin 277k - 351k
FRITZ!Powerline 1260E 6.90 - 7.57 /sbin 258k - 317k
4 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-18 07:16 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.