]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/commitdiff
Updated readme and setup scripts.
authorJianzhong Xu <xuj@ti.com>
Fri, 31 Aug 2018 15:31:07 +0000 (11:31 -0400)
committerJianzhong Xu <xuj@ti.com>
Fri, 31 Aug 2018 15:31:07 +0000 (11:31 -0400)
installer_builder/rtsc/readme.txt
installer_builder/rtsc/setup_env.sh [new file with mode: 0755]
setup_build_env/setup_env.sh

index a46f1aff157bf0de1a394375146f8c82fcbdfec0..4ad9b51be8bfe93c1ccd129bbcc7f05d7b395919 100644 (file)
@@ -1,14 +1,6 @@
-This folder contains makefile and other files needed to create a RTSC product for PASDK. 
+This folder contains the makefile and other files needed to build the PA demo package:
 
-1. setup the following environment variables (use right paths and versions):
-export CG_TOOLS=/home/a0869574local/ti/ti-cgt-c6000_8.2.2
-export BIOS_PCKGS="/home/a0869574local/ti/bios_6_52_00_12/packages"
-export XDCROOT="/home/a0869574local/ti/xdctools_3_50_03_33_core"
-export XDAIS_PCKGS="/home/a0869574local/ti/xdais_7_24_00_04/packages"
-export DSPLIB_PCKGS="/home/a0869574local/ti/dsplib_c66x_3_4_0_0/packages"
-export EDMA3LLD_PCKGS="/home/a0869574local/ti/edma3_lld_2_12_05_30B/packages"
-export IPC_PCKGS="/home/a0869574local/ti/ipc_3_47_01_00/packages"
-export PDK_PCKGS="/home/a0869574local/ti/pdk_k2g_1_0_9/packages"
+1. setup environment variables using setup_env.sh in the same folder (use right paths and versions):
 
 2. Issue the following command from root folder of PASDK:
 make -f installer_builder/rtsc/Makefile TARGET=SOC_K2G
diff --git a/installer_builder/rtsc/setup_env.sh b/installer_builder/rtsc/setup_env.sh
new file mode 100755 (executable)
index 0000000..02995a3
--- /dev/null
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+ti_tools_path="/home/uda0869574local/ti"
+pademo_path="/home/uda0869574local/proclibs/prsdk-pa-demo"
+
+# Environment variables for PAF library make files
+export gnu_targets_arm_A15F="${ti_tools_path}/gcc-arm-none-eabi-6-2017-q1-update"
+export ti_targets_elf_C66="${ti_tools_path}/ti-cgt-c6000_8.2.2"
+export BIOS_INSTALL_DIR="${ti_tools_path}/bios_6_52_00_12"
+export XDC_INSTALL_DIR="${ti_tools_path}/xdctools_3_50_03_33_core"
+export UIA_INSTALL_DIR="${ti_tools_path}/uia_2_21_02_07"
+export IPC_INSTALL_DIR="${ti_tools_path}/ipc_3_47_02_00"
+export PDK_INSTALL_DIR="${ti_tools_path}/pdk_k2g_1_0_10"
+export EDMA3_INSTALL_DIR="${ti_tools_path}/edma3_lld_2_12_05_30C"
+export XDAIS_INSTALL_DIR="${ti_tools_path}/xdais_7_24_00_04"
+export DSPLIB_INSTALL_DIR="${ti_tools_path}/dsplib_c66x_3_4_0_0"
+
+export PAROOT="${pademo_path}"
+
+# Environment variables for PASDK make files
+export CG_TOOLS_c66x=${ti_targets_elf_C66}
+export CG_TOOLS_a15=${gnu_targets_arm_A15F}
+export BIOSROOT=${BIOS_INSTALL_DIR}
+export XDCROOT=${XDC_INSTALL_DIR}
+export IPCROOT=${IPC_INSTALL_DIR}
+export PDKROOT=${PDK_INSTALL_DIR}
+export EDMA3LLDROOT=${EDMA3_INSTALL_DIR}
+export XDAISROOT=${XDAIS_INSTALL_DIR}
+export DSPLIBROOT=${DSPLIB_INSTALL_DIR}
+
+export ROOTDIR="${pademo_path}/pasrc/paf"
+
+export PATH=${XDCROOT}:$PATH
index 9b69695225514c7f6169bb1cab29e799acd29de1..70999cda5e24613d667268121e3246ba7e62800a 100755 (executable)
@@ -27,6 +27,6 @@ export PDKROOT=${PDK_INSTALL_DIR}
 export EDMA3LLDROOT=${EDMA3_INSTALL_DIR}
 export XDAISROOT=${XDAIS_INSTALL_DIR}
 export DSPLIBROOT=${DSPLIB_INSTALL_DIR}
-export ROOTDIR="${performance_audio_path}/src/pasdk/paf"
+export ROOTDIR="${performance_audio_path}/src/pasrc/paf"
 
 export PATH=${XDC_INSTALL_DIR}:$PATH