3.5. Managing NAND
The u-boot has been updated to include NAND flash support
3.5.1. Marking a bad block
To forcefully mark a block as bad:
For example, to mark block 32 (assuming erase block size of 128Kbytes) as bad
block - offset = blocknum * 128 * 1024:
3.5.2. Viewing bad blocks
Gives a list of bad blocks in NAND
3.5.3. Erasing NAND
To erase NAND blocks in the address range or using block numbers
Version 02.01.01.08
OMAP3EVM# nand markbad <offset>
Note
This is a new command.
OMAP3EVM# nand markbad 0x400000
OMAP3EVM# nand bad
Note
The user marked bad blocks can be viewed by using this command only after
a reset.
OMAP3EVM# nand erase <stoffaddr> <len>
Platform Support Products
U-Boot
Managing NAND
25