Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Ladislav Michl's avatar
    09875055
    NAND: Make nboot skip bad blocks · 09875055
    Ladislav Michl authored
    
    nboot command currently does not skip bad blocks and gives read error when
    loading image stored over bad block. With patch applied, nboot works as
    expected:
    
    Device 0 bad blocks:
      00780000
      014a0000
      02000000
      02cc0000
      04aa0000
    
    Loading from NAND 128MiB 3,3V 8-bit, offset 0x2c00000
       Image Name:   Linux-2.6.22-omap1
       Created:      2008-11-20  23:44:32 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1052520 Bytes =  1 MB
       Load Address: 10008000
       Entry Point:  10008000
    Skipping bad block 0x02cc0000
    Automatic boot of image at addr 0x10400000 ...
    ...
    
    Signed-off-by: default avatarLadislav Michl <ladis@linux-mips.org>
    Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
    09875055
    History
    NAND: Make nboot skip bad blocks
    Ladislav Michl authored
    
    nboot command currently does not skip bad blocks and gives read error when
    loading image stored over bad block. With patch applied, nboot works as
    expected:
    
    Device 0 bad blocks:
      00780000
      014a0000
      02000000
      02cc0000
      04aa0000
    
    Loading from NAND 128MiB 3,3V 8-bit, offset 0x2c00000
       Image Name:   Linux-2.6.22-omap1
       Created:      2008-11-20  23:44:32 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1052520 Bytes =  1 MB
       Load Address: 10008000
       Entry Point:  10008000
    Skipping bad block 0x02cc0000
    Automatic boot of image at addr 0x10400000 ...
    ...
    
    Signed-off-by: default avatarLadislav Michl <ladis@linux-mips.org>
    Signed-off-by: default avatarScott Wood <scottwood@freescale.com>