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.

Problem in Porting DVSDK 3.00 onto Devkit8000,

Other Parts Discussed in Thread: OMAP3530, ADS7846

Hello Sir i was able to Cross Compile DVSDK 3.00 for Devkit8000 and i was able to generate respective MLO, U-boot.bin and UImage. DVSDK is getting booted up with the following errors, i am not able to work on DSP due to the errors i am facing during boot up, but Angstron linux is working.

I have also attached the screen-shot of the errors and the boot parameters that i use while booting

I don't understand where the error is??? Is it due to my filesystem that i am booting???
or the MLO, U-boot.bin, UImage that i generated???

 

I am able work on the Angstrom Linux but not  on DSP. Even i tired using different file-systems which i got from DVSDK3.01, but in those cases even Linux is not getting booted it stays at the cmem.ko error only.

Thankyou,

Naveen Kumar.S

 

  • It is too difficult to go thru these screenshots. Suggest pasting the text from the terminal as-is.

    If I understand you right, you are using filesystem from Angstrom Linux distribution. Then you have compiled the DVSDK separately. Now you are using the same Angstrom filesystem to boot with the binaries - MLO, u-boot.bin and uImage - from the DVSDK.

    Can you confirm? Else, describe the usage in detail.

    From what I could find from 3rd screenshot - mknod isn't succcessful. This is most likely due to the difference in kernel version used for booting and the kernel version used to build these components.

    When you say you cross-compiled the DVSDK, did you cross-compile these modules as well?

  • Error in porting DVSDK onto Devkit8000. Error his "insmod: cannot insert 'dsplinkk.ko': unknown symbol in module, or unknown parameter"

    Hello Sanjeev Premi, let me explain the procedure i followed in breif.

    We have purchased DEVKIT8000 borad from TIMLL, which use Omap3530 processor. They have just a provided DVSDK Demo version which has precomplied files in it.

    We thought of porting TI DVSDK onto Devkit8000, so that we can use encoders. To port TI DVSDK onto Devkit8000, we need to generate MLO, u-boot.bin, and uImage for DEVKIT8000. When i searched how to generate and i got some patch files for Devkit8000, which has 2 patch files in it one to generate uboot.bin and another to generate uImage

    http://code.google.com/p/devkit8000-unofficial-patches/downloads/list

    Uboot patch file was for DVSDK-3.01 and uImage patch file was for DVSDK-3.00.

    In DVSDK-3.00 there was no configuration file only for Devkit 8000 so again i downloaded DVSDK-3.01 and extracted the u-boot source code which has configuration file for devkit8000 and used it. I just used the MLO file which i got in DVSDK Demo version only

    Steps i used to Rebuilt U-boot(from DVSDK 3.00)
    host $ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm distclean
    host $ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm devkit8000_config
    host $ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm
    u-boot.bin was generated without any errors.


    Steps i used to Rebuilt the Linux Kernel(from DVSDK 3.01)
    host $ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm distclean
    host $ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm omap3_devkit8000_defconfig
    host $ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm menuconfig
    host $ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm uImage modules
    uImage was generated successfully without any errors.


    Then steps i used to Rebuilt the DVSDK software for the target(from DVSDK 3.01)
    host $ cd /home/<useracct>/dvsdk/dvsdk_3_00_02_44
    host $ make check
    host $ make info
    host $ make clean
    host $ make all

    All files were generated without error.

    Then copied MLO, u-boot.bin and uImage to one partition of the memory card and nfs to another partition of the memory card, Then finally i did
    host $ make install.
    It replaced some files in the memory card as follows
    root@cedt-desktop:/home/cedt/dvsdk/dvsdk_3_00_02_44# make install

     

    Creating /media/File/opt/dvsdk/omap3530
    Installing DVSDK demos..
    make -C /home/cedt/dvsdk/dvsdk_3_00_02_44/dvsdk_demos_3_00_01_13/omap3530 install
    make[1]: Entering directory `/home/cedt/dvsdk/dvsdk_3_00_02_44/dvsdk_demos_3_00_01_13/omap3530'

    Executing make install in subdirectory decode/...
    make[2]: Entering directory `/home/cedt/dvsdk/dvsdk_3_00_02_44/dvsdk_demos_3_00_01_13/omap3530/decode'

    Installed decode binaries to /media/File/opt/dvsdk/omap3530..
    make[2]: Leaving directory `/home/cedt/dvsdk/dvsdk_3_00_02_44/dvsdk_demos_3_00_01_13/omap3530/decode'

    Executing make install in subdirectory interface/...
    make[2]: Entering directory `/home/cedt/dvsdk/dvsdk_3_00_02_44/dvsdk_demos_3_00_01_13/omap3530/interface'

    Installed interface binaries to /media/File/opt/dvsdk/omap3530..
    make[2]: Leaving directory `/home/cedt/dvsdk/dvsdk_3_00_02_44/dvsdk_demos_3_00_01_13/omap3530/interface'

    make[2]: Entering directory `/home/cedt/dvsdk/dvsdk_3_00_02_44/dvsdk_demos_3_00_01_13/data'

    Installing fonts in /media/File/opt/dvsdk/omap3530/data/fonts...

    Installing pictures in /media/File/opt/dvsdk/omap3530/data/pics...

    Installing sounds in /media/File/opt/dvsdk/omap3530/data/sounds...

    Installing sounds in /media/File/opt/dvsdk/omap3530/data/videos...
    make[2]: Leaving directory `/home/cedt/dvsdk/dvsdk_3_00_02_44/dvsdk_demos_3_00_01_13/data'
    make[1]: Leaving directory `/home/cedt/dvsdk/dvsdk_3_00_02_44/dvsdk_demos_3_00_01_13/omap3530'
    Installing clips..
    make -C clips install
    make[1]: Entering directory `/home/cedt/dvsdk/dvsdk_3_00_02_44/clips'

    Installing sounds in /media/File/opt/dvsdk/omap3530/data/sounds...

    Installing sounds in /media/File/opt/dvsdk/omap3530/data/videos...

    Installing sounds in /media/File/opt/dvsdk/omap3530/data/images...
    make[1]: Leaving directory `/home/cedt/dvsdk/dvsdk_3_00_02_44/clips'

    Copying kernel modules to target file system: /media/File/opt/dvsdk/omap3530/
    Copying cmemk.ko
    Copying dsplinkk.ko
    Copying lpm_omap3530.ko
    Copying sdmak.ko
    Copying codec servers from /home/cedt/dvsdk/dvsdk_3_00_02_44/cs1omap3530_1_00_01

    Then started Booting up Devkit8000 through Memory card.

    Boot parameters are as follows

    OMAP3 DevKit8000 # printenv
    bootdelay=3
    baudrate=115200
    ipaddr=192.168.1.177
    serverip=192.168.1.121
    gatewayip=192.168.1.1
    netmask=255.255.255.0
    ethaddr=02:fa:09:02:00:15
    bootargs=console=ttyS2,115200n8 root=/dev/mmcblk0p2 rootdelay=1 mem=99M
    bootcmd=mmc init;fatload mmc 0 82000000 uImage;bootm 82000000
    bootfile="uImage"
    stdin=serial
    stdout=serial
    stderr=serial
    dieid#=148a000400000000040365fa09020015
    ethact=dm9000

    Environment size: 389/131068 bytes

     

    OMAP3 DevKit8000 # boot
    mmc1 is available
    reading uImage

    2152300 bytes read
    ## Booting kernel from Legacy Image at 82000000 ...
       Image Name:   Linux-2.6.29-rc3-omap1
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2152236 Bytes =  2.1 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.29-rc3-omap1 (root@cedt) (gcc version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)) #1 Thu May 5 11:54:49 IST 2011
    CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387f
    CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    Machine: OMAP3 DevKit8000 Board
    Memory policy: ECC disabled, Data cache writeback
    OMAP3430 ES3.1 (full speed SGX, IVA2)
    SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 25146
    Kernel command line: console=ttyS2,115200n8 root=/dev/mmcblk0p2 rootdelay=1 mem=99M
    Clocking rate (Crystal/DPLL/MPU core): 26.0/266/500 MHz
    IVA2 clocking rate: 360 MHz
    Reprogramming SDRC
    dpll3_m2_clk rate change failed: -22
    GPMC revision 5.0
    IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts
    Total of 96 interrupts on 1 active controller
    OMAP34xx GPIO hardware version 2.5
    PID hash table entries: 512 (order: 9, 2048 bytes)
    OMAP clockevent source: GPTIMER12 at 32768 Hz
    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: 99MB = 99MB total
    Memory: 95772KB available (3964K code, 362K data, 156K init)
    Calibrating delay loop... 515.72 BogoMIPS (lpj=2015232)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    net_namespace: 520 bytes
    NET: Registered protocol family 16
    Found NAND on CS0
    Registering NAND on CS0
    omap3evmdc: Driver registration complete
    OMAP DMA hardware revision 4.0
    USB: No board-specific platform config found
    OMAP DSS rev 2.0
    OMAP DISPC rev 3.0
    OMAP VENC rev 2
    bio: create slab <bio-0> at 0
    i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
    twl4030: PIH (irq 7) chaining IRQs 368..375
    twl4030: power (irq 373) chaining IRQs 376..383
    twl4030: gpio (irq 368) chaining IRQs 384..401
    i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
    i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
    SCSI subsystem initialized
    twl4030_usb twl4030_usb: Initialized TWL4030 USB module
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    musb_hdrc: version 6.0, musb-dma, host, debug=0
    musb_hdrc: USB Host mode controller at d80ab000 using DMA, IRQ 92
    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: 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
    NetWinder Floating Point Emulator V0.97 (double precision)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 187
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    io scheduler deadline registered
    io scheduler cfq registered
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
    serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
    serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
    console [ttyS2] enabled
    brd: module loaded
    loop: module loaded
    dm9000 Ethernet Driver, V1.31
    eth0: dm9000a at c68ae000,c68b2400 IRQ 185 MAC: 00:11:22:33:44:55 (chip)
    Linux video capture interface: v2.00
    i2c /dev entries driver
    Driver 'sd' needs updating - please use bus_type methods
    omap2-nand driver initializing
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xb1 (Micron NAND 128MiB 1,8V 16-bit)
    cmdlinepart partition parsing not available
    Creating 5 MTD partitions on "omap2-nand":
    0x000000000000-0x000000080000 : "X-Loader"
    0x000000080000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x000000680000 : "Kernel"
    0x000000680000-0x000008000000 : "File System"
    usbmon: debugfs is not available
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
    ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 3 ports detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    udc: OMAP UDC driver, version: 4 October 2004 (iso) (dma)
    input: omap_twl4030keypad as /class/input/input0
    input: gpio-keys as /class/input/input1
    ads7846 spi2.0: touchscreen, irq 187
    input: ADS784x Touchscreen as /class/input/input2
    twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0
    twl4030_rtc twl4030_rtc: Power up reset detected.
    twl4030_rtc twl4030_rtc: Enabling TWL4030-RTC.
    Registered led device: led1
    Registered led device: led2
    Registered led device: ledB
    Registered led device: led3
    usbcore: registered new interface driver usbhid
    usbhid: v2.6:USB HID core driver
    Advanced Linux Sound Architecture Driver Version 1.0.19.
    No device for DAI twl4030
    No device for DAI twl4030 Voice
    No device for DAI omap-mcbsp-dai-0
    No device for DAI omap-mcbsp-dai-1
    No device for DAI omap-mcbsp-dai-2
    No device for DAI omap-mcbsp-dai-3
    No device for DAI omap-mcbsp-dai-4
    TWL4030 Audio Codec init
    asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
    ALSA device list:
      #0: omap3evm (twl4030)
    TCP cubic registered
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
    Console: switching to colour frame buffer device 60x34
    Display already enabled
    Display already enabled
    Buffer Size = 3686400
    omap_vout: registered and initialized            video device 0 [v4l2]
    display->updated
    twl4030_rtc twl4030_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    Waiting 1sec before mounting root device...
    mmc0: new SD card at address aaaa
    mmcblk0: mmc0:aaaa SU02G 1.84 GiB
     mmcblk0: p1 p2
    kjournald starting.  Commit interval 5 seconds
    EXT3 FS on mmcblk0p2, internal journal
    EXT3-fs: recovery complete.
    EXT3-fs: mounted filesystem with ordered data mode.
    VFS: Mounted root (ext3 filesystem) on device 179:2.
    Freeing init memory: 156K
    udevd version 124 started
    eth0: link down
    eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
    INIT: Entering runlevel: 5
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    /etc/rc5.d/S99omap-demo: line 3: can't create /sys/devices/platform/omapfb/sleep_timeout: nonexistent directory
    CMEMK module: built on May 23 2011 at 14:10:16
      Reference Linux version 2.6.29
      File /home/cedt/dvsdk/dvsdk_3_00_02_44/linuxutils_2_24_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
    ioremap_nocache(0x86300000, 16777216)=0xc9000000
    allocated heap buffer 0xc9000000 of size 0x22000
    cmem initialized 7 pools between 0x86300000 and 0x87300000
    dsplinkk: disagrees about version of symbol __class_create
    dsplinkk: Unknown symbol __class_create
    dsplinkk: disagrees about version of symbol class_destroy
    dsplinkk: Unknown symbol class_destroy
    dsplinkk: disagrees about version of symbol set_user_nice
    dsplinkk: Unknown symbol set_user_nice
    dsplinkk: disagrees about version of symbol wake_up_process
    dsplinkk: Unknown symbol wake_up_process
    dsplinkk: disagrees about version of symbol dma_alloc_coherent
    dsplinkk: Unknown symbol dma_alloc_coherent
    dsplinkk: disagrees about version of symbol device_create
    dsplinkk: Unknown symbol device_create
    dsplinkk: disagrees about version of symbol dma_free_coherent
    dsplinkk: Unknown symbol dma_free_coherent
    dsplinkk: disagrees about version of symbol device_destroy
    dsplinkk: Unknown symbol device_destroy
    insmod: cannot insert 'dsplinkk.ko': unknown symbol in module, or unknown parameter
    BusyBox v1.13.2 (2009-04-14 20:13:58 EDT) multi-call binary

    Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR

    Create a special file (block, character, or pipe)

    Options:
        -m    Create the special file using the specified mode (default a=rw)
    TYPEs includelpm_omap3530: Unknown symbol IPS_notify
    :
        b:    Make a block device
        c olpm_omap3530: Unknown symbol IPS_register
    r u:    Make a character device
        plpm_omap3530: Unknown symbol IPS_unregister
    :    Make a named pipe (MAJOR and Mlpm_omap3530: Unknown symbol LDRV_PROC_setState
    INOR are ignored)

    lpm_omap3530: Unknown symbol LDRV_PROC_getState
    lpm_omap3530: Unknown symbol PMGR_PROC_getSymbolAddress
    insmod: cannot insert 'lpm_omap3530.ko': unknown symbol in module, or unknown parameter
    SDMAK module: built on May 23 2011 at 14:10:18
      Reference Linux version 2.6.29
      File /home/cedt/dvsdk/dvsdk_3_00_02_44/linuxutils_2_24_02/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
    /opt/dvsdk/omap3530/interface: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

    .-------.                                          
    |       |                  .-.                     
    |   |   |-----.-----.-----.| |   .----..-----.-----.
    |       |     | __  |  ---'| '--.|  .-'|     |     |
    |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
    '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                    -'  |
                    '---'

    The Angstrom Distribution arago ttyS2

    Arago 2009.03 arago ttyS2

    arago login: root
    root@arago:~# cd ../..
    root@arago:/# ls
    bin         etc         linuxrc     mnt         sbin        tmp
    boot        home        lost+found  opt         srv         usr
    dev         lib         media       proc        sys         var
    root@arago:/#


    Question1: How to solve this DSP Link error?
    Question2: In latest DVSDK i.e 4.01 version, there is no configuration file provided for Devkit8000 to generate uImage.
    Question3: Is there any precompiled images for Devkit 8000 so that i can just use it for booting?

    Thankyou,
    Naveen Kumar.S

     

     

     

     

  • Question1: How to solve this DSP Link error?

    Your problem starts with this error:
    dsplinkk: disagrees about version of symbol __class_create
    Can you reconfirm that all the dsplink modules were actually build when you did "make all" in the dvsdk dir? Start by comparing the timestamp for the modules.
    I do notice that cmemk was successfully inserted.
    Question2: In latest DVSDK i.e 4.01 version, there is no configuration file provided for Devkit8000 to generate uImage.
    The linux kernel included in the SDK is validated on specific boards. These boards are listed in the release notes corresponding to each release.
    During development no code is removed. Existing code (at defined baseline) is improved and hardened for specific boards. If a config file exists in the chosen baseline, it continues to exist.
    Now, if you notice, the configuration file for devkit8000 - omap3_devkit8000_defconfig - came from the patch you downloaded from http://code.google.com/p/devkit8000-unofficial-patches/downloads/list.
    Question3: Is there any pre-compiled images for Devkit 8000 so that i can just use it for booting?
    If you are looking for pre-compiled DVSDK built with Devkit8000 support, possibility is very low - considering the fact that you had to apply additional patches to get uboot and kernel built.
    However, if any one else on this community has built and is willing to share, you may have to wait for their response.

  • Thankyou Sanjeev Sir for your replays,

    Instead of doing "make all", i searched for "make help" then i got few more commands like
        dsplink                  : Configure and build DSP Link for omap3530 ARM and DSP
        dsplink_arm         : Configure and build DSP Link for omap3530 ARM
        dsplink_dsp          : Configure and build DSP Link for omap3530 DSP
        dsplink_samples : Build DSP Link ARM and DSP sample applications for omap3530
        dsplink_clean       : Remove generated DSP Link files@echo

    When i used these commands i got few errors. I have attached all the files

    8267.dsplink.txt

    6153.dsplink_arm.txt

    3005.dsplink_dsp.txt

    4572.dsplink_samples.txt


    Error was generated when i executed
    host $ make dsplink
    gmake[2]: *** [drv_api.c.deb] Error 1
    gmake[2]: Leaving directory `/home/snk/dvsdk/dvsdk_3_00_02_44/dsplink_1_61_03/packages/dsplink/gpp/src/api/Linux'
    gmake[1]: *** [objdeb] Error 2
    gmake[1]: Leaving directory `/home/snk/dvsdk/dvsdk_3_00_02_44/dsplink_1_61_03/packages/dsplink/gpp/src/api'
    make: *** [dsplink_arm] Error 2


    host $ make dsplink_arm
    drv_api.c:61:22: error: asm/page.h: No such file or directory
    gmake[2]: *** [drv_api.c.deb] Error 1
    gmake[2]: Leaving directory `/home/snk/dvsdk/dvsdk_3_00_02_44/dsplink_1_61_03/packages/dsplink/gpp/src/api/Linux'
    gmake[1]: *** [objdeb] Error 2
    gmake[1]: Leaving directory `/home/snk/dvsdk/dvsdk_3_00_02_44/dsplink_1_61_03/packages/dsplink/gpp/src/api'
    make: *** [dsplink_arm] Error 2

    host $ make dsplink_samples
    arm-none-linux-gnueabi-gcc: /home/snk/dvsdk/dvsdk_3_00_02_44/dsplink_1_61_03/packages/dsplink/gpp/BUILD/EXPORT/DEBUG/dsplink.lib: No such file or directory
    gmake[3]: *** [loopgpp.deb] Error 1
    gmake[3]: Leaving directory `/home/snk/dvsdk/dvsdk_3_00_02_44/dsplink_1_61_03/packages/dsplink/gpp/src/samples/loop'
    gmake[2]: *** [trgdeb] Error 2
    gmake[2]: Leaving directory `/home/snk/dvsdk/dvsdk_3_00_02_44/dsplink_1_61_03/packages/dsplink/gpp/src/samples/loop'
    gmake[1]: *** [loop.trgdeb] Error 2
    gmake[1]: Leaving directory `/home/snk/dvsdk/dvsdk_3_00_02_44/dsplink_1_61_03/packages/dsplink/gpp/src/samples'
    make: *** [dsplink_samples] Error 2

    but no error generated when i executed
    host $ make dsplink_dsp

    but no errors was generated when i executed "make all".

     

    Question1: Can i what these errors mean, how to fix these errors?

     

    Question2: In latest DVSDK i.e 4.01 version, there is no configuration file provided for Devkit8000 to generate uImage.

    The linux kernel included in the SDK is validated on specific boards. These boards are listed in the release notes corresponding to each release.
    During development no code is removed. Existing code (at defined baseline) is improved and hardened for specific boards. If a config file exists in the chosen baseline, it continues to exist.
    Now, if you notice, the configuration file for devkit8000 - omap3_devkit8000_defconfig - came from the patch you downloaded from http://code.google.com/p/devkit8000-unofficial-patches/downloads/list.

    Question2: Well even in DVSDK 3.00 version also there was no configuration file for devkit8000, I got this configuration file from the patch i downloaded.
    Can i use the same configuration file for DVSDK-4.01, as the linux version in both DVSDK 3.00 and DVSDK 4.01 is different?? Is any modification need to be incorporated to this configuration file to suit for DVSDK-4.01??

     

    Thankyou,
    Naveen Kumar.S

     

     

  • You can always follow leads from the error messages.

    drv_api.c:61:22: error: asm/page.h: No such file or directory

    In your build log: -I/home/snk/dvsdk/dvsdk_3_00_02_44/dsplink_1_61_03/packages/dsplink/gpp/inc/sys/Linux/2.6.18

    File asm/page.h was removed in one of the kernel versions around this time. So I guess you can try removing the line that includes asm/page.h and see if it makes any difference.

  • Thankyou Sanjeev Premi,

    As you said, i commented the line which includes asm/page.h, then executed
    host $ make dsplink,
    no errors where generated.

    Then once  again  exectued
    host $ make all
    host $ make install,

    When i did make install it replaced lot of files in the memory card.
    Then Booted DVSDK with memory card, there was no errors with respect to cmem, dsplink. But i got one error in the last. I have attached the log file.
    4087.Error.txt

    When everything booted, i used to get this,
    Demo interface started at level 0.
                                  
        omapfb omapfb: enable overlay failed

    Then run ./loadmodule.sh scprit, successfully, but when i do

    ./decode -y 1 -O lcd -v data/videos/davincieffect_ntsc_1.m4v

    Decode demo started.
    Error: Failed to create Cpu Object


    Question1: How to solve this Failed to create CPU Object
    Question2: Is this error omapfb: enable overlay failed? Why did i got this error? How to solve it

     

    Thankyou,
    Naveen Kumar.S

  • Thankyou Sanjeev, for the link,

    Well i had gone through the link and created u-boot.bin & uImage as per the steps specified. Even Installed DVSDK 3.00 as per the steps specified in the link.

    Now every thing is booting up properly.
    But the problem is when i run ./decode -y 1 -O lcd -v data/videos/davincieffect_ntsc_1.m4v

    Decode Demo started.
    Error: Failed to create CPU Object.

    It hangs at this point.

    Question1: We are not able to interpret what the error is? Why the error is?


    Question2:In DVSDK 3.00 version to build uImage, there was no configuration file for devkit8000, I got this configuration file from the patch i downloaded.
    Can i use the same configuration file for DVSDK-4.01, as the linux version in both DVSDK 3.00 and DVSDK 4.01 is different?? Is any modification need to be incorporated to this configuration file to suit for DVSDK-4.01??


    I tried to use the same configuration file which i used for DVSDK 3.00 even in DVSDK4.01 but we got errors during compliation. I have also attached the error.

    arm-none-linux-gnueabi-ld: no machine record defined
    arm-none-linux-gnueabi-ld: no machine record defined
    arch/arm/mach-omap2/built-in.o: In function `omap2_clk_iva_init_to_idle':
    /home/cedt/ti-dvsdk_omap3530-evm_4_01_00_09/psp/linux-2.6.32-psp03.00.01.06/arch/arm/mach-omap2/clock34xx.c:428: undefined reference to `omap3_iva_idle'
    make: *** [.tmp_vmlinux1] Error 1