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:nanddump (lincmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> nanddump (lincmd) @ 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

Info
  
Name-Collision - multiple objects in this wiki use the name nanddump!
nanddump (bbcmd) Dumps the contents of a NAND chip.
nanddump (lincmd) Dumps the contents of a NAND MTD partition. (mtd-utils pckg).

Linux-Command

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

Details

nanddump dumps the contents of a NAND MTD partition. It is part of the mtd-utils package.

It is used in supportdata.tffs for models with TFFS on NAND to dump the TFFS for extended supportdata.

Fw 7.39 help:

root@fritz0:/var/mod/root# nanddump --help

Usage: nanddump [OPTIONS] MTD-device

Dumps the contents of a nand mtd partition.

-h         --help               Display this help and exit
           --version            Output version information and exit
           --bb=METHOD          Choose bad block handling method (see below).
-a         --forcebinary        Force printing of binary data to tty
-c         --canonicalprint     Print canonical Hex+ASCII dump
-f file    --file=file          Dump to file
-l length  --length=length      Length
-n         --noecc              Read without error correction
           --omitoob            Omit OOB data (default)
-o         --oob                Dump OOB data
-p         --prettyprint        Print nice (hexdump)
-q         --quiet              Don't display progress and status messages
-s addr    --startaddress=addr  Start address
           --skip-bad-blocks-to-start
                                Skip bad blocks when seeking to the start address

--bb=METHOD, where METHOD can be `padbad', `dumpbad', or `skipbad':
    padbad:  dump flash data, substituting 0xFF for any bad blocks
    dumpbad: dump flash data, including any bad blocks
    skipbad: dump good data, completely skipping any bad blocks (default)

Examples

Simplified from supportdata.tffs fw 7.39 - tffs mtd device acquired from /proc/mtd:

nanddump --bb=dumpbad --forcebinary --oob <mtd_dev> | gzip -1 -c > <mtd_name>.dump.gz

GPL-Browser

Daily updated index of all nanddump code findings on the GPL-Browser. Last update: 2024-04-19 20:16 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-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
Depends on lib ld.so 24 7.08 - 7.90 Dynamic linker / loader Linux
Depends on lib libc.so 64 6.36 - 7.90 Standard C library Linux
Depends on lib libgcc_s.so 13 6.36 - 6.110 GCC low-level runtime library Linux
3 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 3272 6.50 - 6.89 /usr/sbin 30.0k
FRITZ!Box WLAN 3370 6.36 - 6.56 /usr/sbin 31.6k
FRITZ!Box 3390 6.36 - 6.56 /usr/sbin 31.6k
FRITZ!Box 3490 (main) 6.36 - 7.30 /usr/sbin 31.6k - 47.4k
FRITZ!Box 4020 7.39 /usr/sbin 41.5k
FRITZ!Box 4040 7.39 /usr/sbin 41.5k
FRITZ!Box 4050 7.57 /usr/sbin 37.4k
FRITZ!Box 4060 7.26 - 7.57 /usr/sbin 37.2k - 41.5k
FRITZ!Box 5490 (main) 6.51 - 7.29 /usr/sbin 31.6k - 47.4k
FRITZ!Box 5491 (main) 7.01 - 7.29 /usr/sbin 32.9k - 47.4k
FRITZ!Box 5530 Fiber (main) 7.21 - 7.80 /usr/sbin 41.5k - 47.2k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.90 /usr/sbin 37.2k - 47.2k
FRITZ!Box 5590 Fiber (prx) 7.27 /usr/sbin 47.2k
FRITZ!Box 5690 Pro (arm) 7.59 /usr/sbin 37.4k
FRITZ!Box 6430 Cable (arm) 6.84 - 7.57 /usr/sbin 25.9k - 41.5k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /usr/sbin 25.9k - 33.1k
FRITZ!Box 6490 Cable (arm) 6.50 - 7.57 /usr/sbin 25.9k - 41.5k
FRITZ!Box 6490 Cable (atom) 6.50 - 7.51 /usr/sbin 25.9k - 33.3k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.57 /usr/sbin 25.9k - 41.5k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /usr/sbin 25.9k - 33.3k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.57 /usr/sbin 23.7k - 41.5k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.57 /usr/sbin 25.1k - 41.5k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.57 /usr/sbin 29.5k - 41.5k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.57 /usr/sbin 33.2k - 41.5k
FRITZ!Box 6670 Cable (arm) 7.57 - 7.62 /usr/sbin 29.7k - 41.5k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.62 /usr/sbin 41.5k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.57 /usr/sbin 29.5k - 41.5k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.57 /usr/sbin 33.2k - 41.5k
FRITZ!Box 6820 LTE v1 6.40 - 7.51 /usr/sbin 30.0k - 47.6k
FRITZ!Box 6820 LTE v2 6.40 - 7.51 /usr/sbin 30.0k - 47.6k
FRITZ!Box 6820 LTE v3 7.19 - 7.57 /usr/sbin 47.4k - 47.6k
FRITZ!Box 6840 LTE 6.36 - 7.39 /usr/sbin 31.6k - 41.5k
FRITZ!Box 6850 LTE 7.21 - 7.58 /usr/sbin 37.2k - 47.2k
FRITZ!Box 6850 5G 7.24 - 7.51 /usr/sbin 37.2k - 41.5k
FRITZ!Box 6890 LTE 6.84 - 7.51 /usr/sbin 34.4k - 47.2k
FRITZ!Box 6890 LTE v1 6.84 - 7.51 /usr/sbin 34.4k - 47.2k
FRITZ!Box 6890 LTE v2 6.84 - 7.51 /usr/sbin 34.4k - 47.2k
FRITZ!Box 7272 6.36 - 7.39 /usr/sbin 30.0k - 41.5k
FRITZ!Box 7362 SL 6.36 - 7.14 /usr/sbin 31.6k - 39.3k
FRITZ!Box Fon WLAN 7390 /usr/sbin 30.0k
FRITZ!Box 7412 6.50 - 6.88 /usr/sbin 31.6k
FRITZ!Box 7430 6.36 - 7.39 /usr/sbin 31.6k - 47.4k
FRITZ!Box 7490 (main) 6.36 - 7.57 /usr/sbin 31.6k - 47.6k
FRITZ!Box 7510 7.30 - 7.57 /usr/sbin 37.4k
FRITZ!Box 7520 6.98 - 7.51 /usr/sbin 27.7k - 41.5k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.57 /usr/sbin 37.2k - 41.5k
FRITZ!Box 7530 6.98 - 7.56 /usr/sbin 27.7k - 41.5k
FRITZ!Box 7530 AX 7.20 - 7.90 /usr/sbin 37.4k - 41.5k
FRITZ!Box 7560 6.51 - 7.39 /usr/sbin 34.4k - 47.2k
FRITZ!Box 7580 6.53 - 7.30 /usr/sbin 34.4k - 47.2k
FRITZ!Box 7581 6.54 - 7.16 /usr/sbin 26.1k - 37.4k
FRITZ!Box 7582 6.83 - 7.17 /usr/sbin 26.1k - 37.4k
FRITZ!Box 7583 7.01 - 7.57 /usr/sbin 39.9k - 47.2k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /usr/sbin 47.2k
FRITZ!Box 7590 6.83 - 7.90 /usr/sbin 32.6k - 47.2k
FRITZ!Box 7590 AX 7.19 - 7.90 /usr/sbin 41.5k - 47.2k
FRITZ!Box 7690 7.59 /usr/sbin 37.4k
FRITZ!Repeater 600 7.39 /usr/sbin 41.5k
FRITZ!Repeater 1200 7.39 /usr/sbin 41.5k
FRITZ!WLAN Repeater 1750E 7.39 /usr/sbin 41.5k
FRITZ!Repeater 2400 7.39 /usr/sbin 41.5k
FRITZ!Repeater 3000 7.39 /usr/sbin 41.5k
FRITZ!Repeater 3000 AX 7.39 /usr/sbin 41.5k
FRITZ!Powerline 1260E 7.39 /usr/sbin 41.5k
64 models use this command

Symbols

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

Firmware Symbol
6.36 - 7.15 do_oob_op
6.36 - 7.90 legacy_dev_present
6.36 - 7.90 legacy_get_dev_info
6.36 - 7.90 legacy_get_dev_info1
7.19 - 7.90 legacy_get_mtd_oobavail
7.19 - 7.90 legacy_get_mtd_oobavail1
6.36 - 6.93 legacy_libmtd_open
6.36 - 7.90 legacy_mtd_get_info
7.19 - 7.90 legacy_procfs_is_supported
6.36 - 7.90 libmtd_close
6.36 - 7.90 libmtd_open
6.36 - 7.90 main
6.36 - 7.90 mtd_dev_present
6.36 - 7.90 mtd_erase
7.19 - 7.90 mtd_erase_multi
6.36 - 7.90 mtd_get_dev_info
6.36 - 7.90 mtd_get_dev_info1
6.36 - 7.90 mtd_get_info
6.36 - 7.90 mtd_is_bad
6.36 - 6.93 mtd_is_locked
6.36 - 6.93 mtd_lock
6.36 - 6.93 mtd_mark_bad
6.36 - 6.93 mtd_probe_node
6.36 - 7.90 mtd_read
6.36 - 7.90 mtd_read_oob
6.36 - 6.93 mtd_regioninfo
6.36 - 6.93 mtd_torture
6.36 - 6.93 mtd_unlock
6.36 - 7.90 mtd_write
6.36 - 6.93 mtd_write_img
6.36 - 7.90 mtd_write_oob
31 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.