Avnet Electronics Marketing - Community Forum
    |   
 
Home Design Services My Account About Avnet
Reply
Contributor
kperry_idexx
Posts: 11
Registered: ‎08-22-2011
0

Problems building the SDK dsplink example

Hi

 

when I build the dsplink example, hellodsp, within the SDK I get the following errors:

 

myapps/dsplink_examples/helloDSP$ make
 Building helloDSP...
 Building helloDSP for GPP...
 Building helloDSP for DSP...
 DSP Dir is dsp...
js: "/opt/s6omapsdk/proprietary/xdctools_3_16_01/xdctools_3_16_01_27/include/utils.tci", line 947: Error: Can't load platform definition 'ti.platforms.evmOMAPL138': Error: Can't load ti.bios.tci :Error: Can't find import file: 'ti/bios/bios.tci' (not found along '/opt/s6omapsdk/proprietary/xdctools_3_16_01/xdctools_3_16_01_27/packages/ti/platforms/evmOMAPL138/;/opt/s6omapsdk/proprietary/dvsdk_2_00_00/OMAP-L138_arm_1_00_00_11/bios_5_41_02_14/packages;/opt/s6omapsdk/proprietary/dvsdk_2_00_00/OMAP-L138_arm_1_00_00_11/bios_5_41_02_14/packages/ti/bios;/opt/s6omapsdk/proprietary/dvsdk_2_00_00/OMAP-L138_arm_1_00_00_11/dsplink_linux_1_65_00_02/dsplink/dsp/inc/DspBios;/opt/s6omapsdk/proprietary/dvsdk_2_00_00/OMAP-L138_arm_1_00_00_11/dsplink_linux_1_65_00_02/dsplink/dsp/inc/DspBios/5.XX/OMAPL138GEM;/opt/s6omapsdk/proprietary/dvsdk_2_00_00/OMAP-L138_arm_1_00_00_11/dsplink_linux_1_65_00_02/dsplink/dsp/inc/DspBios/5.XX;./;/opt/s6omapsdk/proprietary/xdctools_3_16_01/xdctools_3_16_01_27/include;/opt/s6omapsdk/proprietary/xdctools_3_16_01/xdctools_3_16_01_27/packages')
make[1]: *** [helloDSPcfg.s62] Error 1
make: *** [build] Error 2


Thanks for your time

Kathryn

Avnet Employee
AlbertaBeef
Posts: 320
Registered: ‎04-16-2009
0

Re: Problems building the SDK dsplink example

[ Edited ]

Kathryn,

 

When I build the project on my Virtual Machine, I get the following:

training@training-vm:~/s6omapsdk$ `make env`
training@training-vm:~/s6omapsdk$ cd myapps/dsplink_examples/helloDSP
training@training-vm:~/s6omapsdk/myapps/dsplink_examples/helloDSP$ make
 Building helloDSP...
 Building helloDSP for GPP...
 Building helloDSP for DSP...
training@training-vm:~/s6omapsdk/myapps/dsplink_examples/helloDSP$

 

 

Are you attempting to build the project on a Linux host with cross-compiler tools ?

Are you attempting to build the project on the OMAP hardware directly ? (I have not tried this yet)

 

Regards,

 

Mario.

Contributor
kperry_idexx
Posts: 11
Registered: ‎08-22-2011
0

Re: Problems building the SDK dsplink example

Mario;

 

I am building on an ubuntu linux host.

 

Kathryn

Avnet Employee
AlbertaBeef
Posts: 320
Registered: ‎04-16-2009
0

Re: Problems building the SDK dsplink example

Kathryn,

 

On my Linux host, I have the s6omapsdk installed in the following directory:

   /home/training/s6omapsdk

 

I have a BIOS installation in the following directory:

   /home/training/bios_5_41_02_14

which contains the ti/bios/bios.tci that is used during the build of the helloDSP example.

   /home/training/bios_5_41_02_14/packages/ti/bios/bios.tci 

If I rename this file, I get the same error as you.

 

I would conclude that you have a TI package that is not installed : BIOS 5.41.02.14



Regards,

 

Mario.

Contributor
kperry_idexx
Posts: 11
Registered: ‎08-22-2011
0

Re: Problems building the SDK dsplink example

Hello Mario;

 

I checked on my system and I do have bios_5_41_02_14 located under /opt/s6omapsdk/downloads and it does contain ti/bios/bios.tci.

 

Kathryn

Contributor
kperry_idexx
Posts: 11
Registered: ‎08-22-2011
0

Re: Problems building the SDK dsplink example

Hello;

 

When building the first building the SDK it will automatically download the individual ti tools to s6omapsdk/downloads, if i specify to install the tools in another directory it accepts it but then goes on and fails because it is looking for the tool in the downloads directory as specified by the associated Makefile.  Therefore, i had to manually reinstall bios_5_41_02_14,  OMAP-L138_arm_1_00_00_11,  xdctools_3_16_01_27,  and  TI_CGT_C6000_6.1.9 to the directory that the Makefile is looking for,  $(DEVDIR)/proprietary/dvsdk_2_00_00/OMAP-L138_arm_1_00_00_11.  After manually installing the ti tools the helloDSP now builds.

 

Kathryn

Avnet Employee
AlbertaBeef
Posts: 320
Registered: ‎04-16-2009
0

Re: Problems building the SDK dsplink example

Kathryn,

 

Thank you for sharing this valuable information with the community.

 

Regards,

 

Mario.