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.

LSP version with DVSDK 3.10.00.19?

Other Parts Discussed in Thread: PCA9543A, THS7303

I am using DVSDK 3.10.00.19 on the DM365 EVM.  I noticed during the device bootup that it says that it is running LSP 2.10.  This seemed odd to me, so I started looking through TI's documentation to see what the correct LSP should be with this release.  I can't find the proper documentation to determine what the LSP version should be that came with DVSDK 3.10.  Does someone know what version the LSP should be with DVSDK 3.10?  If I have a LSP mismatch, does anyone know where to get the matching LSP?

Thanks,

Bryan

EDIT:  For clarification, it looks like based upon the directory structure that we are using the r37 build of the kernel from Arago.

  • Bryan,

    Looking at the DVSDK 3.10 download page, it's PSP 3.01 for dm355/dm365 and PSP 3.02 for dm6467(t). Btw. "LSP" was a term used by Montavista, DVSDK 3.xx is using the community kernel and the term Platform Support Package is used (PSP).

    If you see LSP 2.10 when you boot, please make sure you don't have an old u-boot and kernel flashed which you are still picking up. The Getting Started Guide should tell you how to upgrade the kernel.

    Regards, Niclas

  • I followed the steps for updating the kernel as listed in the Getting Started Guide.  I am still seeing the "LSP 2.10" print during the u-boot process.  Also, the boot process won't complete anymore.  It looks like it's having issues when it's trying to mount the filesystem.  My bootargs for the moment are as follows:

    setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=172.16.29.156 root=/dev/nfs nfsroot=172.16.29.157:/tmp/arago-demo-image,nolock mem=60M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 vpfe_capture.interface=1

    Here is the entire output from Minicom from when I hit the restart button on the EVM.

     

     

    Jumping to entry point at 0x81080000.

     LSP 2.10 BETA RELEASE
     VERSION: 2.10.008.02

    U-Boot 1.3.4 (Mar  2 2009 - 11:50:39)

    I2C:   ready
    DRAM:  128 MB
    NAND:  NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 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 0x3ffe0000, version 0x01
    Bad block table written to 0x3ffc0000, version 0x01
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 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 0x3ffe0000, version 0x01
    Bad block table written to 0x3ffc0000, version 0x01
    2048 MiB
    In:    serial
    Out:   serial
    Err:   serial
    Ethernet PHY: GENERIC @ 0x00
    Hit any key to stop autoboot:  0

    Loading from NAND 1GiB 3,3V 8-bit, offset 0x400000
       Image Name:   Arago/2.6.31+2.6.32-rc1-r37+gitr
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2135636 Bytes =  2 MB
       Load Address: 80008000
       Entry Point:  80008000
    ## Booting kernel from Legacy Image at 80700000 ...
       Image Name:   Arago/2.6.31+2.6.32-rc1-r37+gitr
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2135636 Bytes =  2 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 (davinci@localhost.localdomain) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 PREEMPT Mon Jun 21 16:12:03 IST 2010
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: DaVinci DM365 EVM
    Memory policy: ECC disabled, Data cache writeback
    DaVinci dm365_rev1.2 variant 0x8
    Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 15240
    Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=172.16.29.156 root=/dev/nfs nfsroot=172.16.29.157:/tmp/arago-demo-image,nolock mem=60M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 vpfe_capture.interface=1
    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: 60MB = 60MB total
    Memory: 56244KB available (4012K code, 394K data, 132K 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 "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, 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 109
    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
    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:cc:b9
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit)
    2 NAND chips detected
    Bad block table not found for chip 0
    Bad block table not found for chip 1
    Bad block table not found for chip 0
    Bad block table not found for chip 1
    Scanning device for bad blocks
    Bad eraseblock 27 at 0x000000360000
    Bad eraseblock 28 at 0x000000380000
    Bad eraseblock 32 at 0x000000400000
    Bad eraseblock 33 at 0x000000420000
    Bad eraseblock 34 at 0x000000440000
    Bad eraseblock 35 at 0x000000460000
    Bad eraseblock 36 at 0x000000480000
    Bad eraseblock 37 at 0x0000004a0000
    Bad eraseblock 38 at 0x0000004c0000
    Bad eraseblock 39 at 0x0000004e0000
    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 62 at 0x0000007c0000
    Bad eraseblock 191 at 0x0000017e0000
    Bad eraseblock 277 at 0x0000022a0000
    Bad eraseblock 293 at 0x0000024a0000
    Bad eraseblock 295 at 0x0000024e0000
    Bad eraseblock 320 at 0x000002800000
    Bad eraseblock 321 at 0x000002820000
    Bad eraseblock 362 at 0x000002d40000
    Bad eraseblock 373 at 0x000002ea0000
    Bad eraseblock 381 at 0x000002fa0000
    Bad eraseblock 383 at 0x000002fe0000
    Bad eraseblock 691 at 0x000005660000
    Bad eraseblock 969 at 0x000007920000
    Bad eraseblock 970 at 0x000007940000
    Bad eraseblock 971 at 0x000007960000
    Bad eraseblock 972 at 0x000007980000
    Bad eraseblock 973 at 0x0000079a0000
    Bad eraseblock 974 at 0x0000079c0000
    Bad eraseblock 980 at 0x000007a80000
    Bad eraseblock 995 at 0x000007c60000
    Bad eraseblock 996 at 0x000007c80000
    Bad eraseblock 1000 at 0x000007d00000
    Bad eraseblock 1001 at 0x000007d20000
    Bad eraseblock 1002 at 0x000007d40000
    Bad eraseblock 1003 at 0x000007d60000
    Bad eraseblock 1018 at 0x000007f40000
    Bad eraseblock 1031 at 0x0000080e0000
    Bad eraseblock 1035 at 0x000008160000
    Bad eraseblock 1060 at 0x000008480000
    Bad eraseblock 1070 at 0x0000085c0000
    Bad eraseblock 1116 at 0x000008b80000
    Bad eraseblock 1118 at 0x000008bc0000
    Bad eraseblock 1129 at 0x000008d20000
    Bad eraseblock 1158 at 0x0000090c0000
    Bad eraseblock 1297 at 0x00000a220000
    Bad eraseblock 1332 at 0x00000a680000
    Bad eraseblock 1444 at 0x00000b480000
    Bad eraseblock 1452 at 0x00000b580000
    Bad eraseblock 1542 at 0x00000c0c0000
    Bad eraseblock 1648 at 0x00000ce00000
    Bad eraseblock 1649 at 0x00000ce20000
    Bad eraseblock 1650 at 0x00000ce40000
    Bad eraseblock 1651 at 0x00000ce60000
    Bad eraseblock 1652 at 0x00000ce80000
    Bad eraseblock 1703 at 0x00000d4e0000
    Bad eraseblock 1704 at 0x00000d500000
    Bad eraseblock 1705 at 0x00000d520000
    Bad eraseblock 1709 at 0x00000d5a0000
    Bad eraseblock 1714 at 0x00000d640000
    Bad eraseblock 1723 at 0x00000d760000
    Bad eraseblock 1725 at 0x00000d7a0000
    Bad eraseblock 1754 at 0x00000db40000
    Bad eraseblock 1755 at 0x00000db60000
    Bad eraseblock 1756 at 0x00000db80000
    Bad eraseblock 1757 at 0x00000dba0000
    Bad eraseblock 1761 at 0x00000dc20000
    Bad eraseblock 1786 at 0x00000df40000
    Bad eraseblock 1887 at 0x00000ebe0000
    Bad eraseblock 1926 at 0x00000f0c0000
    Bad eraseblock 1970 at 0x00000f640000
    Bad eraseblock 2015 at 0x00000fbe0000
    Bad eraseblock 2857 at 0x000016520000
    Bad eraseblock 2893 at 0x0000169a0000
    Bad eraseblock 3207 at 0x0000190e0000
    Bad eraseblock 3480 at 0x00001b300000
    Bad eraseblock 3691 at 0x00001cd60000
    Bad eraseblock 4192 at 0x000020c00000
    Bad eraseblock 4472 at 0x000022f00000
    Bad eraseblock 5585 at 0x00002ba20000
    Bad eraseblock 6159 at 0x0000301e0000
    Bad eraseblock 6425 at 0x000032320000
    Bad eraseblock 6525 at 0x000032fa0000
    Scanning device for bad blocks
    Bad eraseblock 11124 at 0x000056e80000
    Bad eraseblock 11540 at 0x00005a280000
    Bad eraseblock 13628 at 0x00006a780000
    Bad eraseblock 14581 at 0x000071ea0000
    Bad eraseblock 15008 at 0x000075400000
    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
    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
    dm365evm_enable_pca9543a
    dm365evm_enable_pca9543a, status = -121
    EVM: switch to HD imager video input
    mt9t031 1-005d: No MT9T031 chip detected, register read ffffff87
    vpfe-capture vpfe-capture: v4l2 sub device mt9t031 register fails
    No sub devices registered
    vpfe-capture: vpfe capture clocks disabled
    vpfe_register_ccdc_device: DM365 ISIF
    dm365_isif: probe of dm365_isif failed with error -22
    af major#: 252, minor# 0
    AF Driver initialized
    aew major#: 251, minor# 0
    AEW Driver initialized
    Trying to register davinci display video device.
    layer=c2166000,layer->video_dev=c2166170
    Trying to register davinci display video device.
    layer=c2166800,layer->video_dev=c2166970
    davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
    watchdog watchdog: heartbeat 60 sec
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
    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
    emac-mii: probed
    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, id=221613)
    IP-Config: Guessing netmask 255.255.0.0
    IP-Config: Complete:
         device=eth0, addr=172.16.29.156, mask=255.255.0.0, gw=255.255.255.255,
         host=172.16.29.156, domain=, nis-domain=(none),
         bootserver=255.255.255.255, rootserver=172.16.29.157, rootpath=
    Looking up port of RPC 100003/2 on 172.16.29.157
    PHY: 1:01 - Link is Up - 100/Full
    Looking up port of RPC 100005/1 on 172.16.29.157
    VFS: Unable to mount root fs via NFS, trying floppy.
    VFS: Cannot open root device "nfs" or unknown-block(2,0)
    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?)
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
    Backtrace:
    [<c002d7f0>] (dump_backtrace+0x0/0x114) from [<c0317014>] (dump_stack+0x18/0x1c)
     r7:00008000 r6:c2013000 r5:c0025808 r4:c0445dd0
    [<c0316ffc>] (dump_stack+0x0/0x1c) from [<c031706c>] (panic+0x54/0x124)
    [<c0317018>] (panic+0x0/0x124) from [<c0008fbc>] (mount_block_root+0x1e0/0x220)
     r3:00000001 r2:c2029e98 r1:c2029f60 r0:c03ae7ed
    [<c0008ddc>] (mount_block_root+0x0/0x220) from [<c00090c0>] (mount_root+0xc4/0xfc)
     r8:00000000 r7:00000000 r6:00000000 r5:c0026464 r4:00200000
    [<c0008ffc>] (mount_root+0x0/0xfc) from [<c0009268>] (prepare_namespace+0x170/0x1c8)
     r5:c0025808 r4:c04458e0
    [<c00090f8>] (prepare_namespace+0x0/0x1c8) from [<c00084bc>] (kernel_init+0xe4/0x118)
     r5:00000000 r4:c04456a0
    [<c00083d8>] (kernel_init+0x0/0x118) from [<c00420e8>] (do_exit+0x0/0x684)
     r5:00000000 r4:00000000

  • I figured out my issue.  If you notice from the boot output above, I have a lot of bad blocks in NAND flash.  Enough blocks at the front of flash are now bad on this board that I had to move my image to a different sector in flash.  It looks like the "nand erase" and "nand write" in u-boot can handle a few bad blocks, but if the entire area requested is bad it just gives up.

    I also found the instructions for updating u-boot.  So now I have a u-boot that matches the DVSDK.