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.

more bad block in my nand flash.......Scanning device for bad blocks Bad eraseblock 1 at 0x000000020000

Hi Everyone,

I m using dm355 evm kit and my ubl version is 1.50 and my u-boot version is 1.3.4,
now i m getting more bad blocks in nand flash while scanning bad blocks when kernel extract starts
PFA of my log and do the needful,



UBL: detected valid U-Boot magic number
UBL: booting to U-Boot


U-Boot 1.3.4 (Jul 26 2012 - 15:18:34)u-boot-HHT-1.0

I2C:   ready
DRAM:  128 MB
NAND:  NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 8-bit)
Bad block table not found for chip 0
Bad block table not found for chip 0
Bad block table written to 0x1ffe0000, version 0x01
Bad block table written to 0x1ffc0000, version 0x01
No NAND device found!!!
512 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock :- 216MHz
DDR Clock :- 171MHz
Hit any key to stop autoboot:  0

Loading from NAND 512MiB 3,3V 8-bit, offset 0x500000
   Image Name:   Linux-2.6.32-rc2-davinci1hht_v3.
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1999284 Bytes =  1.9 MB
   Load Address: 80008000
   Entry Point:  80008000
## Booting kernel from Legacy Image at 80700000 ...
   Image Name:   Linux-2.6.32-rc2-davinci1hht_v3.
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1999284 Bytes =  1.9 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux......................................................................................
................................................. done, booting the kernel.
Linux version 2.6.32-rc2-davinci1hht_v3.0 (root@muthu-HCL-Desktop) (gcc version 4.3.3 (Sourcery G++ Lite
2009q1-203) ) #204 PREEMPT Sat Jul 28 15:36:20 IST 2012
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM355 EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci dm355 variant 0x0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 29464
Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=10.10.30.56 root=/dev/mtdblock3 rw rootfstype=
yaffs2 mem=116M video=davincifb:vid0=off:vid1=off:osd0=320x240x16,2025K davinci_enc_mngr.ch0_output=LCD d
avinci_enc_mngr.ch0_mode=320x240
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 116MB = 116MB total
Memory: 113152KB available (3804K code, 307K data, 200K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 107.31 BogoMIPS (lpj=536576)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 104 gpio irqs
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
DM355 IPIPE intialized in Single Shot mode
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
vpss vpss: dm355_vpss vpss probed
vpss vpss: dm355_vpss vpss probe success
ch0 default output "LCD", mode "320x240"
LogicPD encoder initialized
Switching to clocksource timer0_1
musb_hdrc: version 6.0, cppi-dma, host, debug=0
musb_hdrc: USB Host mode controller at fec64000 using DMA, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 221
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
davincifb davincifb.0: check_fb_var: calling convert_fb_var_to_osd, var->bits_per_pixel: 16
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 16
davincifb davincifb.0: davincifb_set_par: calling convert_fb_info_to_osd bpp: 16
davincifb davincifb.0: convert_fb_info_to_osd: var->bits_per_pixel: 16
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 16
davincifb davincifb.0: davincifb_set_par: calling convert_fb_info_to_osd bpp: 16
davincifb davincifb.0: convert_fb_info_to_osd: var->bits_per_pixel: 16
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 16
Console: switching to colour frame buffer device 40x15
davincifb davincifb.0: dm_osd0_fb: 320x240x16@0,0 with framebuffer size 2025KB
davincifb davincifb.0: check_fb_var: calling convert_fb_var_to_osd, var->bits_per_pixel: 4
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 4
davincifb davincifb.0: davincifb_set_par: calling convert_fb_info_to_osd bpp: 4
davincifb davincifb.0: convert_fb_info_to_osd: var->bits_per_pixel: 4
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 4
davincifb davincifb.0: dm_osd1_fb: 320x240x4@0,0 with framebuffer size 300KB
imp serializer initialized
davinci_previewer initialized
davinci_resizer initialized
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0x1c20400 (irq = 41) is a 16550A
serial8250.0: ttyS2 at MMIO 0x1e06000 (irq = 14) is a 16550A
brd: module loaded
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 8-bit)
Bad block table not found for chip 0
Bad block table not found for chip 0
Scanning device for bad blocks
Bad eraseblock 1 at 0x000000020000
Bad eraseblock 2 at 0x000000040000
Bad eraseblock 3 at 0x000000060000
Bad eraseblock 4 at 0x000000080000
Bad eraseblock 5 at 0x0000000a0000
Bad eraseblock 6 at 0x0000000c0000
Bad eraseblock 7 at 0x0000000e0000
Bad eraseblock 8 at 0x000000100000
Bad eraseblock 10 at 0x000000140000
Bad eraseblock 11 at 0x000000160000
Bad eraseblock 12 at 0x000000180000
Bad eraseblock 13 at 0x0000001a0000
Bad eraseblock 14 at 0x0000001c0000
Bad eraseblock 15 at 0x0000001e0000
Bad eraseblock 16 at 0x000000200000
Bad eraseblock 17 at 0x000000220000
Bad eraseblock 18 at 0x000000240000
Bad eraseblock 19 at 0x000000260000
Bad eraseblock 20 at 0x000000280000
Bad eraseblock 21 at 0x0000002a0000
Bad eraseblock 22 at 0x0000002c0000
Bad eraseblock 23 at 0x0000002e0000
Bad eraseblock 24 at 0x000000300000
Bad eraseblock 25 at 0x000000320000
Bad eraseblock 26 at 0x000000340000
Bad eraseblock 28 at 0x000000380000
Bad eraseblock 29 at 0x0000003a0000
Bad eraseblock 40 at 0x000000500000
Bad eraseblock 41 at 0x000000520000
Bad eraseblock 42 at 0x000000540000
Bad eraseblock 43 at 0x000000560000
Bad eraseblock 44 at 0x000000580000
Bad eraseblock 45 at 0x0000005a0000
Bad eraseblock 46 at 0x0000005c0000
Bad eraseblock 47 at 0x0000005e0000
Bad eraseblock 48 at 0x000000600000
Bad eraseblock 49 at 0x000000620000
Bad eraseblock 50 at 0x000000640000
Bad eraseblock 51 at 0x000000660000
Bad eraseblock 52 at 0x000000680000
Bad eraseblock 53 at 0x0000006a0000
Bad eraseblock 54 at 0x0000006c0000
Bad eraseblock 55 at 0x0000006e0000
Bad eraseblock 56 at 0x000000700000
Bad eraseblock 57 at 0x000000720000
Bad eraseblock 58 at 0x000000740000
Bad eraseblock 59 at 0x000000760000
Bad eraseblock 60 at 0x000000780000
Bad eraseblock 61 at 0x0000007a0000
Bad eraseblock 62 at 0x0000007c0000
Bad eraseblock 63 at 0x0000007e0000
Bad eraseblock 64 at 0x000000800000
Bad eraseblock 65 at 0x000000820000
Bad eraseblock 66 at 0x000000840000
Bad eraseblock 67 at 0x000000860000
Bad eraseblock 68 at 0x000000880000
Bad eraseblock 69 at 0x0000008a0000
Bad eraseblock 70 at 0x0000008c0000
Bad eraseblock 71 at 0x0000008e0000
Bad eraseblock 72 at 0x000000900000
Bad eraseblock 73 at 0x000000920000
Bad eraseblock 74 at 0x000000940000
Bad eraseblock 75 at 0x000000960000
Bad eraseblock 76 at 0x000000980000
Bad eraseblock 77 at 0x0000009a0000
Bad eraseblock 78 at 0x0000009c0000
Bad eraseblock 79 at 0x0000009e0000
Bad eraseblock 80 at 0x000000a00000
Bad eraseblock 81 at 0x000000a20000
Bad eraseblock 82 at 0x000000a40000
Bad eraseblock 83 at 0x000000a60000
Bad eraseblock 84 at 0x000000a80000
Bad eraseblock 85 at 0x000000aa0000
Bad eraseblock 86 at 0x000000ac0000
Bad eraseblock 87 at 0x000000ae0000
Bad eraseblock 88 at 0x000000b00000
Bad eraseblock 89 at 0x000000b20000
Bad eraseblock 90 at 0x000000b40000
Bad eraseblock 91 at 0x000000b60000
Bad eraseblock 92 at 0x000000b80000
Bad eraseblock 93 at 0x000000ba0000
Bad eraseblock 94 at 0x000000bc0000
Bad eraseblock 95 at 0x000000be0000
Creating 5 MTD partitions on "davinci_nand.0":
0x000000000000-0x0000003c0000 : "bootloader"
0x0000003c0000-0x000000400000 : "params"
0x000000400000-0x000000800000 : "kernel"
0x000000800000-0x000020000000 : "filesystem1"
0x000020000000-0x000020400000 : "filesystem2"
mtd: partition "filesystem2" is out of reach -- disabled
usb 1-1: new high speed USB device using musb_hdrc and address 2
davinci_nand davinci_nand.0: controller rev. 2.3
spi_davinci spi_davinci.0: DaVinci SPI driver in EDMA mode
Using RX channel = 17 , TX channel = 16 and event queue = 1
spi_davinci spi_davinci.0: Controller at 0xfec66000
PINMUX0 = 7f55
PINMUX0 = 7b55
enable_tft_completed.
Inserting SPI module
PINMUX0 = 7b55
PINMUX0 = 7baa
SPI2 SPI2FMT0 value =173320
tft_open exit
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
dm9000 Ethernet Driver, V1.31
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
dm9000 dm9000: eth%d: Invalid ethernet MAC address. Please set using ifconfig
eth0: dm9000a at c782e000,c7832002 IRQ 65 MAC: 00:00:00:00:00:00 (chip)
console [netcon0] enabled
netconsole: network logging started
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
OMAP Keypad Driver
omap_kp_probe
input: omap-keypad as /devices/platform/omap-keypad.0/input/input0
register omap-keypad input device
gpio_request_irq 70 status 0
rtc-isl1208 1-006f: chip found, driver version 0.3
rtc-isl1208 1-006f: rtc core: registered rtc-isl1208 as rtc0
rtc-isl1208 1-006f: rtc power failure detected, please set clock.
i2c /dev entries driver
Linux video capture interface: v2.00
watchdog watchdog: heartbeat 60 sec
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
davinci_mmc davinci_mmc.1: Using DMA, 4-bit mode
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
XXXXX: init001:
XXXXX 086
XXXXX 093
XXXXX 079
XXXXX 051
XXXXX 065
XXXXX 058
XXXXX 072
XXXXX: probe 106 ret: 0
No device for DAI tlv320aic3x
No device for DAI davinci-i2s
XXXXX: probe 101:
asoc: tlv320aic3x <-> davinci-i2s mapping ok
Failed to add route HPLOUT->Headphone Jack
XXXXX: probe 105 ret: 0
ALSA device list:
  #0: DaVinci EVM (tlv320aic3x)
