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.

DM355 driver conflict

Other Parts Discussed in Thread: THS8200

I have a generic board on DM355 with MT9P031 sensor and DM9000 Ethernet controller on it. I use DVSDK 3.10 with GIT-kernel. I've downloaded the sensor driver and it's latest patch (from here https://patchwork.kernel.org/patch/176222/)  and integrated them into the kernel according to the instructions.

The kernel assembled successfully but didn't start. It stucks at the moment of start of the ethernet controller or begins to print some junk symbols on the screen. Without DM9000 driver, as well as without MT9P driver everything starts well.

Have someone faced the same problem? How it can be solved?

Thank you in advance.

  • Mikhail,

    Can you share complete the logs? Without the sensor driver changes is your DM9000 Ethernet driver working fine?

  • I've discovered that the board starts successfully with both MT9P031 and DM9000 drivers integrated into the kernel if the network cable is not connected. If it's connected, the start-up procedure stucks.

    Here is the log of the start-up with network cable connected

    U-Boot 2009.03 (я┐╜╨Юя┐╜╨║я┐╜╤В 01 2012 - 13:01:56)

    I2C:   ready
    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

    Loading from NAND 1GiB 3,3V 8-bit, offset 0x1000000
       Image Name:   Linux-2.6.32-rc2-davinci1
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1895788 Bytes =  1.8 MB
       Load Address: 80008000
       Entry Point:  80008000
    ## Booting kernel from Legacy Image at 80700000 ...
       Image Name:   Linux-2.6.32-rc2-davinci1
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1895788 Bytes =  1.8 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-davinci1 (mikhail@mikhail-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #3 PREEMPT Thu Feb 21 13:30:10 MUT 2013
    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: 24384
    Kernel command line: mem=96M console=ttyS0,115200n8 root=/dev/mtdblock3 rw rootfstype=jffs2 vpfe-capture.interface=1
    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: 96MB = 96MB total
    Memory: 93316KB available (3540K code, 359K data, 120K 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 "COMPOSITE", mode "NTSC"
    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, peripheral, debug=0
    musb_hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 12
    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.
    JFFS2 version 2.2. (NAND) я┐╜┬й 2001-2006 Red Hat, Inc.
    msgmni has been set to 182
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    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: 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
    dm9000 Ethernet Driver, V1.31
    eth0: dm9000a at c688c000,c6890002 IRQ 65 MAC: 12:34:56:65:43:21 (chip)
    console [netcon0] enabled
    netconsole: network logging started
    usbcore: registered new interface driver usbtest
    i2c /dev entries driver
    Linux video capture interface: v2.00
    vpfe_init
    vpfe-capture: vpss clock vpss_master enabled
    vpfe-capture: vpss clock vpss_slave enabled
    vpfe-capture vpfe-capture: v4l2 device registered
    vpfe-capture vpfe-capture: video device registered
    Trying to register MT9P031
    mt9p031 1-005d: entering mt9p031_probe
    mt9p031 1-005d: entering mt9p031_detect
    mt9p031 1-005d: Detected a MT9P031 chip ID 1801
    mt9p031 1-005d: cont. mt9p031_probe
    mt9p031 1-005d: mt9p031 1-005d decoder driver registered
    vpfe-capture vpfe-capture: v4l2 sub device mt9p031 registered
    af major#: 252, minor# 0
    aew major#: 251, minor# 0
    Trying to register davinci display video device.
    layer=c41b8400,layer->video_dev=c41b8570
    Trying to register davinci display video device.
    layer=c41b8a00,layer->video_dev=c41b8b70
    davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
    watchdog watchdog: heartbeat 60 sec
    cpuidle: using governor ladder
    cpuidle: using governor menu
    TCP cubic registered
    NET: Registered protocol family 17
    lib80211: common routines for IEEE802.11 drivers
    Clocks: disable unused mjcp
    Clocks: disable unused asp0
    Clocks: disable unused asp1
    Clocks: disable unused mmcsd0
    Clocks: disable unused mmcsd1
    Clocks: disable unused spi0
    Clocks: disable unused spi1
    Clocks: disable unused spi2
    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 rto
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03112190: 0xa882 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03112194: 0x1b22 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03112198: 0xe8f1 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0311219c: 0x84a4 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x031121a0: 0x4ada instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x031121a4: 0x0422 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x031121a8: 0x88a3 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x031121ac: 0xab08 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x031121b0: 0x98a2 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x031121b4: 0x2204 instead
    Further such events for this erase block will not be printed
    VFS: Mounted root (jffs2 filesystem) on device 31:3.
    Freeing init memory: 120K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    Populating dev cache
    Remounting root file system...
    root: mount: mounting rootfs on / failed: No such file or directory
    ALSA: Restoring mixer settings...
    Setting up IP spoofing protection: rp_filter.
    Configuring network interfaces... eth0: link down
    udhcpc (v1.13.2) started

    The board stucks here

    Here  is the start-up log with disconnected network cable:

    U-Boot 2009.03 (я┐╜╨Юя┐╜╨║я┐╜╤В 01 2012 - 13:01:56)

    I2C:   ready
    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

    Loading from NAND 1GiB 3,3V 8-bit, offset 0x1000000
       Image Name:   Linux-2.6.32-rc2-davinci1
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1895788 Bytes =  1.8 MB
       Load Address: 80008000
       Entry Point:  80008000
    ## Booting kernel from Legacy Image at 80700000 ...
       Image Name:   Linux-2.6.32-rc2-davinci1
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1895788 Bytes =  1.8 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-davinci1 (mikhail@mikhail-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #3 PREEMPT Thu Feb 21 13:30:10 MUT 2013
    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: 24384
    Kernel command line: mem=96M console=ttyS0,115200n8 root=/dev/mtdblock3 rw rootfstype=jffs2 vpfe-capture.interface=1
    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: 96MB = 96MB total
    Memory: 93316KB available (3540K code, 359K data, 120K 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 "COMPOSITE", mode "NTSC"
    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, peripheral, debug=0
    musb_hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 12
    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.
    JFFS2 version 2.2. (NAND) я┐╜┬й 2001-2006 Red Hat, Inc.
    msgmni has been set to 182
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    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: 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
    dm9000 Ethernet Driver, V1.31
    dm9000 dm9000: eth%d: Invalid ethernet MAC address. Please set using ifconfig
    eth0: dm9000a at c688c000,c6890002 IRQ 65 MAC: 26:1e:2b:05:5a:90 (random)
    console [netcon0] enabled
    netconsole: network logging started
    usbcore: registered new interface driver usbtest
    i2c /dev entries driver
    Linux video capture interface: v2.00
    vpfe_init
    vpfe-capture: vpss clock vpss_master enabled
    vpfe-capture: vpss clock vpss_slave enabled
    vpfe-capture vpfe-capture: v4l2 device registered
    vpfe-capture vpfe-capture: video device registered
    Trying to register MT9P031
    mt9p031 1-005d: entering mt9p031_probe
    mt9p031 1-005d: entering mt9p031_detect
    mt9p031 1-005d: Detected a MT9P031 chip ID 1801
    mt9p031 1-005d: cont. mt9p031_probe
    mt9p031 1-005d: mt9p031 1-005d decoder driver registered
    vpfe-capture vpfe-capture: v4l2 sub device mt9p031 registered
    af major#: 252, minor# 0
    aew major#: 251, minor# 0
    Trying to register davinci display video device.
    layer=c41b5600,layer->video_dev=c41b5770
    Trying to register davinci display video device.
    layer=c41b5800,layer->video_dev=c41b5970
    davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
    watchdog watchdog: heartbeat 60 sec
    cpuidle: using governor ladder
    cpuidle: using governor menu
    TCP cubic registered
    NET: Registered protocol family 17
    lib80211: common routines for IEEE802.11 drivers
    Clocks: disable unused mjcp
    Clocks: disable unused asp0
    Clocks: disable unused asp1
    Clocks: disable unused mmcsd0
    Clocks: disable unused mmcsd1
    Clocks: disable unused spi0
    Clocks: disable unused spi1
    Clocks: disable unused spi2
    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 rto
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03112190: 0xa882 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03112194: 0x1b22 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03112198: 0xe8f1 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0311219c: 0x84a4 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x031121a0: 0x4ada instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x031121a4: 0x0422 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x031121a8: 0x88a3 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x031121ac: 0xab08 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x031121b0: 0x98a2 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x031121b4: 0x2204 instead
    Further such events for this erase block will not be printed
    VFS: Mounted root (jffs2 filesystem) on device 31:3.
    Freeing init memory: 120K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    udev: starting version 141
    udevd[935]: inotify_add_watch(3, (null), 10) failed: Bad address

    Remounting root file system...
    root: mount: mounting rootfs on / failed: No such file or directory
    ALSA: Restoring mixer settings...
    Setting up IP spoofing protection: rp_filter.
    Configuring network interfaces... eth0: link down
    udhcpc (v1.13.2) started
    /usr/sbin/alsactl: load_state:1608: No soundcards found...
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, failing
    done.
    Mon Jun 21 22:41:00 UTC 2010
    INIT: Entering runlevel: 5
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpdNET: Registered protocol family 10
    ADDRCONF(NETDEV_UP): eth0: link is not ready
    .
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            

    Arago Project http://arago-project.org dm355-evm ttyS0

    Arago 2009.11 dm355-evm ttyS0

    dm355-evm login:

    :

  • Mikhail,

    Its more to do with the network. Can you check whether your DHCP server is up and running? Or, try to pass static ip in bootargs and see whether any improvement occurs?

  • I've tried both cases. The first log, which I've already sent describes the case of static IP.

    In the case of DHCP the log is like this:

    U-Boot 2009.03 (я┐╜╨Юя┐╜╨║я┐╜╤В 01 2012 - 13:01:56)

    I2C:   ready
    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

    Loading from NAND 1GiB 3,3V 8-bit, offset 0x1000000
       Image Name:   Linux-2.6.32-rc2-davinci1
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1895924 Bytes =  1.8 MB
       Load Address: 80008000
       Entry Point:  80008000
    ## Booting kernel from Legacy Image at 80700000 ...
       Image Name:   Linux-2.6.32-rc2-davinci1
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1895924 Bytes =  1.8 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-davinci1 (mikhail@mikhail-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #19 PREEMPT Thu Feb 7 18:06:29 MUT 2013
    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: 24384
    Kernel command line: mem=96M console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=10.0.2.15:/home/mikhail/workdir/filesys ip=dhcp vpfe-capture.interface=1
    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: 96MB = 96MB total
    Memory: 93316KB available (3540K code, 359K data, 120K 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 "COMPOSITE", mode "NTSC"
    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, peripheral, debug=0
    musb_hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 12
    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.
    JFFS2 version 2.2. (NAND) я┐╜┬й 2001-2006 Red Hat, Inc.
    msgmni has been set to 182
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    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: 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
    dm9000 Ethernet Driver, V1.31
    eth0: dm9000a at c688c000,c6890002 IRQ 65 MAC: 12:34:56:65:43:21 (chip)
    console [netcon0] enabled
    netconsole: network logging started
    usbcore: registered new interface driver usbtest
    i2c /dev entries driver
    Linux video capture interface: v2.00
    vpfe_init
    vpfe-capture: vpss clock vpss_master enabled
    vpfe-capture: vpss clock vpss_slave enabled
    vpfe-capture vpfe-capture: v4l2 device registered
    vpfe-capture vpfe-capture: video device registered
    Trying to register MT9P031
    mt9p031 1-005d: entering mt9p031_probe
    mt9p031 1-005d: entering mt9p031_detect
    mt9p031 1-005d: Detected a MT9P031 chip ID 1801
    mt9p031 1-005d: cont. mt9p031_probe
    mt9p031 1-005d: mt9p031 1-005d decoder driver registered
    vpfe-capture vpfe-capture: v4l2 sub device mt9p031 registered
    af major#: 252, minor# 0
    aew major#: 251, minor# 0
    Trying to register davinci display video device.
    layer=c41bc800,layer->video_dev=c41bc970
    Trying to register davinci display video device.
    layer=c41bc200,layer->video_dev=c41bc370
    davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
    watchdog watchdog: heartbeat 60 sec
    cpuidle: using governor ladder
    cpuidle: using governor menu
    TCP cubic registered
    NET: Registered protocol family 17
    lib80211: common routines for IEEE802.11 drivers
    Clocks: disable unused mjcp
    Clocks: disable unused asp0
    Clocks: disable unused asp1
    Clocks: disable unused mmcsd0
    Clocks: disable unused mmcsd1
    Clocks: disable unused spi0
    Clocks: disable unused spi1
    Clocks: disable unused spi2
    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 rto
    IP-Config: Entered.
    eth0: link down
    IP-Config: eth0 UP (able=1, xid=4219095d)
    Sending DHCP requests .

    Afterwards the system stucks.

  • Mikhail,

    What if you keep the cable disconnected and once it boots you reconnect it again. Will get stuck again?

    Also can you check whether all the network related configs in kernel defconfig is enabled properly?

  • I've tried to do, as you advice. If I disconnect network cable during boot-up and than connect it, the board becomes unstable. Sometimes it stucks at the same moment. Sometimes it continues to work, and I can ping it from the host, but can not ping host from the board terminal.

  • Mikhail,

    Can you check the kernel configs, and try disabling few network related settings? I'm not sure about the exact one, but just do a trial and error method. Might help in identifying. 

    Another experiment to try is, remove the cable and bootup. Run "top" command and then connect the network cable. This will show the processes that are taking high CPU load. This might give more insight as well.

  • Hi,

    I am using same kernel 2.6.32 but i am facing different problem my dm9000 is working fine on u-boot but its not working after kernel is loaded

    it can't ping to my host computer what should be the reason

    Best Regards

    Tejas dave

  • Tejas,

    Once you boot up, make run "ifconfig" command. Then run "ifconfig eth0 up"  and then run "ifconfig eth0 dhcp"

  • Hi ,

    Thanks for the reply but i have solved the problem by modifying kernel driver there was a issue in reset logic of DM9000 driver

    But now i am facing another issue about THS8200 i can't initialize THS8200 driver on my 2.6.32 kernel we are using DM355 evm board. Please guide me 

    Best Regards

    Tejas Dave