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:upx-hwk-mgmtd (chipcmd)
BoxMatrix >> Shell-Commands >> upx-hwk-mgmtd (chipcmd) | @ 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 |
Name-Collision - multiple objects in this wiki use the name upx-hwk-mgmtd!
|
Chipset-Command
Command: | upx-hwk-mgmtd (chipcmd) - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Chipset-Commands - Origin: Falcon | ||||||
Path: | Release: /bin Lab+Rel: /bin | ||||||
Properties: | Size: 17.4k - 27.9k - Firmware: 7.29 - 7.81 | ||||||
Function: | Inter-CPU daemon booting and monitoring the Falcon on the Hawkeye of a 5590. |
Goto: Events - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
upx-hwk-mgmtd is an Inter-CPU daemon booting the Falcon and monitoring its state on the Hawkeye of a 5590.
The state information both comes low-level from GPIO lines from Falcon and from higher level interfaces.
First upx-hwk-send-urlader-prx is spawned, sending the bootloader of Falcon through a serial interface.
Once the bootloader is up and running the GPIO line urlader_rdy
signals the Hawkeye it is ready.
After this upx-hwk-boot-prx is started, sending the Bootloader-Environment to Falcon and the fit-image to boot it.
Once this is up and running the GPIO line fm_alive
is set by upx-prx-mgmtd to signal Hawkeye that Falcon is ready.
After this upx-hwk-mgmtd sends ping messages (not ICMP packets) to Port-4242-udp of upx-prx-mgmtd on Falcon.
Once pong messages are returned to the same port upx-hwk-mgmtd knows Falcon network is alife and informs the system.
This is repeated periodically to act as a Watchdog. Once the pong messages don't arrive within a timeout the script
upx-hwk-reset-prx is called, and the entire procedure is repeated. The only program which also calls this reset is bbpd.
This daemon is started by upx-hwk-mgmtd.sh, a wrapper script which adds logging of stdout and stderr,
passing these commandline arguments:
upx-hwk-mgmtd /var/tmp/upx-hwk-mgmtd.state 8
The first argument is the state event log, the second argument the amount of state events to keep in the log.
The state log upx-hwk-mgmtd.state is only used in the supportdata plugin upx-hwk-mgmtd (avmcmd).
The successor of this daemon is msoc-main-mgmtd (avmcmd).
Events
The state log upx-hwk-mgmtd.state may contain these messages:
- EVENT_TIMEOUT
- EVENT_TIMEOUT_RETRY
- EVENT_TERM_SIGNAL
- EVENT_DELAYED_SUCCESS
- EVENT_DELAYED_FAILURE
- EVENT_URLADER_RDY
- EVENT_URLADER_UNRDY
- EVENT_FM_ALIVE
- EVENT_FM_DEAD
- STATE_UNKNOWN
- STATE_TERM
- STATE_BOOTROM_SEND_URLADER
- STATE_URLADER_WAIT_RDY
- STATE_URLADER_SEND_FW
- STATE_URLADER_WAIT_UNRDY
- STATE_LINUX_WAIT_ALIVE
- STATE_LINUX_MGMT_PING
- STATE_LINUX_MGMT_PONG
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 |
---|---|---|---|---|---|---|
Runs as | proc | upx-hwk-mgmtd (process) | 1* | 7.27 - 7.81 | Process running upx-hwk-mgmtd | Falcon |
Serving | port | Port-4242-udp | 2* | 7.27 - 7.81 | upx-prx-mgmtd / upx-hwk-mgmtd Inter-CPU system alife ping test on a 5590 | AVM |
Serving | sock | upx-hwk-mgmtd.reset | 1* | 7.81 | TODO | AVM |
Depends on | lib | libbasis.so | 1 | 7.70 - 7.81 | Basic I/O, time and string helper functions | AVM |
Depends on | lib | libc.so | 1 | 7.29 - 7.81 | Standard C library | Linux |
Depends on | lib | libgpiod.so | 1 | 7.29 - 7.81 | Linux GPIO character device API | LibGpiod |
Depends on | lib | libupx-hwk-mgmtd.so | 1 | 7.70 - 7.81 | TODO | AVM |
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 |
---|---|---|---|
FRITZ!Box 5590 Fiber (main) | 7.29 - 7.81 | /bin | 17.4k - 27.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 |
---|---|
7.29 - 7.30 | main |
1 symbol for this command |