SPCR1=0x0
RCR1=0x0
XCR1=0x0
SRGR1=0x20000001
PCR1=0x0
DXR1=0x0
SPCR1=0x2000000
XCR1=0x140
PCR1=0xA00
SRGR1=0x101F0F07
SPCR1=0x2F30000
Resetting DAC....done
 Configuring Audio DAC
SPI0 SPIFMT0 value =173320
SPI0 dv_open exit
before spi open
after init disp
TCP cubic registered
NET: Registered protocol family 17
rtc-isl1208 1-006f: hctosys: invalid date/time
IP-Config: Failed to open eth0
IP-Config: No network devices available.
yaffs: dev is 32505859 name is "mtdblock3" rw
yaffs: passed flags ""
VFS: Mounted root (yaffs2 filesystem) on device 31:3.
Freeing init memory: 200K
INIT: version 2.86 booting
Starting udev
udev: starting version 141
udevd[473]: inotify_add_watch(3, (null), 10) failed: Bad address

Starting Dropbear SSH server: modprobe: FATAL: Could not load /lib/modules/2.6.32-rc2-davinci1hht_v3.0/mo
dules.dep: No such file or directory

modprobe: FATAL: Could not load /lib/modules/2.6.32-rc2-davinci1hht_v3.0/modules.dep: No such file or dir
ectory

dropbear.
Starting telnet daemon.
modprobe: FATAL: Could not load /lib/modules/2.6.32-rc2-davinci1hht_v3.0/modules.dep: No such file or dir
ectory

Starting syslogd/klogd: done
Starting thttpd.