hi all
Today,I updata the dvsdk to 2.0
I use legacy mode for my nand flash
NAND_programmer_legacy.out - Flash writer (CCS application) for NAND flash
u-boot-1.2.0-dm355-legacy.bin - U-Boot for NAND flash
uImage-dm355-legacy - Linux kernel Image
ublDM355-nand-legacy.bin - User Boot loader for NAND mode
I got a "ECC error while reading bad block table" why?
The file " uImage-dm355-legacy " be renamed to "uImage"
sysytem boot log:
UBL: Entering UBL NANDBoot routine
UBL: NANDInit() Successful
UBL: Nand Detected: Manufacturers ID: 0x0000002C
UBL: Device ID: 0x000000D3
UBL: page size: 0x00000800 bytes per page
UBL: block size: 0x00000040 pages per block
UBL: address cycles: 00000005 cycles
UBL: detected valid U-Boot magic number
UBL: booting to U-Boot
U-Boot 1.2.0 (Mar 13 2009 - 12:24:35)
DRAM: 128 MB
NAND: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit)
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit)
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
2048 MiB
In: serial
Out: serial
Err: serial
ARM Clock :- 216MHz
DDR Clock :- 171MHz
Hit any key to stop autoboot: 0
DM355 EVM # tftp
TFTP from server 192.168.100.54; our IP address is 192.168.100.252
Filename 'uImage'.
Load address: 0x80700000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
############################################################
done
Bytes transferred = 1970820 (1e1284 hex)
DM355 EVM # bootm
## Booting image at 80700000 ...
Image Name: Linux-2.6.18_pro500-davinci_evm-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1970756 Bytes = 1.9 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux................................................................................................................................... done, booting the kernel.
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (a0869522@gt906xs11.gt.design.ti.com) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1 PREEMPT Wed Mar 11 10:23:58 EDT 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci DM355 EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci DM0350 variant 0x0
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists. Total pages: 30720
Kernel command line: ip=dhcp mem=120M console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x82000000,4M
PID hash table entries: 512 (order: 9, 2048 bytes)
Clock event device timer0_0 configured with caps set: 03
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 120MB = 120MB total
Memory: 113280KB available (3397K code, 680K data, 168K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 4096K
NET: Registered protocol family 16
DaVinci: 104 gpio irqs
ch0 default output "COMPOSITE", mode "NTSC"
VPBE Encoder Initialized
LogicPD encoder initialized
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.1 (2006/08/19) Phillip Lougher
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Mar 11 2009 10:16:27 Installing.
SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
LTT : ltt-facilities init
LTT : ltt-facility-core init in kernel
davincifb davincifb.0: dm_osd0_fb: 720x480x16@0,0 with framebuffer size 1350KB
davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 675KB
davincifb davincifb.0: dm_osd1_fb: 720x480x4@0,0 with framebuffer size 1350KB
davincifb davincifb.0: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 675KB
DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfec20000 (irq = 40) is a 16550A
serial8250.0: ttyS1 at MMIO map 0x1c20400 mem 0xfec20400 (irq = 41) is a 16550A
serial8250 serial8250.0: unable to register port at index 2 (IO0 MEM1e06000 IRQ14): -28
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
dm9000 Ethernet Driver
eth0: dm9000 at c805e000,c8060002 IRQ 45 MAC: 00:0e:99:02:c3:26
netconsole: not configured, aborting
Linux video capture interface: v2.00
vpfe vpfe.1: DaVinci v4l2 capture driver V1.0 loaded
Trying to register davinci display video device.
layer=c70eb800,layer->video_dev=c70eb960
Trying to register davinci display video device.
layer=c70eb600,layer->video_dev=c70eb760
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
ipipe major#: 254, minor# 0
ipipe driver registered
af major#: 253, minor# 0
aew major#: 252, minor# 0
i2c /dev entries driver
nand_davinci nand_davinci.0: Using 4-bit hardware ECC
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit)
2 NAND chips detected
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_bbt: ECC error while reading bad block table
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_davinci_4bit_compare_ecc Too many errors to be corrected!
nand_bbt: ECC error while reading bad block table
Creating 5 MTD partitions on "nand_davinci.0":
0x00000000-0x003c0000 : "bootloader"
0x003c0000-0x00400000 : "params"
0x00400000-0x00800000 : "kernel"
0x00800000-0x20800000 : "filesystem1"
0x20800000-0x80000000 : "filesystem2"
nand_davinci nand_davinci.0: hardware revision: 2.3
dm_spi.0: davinci SPI Controller driver at 0xc8064000 (irq = 42) use_dma=0
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
musb_hdrc: version 6.0, cppi-dma, host, debug=0
musb_hdrc musb_hdrc: No DMA interrupt line
musb_hdrc: USB Host mode controller at c8066000 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
mice: PS/2 mouse device common for all mice
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
davinci-mmc davinci-mmc.1: Supporting 4-bit mode
davinci-mmc davinci-mmc.1: Using DMA mode
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ASoC version 0.13.1
AIC3X Audio Codec 0.1
asoc: aic3x <-> davinci-i2s mapping ok
ALSA device list:
#0: DaVinci DM355 EVM (aic3x)
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Time: timer0_1 clocksource has been installed.
Clock event device timer0_0 configured with caps set: 08
Switched to high resolution mode on CPU 0
eth0: link down
Sending DHCP requests .<6>eth0: link up, 100Mbps, full-duplex, lpa 0x45E1