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

From BoxMatrix


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

bootslotctl is a Dual-Boot manager for FIT-Image models.

5590 fw 7.27 help collected from the strings (lacking any fit model):

usage: bootslotctl [command] [args]

commands:
  activate_other
  commit_other
  commit_this
  get_active
  get_committed
  get_fw_version
  get_other
  is_active
  is_committed
  on_boot
  program_other <mtd-device> <fw-version>    # ie: /dev/mtd4 07.27-94541

All actions are performed in libbootslotctl.so, bootslotctl is just the commandline frontend.
For the Maple based models 7510 and 1200ax libfdt.so is additionally used.

Examples

bootslotctl is used in E03-flash_update which does the following - 5590 fw 7.27:

# always executed, likely just creates /var/bootedslot, which always exists on booted fit models:

bootslotctl on_boot

# only performed if /proc/cmdline contains 'avm_fwupdate' (See FIT-Image use of kernel_args_tmp):

update_mtd=$(grep \"fit-image\" /proc/mtd)
update_mtd="/dev/$(echo "$update_mtd" | sed "s/:.*//")"

bootslotctl program_other $update_mtd "${CONFIG_VERSION}-$(/etc/version --project)"

bootslotctl commit_other

bootslotctl is also used in partition_checksum_diag which does the following - 7590ax fw 7.70:

bootslotctl get_other

fsgw fw 7.58:

root@zigbee:/var/mod/root# cat /var/bootedslot && echo
1

root@zigbee:/var/mod/root# bootslotctl get_active
1

root@zigbee:/var/mod/root# bootslotctl get_other
0  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-19 07:32 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Started by serv bootslotctl.service 16 7.39 - 7.90 supervisor service for bootslotctl AVM
Depends on lib ld.so 1 7.20 - 7.90 Dynamic linker / loader Linux
Depends on lib libbootslotctl.so 16 7.19 - 7.90 Dual-Boot manager for FIT-Image models FIT
Depends on lib libbsd.so 1 7.20 - 7.90 BSD functions lacking on GNU systems BSD
Depends on lib libc.so 16 7.19 - 7.90 Standard C library Linux
Depends on lib libfdt.so 7 7.27 - 7.59 TODO FIT
6 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-19 05:14 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 4050 7.57 /sbin 5.3k
FRITZ!Box 4060 7.26 - 7.57 /sbin 5.3k - 9.2k
FRITZ!Box 5530 Fiber (boot) 7.21 - 7.80 /sbin 5.6k
FRITZ!Box 5530 Fiber (main) 7.21 - 7.80 /sbin 5.6k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.90 /sbin 5.3k - 9.2k
FRITZ!Box 5590 Fiber (boot) 7.27 - 7.90 /sbin 5.6k
FRITZ!Box 5590 Fiber (prx) 7.27 - 7.90 /sbin 5.6k
FRITZ!Box 5690 Pro (arm) 7.59 /sbin 5.3k
FRITZ!Box 7510 7.30 - 7.57 /sbin 5.3k - 9.3k
FRITZ!Box 7530 AX 7.20 - 7.90 /sbin 5.5k - 9.5k
FRITZ!Box 7690 7.59 /sbin 5.3k
FRITZ!Smart Gateway 7.39 - 7.59 /sbin 5.3k
FRITZ!Repeater 1200 AX 7.27 - 7.57 /sbin 5.3k - 9.3k
FRITZ!Repeater 3000 AX 7.39 - 7.57 /sbin 5.3k
FRITZ!Repeater 6000 7.19 - 7.57 /sbin 5.3k - 9.2k
FRITZ!Powerline 1240 AX 7.51 - 7.57 /sbin 5.3k
16 models use this command

Symbols

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

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

b