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

From BoxMatrix


BoxMatrix >> Shell-Commands >> nvramUpdate @ 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

Chipset-Command

Goto:   Examples  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

nvramUpdate updates the nvram in Broadcom models from a (ASCII or binary) file. It is not used by the system.
The binaries are SoC specific and typically located in /etc/wlan, see the Examples below.

7581 fw 7.17:

root@fritz:/var/mod/root# nvramUpdate -h

Usage: 

nvramUpdate [-m] [-s tftpdserver] [-h] {DataFileName | Recover | Read | Show | Clean | Feature} 

==============================
-m:       Option -m for {Clean} and {Data} indicate manufacture automation to bypass prompt
-s:       Option -s tftpdserver where nvram map binary file are loaded from
-d:       Option -d to specify where the nvram map binary to put on system, default to /etc/wlan
-h:       Option -h for help
==============================

Clean:    Clean up Nvram
Read:     Read back Calibration data in binary format
Show:     Read back Calibration data in input ASCII file format
Recover:  Copy all nvramMap .bin from backup to /etc/wlan 
Feature:  Get/Set wl feature settings
DataFileName: Nvram data file name,when ended with ".bin",it indicates as a complete nvram MAP
              it will be loaded to /etc/wlan or the directory where -d is given, if file name is
              not ended with ".bin",it will be partial change and formated as:

    ###################
    ID=pci/bus/slot/ Or
    ID=pci/domain/bus/slot/
    offset1=value1
    ......
    ID=pci/bus/slot/
    offset1=value1
    ......
    offsetn=valuen
    ###################

    Example: 52=38fc 
    value is 16bit hexical data
    Offset is decimal, 16bit aligment offset(not 8bit alignment offset)
    The ID will print in console when driver load 

Examples

7581 fw 7.17:

root@fritz:/var/mod/root# ls -l /etc/wlan

-rwxr-xr-x    1 root     root           440 Sep  3  2023 bcm43112_map.bin
-rwxr-xr-x    1 root     root           440 Sep  3  2023 bcm43131_map.bin
-rwxr-xr-x    1 root     root           440 Sep  3  2023 bcm4313_map.bin
-rwxr-xr-x    1 root     root           440 Sep  3  2023 bcm43217_968380LTE_map.bin
-rwxr-xr-x    1 root     root           440 Sep  3  2023 bcm43217_map.bin
-rwxr-xr-x    1 root     root           440 Sep  3  2023 bcm43222_map.bin
-rwxr-xr-x    1 root     root           440 Sep  3  2023 bcm43224_map.bin
-rwxr-xr-x    1 root     root           440 Sep  3  2023 bcm43225_map.bin
-rwxr-xr-x    1 root     root           440 Sep  3  2023 bcm43226_map.bin
-rwxr-xr-x    1 root     root           440 Sep  3  2023 bcm43227_map.bin
-rwxr-xr-x    1 root     root           440 Sep  3  2023 bcm43228_map.bin
-rwxr-xr-x    1 root     root           440 Sep  3  2023 bcm4322_map.bin
-rwxr-xr-x    1 root     root           440 Sep  3  2023 bcm4331_map.bin
-rwxr-xr-x    1 root     root          3249 Sep  3  2023 bcm4331_vars.bin
-rwxr-xr-x    1 root     root           440 Sep  3  2023 bcm43428_map.bin
-rwxr-xr-x    1 root     root           468 Sep  3  2023 bcm4352_map.bin
-rwxr-xr-x    1 root     root            18 Sep  3  2023 bcm4352_nvramvars.bin
-rwxr-xr-x    1 root     root           468 Sep  3  2023 bcm43602_963138_FB7582_map.bin
-rwxr-xr-x    1 root     root           468 Sep  3  2023 bcm43602_963138_FB7582_wl1_map.bin
-rwxr-xr-x    1 root     root           468 Sep  3  2023 bcm43602_map.bin
-rwxr-xr-x    1 root     root            18 Sep  3  2023 bcm43602_nvramvars.bin
-rwxr-xr-x    1 root     root           468 Sep  3  2023 bcm43602_wl1_map.bin
-rwxr-xr-x    1 root     root           468 Sep  3  2023 bcm4360_963168AC5_map.bin
-rwxr-xr-x    1 root     root           468 Sep  3  2023 bcm4360_963168ACH5_map.bin
-rwxr-xr-x    1 root     root           468 Sep  3  2023 bcm4360_968380LTE_map.bin
-rwxr-xr-x    1 root     root           468 Sep  3  2023 bcm4360_map.bin
-rwxr-xr-x    1 root     root            18 Sep  3  2023 bcm4360_nvramvars.bin
-rwxr-xr-x    1 root     root           468 Sep  3  2023 bcm4360_wl1_map.bin
-rwxr-xr-x    1 root     root          1180 Sep  3  2023 bcm4365_map.bin
-rwxr-xr-x    1 root     root            17 Sep  3  2023 bcm4365_nvramvars.bin
-rwxr-xr-x    1 root     root          1180 Sep  3  2023 bcm4366_map.bin
-rwxr-xr-x    1 root     root            17 Sep  3  2023 bcm4366_nvramvars.bin
-rwxr-xr-x    1 root     root             0 Sep  3  2023 bcm6362_map.bin
-rw-r--r--    1 root     root          7358 Sep  3  2023 bcm963xx.large.ico
-rw-r--r--    1 root     root          3262 Sep  3  2023 bcm963xx.small.ico
-rwxr-xr-x    1 root     root            20 Sep  3  2023 bcmcmn_nvramvars.bin
drwxr-xr-x    5 root     root            72 Dec 31  2023 dhd
-rwxr-xr-x    1 root     root            13 Sep  3  2023 kernel_nvram.setting
-rwxr-xr-x    1 root     root            89 Sep  3  2023 nvram_params

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-12-23 07:59 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 1 7.20 - 8.00 Dynamic linker / loader Linux
Depends on lib libc.so 3 6.54 - 8.00 Standard C library Linux
2 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-23 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 7530 AX 7.20 - 8.00 /bin 17.4k
FRITZ!Box 7581 6.54 - 7.18 /bin 10.2k - 14.1k
FRITZ!Box 7582 6.83 - 7.18 /bin 10.5k - 14.1k
3 models use this command

Symbols

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

Firmware Symbol
7.20 - 7.31 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.