Can you also disable PROBE and try once more? PROBE is not supported anymore, and we have even removed it from the configurations in recent releases.
Regards, Mugdha ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kamoolkar, Mugdha Sent: Thursday, October 23, 2008 9:07 PM To: Deepak Mundra Cc: davinci-linux-open-source@linux.davincidsp.com Subject: RE: writing compiling executing arm-dsp hello world program Deepak, You can try using DSPLink 1.51 if you want. That's the current latest GA release out there. But if you are going to use it with Codec Engine also, please be sure to pick up the correct Codec Engine version that is compatible with DSPLink 1.51 GA. The release is available at: https://www-a.ti.com/downloads/sds_support/targetcontent/link/index.html In DSPLink 1.60 (coming soon), we have made several fixes and enhancements to allow users to load and start DSP with a completely non-DSPLink DSP executable, i.e. use DSPLink simply as a DSP boot-loader, if the PROC-only configuration is used. This release will be available very soon (before the end of this month). Regards, Mugdha ________________________________ From: Deepak Mundra [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 5:08 PM To: Kamoolkar, Mugdha Cc: davinci-linux-open-source@linux.davincidsp.com Subject: Re: writing compiling executing arm-dsp hello world program HI in some site i found this 1.40.xx uses dynamic configuration ($(DSPLINK)/config/all/CFG_<PLATFORM.c) instead of static configuration $(DSPLINK)/config/all/CFG_<PLATFORM.TXT) and im using 140-05 p1 version .. and there is no txt file in that directory , only .c file exist . and where can i find p2,p3,p4,p5 patch .. because i even found that 140-05P5 is present version.. Thank you On Tue, Oct 21, 2008 at 5:02 PM, Deepak Mundra <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: Hi dsp link version is dsplink_140-05p1.. The steps which i followed was 1] cd dsplink/etc/host/scripts/Linux ./dsplinkcfg The selected configuration is: GPP OS = Linux DSP OS = DspBios GPPDISTRIBUTION = davinci_mvlpro4.0 GPPOSVERSION = 2.6 DSPDISTRIBUTION = c64xxp_5.xx_linux GPPPLATFORM = Davinci DSPPLATFORM = Davinci USE_PROC = 1 USE_POOL = 0 USE_NOTIFY = 0 USE_MPCS = 0 USE_RINGIO = 0 USE_MPLIST = 0 USE_CHNL = 0 USE_MSGQ = 0 TRACE = 0 PROFILE = 0 PROBE = 1 2] run sh -f buildmodule.sh 3]cd packages/dsplink/gpp/src 4] gmake -s and also cd ackages/dsplink/gpp/src/sample/hello && gmake -s 5]cd ackages/dsplink/dsp/src && gmake -s but couldntnt buld samples because i had only enabled PROC in build config so i did cd hello && gmake -s 6] now copied gpp/export/BIN/Linux/Davinci/RELEASE/dsplinkk.ko ,, hellogpp and hello.out to board 7] on board loaded modules ../loadmodules.sh 8]./hellogpp hello.out NOw where am i missing that library link .. ? and i was not able to make packages/dsplink/dsp/src/data error was /dsplink/dsp/src/data/dsplinkdata.h", line 94: error #20: identifier "DSPLINKDATA_CTRL_PADDING" is undefined Uint16 padding[DSPLINKDATA_CTRL_PADDING] ; ^ 1 error detected in the compilation of "dsplinkdata.c". Thank you On Tue, Oct 21, 2008 at 4:13 PM, Kamoolkar, Mugdha <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: Deepak, The first scenario seems valid. But DSP_ENOTFOUND error from PROC_start indicates that DSPLink is not able to find a symbol it was looking for. Have you linked in the re-built (in PROC-only mode) dsplink.lib on DSP-side? Also, which version of DSPLink is this? The second scenario (NUM_ARGS 2) that you have given below is not valid if you are still passing NULL to args. If you say number of arguments is 2, you need to provide 2 arguments. Hence the DSP_EINVALIDARG error in PROC_load. Regards, Mugdha ________________________________ From: Deepak Mundra [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>] Sent: Tuesday, October 21, 2008 3:57 PM To: Kamoolkar, Mugdha Cc: davinci-linux-open-source@linux.davincidsp.com<mailto:davinci-linux-open-source@linux.davincidsp.com> Subject: Re: writing compiling executing arm-dsp hello world program Hi thanks for the reply enabled only proc and in hello.c file i have set #define NUM_ARGS 0 and using in PROC_Load as bellow 44 if (DSP_SUCCEEDED(status)) { 45 status = PROC_Load(ID_PROCESSOR, dspExecutable, NUM_ARGS, NULL); 46 if (DSP_FAILED (status)) { 47 printf("PROC_Load failed. Status: [0x%x]\n", (unsigned)status); 48 } else { 49 printf("PROC_Load successful\n"); 50 } 51 fflush(stdout); 52 } then im getting following error ============================================================ Entered Hello_Create() ============================================================ PROC_Setup successful PROC_Attach successful PROC_Load successful PROC_Start failed. Status: [0x8000802d] ============================================================ Leaving Hello_Create() ============================================================ Create phase failed. Status: [0x8000802d] ============================================================ Entered Hello_Delete() ============================================================ PROC_Stop() failed (output). Status: [0x8000801b] PROC_Detach() successful. PROC_Destroy successful. ============================================================ Leaving Hello_Delete() ============================================================ ============================================================ if i set #define NUM_ARGS 2 i get different error ============= Hello Test ============== ============================================================ Entered Hello_Create() ============================================================ PROC_Setup successful PROC_Attach successful PROC_Load failed. Status: [0x8000800b] ============================================================ Leaving Hello_Create() ============================================================ Create phase failed. Status: [0x8000800b] ============================================================ Entered Hello_Delete() ============================================================ PROC_Stop() failed (output). Status: [0x8000801b] PROC_Detach() successful. PROC_Destroy successful. ============================================================ Leaving Hello_Delete() ============================================================ ============================================================ On Tue, Oct 21, 2008 at 3:05 PM, Kamoolkar, Mugdha <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: Deepak, Please look through DSP/BIOS documentation on POOL module to see how POOL instances must be created in BIOS. Also, you can use DSPLink sample applications as reference: E.g.: /dsplink/dsp/src/samples/message/message_config.c static POOL_Obj pools [NUM_POOLS] = { { &SAMPLEPOOL_init, /* Init Function */ (POOL_Fxns *) &SAMPLEPOOL_FXNS, /* Pool interface functions */ SAMPLEPOOL_PARAMS, /* Pool params */ NULL /* Pool object: Set within pool impl. */ } } ; This sets up the POOL. Also look at definitions of SAMPLEPOOL_init, SAMPLEPOOL_PARAMS as defined in message_config.c and do a similar thing for your application. This configuration was not detailed at the web-site you have mentioned, so that's why you probably missed it. If you do not need POOL and want a simple hello world program, you can just enable only PROC module in configuration and try out. If you do that the POOL configuration is not required, and POOL related error will not be seen. Regards, Mugdha ________________________________ From: Deepak Mundra [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>] Sent: Tuesday, October 21, 2008 2:30 PM To: Kamoolkar, Mugdha Cc: davinci-linux-open-source@linux.davincidsp.com<mailto:davinci-linux-open-source@linux.davincidsp.com> Subject: Re: writing compiling executing arm-dsp hello world program Hi .. As mentioned in the site .. i compiled both dsp and gpp side .. and copied hellogpp and hello.out to board and also dsplink/gpp/export/BIN/Linux/Davinci/RELEASE/dsplinkk.ko Using loadmodules.sh inserted and ran "./hellogpp hello.out " .. but as i mentioned in another mail .. im getting error at POOL CONFIG .. The selected configuration is: GPP OS = Linux DSP OS = DspBios GPPDISTRIBUTION = davinci_mvlpro4.0 GPPOSVERSION = 2.6 DSPDISTRIBUTION = c64xxp_5.xx_linux GPPPLATFORM = Davinci DSPPLATFORM = Davinci USE_PROC = 1 USE_POOL = 1 USE_NOTIFY = 1 USE_MPCS = 1 USE_RINGIO = 1 USE_MPLIST = 1 USE_CHNL = 1 USE_MSGQ = 1 TRACE = 0 PROFILE = 0 PROBE = 1 Am i missing anything .. Thank you On Tue, Oct 21, 2008 at 11:41 AM, Kamoolkar, Mugdha <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: You can rebuild DSP-side: http://tiexpressdsp.com/wiki/index.php?title=Building_DSPLink Regards, Mugdha ________________________________ From: Deepak Mundra [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>] Sent: Tuesday, October 21, 2008 11:38 AM To: Kamoolkar, Mugdha Cc: davinci-linux-open-source@linux.davincidsp.com<mailto:davinci-linux-open-source@linux.davincidsp.com> Subject: Re: writing compiling executing arm-dsp hello world program Thanks for the reply ... DSP-side configuration mismatch/failure 0 -> success Positive value -> DSP-side failure code. (Uint32) -1 -> DSP-side component was not initialized. DRV configuration status [0x0] IPS configuration status [0x0] POOL configuration status [0x0] MPCS configuration status [0x0] MPLIST configuration status [0x0] MQT configuration status [0x0] DATA configuration status [0xffffffff] RINGIO configuration status [0x0] Now that makes sense after reading the trouble shooting guide .. this means DSP side i havnt enable CHNL option .. Because in GPP SIDE I have enabled it.. one thing which i can try is disabling in gpp using dsplinkcfg script But what about DSP side ? how can i enable it (or rebuild dsp) Thank you Deepak On Tue, Oct 21, 2008 at 9:31 AM, Kamoolkar, Mugdha <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: Deepak, What error did you get while running? Have you looked at this to see if your error matches any of the ones listed here: http://tiexpressdsp.com/wiki/index.php?title=Troubleshooting_DSPLink_configuration_issues Regards, Mugdha ________________________________ From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Deepak Mundra Sent: Monday, October 20, 2008 6:13 PM To: davinci-linux-open-source@linux.davincidsp.com<mailto:davinci-linux-open-source@linux.davincidsp.com> Subject: writing compiling executing arm-dsp hello world program Dear all I have i am trying to run a arm-dsp hello world program .. when i was searching i found the following link .. in which the author has written both arm side and dsp side code .. http://www.dsprelated.com/groups/c6x/show/10556.php But my problem is how to compile these ? i have all tools required for compilation.. i have also tried changing make files of sample dsplink codes and also succeeded :) but got error while running ..So want detailed easy step to compile this ..Please can any one guide me in this.. Thanks Deepak
_______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source