Hi, I found the packages from TI's website : http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_2_00/latest/index_FDS.html
So where could I get the .deb archive packages? Is your development system DM6446 connected to the computer? Yes, I booted the system DM6446 via TFTP and used NFS file system. Is your setup correctly identifying the 6446 DSP? I followed the guide to setup system. It can be specified platform to DM6446 when building a new linux kernel and rebuilding the DVSDK. I specified it in these two steps. I also tried rebuild dsplink module. This is my configure option : $ perl dsplinkcfg.pl --platform=DAVINCI --nodsp=1 --dspcfg_0=DM6446GEMSHMEM --dspos_0=DSPBIOS5XX --gppos=MVL5G --comps=ponslrmc --legacy=1 --trace=1 --DspTskMode=1 --dspdma=1 Is your connection to the PC from the DM6446 correctly identified in the setup? Yes, the NFS worked. BTW: When I executed the "loadmodules.sh" on DM6446. I got the message like this : ================================================================== [email protected]:/opt/dvsdk/dm6446# ./loadmodules.sh CMEMK Error: CMEM phys_start (0x87600000) overlaps kernel (0x80000000 -> 0x87800000) insmod: error inserting 'cmemk.ko': -1 Invalid parameters dsplinkk: no version for "struct_module" found: kernel tainted. DSPLINK Module (1.61.03) created on Date: Apr 16 2009 Time: 18:22:23 ================================================================== It seems that CMEM module is loaded to the wrong position, but if I change the starting address of load CMEM module to the address 0x87800000, it still does not work. Here is the message : ================================================================== ioremap_nocache(0x87800000, 8388608)=0xc9000000 CMEMK Error: Failed to find a big enough free block CMEMK Error: alloc_pool failed to get contiguous area of size 1245184 CMEMK Error: Failed to alloc pool of size 1244160 and number of buffers 2 insmod: error inserting 'cmemk.ko': -1 Cannot allocate memory ================================================================== and what is the meaning of the message "dsplinkk: no version for "struct_module" found: kernel tainted.". Is there something wrong with my dsplink module? Thanks, Wei-Ting 2009/11/2 Richard Williams <[email protected]>: > richard, > > Most packages that I have seen end in .deb or something similar, rather than > .bin. > > Where did you find the .bin archive packages? > > BTW: > according to the data you supplied, the first indication of a problem is > in the DRV_initialize function at line 238. > To me, this means the function failed to initialize a device. > Is your development system DM6446 connected to the computer? > Is your setup correctly identifying the 6446 DSP? > Is your connection to the PC from the DM6446 correctly identified in the > setup? > > > R. Williams > > > > ---------- Original Message ----------- > From: ©P«Â§Ê <[email protected]> > To: [email protected] > Sent: Sun, 1 Nov 2009 20:10:13 +0800 > Subject: Failed to run dsplink sample > >> Hi all, >> >> I am trying to run the dsplink sample program (loop) on DM6446 >> platform. I followed the steps >> from "TMS320DM6446 DVEVM v2.0 Getting Started Guide", but it seemed >> something wrong. >> >> I haven't found anything useful to solve the problem. >> >> Could anyone help me to solve this problem? >> >> My development environment : Ubuntu 9.04 >> >> Here is the package I used : >> >> * bios_setuplinux_5_33_03.bin >> * dvsdk_setuplinux_2_00_00_22.bin (include dsplink-1_61_03-prebuilt >> package) >> * TI-C6x-CGT-v6.0.21.1.bin >> * mvl_5_0_0801921_demo_sys_setuplinux.bin >> * mvl_5_0_0_demo_lsp_setuplinux_02_00_00_140.bin >> >> This is the message I got : >> >> [email protected]:/opt/test# ./loopgpp /opt/test/loop.out 1024 1000 0 >> =============== Sample Application : LOOP ========== >> ==== Executing sample for DSP processor Id 0 ==== >> Entered LOOP_Create () >> Entered PROC_setup () >> linkCfg [0x0] >> Entered DRV_Initialize () >> drvObj [0x2fad0] >> arg [0x0] >> Leaving DRV_Initialize () status [0x80008008] >> >> Failure: Status:[0x80008008] File:[0x200] Line:[238] >> Leaving PROC_setup () status [0x80008008] >> PROC_setup failed. Status = [0x80008008] >> Leaving LOOP_Create () >> Entered LOOP_Delete () >> Entered CHNL_freeBuffer () >> procId [0x0] >> chnlId [0x0] >> bufArray [0x2f718] >> numBufs [0x1] >> Entered DRV_Invoke () >> drvObj [0x0] >> cmdId [0x6d06] >> arg1 [0xbe8e3c14] >> arg2 [0x0] >> Leaving DRV_Invoke () status [0x80008002] >> >> Failure: Status:[0x80008002] File:[0x201] Line:[300] >> Leaving CHNL_freeBuffer () status [0x80008002] >> CHNL_freeBuffer () failed (output). Status = [0x80008002] >> Entered CHNL_delete () >> procId [0x0] >> chnlId [0x1] >> Entered DRV_Invoke () >> drvObj [0x0] >> cmdId [0x6d02] >> arg1 [0xbe8e3c14] >> arg2 [0x0] >> Leaving DRV_Invoke () status [0x80008002] >> >> Failure: Status:[0x80008002] File:[0x201] Line:[188] >> Leaving CHNL_delete () status [0x80008002] >> CHNL_delete () failed (input). Status = [0x80008002] >> Entered CHNL_delete () >> procId [0x0] >> chnlId [0x0] >> Entered DRV_Invoke () >> drvObj [0x0] >> cmdId [0x6d02] >> arg1 [0xbe8e3c14] >> arg2 [0x0] >> Leaving DRV_Invoke () status [0x80008002] >> >> Failure: Status:[0x80008002] File:[0x201] Line:[188] >> Leaving CHNL_delete () status [0x80008002] >> CHNL_delete () failed (output). Status = [0x80008002] >> Entered PROC_stop () >> procId [0x0] >> >> Failure: Status:[0x80008002] File:[0x200] Line:[1175] >> Leaving PROC_stop () status [0x80008002] >> Entered POOL_close () >> poolId [0x0] >> Leaving POOL_close () status [0x80008000] >> Entered PROC_detach () >> procId [0x0] >> >> Failure: Status:[0x80008000] File:[0x200] Line:[670] >> Leaving PROC_detach () status [0x80008000] >> Entered PROC_destroy () >> >> Failure: Status:[0x80008000] File:[0x200] Line:[351] >> >> Failure: Status:[0x80008000] File:[0x200] Line:[435] >> Leaving PROC_destroy () status [0x80008000] >> Leaving LOOP_Delete () >> ==================================================== >> >> Many thanks, >> Wei-Ting >> >> _______________________________________________ >> Davinci-linux-open-source mailing list >> [email protected] >> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > ------- End of Original Message ------- > _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
