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:flash (chipcmd)
BoxMatrix >> Shell-Commands >> flash (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 flash!
|
Chipset-Command
Command: | flash (chipcmd) - type Exec, Script | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Chipset-Commands - Origin: RTL86 | ||||||
Path: | Release: /bin, /etc/scripts Lab+Rel: /bin, /etc/scripts | ||||||
Properties: | Size: 8.1k - 97.7k - Firmware: 7.62 - 7.90 | ||||||
Function: | Gets or sets values in the RTL86 persistent system configuration MIB. |
Goto: Examples - RTL-Research - Source - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
flash gets or sets values in the RTL86 persistent system configuration MIB.
It could be compared to ctlmgr_ctl on FRITZ!OS but accesses stored info.
This command is called by init (lincmd) and udhcpc.sh, see the Examples. See also loadconfig, saveconfig and mib.
On the RTL86 chipset the MIB is the curretly applied and running system configuration in memory, including status info of all
affected system parts. It could be compared to the UI-Modules of FRITZ!OS, containing all live info for the Webinterface.
Most of the MIB system is unused in conjunction with FRITZ!OS. More details in the libmib.so article.
fw 7.30 help from the strings:
Usage: flash cmd cmd: get MIB-NAME get a specific mib from flash memory. set MIB-NAME MIB-VALUE set a specific mib into flash memory. all [cs|hs] dump all flash parameters. reset reset current setting to default. default <cs/hs> write program default value to flash. dump <cs/hs> dump flash setting. unzip web unzip web pages.
Besides this there seem to be the commands loop, check, clear. kill, gethw, sethw
.
Examples
From fw 7.30 init (lincmd):
flash check
From fw 7.30 udhcpc.sh which is only called by libmib.so:
flash get UPNP ... if [ $UPNP = 1 ]; then ...
RTL-Research
Note that research on the RTL86 chipset and its Linux and drivers is very difficult and the results are highly unfinished.
Source
The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.30 source files:
$ strings /bin/flash | grep -e '\.c$' -e '\.cpp$' <empty>
Dependencies
Daily updated index of all dependencies of this command. Last update: 2024-11-15 07:53 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 | libc.so | 1 | 7.30 | Standard C library | Linux |
Depends on | lib | libcommserv.so | 1 | 7.30 | TODO | AVM |
Depends on | lib | libgcc_s.so | 1 | 7.30 | GCC low-level runtime library | Linux |
Depends on | lib | libmib.so | 1 | 7.30 | API to the Realtek XML-MIB storing residential gateway configuration. | Realtek |
Depends on | lib | libpthread.so | 1 | 7.30 | POSIX threading library | Linux |
5 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2024-11-15 05:53 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 5690 Pro (rtl) | 7.62 - 7.90 | /etc/scripts | 8.1k |
FRITZ!Box 7520 v2 (rtl) | /bin | 97.7k | |
2 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-11-15 07:53 GMT.
Firmware | Symbol |
---|---|
0 symbols for this command |