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:fwupdate

From BoxMatrix


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

Details

fwupdate is the commandline Firmware updater. It is the enhanced and renamed sucessor of tr069fwupdate.
Its pupose is similar to firmwarecfg but it's a commandline program, no CGI.
Like firmwarecfg the main job is file transfer for Firmware update and Configuration export and import.

In TR-XX context it is called by the ctlmgr plugings libtr064.so, libtr069.so, and libusp.so.
It is also called by libcmapi.so and libmailbuilder.so for ctlmgr and by start_dect_update.sh.

fw 7.90 help:

root@fritz:/var/mod/root# fwupdate -?

This is an internal tool for firmware updates and config im/export - don't run it from an interactive shell!

Usage:

auto <url> - auto update
security <url> - high prio auto update
tr064 <initiator> <url> [<username> <password>] - firmware update via TR-064
tr069fw <initiator> <url> [<username> <password>] - firmware update via TR-069
tr069fw_argo <initiator> <url> [<username> <password>] - firmware update by ARGO (TR-069)
tr069 <initiator> <url> [<username> <password>] - AVM "one-click" firmware update via TR-069
webui_url <initiator> <url> - manual firmware update with download URL (used for update after reboot)
nexus <initiator> <url> - firmware update via nexus
unauthorized <initiator> <url> [<username> <password>] - unauthorized firmware update
handheld <url> [<username> <password>] - firmware update from handheld device
only-predownload <copy-dest> <url> [<username> <password>] - download a firmware update image
only-check <version-file> <url> - check a downloaded firmware update image
predownloaded-auto <url> <original-download-url> - auto update with a predownloaded firmware update image
predownloaded-security <url> <original-download-url> - high prio auto update with a predownloaded firmware update image
fiber <file-url> - update with a predownloaded firmware update image (controlled by OLT)
silent-auto <url> <orig-dl-url> [<username> <password>] - silent firmware update
silent-security <url> <orig-dl-url> [<username> <password>] - high prio silent firmware update
check_configimport [<password>] - check config import file (from /var/tmp)
configimport [<password>] - import config file (from /var/tmp)
configexport [<password>] - export config to stdout with HTTP header
config <url> [<username> <password>] - import config via TR-069
config_argo <url> [<username> <password>] - import config by ARGO (TR-069)
vpn_config <url> - import a VPN config (TR-069)
packet <url> [<file>] - install a packet
ltemodule <url> <max-size-kb> - update the LTE module firmware
usp <url> <initiator> [ <username> <password> ] - firmware update by USP
usp-myfritz <url> <initiator> - firmware update by USP triggered by MyFRITZ!

Examples

From start_dect_update.sh fw 7.90:

fwupdate packet ${url}

From libtr069.so fw 7.90:

fwupdate configexport '%s' > configexport
fwupdate configexport > configexport
fwupdate check_configimport

From libmailbuilder.so fw 7.90:

fwupdate configexport '%s' > %s
fwupdate configexport > %s

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.39 source files:

$ strings /usr/bin/fwupdate | grep -e '\.c$' -e '\.cpp$'

