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

From BoxMatrix


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

Linux-Command

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

Details

ubinfo provides information about UBI devices and volumes found in the system.

fw 7.29 help:

root@fritz1:/var/mod/root# ubinfo -h

ubinfo version 2.0.2 - a tool to print UBI information.

Usage 1: ubinfo [-d <UBI device number>] [-n <volume ID> | -N <volume name>] [-a] [-h] [-V]
		[--vol_id=<volume ID> | --name <volume name>] [--devn <UBI device number>] [--all] [--help] [--version]
Usage 2: ubinfo <UBI device node file name> [-a] [-h] [-V] [--all] [--help] [--version]
Usage 3: ubinfo <UBI volume node file name> [-h] [-V] [--help] [--version]

Example 1: ubinfo - (no arguments) print general UBI information
Example 2: ubinfo -d 1 - print information about UBI device number 1
Example 3: ubinfo /dev/ubi0 -a - print information about all volumes of UBI
           device /dev/ubi0
Example 4: ubinfo /dev/ubi1_0 - print information about UBI volume /dev/ubi1_0
Example 5: ubinfo -a - print all information

-d, --devn=<UBI device number>  UBI device number to get information about
-n, --vol_id=<volume ID>        ID of UBI volume to print information about
-N, --name=<volume name>        name of UBI volume to print information about
-a, --all                       print information about all devices and volumes,
                                or about all volumes if the UBI device was
                                specified
-h, --help                      print help message
-V, --version                   print program version

Examples

7520 fw 7.29:

Find out which UBI devices exist:

root@fritz1:/var/mod/root# ubinfo

UBI version:                    1
Count of UBI devices:           1
UBI control device major/minor: 10:58
Present UBI devices:            ubi0

Find the names of all volumes:

root@fritz1:/var/mod/root# ubinfo -a | grep Name

Name:        avm_filesys_0
Name:        avm_filesys_1
Name:        avm_config
Name:        avm_userdata

Get the details about a specific volume:

root@fritz1:/var/mod/root# ubinfo -d 0 -N avm_userdata

Volume ID:   3 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        103 LEBs (13078528 bytes, 12.4 MiB)
State:       OK
Name:        avm_userdata
Character device major/minor: 245:4

Get all UBI info:

root@fritz1:/var/mod/root# ubinfo -a

UBI version:                    1
Count of UBI devices:           1
UBI control device major/minor: 10:58
Present UBI devices:            ubi0

