summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Pang2015-12-08 18:59:45 -0600
committerIvan Pang2015-12-08 18:59:45 -0600
commit7d6d0b9be9c878ae9be5af318eda02aa8c039e31 (patch)
treee86b8dc08f8de326adf03b0854940b8678aae52c /boot_loader/examples/srio/srioboot_ddrinit/evmc6657l
parent77464278fb377891bf3d393741dced0bdc7200c2 (diff)
downloadmcsdk-tools-7d6d0b9be9c878ae9be5af318eda02aa8c039e31.tar.gz
mcsdk-tools-7d6d0b9be9c878ae9be5af318eda02aa8c039e31.tar.xz
mcsdk-tools-7d6d0b9be9c878ae9be5af318eda02aa8c039e31.zip
c66x: added makefiles and update scripts for examples
Signed-off-by: Ivan Pang <i-pang@ti.com>
Diffstat (limited to 'boot_loader/examples/srio/srioboot_ddrinit/evmc6657l')
-rwxr-xr-x[-rw-r--r--]boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/bin/srioboot_ddrinit_elf2HBin.bat2
-rwxr-xr-x[-rw-r--r--]boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/bin/srioboot_ddrinit_elf2HBin.sh2
-rwxr-xr-xboot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/makefile150
-rwxr-xr-xboot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/objects.mk8
-rwxr-xr-xboot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/sources.mk108
-rw-r--r--boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/srioboot_ddrinit.objbin0 -> 22928 bytes
-rw-r--r--boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/srioboot_ddrinit.pp8
-rwxr-xr-xboot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/subdir_rules.mk13
-rwxr-xr-xboot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/subdir_vars.mk24
-rwxr-xr-xboot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/subdir_rules.mk6
-rwxr-xr-xboot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/subdir_vars.mk9
11 files changed, 328 insertions, 2 deletions
diff --git a/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/bin/srioboot_ddrinit_elf2HBin.bat b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/bin/srioboot_ddrinit_elf2HBin.bat
index e8635fe..b995eba 100644..100755
--- a/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/bin/srioboot_ddrinit_elf2HBin.bat
+++ b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/bin/srioboot_ddrinit_elf2HBin.bat
@@ -1,4 +1,4 @@
1set C6000_CG_DIR="C:\ti\ccsv5\tools\compiler\c6000_7.4.4" 1set C6000_CG_DIR=%C6X_GEN_INSTALL_PATH%
2set TARGET=6657 2set TARGET=6657
3set ENDIAN=little 3set ENDIAN=little
4set PATH=%PATH%;%SystemRoot%\system32;%SystemRoot%; 4set PATH=%PATH%;%SystemRoot%\system32;%SystemRoot%;
diff --git a/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/bin/srioboot_ddrinit_elf2HBin.sh b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/bin/srioboot_ddrinit_elf2HBin.sh
index faea925..a5642a2 100644..100755
--- a/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/bin/srioboot_ddrinit_elf2HBin.sh
+++ b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/bin/srioboot_ddrinit_elf2HBin.sh
@@ -1,4 +1,4 @@
1export CGT_INSTALL_DIR=~/ti/TI_CGT_C6000_7.4.4 1export CGT_INSTALL_DIR=${C6X_GEN_INSTALL_PATH}
2export TARGET=6657 2export TARGET=6657
3export ENDIAN=little 3export ENDIAN=little
4 4
diff --git a/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/makefile b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/makefile
new file mode 100755
index 0000000..d4107c9
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/makefile
@@ -0,0 +1,150 @@
1################################################################################
2# Automatically-generated file. Do not edit!
3################################################################################
4
5
6CG_TOOL_ROOT = $(C6X_GEN_INSTALL_PATH)
7
8ORDERED_OBJS += \
9"./src/srioboot_ddrinit.obj" \
10"../srioboot_helloworld.cmd" \
11$(GEN_CMDS__FLAG) \
12-l"ti.platform.evm6657l.ae66" \
13-l"ti.csl.ae66" \
14-l"libc.a" \
15
16-include ../makefile.init
17
18RM = rm
19RMDIR = rm -rf
20
21# All of the sources participating in the build are defined here
22-include sources.mk
23-include subdir_vars.mk
24-include src/subdir_vars.mk
25-include subdir_rules.mk
26-include src/subdir_rules.mk
27-include objects.mk
28
29ifneq ($(MAKECMDGOALS),clean)
30ifneq ($(strip $(S_DEPS)),)
31-include $(S_DEPS)
32endif
33ifneq ($(strip $(S_UPPER_DEPS)),)
34-include $(S_UPPER_DEPS)
35endif
36ifneq ($(strip $(S62_DEPS)),)
37-include $(S62_DEPS)
38endif
39ifneq ($(strip $(C64_DEPS)),)
40-include $(C64_DEPS)
41endif
42ifneq ($(strip $(ASM_DEPS)),)
43-include $(ASM_DEPS)
44endif
45ifneq ($(strip $(CC_DEPS)),)
46-include $(CC_DEPS)
47endif
48ifneq ($(strip $(S55_DEPS)),)
49-include $(S55_DEPS)
50endif
51ifneq ($(strip $(C67_DEPS)),)
52-include $(C67_DEPS)
53endif
54ifneq ($(strip $(CLA_DEPS)),)
55-include $(CLA_DEPS)
56endif
57ifneq ($(strip $(C??_DEPS)),)
58-include $(C??_DEPS)
59endif
60ifneq ($(strip $(CPP_DEPS)),)
61-include $(CPP_DEPS)
62endif
63ifneq ($(strip $(S??_DEPS)),)
64-include $(S??_DEPS)
65endif
66ifneq ($(strip $(C_DEPS)),)
67-include $(C_DEPS)
68endif
69ifneq ($(strip $(C62_DEPS)),)
70-include $(C62_DEPS)
71endif
72ifneq ($(strip $(CXX_DEPS)),)
73-include $(CXX_DEPS)
74endif
75ifneq ($(strip $(C++_DEPS)),)
76-include $(C++_DEPS)
77endif
78ifneq ($(strip $(ASM_UPPER_DEPS)),)
79-include $(ASM_UPPER_DEPS)
80endif
81ifneq ($(strip $(K_DEPS)),)
82-include $(K_DEPS)
83endif
84ifneq ($(strip $(C43_DEPS)),)
85-include $(C43_DEPS)
86endif
87ifneq ($(strip $(INO_DEPS)),)
88-include $(INO_DEPS)
89endif
90ifneq ($(strip $(S67_DEPS)),)
91-include $(S67_DEPS)
92endif
93ifneq ($(strip $(SA_DEPS)),)
94-include $(SA_DEPS)
95endif
96ifneq ($(strip $(S43_DEPS)),)
97-include $(S43_DEPS)
98endif
99ifneq ($(strip $(OPT_DEPS)),)
100-include $(OPT_DEPS)
101endif
102ifneq ($(strip $(PDE_DEPS)),)
103-include $(PDE_DEPS)
104endif
105ifneq ($(strip $(S64_DEPS)),)
106-include $(S64_DEPS)
107endif
108ifneq ($(strip $(C_UPPER_DEPS)),)
109-include $(C_UPPER_DEPS)
110endif
111ifneq ($(strip $(C55_DEPS)),)
112-include $(C55_DEPS)
113endif
114endif
115
116-include ../makefile.defs
117
118# Add inputs and outputs from these tool invocations to the build variables
119EXE_OUTPUTS += \
120../bin/srioboot_ddrinit_evm6657l.out \
121
122EXE_OUTPUTS__QUOTED += \
123"../bin/srioboot_ddrinit_evm6657l.out" \
124
125
126# All Target
127all: ../bin/srioboot_ddrinit_evm6657l.out
128
129# Tool invocations
130../bin/srioboot_ddrinit_evm6657l.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
131 @echo 'Building target: $@'
132 @echo 'Invoking: C6000 Linker'
133 mkdir -p ../bin
134 "$(CG_TOOL_ROOT)/bin/cl6x" -mv6600 --abi=eabi -g --define=_EVMC6657L_ --display_error_number --diag_warning=225 -z -m"../bin/srioboot_ddrinit_evm6657l.map" -i"$(CG_TOOL_ROOT)/lib" -i"$(CG_TOOL_ROOT)/include" -i"$(PDK_INSTALL_PATH)/ti/platform/evmc6657l/platform_lib/lib/debug" -i"$(PDK_INSTALL_PATH)/ti/csl/lib/c6657/c66" --reread_libs --warn_sections --xml_link_info="../bin/srioboot_ddrinit_evm6657l_linkInfo.xml" --rom_model -o "../bin/srioboot_ddrinit_evm6657l.out" $(ORDERED_OBJS)
135 @echo 'Finished building target: $@'
136 @echo ' '
137
138# Other Targets
139clean:
140 -$(RM) $(EXE_OUTPUTS__QUOTED)
141 -$(RM) "src/srioboot_ddrinit.pp"
142 -$(RM) "src/srioboot_ddrinit.obj"
143 -@echo 'Finished clean'
144 -@echo ' '
145
146.PHONY: all clean dependents
147.SECONDARY:
148
149-include ../makefile.targets
150
diff --git a/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/objects.mk b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/objects.mk
new file mode 100755
index 0000000..955a5eb
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/objects.mk
@@ -0,0 +1,8 @@
1################################################################################
2# Automatically-generated file. Do not edit!
3################################################################################
4
5USER_OBJS :=
6
7LIBS := -l"ti.platform.evm6657l.ae66" -l"libc.a"
8
diff --git a/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/sources.mk b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/sources.mk
new file mode 100755
index 0000000..4229f70
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/sources.mk
@@ -0,0 +1,108 @@
1################################################################################
2# Automatically-generated file. Do not edit!
3################################################################################
4
5O_SRCS :=
6CPP_SRCS :=
7K_SRCS :=
8LD_SRCS :=
9S67_SRCS :=
10LDS_SRCS :=
11CMD_SRCS :=
12CXX_SRCS :=
13CMD_UPPER_SRCS :=
14C43_SRCS :=
15S55_SRCS :=
16LD_UPPER_SRCS :=
17C62_SRCS :=
18S_UPPER_SRCS :=
19A_SRCS :=
20SA_SRCS :=
21C55_SRCS :=
22LDS_UPPER_SRCS :=
23C_UPPER_SRCS :=
24INO_SRCS :=
25OBJ_SRCS :=
26S62_SRCS :=
27LIB_SRCS :=
28PDE_SRCS :=
29ASM_SRCS :=
30ASM_UPPER_SRCS :=
31C++_SRCS :=
32CLA_SRCS :=
33S??_SRCS :=
34C_SRCS :=
35C67_SRCS :=
36S_SRCS :=
37S43_SRCS :=
38OPT_SRCS :=
39C64_SRCS :=
40CC_SRCS :=
41C??_SRCS :=
42S64_SRCS :=
43OBJS :=
44S_DEPS :=
45S_UPPER_DEPS :=
46S62_DEPS :=
47C64_DEPS :=
48ASM_DEPS :=
49CC_DEPS :=
50S55_DEPS :=
51C67_DEPS :=
52CLA_DEPS :=
53C??_DEPS :=
54CPP_DEPS :=
55S??_DEPS :=
56C_DEPS :=
57C62_DEPS :=
58EXE_OUTPUTS :=
59CXX_DEPS :=
60C++_DEPS :=
61ASM_UPPER_DEPS :=
62K_DEPS :=
63C43_DEPS :=
64INO_DEPS :=
65S67_DEPS :=
66SA_DEPS :=
67S43_DEPS :=
68OPT_DEPS :=
69PDE_DEPS :=
70S64_DEPS :=
71C_UPPER_DEPS :=
72C55_DEPS :=
73CPP_DEPS__QUOTED :=
74C67_DEPS__QUOTED :=
75INO_DEPS__QUOTED :=
76C??_DEPS__QUOTED :=
77S_UPPER_DEPS__QUOTED :=
78CLA_DEPS__QUOTED :=
79ASM_UPPER_DEPS__QUOTED :=
80C62_DEPS__QUOTED :=
81CXX_DEPS__QUOTED :=
82EXE_OUTPUTS__QUOTED :=
83S67_DEPS__QUOTED :=
84C_DEPS__QUOTED :=
85C_UPPER_DEPS__QUOTED :=
86OPT_DEPS__QUOTED :=
87S_DEPS__QUOTED :=
88K_DEPS__QUOTED :=
89S??_DEPS__QUOTED :=
90C64_DEPS__QUOTED :=
91C++_DEPS__QUOTED :=
92OBJS__QUOTED :=
93CC_DEPS__QUOTED :=
94S43_DEPS__QUOTED :=
95S55_DEPS__QUOTED :=
96SA_DEPS__QUOTED :=
97C55_DEPS__QUOTED :=
98PDE_DEPS__QUOTED :=
99C43_DEPS__QUOTED :=
100S62_DEPS__QUOTED :=
101ASM_DEPS__QUOTED :=
102S64_DEPS__QUOTED :=
103
104# Every subdirectory with source files must be described here
105SUBDIRS := \
106. \
107src \
108
diff --git a/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/srioboot_ddrinit.obj b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/srioboot_ddrinit.obj
new file mode 100644
index 0000000..1d2f93a
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/srioboot_ddrinit.obj
Binary files differ
diff --git a/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/srioboot_ddrinit.pp b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/srioboot_ddrinit.pp
new file mode 100644
index 0000000..4d4f88d
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/srioboot_ddrinit.pp
@@ -0,0 +1,8 @@
1src/srioboot_ddrinit.obj: ../../../../../examples/srio/srioboot_ddrinit/src/srioboot_ddrinit.c
2src/srioboot_ddrinit.obj: /home/ipang/tools/compiler/c6000_7.4.12/include/stdlib.h
3src/srioboot_ddrinit.obj: /home/ipang/tools/compiler/c6000_7.4.12/include/linkage.h
4src/srioboot_ddrinit.obj: /home/ipang/tools/compiler/c6000_7.4.12/include/stdio.h
5src/srioboot_ddrinit.obj: /home/ipang/tools/compiler/c6000_7.4.12/include/stdarg.h
6src/srioboot_ddrinit.obj: /home/ipang/tools/compiler/c6000_7.4.12/include/string.h
7src/srioboot_ddrinit.obj: /home/ipang/ti/pdk/packages/ti/platform/platform.h
8src/srioboot_ddrinit.obj: /home/ipang/tools/compiler/c6000_7.4.12/include/stdint.h
diff --git a/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/subdir_rules.mk b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/subdir_rules.mk
new file mode 100755
index 0000000..c71ef38
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/subdir_rules.mk
@@ -0,0 +1,13 @@
1################################################################################
2# Automatically-generated file. Do not edit!
3################################################################################
4
5# Each subdirectory must supply rules for building sources it contributes
6src/srioboot_ddrinit.obj: ../../../../../examples/srio/srioboot_ddrinit/src/srioboot_ddrinit.c $(GEN_OPTS) $(GEN_HDRS)
7 @echo 'Building file: $<'
8 @echo 'Invoking: C6000 Compiler'
9 "$(CG_TOOL_ROOT)/bin/cl6x" -mv6600 --abi=eabi -g --include_path="$(CG_TOOL_ROOT)/include" --include_path="$(PDK_INSTALL_PATH)/ti/platform" --include_path="$(PDK_INSTALL_PATH)" --define=_EVMC6657L_ --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="src/srioboot_ddrinit.pp" --obj_directory="src" $(GEN_OPTS__FLAG) "$<"
10 @echo 'Finished building: $<'
11 @echo ' '
12
13
diff --git a/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/subdir_vars.mk b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/subdir_vars.mk
new file mode 100755
index 0000000..a38dce5
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/src/subdir_vars.mk
@@ -0,0 +1,24 @@
1################################################################################
2# Automatically-generated file. Do not edit!
3################################################################################
4
5# Add inputs and outputs from these tool invocations to the build variables
6C_SRCS += \
7../../../../../examples/srio/srioboot_ddrinit/src/srioboot_ddrinit.c
8
9OBJS += \
10./src/srioboot_ddrinit.obj
11
12C_DEPS += \
13./src/srioboot_ddrinit.pp
14
15C_DEPS__QUOTED += \
16"src/srioboot_ddrinit.pp"
17
18OBJS__QUOTED += \
19"src/srioboot_ddrinit.obj"
20
21C_SRCS__QUOTED += \
22"../../../../../examples/srio/srioboot_ddrinit/src/srioboot_ddrinit.c"
23
24
diff --git a/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/subdir_rules.mk b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/subdir_rules.mk
new file mode 100755
index 0000000..96e2e82
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/subdir_rules.mk
@@ -0,0 +1,6 @@
1################################################################################
2# Automatically-generated file. Do not edit!
3################################################################################
4
5# Each subdirectory must supply rules for building sources it contributes
6
diff --git a/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/subdir_vars.mk b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/subdir_vars.mk
new file mode 100755
index 0000000..000f273
--- /dev/null
+++ b/boot_loader/examples/srio/srioboot_ddrinit/evmc6657l/build/subdir_vars.mk
@@ -0,0 +1,9 @@
1################################################################################
2# Automatically-generated file. Do not edit!
3################################################################################
4
5# Add inputs and outputs from these tool invocations to the build variables
6CMD_SRCS += \
7../srioboot_helloworld.cmd
8
9