ar7/fwupdate/fwupdate/fwupdate.cpp  

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
Depends on lib ld.so 7 7.90 - 8.00 Dynamic linker / loader Linux
Depends on lib libar7cfg.so 21 7.90 - 8.00 TFFS-Configuration API to ar7.cfg and many more. AVM
Depends on lib libavmauth.so 21 7.90 - 8.00 Fritzbox authentification helpers AVM
Depends on lib libavmcipher.so 21 7.90 - 8.00 AES / DES / Rijndael encryption / decryption. AVM
Depends on lib libavmcsock.so 21 7.90 - 8.00 Networking, I/O and helper functions AVM
Depends on lib libavmfbstate.so 21 7.90 - 8.00 IPC fritzbox state notification AVM
Depends on lib libavmhmac.so 21 7.90 - 8.00 HMAC / SHA / MD5 hashing. AVM
Depends on lib libavmnexus_tab.so 21 7.90 - 8.00 TFFS-Configuration API to avmnexus.cfg AVM
Depends on lib libavmwdt.so 21 7.90 - 8.00 AVM-Watchdogs management API AVM
Depends on lib libboxenv.so 21 7.90 - 8.00 API to the rc.conf enhanced Config-Environment AVM
Depends on lib libboxlib.so 21 7.90 - 8.00 Box status, logging and statistics functions AVM
Depends on lib libbroadband.so 21 7.90 - 8.00 TODO Linux
Depends on lib libc.so 21 7.90 - 8.00 Standard C library Linux
Depends on lib libcfgimpexp.so 21 7.90 - 8.00 TFFS-Configuration API for configuration import and export. AVM
Depends on lib libcm.so 21 7.90 - 8.00 ctlmgr / cm_logic messaging API AVM
Depends on lib libcore.so 21 7.90 - 8.00 Gathers the MAC addresses of the device and maintains its device mode. AVM
Depends on lib libcrypto.so 21 7.90 - 8.00 OpenSSL general crypto and X.509 library Linux
Depends on lib libdl.so 5 7.90 - 8.00 Dynamic linking library Linux
Depends on lib libdputil.so 21 7.90 - 8.00 DataPipe / packet utilities AVM
Depends on lib libeventlog.so 21 7.90 - 8.00 System Event-Log management API AVM
Depends on lib libewnwjson.so 21 7.90 - 8.00 JSON helper functions AVM
Depends on lib libewnwled.so 21 7.90 - 8.00 LED event helper functions AVM
Depends on lib libewnwlinux.so 21 7.90 - 8.00 Linux networking functions AVM
Depends on lib libewnwnet.so 21 7.90 - 8.00 Internet helper functions AVM
Depends on lib libfbconf.so 21 7.90 - 8.00 API to hardcoded fbconf.cfg AVM
Depends on lib libfwupdate.so 21 7.90 - 8.00 TODO Linux
Depends on lib libfwupdatetrace.so 21 7.90 - 8.00 TFFS-Configuration API to fwupdatetrace.cfg AVM
Depends on lib libgcc_s.so 21 7.90 - 8.00 GCC low-level runtime library Linux
Depends on lib libjuisclient.so 21 7.90 - 8.00 Update-Search - second generation - JUIS AVM
Depends on lib libled2.so 21 7.90 - 8.00 LED API - second+third generation AVM
Depends on lib liblocalize.so 21 7.90 - 8.00 Charset conversion helper functions AVM
Depends on lib liblrwpan_tools.so 2 7.90 ZigBee configuration import / export helper functions AVM
Depends on lib libm.so 5 7.90 - 8.00 C math library Linux
Depends on lib liboauth2.so 21 7.90 - 8.00 OAuth v2.0 authentificator Linux
Depends on lib libpthread.so 5 7.90 - 8.00 POSIX threading library Linux
Depends on lib librt.so 5 7.90 - 8.00 POSIX realtime extensions library Linux
Depends on lib libslab_c++.so 21 7.90 - 8.00 C++ slab allocator AVM
Depends on lib libstdc++.so 21 7.90 - 8.00 GNU C++ library Linux
Depends on lib libsvctl.so 21 7.90 - 8.00 supervisor notification library AVM
Depends on lib libtiinterpreter.so 21 7.90 - 8.00 Preprocessor for SSI-Files by TI. AVM
Depends on lib libwebkpiclient.so 21 7.90 - 8.00 KPI sensor for system parts which use HTTP / HTTPS AVM
Depends on lib libwebsrv.so 21 7.90 - 8.00 HTTP / HTTPS webserver and tools. AVM
Depends on lib libyajl.so 21 7.90 - 8.00 Event-driven JSON parser Linux
Depends on lib libz.so 21 7.90 - 8.00 Zlib compressor / decompressor Linux
44 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
FRITZ!Box 4040 7.90 - 8.00 /usr/bin 30.0k
FRITZ!Box 4050 7.90 /usr/bin 30.0k
FRITZ!Box 4060 7.90 /usr/bin 30.0k
FRITZ!Box 5530 Fiber (main) 8.00 /usr/bin 40.2k
FRITZ!Box 5590 Fiber (main) 7.90 - 8.00 /usr/bin 30.0k
FRITZ!Box 6591 Cable (atom) 7.90 - 8.00 /usr/bin 38.0k
FRITZ!Box 6660 Cable (atom) 7.90 - 8.00 /usr/bin 38.0k
FRITZ!Box 6670 Cable (atom) 7.90 /usr/bin 38.1k
FRITZ!Box 6690 Cable (atom) 7.90 /usr/bin 38.0k
FRITZ!Box 6850 LTE 7.90 /usr/bin 30.0k
FRITZ!Box 6850 5G 7.90 /usr/bin 30.0k
FRITZ!Box 7510 7.90 - 8.00 /usr/bin 30.0k
FRITZ!Box 7520 8.00 /usr/bin 30.0k
FRITZ!Box 7520 v2 (main) 7.90 - 8.00 /usr/bin 30.0k
FRITZ!Box 7530 7.90 - 8.00 /usr/bin 30.0k
FRITZ!Box 7530 AX 8.00 /usr/bin 30.0k
FRITZ!Box 7583 VDSL (main) 8.00 /usr/bin 40.2k
FRITZ!Box 7590 (main) 7.90 - 8.00 /usr/bin 40.2k
FRITZ!Box 7590 AX (main) 8.00 /usr/bin 40.2k
FRITZ!Box 7690 7.90 /usr/bin 30.0k
20 models use this command

Symbols

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

Firmware Symbol
7.90 - 8.00 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

f