Name

nand badblocks list — List not-OK blocks in a Bad Block Table

Synopsis

nand badblocks list [-d <device>]

Arguments

This command takes an optional device argument. If not specified, and only one device is present, it applies to the single device; if more than one device is present, it must be specified.

Description

This command outputs a human-readable list of the numbers of all not-OK blocks in a device, according to its Bad Block Table.

Examples

RedBoot> nand badblocks list -d onboard
factory bad: 100, 101. (count: 2 blocks)
worn bad: no blocks
reserved: 2046, 2047. (count: 2 blocks)
RedBoot>