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

Symbols

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

Firmware Symbol
7.90 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

f