This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

unmarking of nand flash

Hi

I am working on 816x/393x evm. while i was marking the bad block i have given the wronge offset and marked the good block bad. Would u please tell me how to unmark the ,already marked bad block.

please help me out.

  • Hello,

    Try with the 'nand scrub' u-boot command:

    TI8168_EVM#nand
    nand - NAND sub-system

    Usage:
    nand info - show available NAND devices
    nand device [dev] - show or set current device
    nand read - addr off|partition size
    nand write - addr off|partition size
        read/write 'size' bytes starting at offset 'off'
        to/from memory address 'addr', skipping bad blocks.
    nand erase [clean] [off size] - erase 'size' bytes from
        offset 'off' (entire device if not specified)
    nand bad - show bad blocks
    nand dump[.oob] off - dump page
    nand scrub - really clean NAND erasing bad blocks (UNSAFE)
    nand markbad off [...] - mark bad block(s) at offset (UNSAFE)
    nand biterr off - make a bit error at offset (UNSAFE)
    TI8168_EVM#

    Regards,

    Pavel

  • Hi Paval

    Thank you very much i  am able to unmarked the bad block through nand scrub commnad.