Other Parts Discussed in Thread: CCSTUDIO, MATHLIB, MSP430WARE, TMS320C6678
I am following the instructions from the example for the BIOS MCSDK user guide (http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_User_Guide#Example_3_-_Running_from_external_memory_.28DDR.29).
I can successfully build the project when CCS is run from Windows by right clicking on the project name, and selecting “Build Project”. When I try the same from the Linux version of CCS, the build console shows the following:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/opt/ti/ccsv5/utils/bin/gmake -k all
/opt/ti/ccsv5/utils/bin/gmake -k all
Cannot run program "/opt/ti/ccsv5/utils/bin/gmake": Unknown reason
Error: Program "/opt/ti/ccsv5/utils/bin/gmake" not found in PATH
PATH=[/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games]
Error: Program "/opt/ti/ccsv5/utils/bin/gmake" is not found in PATH
PATH=[/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games]
**** Build Finished ****
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I verified that /opt/ti/ccsv5/utils/bin/gmake actually exists, and it does.
It should be noted that in step 5, when adding to the "Project->Properties->Build->C6000 linker->File Search Path" window in the Linux CCS, I used both "${TI_PDK_C6678_INSTALL_DIR}/packages/ti/platform/evmc6678l/platform_lib/lib/debug" and "/opt/ti/pdk_C6678_1_1_2_6/packages/ti/platform/evmc6678l/platform_lib/lib/debug". Neither of these work.
In the Windows CCS, I use "${TI_PDK_C6678_INSTALL_DIR}/packages/ti/platform/evmc6678l/platform_lib/lib/debug" in the "File search path". The project build succeeds.
It should also be noted that if I use "/opt/ti/ccsv5/eclipse/eclipse -noSplash -data /home/evertz/workspace_v5_3/ -application com.ti.ccstudio.apps.projectBuild -ccs.projects led_play_ddr3 -ccs.configuration Debug" from the command line, with "/opt/ti/..." in the "File search path", I get the following:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CCS headless build starting... [Thu Jun 13 13:56:34 EDT 2013]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
================================================================================
Pre processing...
================================================================================
Building...
**** Build of configuration Debug for project led_play_ddr3 ****
/opt/ti/ccsv5/utils/bin/gmake -k all
Building file: ../led_play_ddr3.cfg
Invoking: XDCtools
"/opt/ti/xdctools_3_24_05_48/xs" --xdcpath="/opt/ti/ccsv5/ccs_base;/opt/ti/bios_6_34_02_18/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6678 -r debug -c "/opt/ti/ccsv5/tools/compiler/c6000_7.4.1" "../led_play_ddr3.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring led_play_ddr3.xe66 from package/cfg/led_play_ddr3_pe66.cfg ...
Killed
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I am using the following Linux distro: Ubuntu 10.04LTS. According to http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_Getting_Started_Guide#Run_the_Installer_.26_Provide_the_installation_path, Ubuntu Linux is supported.