ubi0
Volumes count:                           4
Logical eraseblock size:                 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks:     872 (110723072 bytes, 105.5 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes                 128
Count of bad physical eraseblocks:       0
Count of reserved physical eraseblocks:  20
Current maximum erase counter value:     2319
Minimum input/output unit size:          2048 bytes
Character device major/minor:            245:0
Present volumes:                         0, 1, 2, 3

Volume ID:   0 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        364 LEBs (46219264 bytes, 44.0 MiB)
State:       OK
Name:        avm_filesys_0
Character device major/minor: 245:1

Volume ID: 1 (on ubi0) Type: dynamic Alignment: 1 Size: 364 LEBs (46219264 bytes, 44.0 MiB) State: OK Name: avm_filesys_1 Character device major/minor: 245:2
Volume ID: 2 (on ubi0) Type: dynamic Alignment: 1 Size: 17 LEBs (2158592 bytes, 2.0 MiB) State: OK Name: avm_config Character device major/minor: 245:3
Volume ID: 3 (on ubi0) Type: dynamic Alignment: 1 Size: 103 LEBs (13078528 bytes, 12.4 MiB) State: OK Name: avm_userdata Character device major/minor: 245:4

GPL-Browser

Daily updated index of all ubinfo code findings on the GPL-Browser. Last update: 2024-12-22 05:05 GMT.
The Browse column points to the Path containing the respective source code on the gpl.boxmatrix.info service.
The SoC column lists the Chip-Codenames, the Model column lists the nicks of the Box-Models.
The Diff column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.

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
Depends on lib ld.so 19 7.08 - 8.00 Dynamic linker / loader Linux
Depends on lib libc.so 30 6.51 - 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-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 4050 7.58 - 7.90 /usr/sbin 29.4k - 29.5k
FRITZ!Box 5530 Fiber (main) 7.21 - 8.00 /usr/sbin 39.2k - 39.4k
FRITZ!Box 5590 Fiber (prx) 7.29 - 8.00 /usr/sbin 39.2k - 39.4k
FRITZ!Box 6850 LTE 7.21 - 7.90 /usr/sbin 29.3k - 39.4k
FRITZ!Box 6850 5G 7.24 - 7.90 /usr/sbin 29.3k - 29.5k
FRITZ!Box 6890 LTE (main) 6.84 - 7.57 /usr/sbin 28.1k - 39.4k
FRITZ!Box 6890 LTE v1 (main) 6.84 - 7.57 /usr/sbin 28.1k - 39.4k
FRITZ!Box 6890 LTE v2 (main) 6.84 - 7.57 /usr/sbin 28.1k - 39.4k
FRITZ!Box 7510 7.30 - 8.00 /usr/sbin 29.4k - 29.5k
FRITZ!Box 7520 6.98 - 8.00 /usr/sbin 23.5k - 29.5k
FRITZ!Box 7520 v2 (main) 7.30 - 8.00 /usr/sbin 29.3k - 29.5k
FRITZ!Box 7530 6.98 - 8.00 /usr/sbin 23.5k - 29.5k
FRITZ!Box 7530 AX 7.20 - 8.00 /usr/sbin 29.4k - 33.6k
FRITZ!Box 7560 (main) 6.51 - 7.30 /usr/sbin 28.1k - 39.4k
FRITZ!Box 7580 (main) 6.53 - 7.30 /usr/sbin 28.1k - 39.4k
FRITZ!Box 7581 6.54 - 7.18 /usr/sbin 21.6k - 33.4k
FRITZ!Box 7582 6.83 - 7.18 /usr/sbin 21.6k - 33.4k
FRITZ!Box 7583 (main) 7.01 - 7.59 /usr/sbin 33.5k - 39.4k
FRITZ!Box 7583 VDSL (main) 7.19 - 8.00 /usr/sbin 39.2k - 39.4k
FRITZ!Box 7590 (main) 6.83 - 8.00 /usr/sbin 27.0k - 39.4k
FRITZ!Box 7590 AX (main) 7.19 - 8.00 /usr/sbin 39.2k - 39.4k
FRITZ!Smart Gateway 7.52 - 7.63 /usr/sbin 29.4k - 29.5k
FRITZ!Repeater 600 v2 7.27 - 7.58 /usr/sbin 35.5k - 39.3k
FRITZ!Repeater 1200 7.11 - 7.58 /usr/sbin 29.2k - 29.5k
FRITZ!Repeater 1200 AX 7.30 - 7.58 /usr/sbin 29.4k - 29.5k
FRITZ!Repeater 3000 6.98 - 7.58 /usr/sbin 23.5k - 29.5k
FRITZ!Repeater 3000 AX 7.41 - 7.58 /usr/sbin 29.5k
FRITZ!Repeater 6000 7.19 /usr/sbin 29.3k
FRITZ!Powerline 1240 AX 7.57 - 7.58 /usr/sbin 29.5k
FRITZ!Powerline 1260 7.27 - 7.58 /usr/sbin 29.3k - 29.5k
30 models use this command

Symbols

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

Firmware Symbol
6.51 - 8.00 libubi_close
6.51 - 8.00 libubi_open
6.51 - 8.00 main
7.08 - 8.00 mtd_num2ubi_dev
7.08 - 8.00 ubi_detach_mtd
6.51 - 8.00 ubi_dev_present
6.51 - 8.00 ubi_get_dev_info
6.51 - 8.00 ubi_get_dev_info1
6.51 - 8.00 ubi_get_info
6.51 - 8.00 ubi_get_vol_info
6.51 - 8.00 ubi_get_vol_info1
6.51 - 8.00 ubi_get_vol_info1_nm
6.51 - 8.00 ubi_probe_node
7.08 - 8.00 ubi_remove_dev
6.51 - 7.15 ubiutils_print_bytes
7.19 - 8.00 util_print_bytes
16 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.