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:set modulemem
BoxMatrix >> Shell-Commands >> set_modulemem | @ 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
Command: | set_modulemem - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> AVM-Commands - Origin: AVM | ||||||
Path: | Release: /bin Lab+Rel: /bin | ||||||
Properties: | Size: 208 - 322 - Firmware: 5.27 - 7.31 | ||||||
Function: | Calculate and set the modulemem variable. |
Goto: Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
set_modulemem calculates and sets the modulemem variable in Bootloader-Environment.
This script is called by rc.tail.sh if it is present.
Simplified it does:
sum=0 for i in `lsmod` ; do if [ $i -gt 100 ]; then sum=$(($i + 4096 + sum)) fi done echo modulemem $sum >/proc/sys/urlader/environment
Pretty hackish but it works. An lsmod line looks like:
kdsldmod 2084412 16
The first number is the memory the module requires, the second number is the usage counter.
The script skips the usage counter since its always smaller than 100 and sums up the module memory.
The 4096 bytes are added as the maximum size which would be required for padding to 4 KB boundaries.
Not precise but a tricky simplification.
Dependencies
Daily updated index of all dependencies of this command. Last update: 2025-01-09 07:36 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: 2025-01-09 05:37 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 WLAN 3270 | 5.29 - 5.54 | /bin | 208 |
FRITZ!Box WLAN 3270 v3 | 5.29 - 5.54 | /bin | 208 |
FRITZ!Box WLAN 3270 IT | 5.51 - 5.52 | /bin | 208 |
FRITZ!Box 3272 (main) | 5.50 - 5.57 | /bin | 208 |
FRITZ!Box WLAN 3370 (main) | 5.29 - 5.52 | /bin | 208 |
FRITZ!Box 3390 (main) | 5.50 - 5.52 | /bin | 208 |
FRITZ!Box 4060 | 7.29 - 7.30 | /bin | 208 |
FRITZ!Box 5590 Fiber (boot) | 7.29 - 7.30 | /bin | 208 |
FRITZ!Box 5590 Fiber (main) | 7.29 - 7.30 | /bin | 208 |
FRITZ!Box 5590 Fiber (prx) | 7.29 - 7.30 | /bin | 208 |
FRITZ!Box 6320 Cable v1 | 6.03 - 6.04 | /bin | 208 |
FRITZ!Box 6320 Cable v2 | 6.21 | /bin | 208 |
FRITZ!Box 6360 Cable | 6.04 - 6.51 | /bin | 208 |
FRITZ!Box 6430 Cable (arm) | 6.84 - 7.02 | /bin | 208 |
FRITZ!Box 6430 Cable (atom) | 6.84 - 7.02 | /bin | 208 |
FRITZ!Box 6490 Cable (arm) | 6.20 - 7.02 | /bin | 208 |
FRITZ!Box 6490 Cable (atom) | 6.20 - 7.02 | /bin | 208 |
FRITZ!Box 6590 Cable (arm) | 6.83 - 7.02 | /bin | 208 |
FRITZ!Box 6590 Cable (atom) | 6.83 - 7.02 | /bin | 208 |
FRITZ!Box 6810 LTE | /bin | 208 | |
FRITZ!Box 6840 LTE (main) | 5.27 - 5.56 | /bin | 208 |
FRITZ!Box 6842 LTE | /bin | 208 | |
FRITZ!Box Fon WLAN 7240 | 5.29 - 5.54 | /bin | 208 |
FRITZ!Box Fon WLAN 7270 v2 | 5.27 - 5.54 | /bin | 208 |
FRITZ!Box Fon WLAN 7270 v3 | 5.27 - 5.54 | /bin | 208 |
FRITZ!Box 7272 (main) | 5.55 - 5.56 | /bin | 208 |
FRITZ!Box 7312 | 5.29 - 5.51 | /bin | 208 |
FRITZ!Box Fon WLAN 7320 | 5.29 - 5.51 | /bin | 208 |
FRITZ!Box 7330 | 5.29 - 5.51 | /bin | 208 |
FRITZ!Box 7330 SL | 5.29 - 5.51 | /bin | 208 |
FRITZ!Box Fon WLAN 7340 | /bin | 208 | |
FRITZ!Box Fon WLAN 7360 SL | 5.29 - 5.51 | /bin | 208 |
FRITZ!Box Fon WLAN 7360 v1 | 5.29 - 5.51 | /bin | 208 |
FRITZ!Box Fon WLAN 7360 v2 | 5.29 - 5.51 | /bin | 208 |
FRITZ!Box 7362 SL (main) | 5.53 | /bin | 208 |
FRITZ!Box 7369 (main) | 6.30 - 6.32 | /bin | 208 |
FRITZ!Box Fon WLAN 7390 | /bin | 208 - 322 | |
FRITZ!Box 7490 (main) | 5.57 | /bin | 208 |
FRITZ!Box 7510 | 7.30 | /bin | 208 |
FRITZ!Box 7520 v2 (main) | 7.30 - 7.31 | /bin | 208 |
FRITZ!Box 7581 | 6.54 - 6.85 | /bin | 208 |
FRITZ!Box 7582 | 6.83 | /bin | 208 |
FRITZ!Box 7583 VDSL (main) | 7.19 - 7.31 | /bin | 208 |
FRITZ!WLAN Repeater 310 A | 5.30 | /bin | 208 |
FRITZ!Repeater 600 v2 | 7.27 - 7.30 | /bin | 208 |
FRITZ!Repeater 1200 AX | 7.30 - 7.31 | /bin | 208 |
FRITZ!Powerline 546E | 5.50 - 5.55 | /bin | 208 |
47 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2025-01-09 07:36 GMT.
Firmware | Symbol |
---|---|
0 symbols for this command |