]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blob - packages/ti/build/readme.txt
diag: sdr/sdtf_test: Fix typo error
[processor-sdk/pdk.git] / packages / ti / build / readme.txt
2 Steps to build
3 ==============
5 - Open Rules.make
7 - Edit paths for the below variables according to your system environment
9   In case of windows machine edit below paths,
10   TOOLCHAIN_PATH_A8 ?= c:/ti/ccsv5/tools/compiler/gcc-arm-none-eabi-4_7-2012q4
11   TOOLCHAIN_PATH_A9 ?= c:/ti/ccsv5/tools/compiler/gcc-arm-none-eabi-4_7-2012q4
12   TOOLCHAIN_PATH_A15 ?= c:/ti/ccsv5/tools/compiler/gcc-arm-none-eabi-4_7-2012q4
13   TOOLCHAIN_PATH_M4 ?= c:/ti/TMS470_5.1.5
14   C6X_GEN_INSTALL_PATH ?= c:/ti/c6000_7.4.2
15   PDK_INSTALL_PATH ?= c:/ti/pdk
16   BIOS_INSTALL_PATH ?= c:/ti/bios_6_41_02_41
17   XDC_INSTALL_PATH ?= c:/ti/xdctools_3_30_06_67
18   EDMA3LLD_BIOS6_INSTALLDIR ?= c:/ti/edma3_lld_02_12_01_21
20   In case of linux machine edit below paths,
21   TOOLCHAIN_PATH_A8 ?= /opt/tools/cgtools/gcc-arm-none-eabi-4_7-2012q4
22   TOOLCHAIN_PATH_A9 ?= /opt/tools/cgtools/gcc-arm-none-eabi-4_7-2012q4
23   TOOLCHAIN_PATH_A15 ?= /opt/tools/cgtools/gcc-arm-none-eabi-4_7-2012q4
24   TOOLCHAIN_PATH_M4 ?= /opt/tools/cgtools/TIARMCGT5.1.5
25   C6X_GEN_INSTALL_PATH ?= /opt/tools/cgtools/C6000_7.4.2
26   PDK_INSTALL_PATH ?= /opt/ti/pdk
27   BIOS_INSTALL_PATH ?= /opt/tools/bios6/bios_6_41_02_41
28   XDC_INSTALL_PATH ?= /opt/tools/xdc/xdctools_3_30_06_67
29   EDMA3LLD_BIOS6_INSTALLDIR ?= /opt/tools/edma3/edma3_lld_02_12_01_21
31   IMPORTANT:
32   Make sure the paths specified above DO NOT have any spaces in them.
34 - Make sure "gmake" is in your system path.
35   Typically when XDC is installed "gmake" is installed along with it and
36   it becomes part of the system path by default.
38 - Open command prompt and type the below
39   gmake -s all
41   This will clean all and build all PDK drivers as well as all PDK
42   examples
44 - TIP: Always use "-s" option with make to see user friendly prints
45        during build.
47 - Optionally before build, edit the below in Rules.make file,
48   depending on the kind of build you want to do:
50   BOARD:=
51   BUILD_PROFILE_$(CORE)?=
53   Valid values for BOARD are:
54   tda2xx-evm    - TDA2XX EVM with Si build
55   evmDRA75x     - DRA75X EVM with Si build
56   am572x-evm    - AM572X EVM with Si build
57   tda2px-evm    - TDA2PX EVM with Si build
58   tda2ex-evm    - TDA2XX EVM with Si build
59   tda2ex-eth-srv        - TDA2EX Ethernet Surround view board
60   evmDRA72x     - DRA72x EVM with Si build
61   am571x-evm    - AM571X EVM with Si build
62   tda3xx-evm    - TDA3XX EVM with Si build
63   tda3xx-rvp    - TDA3XX RVP board
64   evmDRA78x     - DRA78X EVM with Si build
65   tda3xx-evm-radar      - TDA3XX EVM with RADAR build
66   tda2xx-evm-radar      - TDA2XX EVM with RADAR build
67   tda2xx-cascade-radar  - TDA2XX EVM with RADAR build
68   tda2px-evm-radar      - TDA2PX EVM with RADAR build
69   tda3xx-ar12-booster   - TDA3XX AR12xx booster board
70   tda3xx-ar12-alps      - TDA3XX AR12xx ALPS board
71   tda3xx-ar12-rvp       - TDA3XX AR12xx RVP board
72   am65xx_evm            - AM65xx with Si build
73   j721e_sim             - J721E SIM build
74   j721e_evm             - J721E EVM build
75   j7200_evm             - J7200 EVM build
76   j7200_sim             - J7200 SIM build
77   am64x_evm             - AM64X EVM build
78   tpr12_evm             - TPR12 EVM build
80   Valid values for BUILD_PROFILE_$(CORE) are:
81   debug                 - Debug build with NO compiler optimizations
82                           and symbolic debug info included
83   release               - Release build with FULL compiler optimizations
84                           and symbolic debug info included
85   prod_release          - Production release build with FULL compiler
86                           optimizations with parameter check and asserts disabled
87 - Include or Exclude Components
88   User can include or exclude a component build by changing variables like below
89   in Rules.make. This could be used to disable any reference to a component when
90   a particular component is not present or cloned.
92   PDK_PM_INCLUDE = yes
93   PDK_RTOS_I2C_INCLUDE = yes
94   PDK_OSAL_INCLUDE = yes
95   PDK_VPS_INCLUDE = yes
97 - PACKAGE_SELECT (Supported values: all, vps-hal-only, vps-vip-only, vps-vpe-only, vps-vip-dss, vps-vip-vpe)
98   all: All libraries are built
99   vps-hal-only: Only VPS HAL and common libraries are built
100   vps-vip-only: Only VIP libraries are built
101   vps-vpe-only: Only VPE libraries are built
102   vps-dss-only: Only DSS libraries are built
103   vps-vip-dss : VIP and DSS libraries are built
104   vps-vip-vpe : VIP and VPE libraries are built
106 - The generated files are placed in the below folders,
107   Executables   - $(DEST_ROOT)/<APP_NAME>/bin/$(BOARD)/<APP_NAME>_$(CORE)_$(BUILD_PROFILE).xe$(ISA)
108   Libraries     - $(DEST_ROOT)/<MODULE_RELPATH>/lib/$(BOARD)/$(ISA)/$(BUILD_PROFILE)/*.ae$(ISA)
109   Objects       - $(DEST_ROOT)/<MODULE_RELPATH>/obj/$(BOARD)/$(ISA)/$(BUILD_PROFILE)/*.oe$(ISA)
110   XDC configuro - $(DEST_ROOT)/<APP_NAME>/obj/$(BOARD)/$(CORE)/$(BUILD_PROFILE)/<APP_NAME>_configuro/*
111   Dependancies  - $(DEST_ROOT)/<APP_NAME>/obj/$(BOARD)/$(CORE)/$(BUILD_PROFILE)/.deps/*.P
113   Make sure to do a clean build while doing the above as it may not recompile the
114   PDK libarary again.
116 - During development the below "gmake" targets can be also used be used for
117   convenience:
119   gmake -s examples         - incrementally builds PDK drivers
120                               and all examples
122   gmake -s platforms        - incrementally builds for all supported BOARDs
123   gmake -s profiles         - incrementally builds for all supported BUILD_PROFILEs
125   gmake -s all              - clean all and build all drivers, examples
126   gmake -s allall           - incrementally builds for all supported BOARDs
127                               AND BUILD_PROFILEs
129   gmake -s clean            - clean all drivers, examples
130   gmake -s examplesclean    - clean all examples ONLY
131   gmake -s platformsclean   - cleans for all supported BOARDs
132   gmake -s profilesclean    - cleans for all supported BUILD_PROFILEs
133   gmake -s allclean         - cleans for all supported BOARDs AND BUILD_PROFILEs
135   gmake -s <examplename>    - incrementally builds PDK drivers
136                               and the specific example ONLY.