See below...

Regards,

- Rob

> -----Original Message-----
> From: davinci-linux-open-source-boun...@linux.davincidsp.com 
> [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com
> ] On Behalf Of ???
> Sent: Sunday, November 01, 2009 9:35 PM
> To: Richard Williams
> Cc: davinci-linux-open-source@linux.davincidsp.com
> Subject: Re: Failed to run dsplink sample
> 
> 
> BTW:
> When I executed the "loadmodules.sh" on DM6446. I got the 
> message like this :
> 
> ==================================================================
> r...@192.168.1.14:/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 
> ==================================================================

Since I don't know your CMEM insmod parameters I can't say for sure, but the 
above message indicates that you don't have enough phys memory granted to CMEM 
to satisfy your pool geometry.  You can either:
        - change the u-boot 'bootargs' parameter mem=120M to mem=118M, which 
will avoid the "overlaps w/ kernel" messages since the kernel will then end at 
0x87600000.
        - change your CMEM insmod params geometry to fit the 8 MB given to CMEM 
when you specify phys_start=0x87800000.  When doing so, realize that each 
buffer gets rounded up to the nearest 0x1000 in size.

> 
> 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 <rkw...@lewiscounty.com>:
> > 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«Â§Ê <richard925...@gmail.com>
> > To: davinci-linux-open-source@linux.davincidsp.com
> > 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 :
> >>
> >> r...@192.168.1.14:/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 
> >> Davinci-linux-open-source@linux.davincidsp.com
> >> 
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-sourc
> >> e
> > ------- End of Original Message -------
> >
> 
> _______________________________________________
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
> 
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to