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.

Kernel Panic not syn. unable to open an intial console.....trying passing option

Other Parts Discussed in Thread: TVP5150, ADS7846

Hello everybody,

                I am having dm357 board on which i am booting the kernel image but at last it shows the message/warning kernel panic,not sync.   unable to open an intial console,no init found,any body have an idea for the same......i am using yaffs2 fs and mounting it on mtd 4,also tried on mtd3 but the same error existing.

  • i am also droping the eroor here kindly check it and tell me the way to resolve it

     

    Environment size: 576/16380 bytes
    VDP# boot

    Loading from NAND 512MiB 3,3V 8-bit, offset 0x200000
       Image Name:   Linux-2.6.18_pro500-davinci_evm-
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1576184 Bytes =  1.5 MB
       Load Address: 81008000
       Entry Point:  81008000
    ## Booting image at 80700000 ...
       Image Name:   Linux-2.6.18_pro500-davinci_evm-
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1576184 Bytes =  1.5 MB
       Load Address: 81008000
       Entry Point:  81008000
       Verifying Checksum ... OK
    OK

    Starting kernel ...

    Uncompressing Linux.............................................................
    .............................................. done, booting the kernel.
    [    0.000000] Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (epigon@linux4
    0-desktop) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #1
    PREEMPT Tue Jun 7 16:58:35 IST 2011
    [    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    [    0.000000] Machine: DM357 EVM
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] DaVinci DM6443 variant 0x1
    [    0.000000] CPU0: D VIVT write-back cache
    [    0.000000] CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 s
    ets
    [    0.000000] CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 set
    s
    [    0.000000] Built 1 zonelists.  Total pages: 59392
    [    0.000000] Kernel command line: console=ttyS0,115200n8 ip=dhcp root=/dev/mtd
    block3 rw rootfstype=yaffs2 mem=232M video=davincifb:vid0=0,2025K:vid1=0,1350K:o
    sd0=720x576x16,2025K davinci_enc_mgr.ch0_output=COMPOSITE davinci_enc_mgr.ch0_mo
    de=ntsc
    [    0.000000] Unknown boot option `davinci_enc_mgr.ch0_output=COMPOSITE': ignor
    ing
    [    0.000000] Unknown boot option `davinci_enc_mgr.ch0_mode=ntsc': ignoring
    [    0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
    [    0.000000] Clock event device timer0_0 configured with caps set: 03
    [    0.000000] Console: colour dummy device 80x30
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.020000] Memory: 232MB = 232MB total
    [    0.020000] Memory: 231936KB available (2677K code, 572K data, 168K init)
    [    0.250000] Security Framework v1.0.0 initialized
    [    0.250000] Capability LSM initialized
    [    0.250000] Mount-cache hash table entries: 512
    [    0.250000] CPU: Testing write buffer coherency: ok
    [    0.250000] NET: Registered protocol family 16
    [    0.250000] backlight_device class _int: Ret:0
    [    0.250000] ID=26, modatst=0x1e03
    [    0.250000] ID=0, modatst=0x1f03
    [    0.250000] ID=1, modatst=0x1e03
    [    0.250000] ID=2, modatst=0x1f03
    [    0.250000] ID=3, modatst=0x1f03
    [    0.250000] ID=4, modatst=0x1f03
    [    0.250000] ID=26, modatst=0x1e03
    [    0.250000] ID=9, modatst=0x1e03
    [    0.250000] ID=29, modatst=0x1f03
    [    0.250000] ID=22, modatst=0x1f03
    [    0.250000] WARNING: both NAND and NOR flash are enabled, but share pins.
    [    0.250000]  Disable NAND for NOR support.
    [    0.250000] ID=19, modatst=0x1f03
    [    0.250000] ID=20, modatst=0x1f03
    [    0.250000] ID=21, modatst=0x1f03
    [    0.250000] ID=15, modatst=0x1e03
    [    0.260000] davinci_disp_init: Display init finished
    [    0.260000] davinci_disp_init: Display init finished
    [    0.260000] davinci_disp_init: Display init finished
    [    0.260000] davinci_disp_init: Display init finished
    [    0.270000] ch0 default output "LCD", mode "1024x600"
    [    0.270000] VPBE Encoder Initialized
    [    0.270000] PINMUX0=0x81400400 PINMUX1=0x597
    [    0.340000] PINMUX0=0x81400400 PINMUX1=0x597
    [    0.580000] LogicPD encoder initialized
    [    0.580000] ID=18, modatst=0x1f03
    [    0.580000] SCSI subsystem initialized
    [    0.580000] usbcore: registered new driver usbfs
    [    0.580000] usbcore: registered new driver hub
    [    0.590000] NET: Registered protocol family 2
    [    0.690000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.690000] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.690000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.690000] TCP: Hash tables configured (established 8192 bind 4096)
    [    0.690000] TCP reno registered
    [    0.690000] davinci_i2c_write() : addr = 0x3a, len= 1
    [    0.690000] <<<<<<<arch/arm/mach-davinci/davinci_spi_platform.c:[243]:davinci
    _spi_board_init>>>>>>>>
    [    0.690000] <<<<<<<TOUCH Screen SPI device registeri>>>>>
    [    0.690000] <<<<<<<<<<<<<<<<TOUCH Screen SPI device Registered>>>>>>>>>>>
    [    0.720000] yaffs Jul 14 2011 10:09:00 Installing.
    [    0.720000] Initializing Cryptographic API
    [    0.720000] io scheduler noop registered
    [    0.720000] io scheduler anticipatory registered (default)
    [    0.720000] vdpbl_probe:Init
    [    0.720000] backlight_device_alloc: name=vdp-bl
    [    0.720000] vdpbl_update_status:
    [    0.720000] vdpbl_set_power:
    [    0.720000] vdpbl_send_enable: 1
    [    0.720000] VDP LCD backlight initialised
    [    0.720000] vdpbl_init: Ret 0
    [    0.770000] Console: switching to colour frame buffer device 90x36
    [    0.790000] davincifb davincifb: dm_osd0_fb: 720x576x16@0,0 with framebuffer
    size 2025KB
    [    0.810000] davincifb davincifb: dm_vid0_fb: 0x0x16@0,0 with framebuffer size
     2025KB
    [    0.820000] davincifb davincifb: dm_osd1_fb: 1024x600x4@0,0 with framebuffer
    size 1200KB
    [    0.830000] davincifb davincifb: dm_vid1_fb: 0x0x16@0,0 with framebuffer size
     1350KB
    [    0.840000] davincifb davincifb.0: dm_osd0_fb: Failed to obtain ownership of
    OSD window.
    [    0.890000] DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
    [    0.890000] Serial: 8250/16550 driver $Revision: 1.90 $ 3 ports, IRQ sharing
    disabled
    [    0.900000] serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfec20000 (irq = 4
    0) is a 16550A
    [    0.910000] serial8250.0: ttyS1 at MMIO map 0x1c20400 mem 0xfec20400 (irq = 4
    1) is a 16550A
    [    0.920000] serial8250.0: ttyS2 at MMIO map 0x1c20800 mem 0xfec20800 (irq = 4
    2) is a 16550A
    [    0.930000] RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 block
    size
    [    0.940000] ID=6, modatst=0x1e03
    [    0.940000] davinci_i2c_write() : addr = 0x51, len= 2
    [    0.950000] davinci_i2c_read() : addr = 0x51, len= 8
    [    0.960000] TI DaVinci I2C: EMAC id not Read Properly
    [    0.970000] TI DaVinci EMAC: MAC address is deadbeaf
    [    0.970000] TI DaVinci EMAC Linux version updated 4.0
    [    0.980000] TI DaVinci EMAC: Installed 1 instances.
    [    0.980000] Linux video capture interface: v2.00
    [    0.990000] CAMERA_DBG Exit: ov3640_init
    [    0.990000] Trying to attach i2c client at addr 0x5c
    [    1.000000] Attach  returned 0
    [    1.000000]  TVP5150 I2c client initialized
    [    1.010000] TVP5150: Composite Mode 1 Selected
    [    1.030000] TVP5150: Composite Mode 2 Selected
    [    1.030000] vpfe vpfe.1: DaVinci v4l2 capture driver V1.0 loaded
    [    1.040000] Trying to register davinci display video device.
    [    1.050000] layer=ce165200,layer->video_dev=ce165360
    [    1.050000] Trying to register davinci display video device.
    [    1.060000] layer=ce165000,layer->video_dev=ce165160
    [    1.070000] davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
    [    1.070000]
    [    1.070000]  Davici AEW Driver cannot be loaded
    [    1.070000]  VIDEO PORT is not enabledData Flow path from CCDC is disabled
    [    1.090000]
    [    1.090000]  Davinci AF driver cannot be loaded
    [    1.090000]  VIDEO PORT is not enabled
    [    1.100000]  CCDC needs to be configured<6>i2c /dev entries driver
    [    1.110000] nand_davinci nand_davinci.0: Using soft ECC
    [    1.110000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512
    MiB 3,3V 8-bit)
    [    1.120000] Scanning device for bad blocks
    [    1.240000] Bad eraseblock 2747 at 0x15760000
    [    1.280000] Bad eraseblock 3569 at 0x1be20000
    [    1.310000] Creating 4 MTD partitions on "nand_davinci.0":
    [    1.320000] 0x000c0000-0x001c0000 : "u-boot"
    [    1.320000] 0x001c0000-0x00200000 : "params"
    [    1.330000] 0x00200000-0x00600000 : "kernel"
    [    1.340000] 0x00600000-0x20000000 : "filesystem"
    [    1.350000] nand_davinci nand_davinci.0: Using soft ECC
    [    1.350000] NAND device: Manufacturer ID: 0x20, Chip ID: 0xd5 (ST Micro NAND
    2GiB 3,3V 8-bit)
    [    1.360000] Scanning device for bad blocks
    [    2.310000] Creating 1 MTD partitions on "nand_davinci.0":
    [    2.320000] 0x00180000-0x80000000 : "filesystem2"
    [    2.330000] nand_davinci nand_davinci.0: hardware revision: 2.1
    [    2.340000] dm_spi.0: davinci SPI Controller driver at 0xcf008800 (irq = 43)
    use_dma=0
    [    2.350000] Initializing USB Mass Storage driver...
    [    2.350000] usbcore: registered new driver usb-storage
    [    2.360000] USB Mass Storage support registered.
    [    2.360000] usbcore: registered new driver usbhid
    [    2.370000] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
    [    2.370000] musb_hdrc: version 6.0/dbg, cppi-dma, host, debug=1
    [    2.380000] ID=9, modatst=0x1e03
    [    2.400000] musb_hdrc musb_hdrc: No DMA interrupt line
    [    2.400000] musb_hdrc: USB Host mode controller at cf00a000 using DMA, IRQ 12

    [    2.410000] musb_hdrc musb_hdrc: MUSB HDRC host driver
    [    2.420000] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number
    1
    [    2.420000] usb usb1: configuration #1 chosen from 1 choice
    [    2.430000] hub 1-0:1.0: USB hub found
    [    2.440000] hub 1-0:1.0: 1 port detected
    [    2.550000] mice: PS/2 mouse device common for all mice
    [    2.550000] ts: Compaq touchscreen protocol output
    [    2.560000] drivers/spi/spi.c[161]:spi_register_driver:init() sdrv=0xc02ee928

    [    2.570000] sdrv->probe is not NULL
    [    2.570000] sdrv->remove is not NULL
    [    2.570000] sdrv->shutdown  is  NULLo
    [    2.580000] ads7846 spi0.0: touchscreen, irq 68
    [    2.580000] input: ADS784x Touchscreen as /class/input/input0
    [    2.590000] drivers/spi/spi.c[196]:spi_register_driver:exit() ret=0
    [    2.600000] rtc_davinci_evm rtc_davinci_evm: rtc intf: proc
    [    2.610000] rtc_davinci_evm rtc_davinci_evm: rtc intf: dev (254:0)
    [    2.610000] rtc_davinci_evm rtc_davinci_evm: rtc core: registered rtc_davinci
    _evm as rtc0
    [    2.620000] rtc0: hours 12-23 are misreported as duplicate hours 00-11
    [    2.630000] ID=15, modatst=0x1e03
    [    2.630000] davinci-mmc davinci-mmc.0: Supporting 4-bit mode
    [    2.640000] davinci-mmc davinci-mmc.0: Using DMA mode
    [    2.650000] Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu J
    un 22 13:55:50 2006 UTC).
    [    2.660000] ASoC version 0.13.1
    [    2.660000] ID=17, modatst=0x1e03
    [    2.670000] sound/soc/codecs/tlv320aic3x.c[1353]:aic3x_probe
    [    2.670000] sound/soc/codecs/tlv320aic3x.c[1276]:aic3x_codec_probe
    [    2.680000] sound/soc/codecs/tlv320aic3x.c[1124]:aic3x_init
    [    2.690000] sound/soc/davinci/davinci-pcm.c[365]:davinci_pcm_new
    [    2.700000] sound/soc/davinci/davinci-pcm.c[319]:davinci_pcm_preallocate_dma_
    buffer
    [    2.710000] sound/soc/davinci/davinci-pcm.c[319]:davinci_pcm_preallocate_dma_
    buffer
    [    2.710000] asoc: aic3x <-> davinci-i2s mapping ok
    [    2.790000] sound/soc/codecs/tlv320aic3x.c[987]:aic3x_dapm_event
    [    2.810000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.820000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.830000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.830000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.840000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.850000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.850000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.860000] usb 1-1: new high speed USB device using musb_hdrc and address 2
    [    2.870000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.880000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.880000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.890000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.900000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.910000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.910000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.920000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.930000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.930000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.940000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.950000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.960000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.960000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.970000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.980000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.980000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    2.990000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.000000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.010000] usb 1-1: configuration #1 chosen from 1 choice
    [    3.010000] hub 1-1:1.0: USB hub found
    [    3.020000] hub 1-1:1.0: 4 ports detected
    [    3.020000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.030000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.040000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.050000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.050000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.060000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.070000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.070000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.080000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.090000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.100000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.100000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.110000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.120000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.120000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.130000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.140000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.150000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.160000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.160000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.170000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.180000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.190000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.190000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.200000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.210000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.210000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.220000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.230000] sound/soc/codecs/tlv320aic3x.c[236]:snd_soc_aic3x_info_recsrc
    [    3.240000] ALSA device list:
    [    3.240000]   #0: DaVinci EVM (aic3x)
    [    3.240000] IPv4 over IPv4 tunneling driver
    [    3.250000] TCP bic registered
    [    3.250000] NET: Registered protocol family 1
    [    3.260000] NET: Registered protocol family 17
    [    3.260000] davinci_i2c_write() : addr = 0x23, len= 2
    [    3.270000] Time: timer0_1 clocksource has been installed.
    [    3.270000] Clock event device timer0_0 configured with caps set: 08
    [    3.270000] Switched to high resolution mode on CPU 0
    [    3.290000] davinci_i2c_read() : addr = 0x23, len= 9
    [    3.310000] rtc_davinci_evm rtc_davinci_evm: setting the system clock to 2010
    -06-06 11:46:08 (1275824768)
    [    3.370000] usb 1-1.3: new low speed USB device using musb_hdrc and address 3

    [    3.490000] usb 1-1.3: configuration #1 chosen from 1 choice
    [    3.500000] input: Logitech Logitech USB Optical Mouse as /class/input/input1

    [    3.520000] input: USB HID v1.11 Mouse [Logitech Logitech USB Optical Mouse]
    on usb-musb_hdrc-1.3
    [    4.840000] Sending DHCP requests .., OK
    [    8.210000] IP-Config: Got DHCP answer from 10.254.239.1, my address is 10.25
    4.239.19
    [    8.220000] IP-Config: Complete:
    [    8.220000]       device=eth0, addr=10.254.239.19, mask=255.255.255.224, gw=1
    0.254.239.1,
    [    8.230000]      host=10.254.239.19, domain=vdp.org, nis-domain=(none),
    [    8.230000]      bootserver=10.254.239.1, rootserver=10.254.239.1, rootpath=
    [    8.250000] yaffs: dev is 32505859 name is "mtdblock3"
    [    8.260000] yaffs: Attempting MTD mount on 31.3, "mtdblock3"
    [    9.180000] yaffs: restored from checkpoint
    [    9.190000] VFS: Mounted root (yaffs2 filesystem).
    [    9.190000] Freeing init memory: 168K
    [    9.200000] Warning: unable to open an initial console.
    [    9.200000] Kernel panic - not syncing: No init found.  Try passing init= opt
    ion to kernel.
    [    9.220000]