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-11-17 05:19 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-11-17 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 28 7.08 - 8.00 Dynamic linker / loader Linux
Depends on lib libc.so 54 6.36 - 8.00 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-11-17 06:06 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 3272 (main) 6.50 - 6.89 /usr/sbin 30.0k
FRITZ!Box WLAN 3370 (main) 6.36 - 6.56 /usr/sbin 31.6k
FRITZ!Box 3390 (main) 6.36 - 6.56 /usr/sbin 31.6k
FRITZ!Box 3490 (main) 6.36 - 7.30 /usr/sbin 31.6k - 47.4k
FRITZ!Box 4050 7.58 - 7.90 /usr/sbin 37.4k
FRITZ!Box 4060 7.29 - 7.90 /usr/sbin 37.2k - 37.4k
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 - 8.00 /usr/sbin 43.5k - 47.2k
FRITZ!Box 5590 Fiber (main) 7.29 - 8.00 /usr/sbin 37.2k - 37.4k
FRITZ!Box 5690 Pro (main) 7.62 - 7.90 /usr/sbin 37.4k
FRITZ!Box 6430 Cable (arm) 6.84 - 6.87 /usr/sbin 27.8k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /usr/sbin 25.9k - 33.1k
FRITZ!Box 6490 Cable (arm) 6.50 - 6.87 /usr/sbin 27.8k
FRITZ!Box 6490 Cable (atom) 6.50 - 7.51 /usr/sbin 25.9k - 33.3k
FRITZ!Box 6590 Cable (arm) 6.83 - 6.110 /usr/sbin 27.8k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /usr/sbin 25.9k - 33.3k
FRITZ!Box 6591 Cable (arm) 7.04 - 8.00 /usr/sbin 23.7k - 37.5k
FRITZ!Box 6591 Cable (atom) 7.04 - 8.00 /usr/sbin 25.1k - 41.5k
FRITZ!Box 6660 Cable (arm) 7.14 - 8.00 /usr/sbin 29.5k - 37.5k
FRITZ!Box 6660 Cable (atom) 7.14 - 8.00 /usr/sbin 33.2k - 41.5k
FRITZ!Box 6670 Cable (arm) 7.61 - 7.90 /usr/sbin 29.7k - 37.5k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.90 /usr/sbin 41.5k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.90 /usr/sbin 29.5k - 37.5k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 /usr/sbin 33.2k - 41.5k
FRITZ!Box 6820 LTE v1 (main) 6.40 - 7.51 /usr/sbin 30.0k - 47.6k
FRITZ!Box 6820 LTE v2 (main) 6.40 - 7.51 /usr/sbin 30.0k - 47.6k
FRITZ!Box 6820 LTE v3 (main) 7.19 - 7.57 /usr/sbin 47.4k - 47.6k
FRITZ!Box 6840 LTE (main) 6.36 - 6.88 /usr/sbin 31.6k
FRITZ!Box 6850 LTE 7.21 - 7.90 /usr/sbin 37.2k - 47.2k
FRITZ!Box 6850 5G 7.24 - 7.90 /usr/sbin 37.2k - 37.5k
FRITZ!Box 6890 LTE (main) 6.84 - 7.57 /usr/sbin 34.4k - 47.2k
FRITZ!Box 6890 LTE v1 (main) 6.84 - 7.57 /usr/sbin 34.4k - 47.2k
FRITZ!Box 6890 LTE v2 (main) 6.84 - 7.57 /usr/sbin 34.4k - 47.2k
FRITZ!Box 7272 (main) 6.36 - 6.88 /usr/sbin 30.0k
FRITZ!Box 7362 SL (main) 6.36 - 7.18 /usr/sbin 31.6k - 39.3k
FRITZ!Box Fon WLAN 7390 /usr/sbin 30.0k
FRITZ!Box 7412 (main) 6.50 - 6.88 /usr/sbin 31.6k
FRITZ!Box 7430 (main) 6.36 - 7.31 /usr/sbin 31.6k - 47.4k
FRITZ!Box 7490 (main) 6.36 - 7.51 /usr/sbin 31.6k - 47.6k
FRITZ!Box 7510 7.30 - 8.00 /usr/sbin 37.4k
FRITZ!Box 7520 6.98 - 8.00 /usr/sbin 27.7k - 37.5k
FRITZ!Box 7520 v2 (main) 7.30 - 8.00 /usr/sbin 37.2k - 37.5k
FRITZ!Box 7530 6.98 - 8.00 /usr/sbin 27.7k - 37.5k
FRITZ!Box 7530 AX 7.20 - 8.00 /usr/sbin 37.4k - 37.6k
FRITZ!Box 7560 (main) 6.51 - 7.30 /usr/sbin 34.4k - 47.2k
FRITZ!Box 7580 (main) 6.53 - 7.30 /usr/sbin 34.4k - 47.2k
FRITZ!Box 7581 6.54 - 7.18 /usr/sbin 26.1k - 37.4k
FRITZ!Box 7582 6.83 - 7.18 /usr/sbin 26.1k - 37.4k
FRITZ!Box 7583 (main) 7.01 - 7.59 /usr/sbin 39.9k - 47.2k
FRITZ!Box 7583 VDSL (main) 7.19 - 8.00 /usr/sbin 43.5k - 47.2k
FRITZ!Box 7590 (main) 6.83 - 8.00 /usr/sbin 32.6k - 47.2k
FRITZ!Box 7590 AX (main) 7.19 - 8.00 /usr/sbin 43.5k - 47.2k
FRITZ!Box 7690 7.61 - 7.90 /usr/sbin 37.4k
54 models use this command

Symbols

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

Firmware Symbol
6.36 - 7.18 do_oob_op
6.36 - 8.00 legacy_dev_present
6.36 - 8.00 legacy_get_dev_info
6.36 - 8.00 legacy_get_dev_info1
7.19 - 8.00 legacy_get_mtd_oobavail
7.19 - 8.00 legacy_get_mtd_oobavail1
6.36 - 6.93 legacy_libmtd_open
6.36 - 8.00 legacy_mtd_get_info
7.19 - 8.00 legacy_procfs_is_supported
6.36 - 8.00 libmtd_close
6.36 - 8.00 libmtd_open
6.36 - 8.00 main
6.36 - 8.00 mtd_dev_present
6.36 - 8.00 mtd_erase
7.19 - 8.00 mtd_erase_multi
6.36 - 8.00 mtd_get_dev_info
6.36 - 8.00 mtd_get_dev_info1
6.36 - 8.00 mtd_get_info
6.36 - 8.00 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 - 8.00 mtd_read
6.36 - 8.00 mtd_read_oob
6.36 - 6.93 mtd_regioninfo
6.36 - 6.93 mtd_torture
6.36 - 6.93 mtd_unlock
6.36 - 8.00 mtd_write
6.36 - 6.93 mtd_write_img
6.36 - 8.00 mtd_write_oob
31 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.