Champs,
I am getting below error while booting from SD card, I am using the DVSDK 04.02.00.06, platform: DM365 and SD card boot mode.
This was working for last couple of months, suddenly it starts giving this problem consistently. Regardless of i change many SD card and prepare the SD card as a fresh using the steps in Software Developers Guide, i get the same problem.
Wondering if my Ubunto machine is corrupted in preparing the SD card, Also wondering if there a solution without reinstalling my ubunto machine.
Also thinking if my EVM gone bad, but why it would give problem for only mounting file system partition from SD card, at the same time the trace also shows the partition is mmcblk0p2 is valid one.
============================================================================
DM36x initialization passed!
TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = SD/MMC
Starting SDMMC Copy...
DONE
Jumping to entry point at 0x81080000.
U-Boot 2010.12-rc2 (Mar 24 2011 - 19:27:17)
Cores: ARM 297 MHz
DDR: 243 MHz
I2C: ready
DRAM: 128 MiB
NAND: 2048 MiB
MMC: davinci: 0, davinci: 1
Bad block table found at page 524224, version 0x01
Bad block table found at page 1048512, version 0x01
Bad block table found at page 524160, version 0x01
Bad block table found at page 1048448, version 0x01
nand_read_bbt: Bad block at 0x000009240000
nand_read_bbt: Bad block at 0x000009980000
nand_read_bbt: Bad block at 0x00001ff00000
nand_read_bbt: Bad block at 0x000020ba0000
nand_read_bbt: Bad block at 0x00002a220000
nand_read_bbt: Bad block at 0x000031b00000
nand_read_bbt: Bad block at 0x000031fe0000
nand_read_bbt: Bad block at 0x00003c180000
nand_read_bbt: Bad block at 0x000045ce0000
nand_read_bbt: Bad block at 0x0000467a0000
nand_read_bbt: Bad block at 0x000050b60000
nand_read_bbt: Bad block at 0x000053b60000
nand_read_bbt: Bad block at 0x000054500000
nand_read_bbt: Bad block at 0x000073980000
nand_read_bbt: Bad block at 0x0000748c0000
nand_read_bbt: Bad block at 0x0000754e0000
nand_read_bbt: Bad block at 0x00007cfa0000
nand_read_bbt: Bad block at 0x00007fea0000
*** Warning - bad CRC, using default environment
Net: Ethernet PHY: GENERIC @ 0x00
DaVinci-EMAC
Hit any key to stop autoboot: 0
reading boot.scr
432 bytes read
## Executing script at 80600000
reading uImage
2148124 bytes read
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Arago/2.6.32.17-psp03.01.01.39/d
Created: 2011-03-25 0:30:27 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2148060 Bytes = 2 MiB
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.17-davinci1 (sdk@nemo) (gcc version 4.3.3 (Sourcery G++ Lit
e 2009q1-203) ) #1 PREEMPT Thu Mar 24 19:30:24 CDT 2011
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM36x EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci dm365_rev1.1 variant 0x0
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 13716
Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw ip=off mem=54
M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0
davinci_capture.device_type=4 vpfe_capture.cont_bufsize=6291456 davinci_enc_mngr
.ch0_output=COMPONENT davinci_enc_mngr.ch0_mode=480P-60 rootwait
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 54MB = 54MB total
Memory: 50076KB available (4024K code, 393K data, 144K 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... 147.86 BogoMIPS (lpj=739328)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 8 gpio irqs
NET: Registered protocol family 16
davinci_serial_init:97: failed to get UART2 clock
EVM: HD imager video input
bio: create slab <bio-0> at 0
DM365 IPIPE initialized in Continuous mode
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pca9543a_probe
vpss vpss: dm365_vpss vpss probed
vpss vpss: dm365_vpss vpss probe success
dm365_afew_hw_init
ch0 default output "COMPONENT", mode "480P-60"
VPBE Encoder Initialized
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
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: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
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.
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 97
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
davincifb davincifb.0: dm_osd0_fb: Initial window configuration is invalid.
Console: switching to colour frame buffer device 90x36
davincifb davincifb.0: dm_osd0_fb: 720x576x16@0,0 with framebuffer size 4050KB
davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1020KB
davincifb davincifb.0: dm_osd1_fb: 720x480x4@0,0 with framebuffer size 675KB
davincifb davincifb.0: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1020KB
usb 1-1: new low speed USB device using musb_hdrc and address 2
usb 1-1: configuration #1 chosen from 1 choice
DM365 IPIPEIF probed
imp serializer initialized
davinci_previewer initialized
davinci_resizer initialized
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
brd: module loaded
at24 1-0050: 32768 byte 24c256 EEPROM (writable)
Read MAC addr from EEPROM: 00:0e:99:02:c7:b2
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit)
2 NAND chips detected
Creating 5 MTD partitions on "davinci_nand.0":
0x000000000000-0x000000f00000 : "bootloader"
0x000000f00000-0x000001000000 : "params"
0x000001000000-0x000001400000 : "kernel"
0x000001400000-0x000021400000 : "filesystem1"
0x000021400000-0x000080000000 : "filesystem2"
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 = 3
at25 spi0.0: 8 KByte at25640 eeprom, pagesize 32
spi_davinci spi_davinci.0: Controller at 0xfec66000
console [netcon0] enabled
netconsole: network logging started
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbtest
mice: PS/2 mouse device common for all mice
tsc2004: probe of 1-0049 failed with error -121
input: DM365 EVM Controls as /devices/platform/i2c_davinci.1/i2c-1/1-0025/input/
input0
i2c /dev entries driver
Linux video capture interface: v2.00
ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)
vpfe_init
vpfe-capture: vpss clock vpss_master enabled
vpfe-capture vpfe-capture: v4l2 device registered
vpfe-capture vpfe-capture: video device registered
EVM: switch to tvp5146 SD video input
tvp514x 1-005d: tvp514x 1-005d decoder driver registered !!
vpfe-capture vpfe-capture: v4l2 sub device tvp5146 registered
EVM: switch to tvp7002 HD video input
tvp7002 1-005c: tvp7002 1-005c decoder driver registered !!
vpfe-capture vpfe-capture: v4l2 sub device tvp7002 registered
EVM: switch to tvp7002 HD video input
ths7353 1-002e: chip found @ 0x5c (DaVinci I2C adapter)
ths7353 1-002e: No platform data!!
vpfe-capture vpfe-capture: v4l2 sub device ths7353 registered
vpfe_register_ccdc_device: DM365 ISIF
DM365 ISIF is registered with vpfe.
af major#: 252, minor# 0
AF Driver initialized
aew major#: 251, minor# 0
AEW Driver initialized
Trying to register davinci display video device.
layer=c20bf800,layer->video_dev=c20bf970
Trying to register davinci display video device.
layer=c20bfc00,layer->video_dev=c20bfd70
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
watchdog watchdog: heartbeat 60 sec
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
input: Dell Dell USB Mouse as /devices/platform/musb_hdrc/usb1/1-1/1-1:1.0/input
/input1
generic-usb 0003:413C:3200.0001: input: USB HID v1.10 Mouse [Dell Dell USB Mouse
] on usb-musb_hdrc-1/input0
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI tlv320aic3x
No device for DAI davinci-i2s
asoc: tlv320aic3x <-> davinci-i2s mapping ok
ALSA device list:
#0: DaVinci EVM (tlv320aic3x)
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
Clocks: disable unused mmcsd1
Clocks: disable unused spi1
Clocks: disable unused spi2
Clocks: disable unused spi3
Clocks: disable unused spi4
Clocks: disable unused pwm0
Clocks: disable unused pwm1
Clocks: disable unused pwm2
Clocks: disable unused pwm3
Clocks: disable unused timer1
Clocks: disable unused timer3
Clocks: disable unused emac
Clocks: disable unused voice_codec
Clocks: disable unused rto
Clocks: disable unused mjcp
mmc0: new SDHC card at address e624
mmcblk0: mmc0:e624 SD08G 7.40 GiB (ro)
mmcblk0: p1 p2
emac-mii: probed
VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
Please append a correct "root=" boot option; here are the available partitions:
1f00 15360 mtdblock0 (driver?)
1f01 1024 mtdblock1 (driver?)
1f02 4096 mtdblock2 (driver?)
1f03 524288 mtdblock3 (driver?)
1f04 1552384 mtdblock4 (driver?)
b300 7761920 mmcblk0 driver: mmcblk
b301 80325 mmcblk0p1
b302 7518420 mmcblk0p2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
Backtrace:
[<c00305f4>] (dump_backtrace+0x0/0x114) from [<c031b154>] (dump_stack+0x18/0x1c)
r7:00008000 r6:c2015000 r5:c0025808 r4:c044b9b0
[<c031b13c>] (dump_stack+0x0/0x1c) from [<c031b1ac>] (panic+0x54/0x12c)
[<c031b158>] (panic+0x0/0x12c) from [<c0008fbc>] (mount_block_root+0x1e0/0x220)
r3:00000001 r2:c2027e98 r1:c2027f60 r0:c03b4166
[<c0008ddc>] (mount_block_root+0x0/0x220) from [<c00090c0>] (mount_root+0xc4/0xf
c)
r8:00000000 r7:00000000 r6:00000000 r5:c0025808 r4:0b300002
[<c0008ffc>] (mount_root+0x0/0xfc) from [<c0009268>] (prepare_namespace+0x170/0x
1c8)
r5:c0025808 r4:c044b4c0
[<c00090f8>] (prepare_namespace+0x0/0x1c8) from [<c00084bc>] (kernel_init+0xe4/0
x118)
r5:00000000 r4:c044b280
[<c00083d8>] (kernel_init+0x0/0x118) from [<c0045170>] (do_exit+0x0/0x668)
r5:00000000 r4:00000000
============================================================================
Thanks & Regards
Velan