diff options
author | Buddy Liong | 2014-11-11 15:34:43 -0600 |
---|---|---|
committer | Buddy Liong | 2014-11-19 11:44:50 -0600 |
commit | 3b9d689f23e54ddf8c157643e50dd45709890fbd (patch) | |
tree | 0e3a2eef212a89df6cf9526f45fb17aa354dd93b | |
parent | 02907e6c0b25f3abbb90f762681a9b13abe29477 (diff) | |
download | hardware-ti-libdce-3b9d689f23e54ddf8c157643e50dd45709890fbd.tar.gz hardware-ti-libdce-3b9d689f23e54ddf8c157643e50dd45709890fbd.tar.xz hardware-ti-libdce-3b9d689f23e54ddf8c157643e50dd45709890fbd.zip |
Integration based on IPC 3.30.01.12
Integration with IPC 3.30.01.12 requires build tool update on
XDC tool version to 3_30_xx_xx. Using the latest XDC Tools of
3_30_05_60_core
Copying the header files used from 3_30_05_60 version.
Change-Id: I648bfa945bcc0d8a43b4653d8f303cd9c18ee03f
Signed-off-by: Buddy Liong <buddy.budiono@ti.com>
-rw-r--r-- | README | 36 | ||||
-rw-r--r-- | packages/xdctools/gnu/targets/std.h | 7 | ||||
-rw-r--r-- | packages/xdctools/xdc/std.h | 4 |
3 files changed, 26 insertions, 21 deletions
@@ -23,6 +23,7 @@ This ReadMe file comprises: | |||
23 | ########################### For QNX ########################### | 23 | ########################### For QNX ########################### |
24 | 24 | ||
25 | Exporting QNX variables: | 25 | Exporting QNX variables: |
26 | ## FOR QNX 6.5.0 SP1 SDP ## | ||
26 | export QNX_ROOT=/opt/qnx650 | 27 | export QNX_ROOT=/opt/qnx650 |
27 | export QNX_HOST=${QNX_ROOT}/host/linux/x86 | 28 | export QNX_HOST=${QNX_ROOT}/host/linux/x86 |
28 | export LD_LIBRARY_PATH=${QNX_HOST}/usr/lib | 29 | export LD_LIBRARY_PATH=${QNX_HOST}/usr/lib |
@@ -31,23 +32,15 @@ export MAKEFLAGS=-I${QNX_TARGET}/usr/include | |||
31 | export QNX_CONFIGURATION=/etc/qnx | 32 | export QNX_CONFIGURATION=/etc/qnx |
32 | export QNX_JAVAHOME=${QNX_ROOT}/_jvm | 33 | export QNX_JAVAHOME=${QNX_ROOT}/_jvm |
33 | export PATH=${QNX_HOST}/usr/bin:${PATH}:${QNX_CONFIGURATION}/bin | 34 | export PATH=${QNX_HOST}/usr/bin:${PATH}:${QNX_CONFIGURATION}/bin |
34 | export QNX_USERNAME=<registered email-id at QNX> //not important | 35 | |
35 | eval `qconfig -n "QNX Software Development Platform 6.5.0" -e` | 36 | ## FOR QNX 6.6.0 SDP ## |
36 | 37 | export QNX_ROOT=/opt/qnx660 | |
37 | If previous eval doesn't work, that is it doesn't output the following: | 38 | export QNX_HOST=${QNX_ROOT}/host/linux/x86 |
38 | " | 39 | export LD_LIBRARY_PATH=${QNX_HOST}/usr/lib |
39 | export QNX_HOST="/opt/qnx650/host/linux/x86"; | 40 | export QNX_TARGET=${QNX_ROOT}/target/qnx6 |
40 | export QNX_TARGET="/opt/qnx650/target/qnx6"; | 41 | export MAKEFLAGS=-I${QNX_TARGET}/usr/include |
41 | export PATH="/opt/qnx650/host/linux/x86/usr/bin:/opt/qnx650/host/linux/x86/bin:/opt/qnx650/host/ | 42 | export QNX_CONFIGURATION=/opt/qnx660/.qnx |
42 | linux/x86/sbin:/opt/qnx650/host/linux/x86/usr/sbin:/opt/qnx650/host/linux/x86/usr/photon/appbuilder: | 43 | export PATH=${QNX_HOST}/usr/bin:${PATH}:${QNX_CONFIGURATION}/bin |
43 | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/etc/qnx/bin:/etc/qnx/bin: | ||
44 | /opt/qnx650:/etc/qnx/bin:/etc/qnx/bin:/etc/qnx/bin:/etc/qnx/bin"; | ||
45 | export LD_LIBRARY_PATH="/opt/qnx650/host/linux/x86/usr/lib"; | ||
46 | export MAKEFLAGS="-I/opt/qnx650/target/qnx6/usr/include"; | ||
47 | " | ||
48 | |||
49 | then try: | ||
50 | /opt/qnx650/host/linux/x86/usr/bin/qconfig -n "QNX Software Development Platform 6.5.0" -e | ||
51 | 44 | ||
52 | Exporting LIBDCE variables: | 45 | Exporting LIBDCE variables: |
53 | export IPCHEADERS=<path to IPC Headers> | 46 | export IPCHEADERS=<path to IPC Headers> |
@@ -61,6 +54,13 @@ $(IPCHEADERS)/usr/include/ti/ipc/mm | |||
61 | $(IPCHEADERS)/usr/include/ti/shmemallocator | 54 | $(IPCHEADERS)/usr/include/ti/shmemallocator |
62 | $(IPCHEADERS)/usr/include/ | 55 | $(IPCHEADERS)/usr/include/ |
63 | 56 | ||
57 | To turn on DEBUG: | ||
58 | Update common.mk | ||
59 | From: | ||
60 | CCFLAGS+=-O2 -DBUILDOS_QNX=1 -DDCE_DEBUG_ENABLE=1 -DDCE_DEBUG_LEVEL=1 | ||
61 | To: | ||
62 | CCFLAGS+=-O2 -DBUILDOS_QNX=1 -DDCE_DEBUG_ENABLE=1 -DDCE_DEBUG_LEVEL=3 | ||
63 | |||
64 | Building: | 64 | Building: |
65 | make -f Makefile.qnx install | 65 | make -f Makefile.qnx install |
66 | 66 | ||
@@ -411,7 +411,7 @@ If (BUILDOS_LINUX) { | |||
411 | ************ Version Info of Headers included in packages folder *********** | 411 | ************ Version Info of Headers included in packages folder *********** |
412 | 412 | ||
413 | Tools: | 413 | Tools: |
414 | XDC version : xdctools_3_25_06_96 | 414 | XDC version : xdctools_3_30_05_60_core |
415 | CE version : codec_engine_3_24_00_08 | 415 | CE version : codec_engine_3_24_00_08 |
416 | XDAIS version: xdais_7_24_00_04 | 416 | XDAIS version: xdais_7_24_00_04 |
417 | FC version: framework_components_3_24_02_15 | 417 | FC version: framework_components_3_24_02_15 |
diff --git a/packages/xdctools/gnu/targets/std.h b/packages/xdctools/gnu/targets/std.h index 23c2e25..4301831 100644 --- a/packages/xdctools/gnu/targets/std.h +++ b/packages/xdctools/gnu/targets/std.h | |||
@@ -17,6 +17,11 @@ | |||
17 | #ifndef gnu_targets_STD_ | 17 | #ifndef gnu_targets_STD_ |
18 | #define gnu_targets_STD_ | 18 | #define gnu_targets_STD_ |
19 | 19 | ||
20 | /* allow _TI_STD_TYPES like 'Uns' and 'Uint8' */ | ||
21 | #ifndef xdc__deprecated_types | ||
22 | #define xdc__deprecated_types | ||
23 | #endif | ||
24 | |||
20 | /* include target-specific "portable" macros */ | 25 | /* include target-specific "portable" macros */ |
21 | #if defined(xdc_target_name__) & !defined(xdc_target_macros_include__) | 26 | #if defined(xdc_target_name__) & !defined(xdc_target_macros_include__) |
22 | #include xdc__local_include(xdc_target_name__) | 27 | #include xdc__local_include(xdc_target_name__) |
@@ -76,7 +81,7 @@ typedef xdc_IArg xdc_Arg; /* deprecated, but compatible with BIOS 5.x */ | |||
76 | #endif /* gnu_targets_STD_ */ | 81 | #endif /* gnu_targets_STD_ */ |
77 | 82 | ||
78 | /* | 83 | /* |
79 | * @(#) gnu.targets; 1, 0, 1,630; 12-19-2013 15:12:00; /db/ztree/library/trees/xdctargets/xdctargets-g41x/src/ xlibrary | 84 | * @(#) gnu.targets; 1, 0, 1,672; 3-17-2014 16:49:45; /db/ztree/library/trees/xdctargets/xdctargets-h18x/src/ xlibrary |
80 | 85 | ||
81 | */ | 86 | */ |
82 | 87 | ||
diff --git a/packages/xdctools/xdc/std.h b/packages/xdctools/xdc/std.h index c965d08..848c527 100644 --- a/packages/xdctools/xdc/std.h +++ b/packages/xdctools/xdc/std.h | |||
@@ -240,7 +240,7 @@ typedef xdc_UInt16 UInt16; | |||
240 | typedef xdc_UInt32 UInt32; | 240 | typedef xdc_UInt32 UInt32; |
241 | 241 | ||
242 | /* DEPRECATED Aliases */ | 242 | /* DEPRECATED Aliases */ |
243 | #ifndef xdc__strict | 243 | #if !defined(xdc__strict) && defined(xdc__deprecated_types) |
244 | #define _TI_STD_TYPES | 244 | #define _TI_STD_TYPES |
245 | 245 | ||
246 | /* xdc_Arg is defined only in ti/targets/std.h; use IArg and UArg instead */ | 246 | /* xdc_Arg is defined only in ti/targets/std.h; use IArg and UArg instead */ |
@@ -349,6 +349,6 @@ typedef xdc_Bits64 Bits64; | |||
349 | 349 | ||
350 | #endif /* xdc_std__include */ | 350 | #endif /* xdc_std__include */ |
351 | /* | 351 | /* |
352 | * @(#) xdc; 1, 1, 1,443; 12-19-2013 19:53:01; /db/ztree/library/trees/xdc/xdc-z63x/src/packages/ | 352 | * @(#) xdc; 1, 1, 1,476; 3-20-2014 17:05:02; /db/ztree/library/trees/xdc/xdc-A32x/src/packages/ |
353 | */ | 353 | */ |
354 | 354 | ||