Merge branch 'release/CORESDK_07.01.00' of ssh://bitbucket.itg.ti.com/processor-sdk...
[processor-sdk/pdk.git] / packages / ti / boot / sbl / sbl_component.mk
1 #
2 # Copyright (c) 2018, Texas Instruments Incorporated
3 # All rights reserved.
4 #
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions
7 # are met:
8 #
9 # *  Redistributions of source code must retain the above copyright
10 #    notice, this list of conditions and the following disclaimer.
11 #
12 # *  Redistributions in binary form must reproduce the above copyright
13 #    notice, this list of conditions and the following disclaimer in the
14 #    documentation and/or other materials provided with the distribution.
15 #
16 # *  Neither the name of Texas Instruments Incorporated nor the names of
17 #    its contributors may be used to endorse or promote products derived
18 #    from this software without specific prior written permission.
19 #
20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22 # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30 # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 #
33 # File: sbl_component.mk
34 #       This file is component include make file of SBL.
35 # List of variables set in this file and their purpose:
36 # <mod>_RELPATH        - This is the relative path of the module, typically from
37 #                        top-level directory of the package
38 # <mod>_PATH           - This is the absolute path of the module. It derives from
39 #                        absolute path of the top-level directory (set in env.mk)
40 #                        and relative path set above
41 # <mod>_INCLUDE        - This is the path that has interface header files of the
42 #                        module. This can be multiple directories (space separated)
43 # <mod>_PKG_LIST       - Names of the modules (and sub-modules) that are a part
44 #                        part of this module, including itself.
45 # <mod>_BOARD_DEPENDENCY - "yes": means the code for this module depends on
46 #                             platform and the compiled obj/lib has to be kept
47 #                             under <platform> directory
48 #                             "no" or "" or if this variable is not defined: means
49 #                             this module has no platform dependent code and hence
50 #                             the obj/libs are not kept under <platform> dir.
51 # <mod>_CORE_DEPENDENCY     - "yes": means the code for this module depends on
52 #                             core and the compiled obj/lib has to be kept
53 #                             under <core> directory
54 #                             "no" or "" or if this variable is not defined: means
55 #                             this module has no core dependent code and hence
56 #                             the obj/libs are not kept under <core> dir.
57 # <mod>_APP_STAGE_FILES     - List of source files that belongs to the module
58 #                             <mod>, but that needs to be compiled at application
59 #                             build stage (in the context of the app). This is
60 #                             primarily for link time configurations or if the
61 #                             source file is dependent on options/defines that are
62 #                             application dependent. This can be left blank or
63 #                             not defined at all, in which case, it means there
64 #                             no source files in the module <mod> that are required
65 #                             to be compiled in the application build stage.
66 #
67 ifeq ($(sbl_component_make_include), )
69 sbl_BOARDLIST = am65xx_evm am65xx_idk j721e_evm j7200_evm am64x_evm tpr12_evm tpr12_qt
71 sbl_SOCLIST = am65xx j721e j7200 am64x tpr12
73 am65xx_smp_CORELIST := mcu1_0 mpu1_0 mpu2_0
74 sbl_am65xx_CORELIST := mcu1_0 mcu1_1 mpu1_0 mpu1_1 mpu2_0 mpu2_1
75 am65xx_LASTCORE := $(word $(words $(sbl_am65xx_CORELIST)), $(sbl_am65xx_CORELIST))
77 j721e_smp_CORELIST := mcu1_0 mcu2_0 mcu3_0 mpu1_0
78 sbl_j721e_CORELIST := mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1 mpu1_0 mpu1_1
79 j721e_LASTCORE := $(word $(words $(sbl_j721e_CORELIST)), $(sbl_j721e_CORELIST))
81 j7200_smp_CORELIST := mcu1_0 mcu2_0 mpu1_0
82 sbl_j7200_CORELIST := mcu1_0 mcu1_1 mcu2_0 mcu2_1 mpu1_0 mpu1_1
83 j7200_LASTCORE := $(word $(words $(sbl_j7200_CORELIST)), $(sbl_j7200_CORELIST))
85 am64x_smp_CORELIST := mcu1_0 mcu2_0 mpu1_0
86 sbl_am64x_CORELIST := mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mpu1_0 mpu1_1
87 am64x_LASTCORE := $(word $(words $(sbl_am64x_CORELIST)), $(sbl_am64x_CORELIST))
89 sbl_tpr12_CORELIST := mcu1_0 mcu1_1 c66xdsp_1
90 tpr12_LASTCORE := $(word $(words $(sbl_tpr12_CORELIST)), $(sbl_tpr12_CORELIST))
93 sbl_DISABLE_PARALLEL_MAKE = yes
94 ############################
95 # sbl package
96 # List of components included under sbl
97 # The components included here are built and will be part of sbl
98 ############################
100 ifeq ($(SOC), am64x)
101 sbl_LIB_LIST = sbl_lib_ospi_nondma sbl_lib_cust sbl_lib_mmcsd sbl_lib_uart
102 sbl_LIB_LIST += sbl_lib_mmcsd_hlos sbl_lib_ospi_nondma_hlos
103 else
104   ifeq ($(SOC), j7200)
105     sbl_LIB_LIST = sbl_lib_mmcsd sbl_lib_mmcsd_hlos sbl_lib_ospi sbl_lib_ospi_hlos sbl_lib_uart sbl_lib_cust
106   else
107         ifeq ($(SOC), tpr12)
108       sbl_LIB_LIST = sbl_lib_uart
109       sbl_LIB_LIST += sbl_lib_qspi sbl_lib_qspi_nondma
110         else
111       sbl_LIB_LIST = sbl_lib_mmcsd sbl_lib_ospi sbl_lib_uart sbl_lib_hyperflash sbl_lib_cust
112       sbl_LIB_LIST += sbl_lib_mmcsd_hlos sbl_lib_ospi_hlos sbl_lib_hyperflash_hlos
113       sbl_LIB_LIST += sbl_lib_ospi_nondma sbl_lib_ospi_nondma_hlos
114     endif
115   endif
116 endif
118 ############################
119 # sbl example
120 # List of examples under sbl (+= is used at each example definition)
121 # All the tests mentioned in list are built when test target is called
122 # List below all examples for allowed values
123 ############################
124 ifeq ($(SOC),$(filter $(SOC), am64x))
125 sbl_EXAMPLE_LIST = sbl_ospi_img sbl_mmcsd_img sbl_uart_img sbl_mmcsd_img_hlos sbl_ospi_img_hlos
126 else
127   ifeq ($(SOC), j7200)
128     sbl_EXAMPLE_LIST = sbl_mmcsd_img sbl_mmcsd_img_hlos sbl_ospi_img sbl_ospi_img_hlos sbl_uart_img
129   else
130     ifeq ($(SOC), tpr12)
131       sbl_EXAMPLE_LIST = sbl_uart_img sbl_qspi_img
132     else
133       sbl_EXAMPLE_LIST = sbl_uart_img
134       sbl_EXAMPLE_LIST += sbl_mmcsd_img sbl_mmcsd_img_hlos sbl_ospi_img sbl_ospi_img_hlos sbl_hyperflash_img sbl_hyperflash_img_hlos
135       sbl_EXAMPLE_LIST += sbl_mmcsd_img_hs sbl_ospi_img_hs sbl_hyperflash_img_hs sbl_uart_img_hs
136       sbl_EXAMPLE_LIST += sbl_mmcsd_img_hlos_hs sbl_ospi_img_hlos_hs sbl_hyperflash_img_hlos_hs
137     endif
138   endif
139 endif
143 # SBL Modules
146 # SBL MMCSD LIB
147 sbl_lib_mmcsd_COMP_LIST = sbl_lib_mmcsd
148 sbl_lib_mmcsd_RELPATH = ti/boot/sbl
149 export sbl_lib_mmcsd_OBJPATH = ti/boot/sbl/mmcsd
150 sbl_lib_mmcsd_LIBNAME = sbl_lib_mmcsd
151 sbl_lib_mmcsd_PATH = $(PDK_SBL_COMP_PATH)
152 sbl_lib_mmcsd_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/mmcsd
153 sbl_lib_mmcsd_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=mmcsd SBL_USE_DMA=yes
154 export sbl_lib_mmcsd_MAKEFILE
155 export sbl_lib_mmcsd_LIBNAME
156 export sbl_lib_mmcsd_LIBPATH
157 sbl_lib_mmcsd_BOARD_DEPENDENCY = yes
158 sbl_lib_mmcsd_SOC_DEPENDENCY = yes
159 sbl_lib_mmcsd_CORE_DEPENDENCY = no
160 export sbl_lib_mmcsd_COMP_LIST
161 export sbl_lib_mmcsd_BOARD_DEPENDENCY
162 export sbl_lib_mmcsd_CORE_DEPENDENCY
163 sbl_lib_mmcsd_PKG_LIST = sbl_lib_mmcsd
164 sbl_lib_mmcsd_INCLUDE = $(sbl_lib_mmcsd_PATH)
165 sbl_lib_mmcsd_SOCLIST = $(sbl_SOCLIST)
166 sbl_lib_mmcsd_BOARDLIST = $(sbl_BOARDLIST)
167 export sbl_lib_mmcsd_SOCLIST
168 export sbl_lib_mmcsd_BOARDLIST
169 sbl_lib_mmcsd_$(SOC)_CORELIST = mcu1_0
170 export sbl_lib_mmcsd_$(SOC)_CORELIST
172 # SBL MMCSD HLOS LIB
173 sbl_lib_mmcsd_hlos_COMP_LIST = sbl_lib_mmcsd_hlos
174 sbl_lib_mmcsd_hlos_RELPATH = ti/boot/sbl
175 export sbl_lib_mmcsd_hlos_OBJPATH = ti/boot/sbl/mmcsd_hlos
176 sbl_lib_mmcsd_hlos_LIBNAME = sbl_lib_mmcsd_hlos
177 sbl_lib_mmcsd_hlos_PATH = $(PDK_SBL_COMP_PATH)
178 sbl_lib_mmcsd_hlos_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/mmcsd_hlos
179 sbl_lib_mmcsd_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=mmcsd HLOS_BOOT=yes SBL_USE_DMA=yes
180 export sbl_lib_mmcsd_hlos_MAKEFILE
181 export sbl_lib_mmcsd_hlos_LIBNAME
182 export sbl_lib_mmcsd_hlos_LIBPATH
183 sbl_lib_mmcsd_hlos_BOARD_DEPENDENCY = yes
184 sbl_lib_mmcsd_hlos_SOC_DEPENDENCY = yes
185 sbl_lib_mmcsd_hlos_CORE_DEPENDENCY = no
186 export sbl_lib_mmcsd_hlos_COMP_LIST
187 export sbl_lib_mmcsd_hlos_BOARD_DEPENDENCY
188 export sbl_lib_mmcsd_hlos_CORE_DEPENDENCY
189 sbl_lib_mmcsd_hlos_PKG_LIST = sbl_lib_mmcsd_hlos
190 sbl_lib_mmcsd_hlos_INCLUDE = $(sbl_lib_mmcsd_hlos_PATH)
191 sbl_lib_mmcsd_hlos_SOCLIST = $(sbl_SOCLIST)
192 sbl_lib_mmcsd_hlos_BOARDLIST = $(sbl_BOARDLIST)
193 export sbl_lib_mmcsd_hlos_SOCLIST
194 export sbl_lib_mmcsd_hlos_BOARDLIST
195 sbl_lib_mmcsd_hlos_$(SOC)_CORELIST = mcu1_0
196 export sbl_lib_mmcsd_hlos_$(SOC)_CORELIST
198 # SBL OSPI LIB
199 sbl_lib_ospi_COMP_LIST = sbl_lib_ospi
200 sbl_lib_ospi_RELPATH = ti/boot/sbl
201 export sbl_lib_ospi_OBJPATH = ti/boot/sbl/ospi
202 sbl_lib_ospi_LIBNAME = sbl_lib_ospi
203 sbl_lib_ospi_PATH = $(PDK_SBL_COMP_PATH)
204 sbl_lib_ospi_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/ospi
205 sbl_lib_ospi_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=ospi SBL_USE_DMA=yes
206 export sbl_lib_ospi_MAKEFILE
207 export sbl_lib_ospi_LIBNAME
208 export sbl_lib_ospi_LIBPATH
209 sbl_lib_ospi_BOARD_DEPENDENCY = yes
210 sbl_lib_ospi_SOC_DEPENDENCY = yes
211 sbl_lib_ospi_CORE_DEPENDENCY = no
212 export sbl_lib_ospi_COMP_LIST
213 export sbl_lib_ospi_BOARD_DEPENDENCY
214 export sbl_lib_ospi_CORE_DEPENDENCY
215 sbl_lib_ospi_PKG_LIST = sbl_lib_ospi
216 sbl_lib_ospi_INCLUDE = $(sbl_lib_ospi_PATH)
217 sbl_lib_ospi_SOCLIST = $(sbl_SOCLIST)
218 sbl_lib_ospi_BOARDLIST = $(sbl_BOARDLIST)
219 export sbl_lib_ospi_SOCLIST
220 export sbl_lib_ospi_BOARDLIST
221 sbl_lib_ospi_$(SOC)_CORELIST = mcu1_0
222 export sbl_lib_ospi_$(SOC)_CORELIST
224 # SBL OSPI HLOS LIB
225 sbl_lib_ospi_hlos_COMP_LIST = sbl_lib_ospi_hlos
226 sbl_lib_ospi_hlos_RELPATH = ti/boot/sbl
227 export sbl_lib_ospi_hlos_OBJPATH = ti/boot/sbl/ospi_hlos
228 sbl_lib_ospi_hlos_LIBNAME = sbl_lib_ospi_hlos
229 sbl_lib_ospi_hlos_PATH = $(PDK_SBL_COMP_PATH)
230 sbl_lib_ospi_hlos_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/ospi_hlos
231 sbl_lib_ospi_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=ospi HLOS_BOOT=yes SBL_USE_DMA=yes
232 export sbl_lib_ospi_hlos_MAKEFILE
233 export sbl_lib_ospi_hlos_LIBNAME
234 export sbl_lib_ospi_hlos_LIBPATH
235 sbl_lib_ospi_hlos_BOARD_DEPENDENCY = yes
236 sbl_lib_ospi_hlos_SOC_DEPENDENCY = yes
237 sbl_lib_ospi_hlos_CORE_DEPENDENCY = no
238 export sbl_lib_ospi_hlos_COMP_LIST
239 export sbl_lib_ospi_hlos_BOARD_DEPENDENCY
240 export sbl_lib_ospi_hlos_CORE_DEPENDENCY
241 sbl_lib_ospi_hlos_PKG_LIST = sbl_lib_ospi_hlos
242 sbl_lib_ospi_hlos_INCLUDE = $(sbl_lib_ospi_hlos_PATH)
243 sbl_lib_ospi_hlos_SOCLIST = $(sbl_SOCLIST)
244 sbl_lib_ospi_hlos_BOARDLIST = $(sbl_BOARDLIST)
245 export sbl_lib_ospi_hlos_SOCLIST
246 export sbl_lib_ospi_hlos_BOARDLIST
247 sbl_lib_ospi_hlos_$(SOC)_CORELIST = mcu1_0
248 export sbl_lib_ospi_hlos_$(SOC)_CORELIST
250 # SBL OSPI LIB with NON-DMA
251 export sbl_lib_ospi_nondma_COMP_LIST = sbl_lib_ospi_nondma
252 sbl_lib_ospi_nondma_RELPATH = ti/boot/sbl
253 export sbl_lib_ospi_nondma_OBJPATH = ti/boot/sbl/ospi_nondma
254 sbl_lib_ospi_nondma_PATH = $(PDK_SBL_COMP_PATH)
255 export sbl_lib_ospi_nondma_LIBNAME = sbl_lib_ospi_nondma
256 export sbl_lib_ospi_nondma_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/ospi
257 export sbl_lib_ospi_nondma_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=ospi SBL_USE_DMA=no
258 export sbl_lib_ospi_nondma_BOARD_DEPENDENCY = yes
259 export sbl_lib_ospi_nondma_SOC_DEPENDENCY = yes
260 export sbl_lib_ospi_nondma_CORE_DEPENDENCY = no
261 sbl_lib_ospi_nondma_PKG_LIST = sbl_lib_ospi_nondma
262 sbl_lib_ospi_nondma_INCLUDE = $(sbl_lib_ospi_nondma_PATH)
263 export sbl_lib_ospi_nondma_SOCLIST = $(sbl_SOCLIST)
264 export sbl_lib_ospi_nondma_BOARDLIST = $(sbl_BOARDLIST)
265 export sbl_lib_ospi_nondma_$(SOC)_CORELIST = mcu1_0
267 # SBL OSPI HLOS LIB with NON-DMA - Needed for HS SBL, etc.
268 export sbl_lib_ospi_nondma_hlos_COMP_LIST = sbl_lib_ospi_nondma_hlos
269 sbl_lib_ospi_nondma_hlos_RELPATH = ti/boot/sbl
270 export sbl_lib_ospi_nondma_hlos_OBJPATH = ti/boot/sbl/ospi_nondma_hlos
271 sbl_lib_ospi_nondma_hlos_PATH = $(PDK_SBL_COMP_PATH)
272 export sbl_lib_ospi_nondma_hlos_LIBNAME = sbl_lib_ospi_nondma_hlos
273 export sbl_lib_ospi_nondma_hlos_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/ospi_hlos
274 export sbl_lib_ospi_nondma_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=ospi HLOS_BOOT=yes SBL_USE_DMA=no
275 export sbl_lib_ospi_nondma_hlos_BOARD_DEPENDENCY = yes
276 export sbl_lib_ospi_nondma_hlos_SOC_DEPENDENCY = yes
277 export sbl_lib_ospi_nondma_hlos_CORE_DEPENDENCY = no
278 sbl_lib_ospi_nondma_hlos_PKG_LIST = sbl_lib_ospi_nondma_hlos
279 sbl_lib_ospi_nondma_hlos_INCLUDE = $(sbl_lib_ospi_nondma_hlos_PATH)
280 export sbl_lib_ospi_nondma_hlos_SOCLIST = $(sbl_SOCLIST)
281 export sbl_lib_ospi_nondma_hlos_BOARDLIST = $(sbl_BOARDLIST)
282 export sbl_lib_ospi_nondma_hlos_$(SOC)_CORELIST = mcu1_0
284 # SBL HYPERFLASH LIB
285 sbl_lib_hyperflash_COMP_LIST = sbl_lib_hyperflash
286 sbl_lib_hyperflash_RELPATH = ti/boot/sbl
287 export sbl_lib_hyperflash_OBJPATH = ti/boot/sbl/hyperflash
288 sbl_lib_hyperflash_LIBNAME = sbl_lib_hyperflash
289 sbl_lib_hyperflash_PATH = $(PDK_SBL_COMP_PATH)
290 sbl_lib_hyperflash_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/hyperflash
291 sbl_lib_hyperflash_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=hyperflash SBL_USE_DMA=yes
292 export sbl_lib_hyperflash_MAKEFILE
293 export sbl_lib_hyperflash_LIBNAME
294 export sbl_lib_hyperflash_LIBPATH
295 sbl_lib_hyperflash_BOARD_DEPENDENCY = yes
296 sbl_lib_hyperflash_SOC_DEPENDENCY = yes
297 sbl_lib_hyperflash_CORE_DEPENDENCY = no
298 export sbl_lib_hyperflash_COMP_LIST
299 export sbl_lib_hyperflash_BOARD_DEPENDENCY
300 export sbl_lib_hyperflash_CORE_DEPENDENCY
301 sbl_lib_hyperflash_PKG_LIST = sbl_lib_hyperflash
302 sbl_lib_hyperflash_INCLUDE = $(sbl_lib_hyperflash_PATH)
303 sbl_lib_hyperflash_SOCLIST = j721e
304 sbl_lib_hyperflash_BOARDLIST = j721e_evm
305 export sbl_lib_hyperflash_SOCLIST
306 export sbl_lib_hyperflash_BOARDLIST
307 sbl_lib_hyperflash_$(SOC)_CORELIST = mcu1_0
308 export sbl_lib_hyperflash_$(SOC)_CORELIST
310 # SBL HYPERFLASH HLOS LIB
311 sbl_lib_hyperflash_hlos_COMP_LIST = sbl_lib_hyperflash_hlos
312 sbl_lib_hyperflash_hlos_RELPATH = ti/boot/sbl
313 export sbl_lib_hyperflash_hlos_OBJPATH = ti/boot/sbl/hyperflash_hlos
314 sbl_lib_hyperflash_hlos_LIBNAME = sbl_lib_hyperflash_hlos
315 sbl_lib_hyperflash_hlos_PATH = $(PDK_SBL_COMP_PATH)
316 sbl_lib_hyperflash_hlos_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/hyperflash_hlos
317 sbl_lib_hyperflash_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=hyperflash HLOS_BOOT=yes SBL_USE_DMA=yes
318 export sbl_lib_hyperflash_hlos_MAKEFILE
319 export sbl_lib_hyperflash_hlos_LIBNAME
320 export sbl_lib_hyperflash_hlos_LIBPATH
321 sbl_lib_hyperflash_hlos_BOARD_DEPENDENCY = yes
322 sbl_lib_hyperflash_hlos_SOC_DEPENDENCY = yes
323 sbl_lib_hyperflash_hlos_CORE_DEPENDENCY = no
324 export sbl_lib_hyperflash_hlos_COMP_LIST
325 export sbl_lib_hyperflash_hlos_BOARD_DEPENDENCY
326 export sbl_lib_hyperflash_hlos_CORE_DEPENDENCY
327 sbl_lib_hyperflash_hlos_PKG_LIST = sbl_lib_hyperflash_hlos
328 sbl_lib_hyperflash_hlos_INCLUDE = $(sbl_lib_hyperflash_hlos_PATH)
329 sbl_lib_hyperflash_hlos_SOCLIST = j721e
330 sbl_lib_hyperflash_hlos_BOARDLIST = j721e_evm
331 export sbl_lib_hyperflash_hlos_SOCLIST
332 export sbl_lib_hyperflash_hlos_BOARDLIST
333 sbl_lib_hyperflash_hlos_$(SOC)_CORELIST = mcu1_0
334 export sbl_lib_hyperflash_hlos_$(SOC)_CORELIST
336 # SBL UART LIB
337 sbl_lib_uart_COMP_LIST = sbl_lib_uart
338 sbl_lib_uart_RELPATH = ti/boot/sbl
339 export sbl_lib_uart_OBJPATH = ti/boot/sbl/uart
340 sbl_lib_uart_LIBNAME = sbl_lib_uart
341 sbl_lib_uart_PATH = $(PDK_SBL_COMP_PATH)
342 sbl_lib_uart_LIBNAME = sbl_lib_uart
343 sbl_lib_uart_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/uart
344 sbl_lib_uart_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=uart SBL_USE_DMA=yes
345 export sbl_lib_uart_MAKEFILE
346 export sbl_lib_uart_LIBNAME
347 export sbl_lib_uart_LIBPATH
348 sbl_lib_uart_BOARD_DEPENDENCY = yes
349 sbl_lib_uart_SOC_DEPENDENCY = yes
350 sbl_lib_uart_CORE_DEPENDENCY = no
351 export sbl_lib_uart_COMP_LIST
352 export sbl_lib_uart_BOARD_DEPENDENCY
353 export sbl_lib_uart_CORE_DEPENDENCY
354 sbl_lib_uart_PKG_LIST = sbl_lib_uart
355 sbl_lib_uart_INCLUDE = $(sbl_lib_uart_PATH)
356 sbl_lib_uart_SOCLIST = $(sbl_SOCLIST)
357 sbl_lib_uart_BOARDLIST = $(sbl_BOARDLIST)
358 export sbl_lib_uart_SOCLIST
359 export sbl_lib_uart_BOARDLIST
360 sbl_lib_uart_$(SOC)_CORELIST = mcu1_0
361 export sbl_lib_uart_$(SOC)_CORELIST
363 # SBL QSPI LIB
364 sbl_lib_qspi_COMP_LIST = sbl_lib_qspi
365 sbl_lib_qspi_RELPATH = ti/boot/sbl
366 export sbl_lib_qspi_OBJPATH = ti/boot/sbl/qspi
367 sbl_lib_qspi_LIBNAME = sbl_lib_qspi
368 sbl_lib_qspi_PATH = $(PDK_SBL_COMP_PATH)
369 sbl_lib_qspi_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/qspi
370 sbl_lib_qspi_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=qspi SBL_USE_DMA=yes
371 export sbl_lib_qspi_MAKEFILE
372 export sbl_lib_qspi_LIBNAME
373 export sbl_lib_qspi_LIBPATH
374 sbl_lib_qspi_BOARD_DEPENDENCY = yes
375 sbl_lib_qspi_SOC_DEPENDENCY = yes
376 sbl_lib_qspi_CORE_DEPENDENCY = no
377 export sbl_lib_qspi_COMP_LIST
378 export sbl_lib_qspi_BOARD_DEPENDENCY
379 export sbl_lib_qspi_CORE_DEPENDENCY
380 sbl_lib_qspi_PKG_LIST = sbl_lib_qspi
381 sbl_lib_qspi_INCLUDE = $(sbl_lib_qspi_PATH)
382 sbl_lib_qspi_SOCLIST = tpr12
383 sbl_lib_qspi_BOARDLIST = tpr12_evm tpr12_qt
384 export sbl_lib_qspi_SOCLIST
385 export sbl_lib_qspi_BOARDLIST
386 sbl_lib_qspi_$(SOC)_CORELIST = mcu1_0
387 export sbl_lib_qspi_$(SOC)_CORELIST
389 # SBL QSPI LIB with NON-DMA - Needed for HS SBL, etc.
390 export sbl_lib_qspi_nondma_COMP_LIST = sbl_lib_qspi_nondma
391 sbl_lib_qspi_nondma_RELPATH = ti/boot/sbl
392 export sbl_lib_qspi_nondma_OBJPATH = ti/boot/sbl/qspi_nondma
393 sbl_lib_qspi_nondma_PATH = $(PDK_SBL_COMP_PATH)
394 export sbl_lib_qspi_nondma_LIBNAME = sbl_lib_qspi_nondma
395 export sbl_lib_qspi_nondma_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/qspi
396 export sbl_lib_qspi_nondma_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=qspi SBL_USE_DMA=no
397 export sbl_lib_qspi_nondma_BOARD_DEPENDENCY = yes
398 export sbl_lib_qspi_nondma_SOC_DEPENDENCY = yes
399 export sbl_lib_qspi_nondma_CORE_DEPENDENCY = no
400 sbl_lib_qspi_nondma_PKG_LIST = sbl_lib_qspi_nondma
401 sbl_lib_qspi_nondma_INCLUDE = $(sbl_lib_qspi_nondma_PATH)
402 export sbl_lib_qspi_nondma_SOCLIST = tpr12
403 export sbl_lib_qspi_nondma_BOARDLIST = tpr12_evm tpr12_qt
404 export sbl_lib_qspi_nondma_$(SOC)_CORELIST = mcu1_0
407 # SBL Examples
409 # SBL MMCSD Image
410 sbl_mmcsd_img_COMP_LIST = sbl_mmcsd_img
411 sbl_mmcsd_img_RELPATH = ti/boot/sbl/board/k3
412 sbl_mmcsd_img_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/mmcsd/bin
413 sbl_mmcsd_img_PATH = $(PDK_SBL_COMP_PATH)/board/k3
414 sbl_mmcsd_img_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=mmcsd SBL_USE_DMA=yes BUILD_HS=no
415 export sbl_mmcsd_img_MAKEFILE
416 export sbl_mmcsd_img_SBL_CERT_KEY=$(SBL_CERT_KEY)
417 sbl_mmcsd_img_BOARD_DEPENDENCY = yes
418 sbl_mmcsd_img_SOC_DEPENDENCY = yes
419 sbl_mmcsd_img_CORE_DEPENDENCY = no
420 export sbl_mmcsd_img_COMP_LIST
421 export sbl_mmcsd_img_BOARD_DEPENDENCY
422 export sbl_mmcsd_img_SOC_DEPENDENCY
423 export sbl_mmcsd_img_CORE_DEPENDENCY
424 sbl_mmcsd_img_PKG_LIST = sbl
425 sbl_mmcsd_img_INCLUDE = $(sbl_mmcsd_img_PATH)
426 sbl_mmcsd_img_BOARDLIST = $(sbl_BOARDLIST)
427 export sbl_mmcsd_img_BOARDLIST
428 sbl_mmcsd_img_$(SOC)_CORELIST = mcu1_0
429 export sbl_mmcsd_img_$(SOC)_CORELIST
430 sbl_mmcsd_img_SBL_IMAGEGEN = yes
431 export sbl_mmcsd_img_SBL_IMAGEGEN
433 # SBL MMCSD "HLOS Boot" Image
434 sbl_mmcsd_img_hlos_COMP_LIST = sbl_mmcsd_img_hlos
435 sbl_mmcsd_img_hlos_RELPATH = ti/boot/sbl/board/k3
436 sbl_mmcsd_img_hlos_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/mmcsd/bin
437 sbl_mmcsd_img_hlos_PATH = $(PDK_SBL_COMP_PATH)/board/k3
438 sbl_mmcsd_img_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=mmcsd HLOS_BOOT=yes SBL_USE_DMA=yes BUILD_HS=no
439 export sbl_mmcsd_img_hlos_MAKEFILE
440 export sbl_mmcsd_img_hlos_SBL_CERT_KEY=$(SBL_CERT_KEY)
441 sbl_mmcsd_img_hlos_BOARD_DEPENDENCY = yes
442 sbl_mmcsd_img_hlos_SOC_DEPENDENCY = yes
443 sbl_mmcsd_img_hlos_CORE_DEPENDENCY = no
444 export sbl_mmcsd_img_hlos_COMP_LIST
445 export sbl_mmcsd_img_hlos_BOARD_DEPENDENCY
446 export sbl_mmcsd_img_hlos_SOC_DEPENDENCY
447 export sbl_mmcsd_img_hlos_CORE_DEPENDENCY
448 sbl_mmcsd_img_hlos_PKG_LIST = sbl
449 sbl_mmcsd_img_hlos_INCLUDE = $(sbl_mmcsd_img_hlos_PATH)
450 sbl_mmcsd_img_hlos_BOARDLIST = $(sbl_BOARDLIST)
451 export sbl_mmcsd_img_hlos_BOARDLIST
452 sbl_mmcsd_img_hlos_$(SOC)_CORELIST = mcu1_0
453 export sbl_mmcsd_img_hlos_$(SOC)_CORELIST
454 sbl_mmcsd_img_hlos_SBL_IMAGEGEN = yes
455 export sbl_mmcsd_img_hlos_SBL_IMAGEGEN
457 # SBL MMCSD Image - For HS build
458 export sbl_mmcsd_img_hs_COMP_LIST = sbl_mmcsd_img_hs
459 sbl_mmcsd_img_hs_RELPATH = ti/boot/sbl/board/k3
460 sbl_mmcsd_img_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/mmcsd/bin
461 #Note: The below variable is purposefully set to build folder - different than
462 #non-hs app.
463 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
464 #creates lto_$APPNAME optimization file in the directory in which -C is called
465 #Because of this multiple lto_ files with same name can be created if app name
466 #and app path are same
467 sbl_mmcsd_img_hs_PATH = $(PDK_SBL_COMP_PATH)/build
468 export sbl_mmcsd_img_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=mmcsd SBL_USE_DMA=yes BUILD_HS=yes
469 export sbl_mmcsd_img_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
470 export sbl_mmcsd_img_hs_BOARD_DEPENDENCY = yes
471 export sbl_mmcsd_img_hs_SOC_DEPENDENCY = yes
472 export sbl_mmcsd_img_hs_CORE_DEPENDENCY = no
473 sbl_mmcsd_img_hs_PKG_LIST = sbl
474 sbl_mmcsd_img_hs_INCLUDE = $(sbl_mmcsd_img_hs_PATH)
475 export sbl_mmcsd_img_hs_BOARDLIST = $(sbl_BOARDLIST)
476 export sbl_mmcsd_img_hs_$(SOC)_CORELIST = mcu1_0
477 export sbl_mmcsd_img_hs_SBL_IMAGEGEN = yes
479 # SBL MMCSD "HLOS Boot" Image - For HS build
480 export sbl_mmcsd_img_hlos_hs_COMP_LIST = sbl_mmcsd_img_hlos_hs
481 sbl_mmcsd_img_hlos_hs_RELPATH = ti/boot/sbl/board/k3
482 sbl_mmcsd_img_hlos_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/mmcsd/bin
483 #Note: The below variable is purposefully set to build folder - different than
484 #non-hs app.
485 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
486 #creates lto_$APPNAME optimization file in the directory in which -C is called
487 #Because of this multiple lto_ files with same name can be created if app name
488 #and app path are same
489 sbl_mmcsd_img_hlos_hs_PATH = $(PDK_SBL_COMP_PATH)/build
490 export sbl_mmcsd_img_hlos_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=mmcsd HLOS_BOOT=yes SBL_USE_DMA=yes BUILD_HS=yes
491 export sbl_mmcsd_img_hlos_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
492 export sbl_mmcsd_img_hlos_hs_BOARD_DEPENDENCY = yes
493 export sbl_mmcsd_img_hlos_hs_SOC_DEPENDENCY = yes
494 export sbl_mmcsd_img_hlos_hs_CORE_DEPENDENCY = no
495 sbl_mmcsd_img_hlos_hs_PKG_LIST = sbl
496 sbl_mmcsd_img_hlos_hs_INCLUDE = $(sbl_mmcsd_img_hlos_hs_PATH)
497 export sbl_mmcsd_img_hlos_hs_BOARDLIST = $(sbl_BOARDLIST)
498 export sbl_mmcsd_img_hlos_hs_$(SOC)_CORELIST = mcu1_0
499 export sbl_mmcsd_img_hlos_hs_SBL_IMAGEGEN = yes
502 # SBL OSPI Image
503 sbl_ospi_img_COMP_LIST = sbl_ospi_img
504 sbl_ospi_img_RELPATH = ti/boot/sbl/board/k3
505 sbl_ospi_img_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/ospi/bin
506 sbl_ospi_img_PATH = $(PDK_SBL_COMP_PATH)/board/k3
507 ifeq ($(SOC),$(filter $(SOC), am64x))
508   sbl_ospi_img_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=ospi SBL_USE_DMA=no BUILD_HS=no
509 else
510   sbl_ospi_img_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=ospi SBL_USE_DMA=yes BUILD_HS=no
511 endif
512 export sbl_ospi_img_MAKEFILE
513 export sbl_ospi_img_SBL_CERT_KEY=$(SBL_CERT_KEY)
514 sbl_ospi_img_BOARD_DEPENDENCY = yes
515 sbl_ospi_img_SOC_DEPENDENCY = yes
516 sbl_ospi_img_CORE_DEPENDENCY = no
517 export sbl_ospi_img_COMP_LIST
518 export sbl_ospi_img_BOARD_DEPENDENCY
519 export sbl_ospi_img_SOC_DEPENDENCY
520 export sbl_ospi_img_CORE_DEPENDENCY
521 sbl_ospi_img_PKG_LIST = sbl
522 sbl_ospi_img_INCLUDE = $(sbl_ospi_img_PATH)
523 sbl_ospi_img_BOARDLIST = $(sbl_BOARDLIST)
524 export sbl_ospi_img_BOARDLIST
525 sbl_ospi_img_$(SOC)_CORELIST = mcu1_0
526 export sbl_ospi_img_$(SOC)_CORELIST
527 sbl_ospi_img_SBL_IMAGEGEN = yes
528 export sbl_ospi_img_SBL_IMAGEGEN
530 # SBL OSPI "HLOS Boot" Image
531 sbl_ospi_img_hlos_COMP_LIST = sbl_ospi_img_hlos
532 sbl_ospi_img_hlos_RELPATH = ti/boot/sbl/board/k3
533 sbl_ospi_img_hlos_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/ospi/bin
534 sbl_ospi_img_hlos_PATH = $(PDK_SBL_COMP_PATH)/board/k3
535 ifeq ($(SOC),$(filter $(SOC), am64x))
536   sbl_ospi_img_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=ospi HLOS_BOOT=yes SBL_USE_DMA=no BUILD_HS=no
537 else
538   sbl_ospi_img_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=ospi HLOS_BOOT=yes SBL_USE_DMA=yes BUILD_HS=no
539 endif
540 export sbl_ospi_img_hlos_MAKEFILE
541 export sbl_ospi_img_hlos_SBL_CERT_KEY=$(SBL_CERT_KEY)
542 sbl_ospi_img_hlos_BOARD_DEPENDENCY = yes
543 sbl_ospi_img_hlos_SOC_DEPENDENCY = yes
544 sbl_ospi_img_hlos_CORE_DEPENDENCY = no
545 export sbl_ospi_img_hlos_COMP_LIST
546 export sbl_ospi_img_hlos_BOARD_DEPENDENCY
547 export sbl_ospi_img_hlos_SOC_DEPENDENCY
548 export sbl_ospi_img_hlos_CORE_DEPENDENCY
549 sbl_ospi_img_hlos_PKG_LIST = sbl
550 sbl_ospi_img_hlos_INCLUDE = $(sbl_ospi_img_hlos_PATH)
551 sbl_ospi_img_hlos_BOARDLIST = $(sbl_BOARDLIST)
552 export sbl_ospi_img_hlos_BOARDLIST
553 sbl_ospi_img_hlos_$(SOC)_CORELIST = mcu1_0
554 export sbl_ospi_img_hlos_$(SOC)_CORELIST
555 sbl_ospi_img_hlos_SBL_IMAGEGEN = yes
556 export sbl_ospi_img_hlos_SBL_IMAGEGEN
558 # SBL OSPI Image - For HS build
559 export sbl_ospi_img_hs_COMP_LIST = sbl_ospi_img_hs
560 sbl_ospi_img_hs_RELPATH = ti/boot/sbl/board/k3
561 sbl_ospi_img_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/ospi/bin
562 #Note: The below variable is purposefully set to build folder - different than
563 #non-hs app.
564 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
565 #creates lto_$APPNAME optimization file in the directory in which -C is called
566 #Because of this multiple lto_ files with same name can be created if app name
567 #and app path are same
568 sbl_ospi_img_hs_PATH = $(PDK_SBL_COMP_PATH)/build
569 export sbl_ospi_img_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=ospi SBL_USE_DMA=yes BUILD_HS=yes
570 export sbl_ospi_img_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
571 export sbl_ospi_img_hs_BOARD_DEPENDENCY = yes
572 export sbl_ospi_img_hs_SOC_DEPENDENCY = yes
573 export sbl_ospi_img_hs_CORE_DEPENDENCY = no
574 sbl_ospi_img_hs_PKG_LIST = sbl
575 sbl_ospi_img_hs_INCLUDE = $(sbl_ospi_img_hs_PATH)
576 export sbl_ospi_img_hs_BOARDLIST = $(sbl_BOARDLIST)
577 export sbl_ospi_img_hs_$(SOC)_CORELIST = mcu1_0
578 export sbl_ospi_img_hs_SBL_IMAGEGEN = yes
580 # SBL OSPI "HLOS Boot" Image - For HS build
581 export sbl_ospi_img_hlos_hs_COMP_LIST = sbl_ospi_img_hlos_hs
582 sbl_ospi_img_hlos_hs_RELPATH = ti/boot/sbl/board/k3
583 sbl_ospi_img_hlos_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/ospi/bin
584 #Note: The below variable is purposefully set to build folder - different than
585 #non-hs app.
586 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
587 #creates lto_$APPNAME optimization file in the directory in which -C is called
588 #Because of this multiple lto_ files with same name can be created if app name
589 #and app path are same
590 sbl_ospi_img_hlos_hs_PATH = $(PDK_SBL_COMP_PATH)/build
591 export sbl_ospi_img_hlos_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=ospi HLOS_BOOT=yes SBL_USE_DMA=yes BUILD_HS=yes
592 export sbl_ospi_img_hlos_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
593 export sbl_ospi_img_hlos_hs_BOARD_DEPENDENCY = yes
594 export sbl_ospi_img_hlos_hs_SOC_DEPENDENCY = yes
595 export sbl_ospi_img_hlos_hs_CORE_DEPENDENCY = no
596 sbl_ospi_img_hlos_hs_PKG_LIST = sbl
597 sbl_ospi_img_hlos_hs_INCLUDE = $(sbl_ospi_img_hlos_hs_PATH)
598 export sbl_ospi_img_hlos_hs_BOARDLIST = $(sbl_BOARDLIST)
599 export sbl_ospi_img_hlos_hs_$(SOC)_CORELIST = mcu1_0
600 export sbl_ospi_img_hlos_hs_SBL_IMAGEGEN = yes
602 # SBL HYPERFLASH Image
603 sbl_hyperflash_img_COMP_LIST = sbl_hyperflash_img
604 sbl_hyperflash_img_RELPATH = ti/boot/sbl/board/k3
605 sbl_hyperflash_img_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/hyperflash/bin
606 sbl_hyperflash_img_PATH = $(PDK_SBL_COMP_PATH)/board/k3
607 sbl_hyperflash_img_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=hyperflash SBL_USE_DMA=yes BUILD_HS=no
608 export sbl_hyperflash_img_SBL_CERT_KEY=$(SBL_CERT_KEY)
609 export sbl_hyperflash_img_MAKEFILE
610 sbl_hyperflash_img_BOARD_DEPENDENCY = yes
611 sbl_hyperflash_img_SOC_DEPENDENCY = yes
612 sbl_hyperflash_img_CORE_DEPENDENCY = no
613 export sbl_hyperflash_img_COMP_LIST
614 export sbl_hyperflash_img_BOARD_DEPENDENCY
615 export sbl_hyperflash_img_SOC_DEPENDENCY
616 export sbl_hyperflash_img_CORE_DEPENDENCY
617 sbl_hyperflash_img_PKG_LIST = sbl
618 sbl_hyperflash_img_INCLUDE = $(sbl_hyperflash_img_PATH)
619 sbl_hyperflash_img_BOARDLIST = j721e_evm
620 export sbl_hyperflash_img_BOARDLIST
621 sbl_hyperflash_img_$(SOC)_CORELIST = mcu1_0
622 export sbl_hyperflash_img_$(SOC)_CORELIST
623 sbl_hyperflash_img_SBL_IMAGEGEN = yes
624 export sbl_hyperflash_img_SBL_IMAGEGEN
626 # SBL HYPERFLASH "HLOS Boot" Image
627 sbl_hyperflash_img_hlos_COMP_LIST = sbl_hyperflash_img_hlos
628 sbl_hyperflash_img_hlos_RELPATH = ti/boot/sbl/board/k3
629 sbl_hyperflash_img_hlos_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/hyperflash/bin
630 sbl_hyperflash_img_hlos_PATH = $(PDK_SBL_COMP_PATH)/board/k3
631 sbl_hyperflash_img_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=hyperflash HLOS_BOOT=yes SBL_USE_DMA=yes BUILD_HS=no
632 export sbl_hyperflash_img_hlos_SBL_CERT_KEY=$(SBL_CERT_KEY)
633 export sbl_hyperflash_img_hlos_MAKEFILE
634 sbl_hyperflash_img_hlos_BOARD_DEPENDENCY = yes
635 sbl_hyperflash_img_hlos_SOC_DEPENDENCY = yes
636 sbl_hyperflash_img_hlos_CORE_DEPENDENCY = no
637 export sbl_hyperflash_img_hlos_COMP_LIST
638 export sbl_hyperflash_img_hlos_BOARD_DEPENDENCY
639 export sbl_hyperflash_img_hlos_SOC_DEPENDENCY
640 export sbl_hyperflash_img_hlos_CORE_DEPENDENCY
641 sbl_hyperflash_img_hlos_PKG_LIST = sbl
642 sbl_hyperflash_img_hlos_INCLUDE = $(sbl_hyperflash_img_hlos_PATH)
643 sbl_hyperflash_img_hlos_BOARDLIST = j721e_evm
644 export sbl_hyperflash_img_hlos_BOARDLIST
645 sbl_hyperflash_img_hlos_$(SOC)_CORELIST = mcu1_0
646 export sbl_hyperflash_img_hlos_$(SOC)_CORELIST
647 sbl_hyperflash_img_hlos_SBL_IMAGEGEN = yes
648 export sbl_hyperflash_img_hlos_SBL_IMAGEGEN
650 # SBL HYPERFLASH Image - For HS build
651 export sbl_hyperflash_img_hs_COMP_LIST = sbl_hyperflash_img_hs
652 sbl_hyperflash_img_hs_RELPATH = ti/boot/sbl/board/k3
653 sbl_hyperflash_img_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/hyperflash/bin
654 #Note: The below variable is purposefully set to build folder - different than
655 #non-hs app.
656 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
657 #creates lto_$APPNAME optimization file in the directory in which -C is called
658 #Because of this multiple lto_ files with same name can be created if app name
659 #and app path are same
660 sbl_hyperflash_img_hs_PATH = $(PDK_SBL_COMP_PATH)/build
661 export sbl_hyperflash_img_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=hyperflash SBL_USE_DMA=yes BUILD_HS=yes
662 export sbl_hyperflash_img_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
663 export sbl_hyperflash_img_hs_BOARD_DEPENDENCY = yes
664 export sbl_hyperflash_img_SOC_DEPENDENCY = yes
665 export sbl_hyperflash_img_hs_CORE_DEPENDENCY = no
666 sbl_hyperflash_img_hs_PKG_LIST = sbl
667 sbl_hyperflash_img_hs_INCLUDE = $(sbl_hyperflash_img_hs_PATH)
668 export sbl_hyperflash_img_hs_BOARDLIST = j721e_evm
669 export sbl_hyperflash_img_hs_$(SOC)_CORELIST = mcu1_0
670 export sbl_hyperflash_img_hs_SBL_IMAGEGEN = yes
672 # SBL HYPERFLASH "HLOS Boot" Image - For HS build
673 export sbl_hyperflash_img_hlos_hs_COMP_LIST = sbl_hyperflash_img_hlos_hs
674 sbl_hyperflash_img_hlos_hs_RELPATH = ti/boot/sbl/board/k3
675 sbl_hyperflash_img_hlos_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/hyperflash/bin
676 #Note: The below variable is purposefully set to build folder - different than
677 #non-hs app.
678 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
679 #creates lto_$APPNAME optimization file in the directory in which -C is called
680 #Because of this multiple lto_ files with same name can be created if app name
681 #and app path are same
682 sbl_hyperflash_img_hlos_hs_PATH = $(PDK_SBL_COMP_PATH)/build
683 export sbl_hyperflash_img_hlos_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=hyperflash HLOS_BOOT=yes SBL_USE_DMA=yes BUILD_HS=yes
684 export sbl_hyperflash_img_hlos_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
685 export sbl_hyperflash_img_hlos_hs_BOARD_DEPENDENCY = yes
686 export sbl_hyperflash_img_hlos_SOC_DEPENDENCY = yes
687 export sbl_hyperflash_img_hlos_hs_CORE_DEPENDENCY = no
688 sbl_hyperflash_img_hlos_hs_PKG_LIST = sbl
689 sbl_hyperflash_img_hlos_hs_INCLUDE = $(sbl_hyperflash_img_hlos_hs_PATH)
690 export sbl_hyperflash_img_hlos_hs_BOARDLIST = j721e_evm
691 export sbl_hyperflash_img_hlos_hs_$(SOC)_CORELIST = mcu1_0
692 export sbl_hyperflash_img_hlos_hs_SBL_IMAGEGEN = yes
694 # SBL UART Image
695 sbl_uart_img_COMP_LIST = sbl_uart_img
696 ifeq ($(SOC), tpr12)
697 sbl_uart_img_RELPATH = ti/boot/sbl/board/evmTPR12
698 else
699 sbl_uart_img_RELPATH = ti/boot/sbl/board/k3
700 endif
701 sbl_uart_img_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/uart/bin
702 ifeq ($(SOC), tpr12)
703 sbl_uart_img_PATH = $(PDK_SBL_COMP_PATH)/board/evmTPR12
704 else
705 sbl_uart_img_PATH = $(PDK_SBL_COMP_PATH)/board/k3
706 endif
707 sbl_uart_img_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=uart SBL_USE_DMA=yes BUILD_HS=no
708 export sbl_uart_img_MAKEFILE
709 export sbl_uart_img_SBL_CERT_KEY=$(SBL_CERT_KEY)
710 sbl_uart_img_BOARD_DEPENDENCY = yes
711 sbl_uart_img_SOC_DEPENDENCY = yes
712 sbl_uart_img_CORE_DEPENDENCY = no
713 export sbl_uart_img_COMP_LIST
714 export sbl_uart_img_BOARD_DEPENDENCY
715 export sbl_uart_img_SOC_DEPENDENCY
716 export sbl_uart_img_CORE_DEPENDENCY
717 sbl_uart_img_PKG_LIST = sbl
718 sbl_uart_img_INCLUDE = $(sbl_uart_img_PATH)
719 sbl_uart_img_BOARDLIST = $(sbl_BOARDLIST)
720 export sbl_uart_img_BOARDLIST
721 sbl_uart_img_$(SOC)_CORELIST = mcu1_0
722 export sbl_uart_img_$(SOC)_CORELIST
723 sbl_uart_img_SBL_IMAGEGEN = yes
724 export sbl_uart_img_SBL_IMAGEGEN
726 # SBL UART Image - For HS build
727 export sbl_uart_img_hs_COMP_LIST = sbl_uart_img_hs
728 sbl_uart_img_hs_RELPATH = ti/boot/sbl/board/k3
729 sbl_uart_img_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/uart/bin
730 #Note: The below variable is purposefully set to build folder - different than
731 #non-hs app.
732 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
733 #creates lto_$APPNAME optimization file in the directory in which -C is called
734 #Because of this multiple lto_ files with same name can be created if app name
735 #and app path are same
736 sbl_uart_img_hs_PATH = $(PDK_SBL_COMP_PATH)/build
737 export sbl_uart_img_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=uart SBL_USE_DMA=yes BUILD_HS=yes
738 export sbl_uart_img_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
739 export sbl_uart_img_hs_BOARD_DEPENDENCY = yes
740 export sbl_uart_img_hs_SOC_DEPENDENCY = yes
741 export sbl_uart_img_hs_CORE_DEPENDENCY = no
742 sbl_uart_img_hs_PKG_LIST = sbl
743 sbl_uart_img_hs_INCLUDE = $(sbl_uart_img_hs_PATH)
744 export sbl_uart_img_hs_BOARDLIST = $(sbl_BOARDLIST)
745 export sbl_uart_img_hs_$(SOC)_CORELIST = mcu1_0
746 export sbl_uart_img_hs_SBL_IMAGEGEN = yes
748 # SBL QSPI Image
749 ifeq ($(SOC), tpr12)
750 sbl_qspi_img_COMP_LIST = sbl_qspi_img
751 sbl_qspi_img_RELPATH = ti/boot/sbl/board/tpr12
752 sbl_qspi_img_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/qspi/bin
753 sbl_qspi_img_PATH = $(PDK_SBL_COMP_PATH)/board/evmTPR12
754 sbl_qspi_img_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=qspi SBL_USE_DMA=yes BUILD_HS=no
755 export sbl_qspi_img_MAKEFILE
756 export sbl_qspi_img_SBL_CERT_KEY=$(SBL_CERT_KEY)
757 sbl_qspi_img_BOARD_DEPENDENCY = yes
758 sbl_qspi_img_SOC_DEPENDENCY = yes
759 sbl_qspi_img_CORE_DEPENDENCY = no
760 export sbl_qspi_img_COMP_LIST
761 export sbl_qspi_img_BOARD_DEPENDENCY
762 export sbl_qspi_img_SOC_DEPENDENCY
763 export sbl_qspi_img_CORE_DEPENDENCY
764 sbl_qspi_img_PKG_LIST = sbl
765 sbl_qspi_img_INCLUDE = $(sbl_qspi_img_PATH)
766 sbl_qspi_img_BOARDLIST = tpr12_evm tpr12_qt
767 export sbl_qspi_img_BOARDLIST
768 sbl_qspi_img_$(SOC)_CORELIST = mcu1_0
769 export sbl_qspi_img_$(SOC)_CORELIST
770 sbl_qspi_img_SBL_IMAGEGEN = yes
771 export sbl_qspi_img_SBL_IMAGEGEN
772 endif
774 # Individual Core Boot Test (Ordered)
775 sbl_boot_test_ordered_COMP_LIST = sbl_boot_test_ordered
776 sbl_boot_test_ordered_RELPATH = ti/boot/sbl/example/k3MulticoreApp
777 sbl_boot_test_ordered_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
778 sbl_boot_test_ordered_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
779 sbl_boot_test_ordered_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_boot_test_ordered.mk
780 export sbl_boot_test_ordered_MAKEFILE
781 sbl_boot_test_ordered_BOARD_DEPENDENCY = no
782 sbl_boot_test_ordered_SOC_DEPENDENCY = no
783 sbl_boot_test_ordered_CORE_DEPENDENCY = no
784 export sbl_boot_test_ordered_COMP_LIST
785 export sbl_boot_test_ordered_BOARD_DEPENDENCY
786 export sbl_boot_test_ordered_SOC_DEPENDENCY
787 export sbl_boot_test_ordered_CORE_DEPENDENCY
788 sbl_boot_test_ordered_PKG_LIST = sbl_boot_test_ordered
789 sbl_boot_test_ordered_INCLUDE = $(sbl_boot_test_ordered_PATH)
790 sbl_boot_test_ordered_BOARDLIST = $(sbl_BOARDLIST)
791 export sbl_boot_test_ordered_BOARDLIST
792 sbl_boot_test_ordered_$(SOC)_CORELIST = $(sbl_$(SOC)_CORELIST)
793 export sbl_boot_test_ordered_$(SOC)_CORELIST
794 ifneq ($(SOC), tpr12)
795 sbl_EXAMPLE_LIST += sbl_boot_test_ordered
796 endif
797 sbl_boot_test_ordered_SBL_APPIMAGEGEN = yes
798 export sbl_boot_test_ordered_SBL_APPIMAGEGEN
800 # Multicore AMP Boot Test (Ordered)
801 sbl_multicore_amp_ordered_COMP_LIST = sbl_multicore_amp_ordered
802 sbl_multicore_amp_ordered_RELPATH = ti/boot/sbl/example/k3MulticoreApp
803 sbl_multicore_amp_ordered_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
804 sbl_multicore_amp_ordered_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
805 sbl_multicore_amp_ordered_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_multicore_amp_ordered.mk
806 export sbl_multicore_amp_ordered_MAKEFILE
807 # SBL multicore amp depends on sbl_boot_test for all the cores
808 sbl_multicore_amp_ordered_DEPENDS_ON=sbl_boot_test_ordered
809 export sbl_multicore_amp_ordered_DEPENDS_ON
810 sbl_multicore_amp_ordered_BOARD_DEPENDENCY = no
811 sbl_multicore_amp_ordered_SOC_DEPENDENCY = no
812 sbl_multicore_amp_ordered_CORE_DEPENDENCY = no
813 export sbl_multicore_amp_ordered_COMP_LIST
814 export sbl_multicore_amp_ordered_BOARD_DEPENDENCY
815 export sbl_multicore_amp_ordered_SOC_DEPENDENCY
816 export sbl_multicore_amp_ordered_CORE_DEPENDENCY
817 sbl_multicore_amp_ordered_PKG_LIST = sbl_multicore_amp_ordered
818 sbl_multicore_amp_ordered_INCLUDE = $(sbl_multicore_amp_ordered_PATH)
819 sbl_multicore_amp_ordered_BOARDLIST = $(sbl_BOARDLIST)
820 export sbl_multicore_amp_ordered_BOARDLIST
821 sbl_multicore_amp_ordered_$(SOC)_CORELIST = $($(SOC)_LASTCORE)
822 export sbl_multicore_amp_ordered_$(SOC)_CORELIST
823 ifneq ($(SOC), tpr12)
824 sbl_EXAMPLE_LIST += sbl_multicore_amp_ordered
825 endif
826 sbl_multicore_amp_ordered_SBL_APPIMAGEGEN = no
827 export sbl_multicore_amp_ordered_SBL_APPIMAGEGEN
829 # Individual Core Boot Test (Short)
830 sbl_boot_test_short_COMP_LIST = sbl_boot_test_short
831 sbl_boot_test_short_RELPATH = ti/boot/sbl/example/k3MulticoreApp
832 sbl_boot_test_short_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
833 sbl_boot_test_short_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
834 sbl_boot_test_short_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_boot_test_short.mk
835 export sbl_boot_test_short_MAKEFILE
836 sbl_boot_test_short_BOARD_DEPENDENCY = no
837 sbl_boot_test_short_SOC_DEPENDENCY = no
838 sbl_boot_test_short_CORE_DEPENDENCY = no
839 export sbl_boot_test_short_COMP_LIST
840 export sbl_boot_test_short_BOARD_DEPENDENCY
841 export sbl_boot_test_short_SOC_DEPENDENCY
842 export sbl_boot_test_short_CORE_DEPENDENCY
843 sbl_boot_test_short_PKG_LIST = sbl_boot_test_short
844 sbl_boot_test_short_INCLUDE = $(sbl_boot_test_short_PATH)
845 sbl_boot_test_short_BOARDLIST = $(sbl_BOARDLIST)
846 export sbl_boot_test_short_BOARDLIST
847 sbl_boot_test_short_$(SOC)_CORELIST = $(sbl_$(SOC)_CORELIST)
848 export sbl_boot_test_short_$(SOC)_CORELIST
849 ifneq ($(SOC), tpr12)
850 sbl_EXAMPLE_LIST += sbl_boot_test_short
851 endif
852 sbl_boot_test_short_SBL_APPIMAGEGEN = yes
853 export sbl_boot_test_short_SBL_APPIMAGEGEN
855 # Multicore AMP Boot Test (Short)
856 sbl_multicore_amp_short_COMP_LIST = sbl_multicore_amp_short
857 sbl_multicore_amp_short_RELPATH = ti/boot/sbl/example/k3MulticoreApp
858 sbl_multicore_amp_short_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
859 sbl_multicore_amp_short_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
860 sbl_multicore_amp_short_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_multicore_amp_short.mk
861 export sbl_multicore_amp_short_MAKEFILE
862 # SBL multicore amp depends on sbl_boot_test for all the cores
863 sbl_multicore_amp_short_DEPENDS_ON=sbl_boot_test_short
864 export sbl_multicore_amp_short_DEPENDS_ON
865 sbl_multicore_amp_short_BOARD_DEPENDENCY = no
866 sbl_multicore_amp_short_SOC_DEPENDENCY = no
867 sbl_multicore_amp_short_CORE_DEPENDENCY = no
868 export sbl_multicore_amp_short_COMP_LIST
869 export sbl_multicore_amp_short_BOARD_DEPENDENCY
870 export sbl_multicore_amp_short_SOC_DEPENDENCY
871 export sbl_multicore_amp_short_CORE_DEPENDENCY
872 sbl_multicore_amp_short_PKG_LIST = sbl_multicore_amp_short
873 sbl_multicore_amp_short_INCLUDE = $(sbl_multicore_amp_short_PATH)
874 sbl_multicore_amp_short_BOARDLIST = $(sbl_BOARDLIST)
875 export sbl_multicore_amp_short_BOARDLIST
876 sbl_multicore_amp_short_$(SOC)_CORELIST = $($(SOC)_LASTCORE)
877 export sbl_multicore_amp_short_$(SOC)_CORELIST
878 ifneq ($(SOC), tpr12)
879 sbl_EXAMPLE_LIST += sbl_multicore_amp_short
880 endif
881 sbl_multicore_amp_short_SBL_APPIMAGEGEN = no
882 export sbl_multicore_amp_short_SBL_APPIMAGEGEN
884 # Individual Core Boot Test
885 sbl_boot_test_COMP_LIST = sbl_boot_test
886 sbl_boot_test_RELPATH = ti/boot/sbl/example/k3MulticoreApp
887 sbl_boot_test_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
888 sbl_boot_test_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
889 sbl_boot_test_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_boot_test.mk
890 export sbl_boot_test_MAKEFILE
891 sbl_boot_test_BOARD_DEPENDENCY = no
892 sbl_boot_test_SOC_DEPENDENCY = no
893 sbl_boot_test_CORE_DEPENDENCY = no
894 export sbl_boot_test_COMP_LIST
895 export sbl_boot_test_BOARD_DEPENDENCY
896 export sbl_boot_test_SOC_DEPENDENCY
897 export sbl_boot_test_CORE_DEPENDENCY
898 sbl_boot_test_PKG_LIST = sbl_boot_test
899 sbl_boot_test_INCLUDE = $(sbl_boot_test_PATH)
900 sbl_boot_test_BOARDLIST = $(sbl_BOARDLIST)
901 export sbl_boot_test_BOARDLIST
902 sbl_boot_test_$(SOC)_CORELIST = $(sbl_$(SOC)_CORELIST)
903 export sbl_boot_test_$(SOC)_CORELIST
904 ifneq ($(SOC), tpr12)
905 sbl_EXAMPLE_LIST += sbl_boot_test
906 endif
907 sbl_boot_test_SBL_APPIMAGEGEN = yes
908 export sbl_boot_test_SBL_APPIMAGEGEN
910 # Multicore AMP Boot Test
911 sbl_multicore_amp_COMP_LIST = sbl_multicore_amp
912 sbl_multicore_amp_RELPATH = ti/boot/sbl/example/k3MulticoreApp
913 sbl_multicore_amp_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
914 sbl_multicore_amp_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
915 sbl_multicore_amp_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_multicore_amp.mk
916 export sbl_multicore_amp_MAKEFILE
917 # SBL multicore amp depends on sbl_boot_test for all the cores
918 sbl_multicore_amp_DEPENDS_ON=sbl_boot_test
919 export sbl_multicore_amp_DEPENDS_ON
920 sbl_multicore_amp_BOARD_DEPENDENCY = no
921 sbl_multicore_amp_SOC_DEPENDENCY = no
922 sbl_multicore_amp_CORE_DEPENDENCY = no
923 export sbl_multicore_amp_COMP_LIST
924 export sbl_multicore_amp_BOARD_DEPENDENCY
925 export sbl_multicore_amp_SOC_DEPENDENCY
926 export sbl_multicore_amp_CORE_DEPENDENCY
927 sbl_multicore_amp_PKG_LIST = sbl_multicore_amp
928 sbl_multicore_amp_INCLUDE = $(sbl_multicore_amp_PATH)
929 sbl_multicore_amp_BOARDLIST = $(sbl_BOARDLIST)
930 export sbl_multicore_amp_BOARDLIST
931 sbl_multicore_amp_$(SOC)_CORELIST = $($(SOC)_LASTCORE)
932 export sbl_multicore_amp_$(SOC)_CORELIST
933 ifneq ($(SOC), tpr12)
934 sbl_EXAMPLE_LIST += sbl_multicore_amp
935 endif
936 sbl_multicore_amp_SBL_APPIMAGEGEN = no
937 export sbl_multicore_amp_SBL_APPIMAGEGEN
939 # R5 Lockstep and MPU SMP Boot Test
940 sbl_smp_test_COMP_LIST = sbl_smp_test
941 sbl_smp_test_RELPATH = ti/boot/sbl/example/k3MulticoreApp
942 sbl_smp_test_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
943 sbl_smp_test_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
944 sbl_smp_test_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_smp_test.mk BOOTMODE=mmcsd
945 export sbl_smp_test_MAKEFILE
946 sbl_smp_test_BOARD_DEPENDENCY = no
947 sbl_smp_test_SOC_DEPENDENCY = no
948 sbl_smp_test_CORE_DEPENDENCY = no
949 export sbl_smp_test_COMP_LIST
950 export sbl_smp_test_BOARD_DEPENDENCY
951 export sbl_smp_test_SOC_DEPENDENCY
952 export sbl_smp_test_CORE_DEPENDENCY
953 sbl_smp_test_PKG_LIST = sbl_smp_test
954 sbl_smp_test_INCLUDE = $(sbl_smp_test_PATH)
955 sbl_smp_test_BOARDLIST = $(sbl_BOARDLIST)
956 export sbl_smp_test_BOARDLIST
957 sbl_smp_test_$(SOC)_CORELIST = $($(SOC)_smp_CORELIST)
958 export sbl_smp_test_$(SOC)_CORELIST
959 ifneq ($(SOC),$(filter $(SOC), am64x tpr12))
960 sbl_EXAMPLE_LIST += sbl_smp_test
961 endif
962 sbl_smp_test_SBL_APPIMAGEGEN = yes
963 export sbl_smp_test_SBL_APPIMAGEGEN
965 # Multicore SMP Boot Test
966 sbl_multicore_smp_COMP_LIST = sbl_multicore_smp
967 sbl_multicore_smp_RELPATH = ti/boot/sbl/example/k3MulticoreApp
968 sbl_multicore_smp_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
969 sbl_multicore_smp_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
970 sbl_multicore_smp_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_multicore_smp.mk
971 export sbl_multicore_smp_MAKEFILE
972 # SBL multicore smp depends on sbl_smp_test for all the cores
973 sbl_multicore_smp_DEPENDS_ON=sbl_smp_test
974 export sbl_multicore_smp_DEPENDS_ON
975 sbl_multicore_smp_BOARD_DEPENDENCY = no
976 sbl_multicore_smp_SOC_DEPENDENCY = no
977 sbl_multicore_smp_CORE_DEPENDENCY = no
978 export sbl_multicore_smp_COMP_LIST
979 export sbl_multicore_smp_BOARD_DEPENDENCY
980 export sbl_multicore_smp_SOC_DEPENDENCY
981 export sbl_multicore_smp_CORE_DEPENDENCY
982 sbl_multicore_smp_PKG_LIST = sbl_multicore_smp
983 sbl_multicore_smp_INCLUDE = $(sbl_multicore_smp_PATH)
984 sbl_multicore_smp_BOARDLIST = $(sbl_BOARDLIST)
985 export sbl_multicore_smp_BOARDLIST
986 sbl_multicore_smp_$(SOC)_CORELIST := $($(SOC)_LASTCORE)
987 export sbl_multicore_smp_$(SOC)_CORELIST
988 ifneq ($(SOC),$(filter $(SOC), am64x tpr12))
989 sbl_EXAMPLE_LIST += sbl_multicore_smp
990 endif
991 sbl_multicore_smp_SBL_APPIMAGEGEN = no
992 export sbl_multicore_smp_SBL_APPIMAGEGEN
994 # R5 boot XIP Test
995 sbl_boot_xip_test_COMP_LIST = sbl_boot_xip_test
996 sbl_boot_xip_test_RELPATH = ti/boot/sbl/example/k3MulticoreApp
997 sbl_boot_xip_test_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
998 sbl_boot_xip_test_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
999 sbl_boot_xip_test_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_mcu0_boot_xip_test.mk
1000 export sbl_boot_xip_test_MAKEFILE
1001 sbl_boot_xip_test_BOARD_DEPENDENCY = no
1002 sbl_boot_xip_test_SOC_DEPENDENCY = no
1003 sbl_boot_xip_test_CORE_DEPENDENCY = no
1004 export sbl_boot_xip_test_COMP_LIST
1005 export sbl_boot_xip_test_BOARD_DEPENDENCY
1006 export sbl_boot_xip_test_SOC_DEPENDENCY
1007 export sbl_boot_xip_test_CORE_DEPENDENCY
1008 sbl_boot_xip_test_PKG_LIST = sbl_boot_xip_test
1009 sbl_boot_xip_test_INCLUDE = $(sbl_boot_xip_test_PATH)
1010 sbl_boot_xip_test_BOARDLIST = $(sbl_BOARDLIST)
1011 export sbl_boot_xip_test_BOARDLIST
1012 sbl_boot_xip_test_$(SOC)_CORELIST = mcu1_0
1013 export sbl_boot_xip_test_$(SOC)_CORELIST
1014 ifneq ($(SOC),$(filter $(SOC), tpr12))
1015 sbl_EXAMPLE_LIST += sbl_boot_xip_test
1016 endif
1017 sbl_boot_xip_test_SBL_APPIMAGEGEN = yes
1018 sbl_boot_xip_test_SBL_APP_BINIMAGEGEN = yes
1019 sbl_boot_xip_test_SBL_APP_BIN_SECTIONS = --only-section .rstvectors --only-section .sbl_mcu_1_0_resetvector
1020 export sbl_boot_xip_test_SBL_APPIMAGEGEN
1021 export sbl_boot_xip_test_SBL_APP_BINIMAGEGEN
1022 export sbl_boot_xip_test_SBL_APP_BIN_SECTIONS
1024 # R5 boot XIP entry
1025 sbl_boot_xip_entry_COMP_LIST = sbl_boot_xip_entry
1026 sbl_boot_xip_entry_RELPATH = ti/boot/sbl/example/k3MulticoreApp
1027 sbl_boot_xip_entry_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
1028 sbl_boot_xip_entry_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
1029 sbl_boot_xip_entry_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_mcu0_boot_xip_entry.mk
1030 export sbl_boot_xip_entry_MAKEFILE
1031 sbl_boot_xip_entry_BOARD_DEPENDENCY = no
1032 sbl_boot_xip_entry_SOC_DEPENDENCY = no
1033 sbl_boot_xip_entry_CORE_DEPENDENCY = no
1034 export sbl_boot_xip_entry_COMP_LIST
1035 export sbl_boot_xip_entry_BOARD_DEPENDENCY
1036 export sbl_boot_xip_entry_SOC_DEPENDENCY
1037 export sbl_boot_xip_entry_CORE_DEPENDENCY
1038 sbl_boot_xip_entry_PKG_LIST = sbl_boot_xip_entry
1039 sbl_boot_xip_entry_INCLUDE = $(sbl_boot_xip_entry_PATH)
1040 sbl_boot_xip_entry_BOARDLIST = $(sbl_BOARDLIST)
1041 export sbl_boot_xip_entry_BOARDLIST
1042 sbl_boot_xip_entry_$(SOC)_CORELIST = mcu1_0
1043 export sbl_boot_xip_entry_$(SOC)_CORELIST
1044 ifneq ($(SOC),$(filter $(SOC), tpr12))
1045 sbl_EXAMPLE_LIST += sbl_boot_xip_entry
1046 endif
1047 sbl_boot_xip_entry_SBL_APPIMAGEGEN = yes
1048 export sbl_boot_xip_entry_SBL_APPIMAGEGEN
1050 # Display profiling info before MCU1_0 boot
1051 # increases delay time, between end of SBL
1052 # and start of app, but useful for
1053 # debugging and tuning performace knobs
1054 #SBL_CFLAGS += -DSBL_DISPLAY_PROFILE_INFO
1056 ###### Use boot_perf_benchmark example#######
1057 ###### to fine tune the perf knobs  #########
1059 ###########START BOOT PERF KNOBS#############
1060 # SBL log level
1061 # no logs = 0, only errors =1, normal logs = 2, all logs = 3
1063 ifeq ($(SOC), tpr12)
1064 SBL_CFLAGS += -DSBL_LOG_LEVEL=0
1065 else
1066 SBL_CFLAGS += -DSBL_LOG_LEVEL=2
1067 endif
1069 SBL_CFLAGS += -DSBL_ENABLE_PLL
1070 SBL_CFLAGS += -DSBL_ENABLE_CLOCKS
1071 SBL_CFLAGS += -DSBL_ENABLE_DDR
1073 ############################################
1074 # DISABLING the options above this caption
1075 # improves boot time at the cost of moving
1076 # PLL, LPSC and DDR init to the app
1078 # ENABLING the options below this caption
1079 # improves boot time by skipping stuff SBL
1080 # usually does.
1081 ###########################################
1082 # If enabled, the SBL will branch to the start
1083 # of MCU_0 app without resetting the core
1084 # if csl defaults are godd enough this enables
1085 # app to skip redoing mcu initialization
1086 #SBL_CFLAGS += -DSBL_SKIP_MCU_RESET
1088 # If enabled, SBL will skip initializing
1089 # sysfw. The SBL will only load it.
1090 # No SCI Client APIs will work. Saves
1091 # boot time. When this is enabled
1092 # make sure that SBL_SKIP_MCU_RESET is also
1093 # enabled, as resetting a core needs SYSFW
1094 # to be running.
1095 # SBL_CFLAGS += -DSBL_SKIP_SYSFW_INIT
1097 # If enabled, SBL will skip calling
1098 # Sciclient_boardCfg* API.  Enabling
1099 # it saves boot time, can affect
1100 # functionality. The app must call the
1101 # Sciclient_boardCfg* APIs that the SBL
1102 # skips. Like for eg, if SBL skips calling
1103 # Sciclient_boardCfgPm, then Sciclient_boardCfgRm
1104 # and Sciclient_boardCfgSec must also
1105 # be skipped.
1106 #SBL_CFLAGS += -DSBL_SKIP_BRD_CFG_BOARD
1107 #SBL_CFLAGS += -DSBL_SKIP_BRD_CFG_RM
1108 #SBL_CFLAGS += -DSBL_SKIP_BRD_CFG_SEC
1109 #SBL_CFLAGS += -DSBL_SKIP_BRD_CFG_PM
1111 # If enabled, SBL will only enable the Clocks
1112 # and PLLs for the MCU domain. Clocks and PLLs
1113 # for the Main domaincan be initialized by the
1114 # app to save boot time or if the application
1115 # usecase demands it.
1116 #SBL_CFLAGS += -DSBL_ENABLE_DEV_GRP_MCU
1118 # If enabled, SBL will use alternate
1119 # config steps to directly boot an HLOS,
1120 # including an alternate set of Sciclient
1121 # RM board cfg settings.
1122 # NOTE: Currently supported only for J721E, J7200
1123 #SBL_CFLAGS += -DSBL_ENABLE_HLOS_BOOT
1125 # If enabled, SBL will not leave the OSPI
1126 # flash in XIP mode, so that the MAIN
1127 # domain Cortex-A code (HLOS) can reset
1128 # the flash and take control of it, if
1129 # needed.
1130 #SBL_CFLAGS += -DSBL_HLOS_OWNS_FLASH
1132 # If enabled, SBL will skip any PINMUX
1133 # init being used in the bootloader and
1134 # expect that it will be handled by
1135 # another app.
1136 #SBL_CFLAGS += -DSBL_SKIP_PINMUX_ENABLE
1138 # If enabled, SBL will skip handling the
1139 # SoC Late Init functions normally contained
1140 # in SBL_SocLateInit()
1141 #SBL_CFLAGS += -DSBL_SKIP_LATE_INIT
1143 # If enabled, the SBL will configure & use
1144 # resources in the MCU domain ONLY to
1145 # enable MCU-only code to run.
1146 #SBL_CFLAGS += -DSBL_USE_MCU_DOMAIN_ONLY
1148 # If enabled for OSPI boot the SBL will bypass the
1149 # OSPI driver completely and let ROM copy the sysftw/application
1150 # from flash.
1151 #SBL_CFLAGS += -DSBL_BYPASS_OSPI_DRIVER
1153 # If enabled for OSPI boot the SBL will bypass the
1154 # OSPI driver for system firmware download and use the OSPI driver for
1155 # downloading application from the flash
1156 #SBL_CFLAGS += -DSBL_BYPASS_OSPI_DRIVER_FOR_SYSFW_DOWNLOAD
1158 # If enabled the SBL image is built for running on VLAB simulation.
1159 #SBL_CFLAGS += -DVLAB_SIM
1161 ###########END BOOT PERF KNOBS#############
1163 # Example - Building Custom SBL Images
1164 # Build and SBl with custom flags to change
1165 # different build configurations
1166 CUST_SBL_TEST_SOCS = am65xx j721e j7200 am64x_evm
1167 CUST_SBL_TEST_BOARDS = am65xx_evm j721e_evm j7200_evm am64x_evm
1168 #CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=1 -DSBL_LOG_LEVEL=0 -DSBL_SCRATCH_MEM_START=0x70100000 -DSBL_SCRATCH_MEM_SIZE=0xF0000 -DSBL_SKIP_MCU_RESET  -DBOOT_OSPI "
1169 #CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=1 -DSBL_LOG_LEVEL=0 -DSBL_SCRATCH_MEM_START=0x70100000 -DSBL_SKIP_MCU_RESET -DSBL_SKIP_BRD_CFG_PM -DBOOT_OSPI "
1170 #CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=0 -DSBL_LOG_LEVEL=0 -DSBL_SCRATCH_MEM_START=0x70100000 -DSBL_SCRATCH_MEM_SIZE=0xF0000 -DSBL_SKIP_SYSFW_INIT -DSBL_SKIP_MCU_RESET -DBOOT_OSPI"
1171 #CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=1 -DSBL_LOG_LEVEL=1 -DSBL_SCRATCH_MEM_START=0xB8000000 -DSBL_SCRATCH_MEM_SIZE=0x4000000 -DSBL_ENABLE_PLL -DSBL_ENABLE_CLOCKS -DSBL_ENABLE_DDR -DSBL_SKIP_MCU_RESET -DBOOT_OSPI"
1172 ifeq ($(SOC), j7200)
1173 # NOTE: If changing to SBL_USE_DMA=1, below, then also change 'sbl_lib_cust' & 'sbl_cust_img' MAKEFILE lines further below to use 'SBL_USE_DMA=yes'
1174 CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=0 -DSBL_LOG_LEVEL=1 -DSBL_SCRATCH_MEM_START=0xB8000000 -DSBL_SCRATCH_MEM_SIZE=0x4000000 -DSBL_ENABLE_PLL -DSBL_ENABLE_CLOCKS -DSBL_ENABLE_DDR -DSBL_SKIP_MCU_RESET -DBOOT_OSPI"
1175 else
1176   ifeq ($(findstring j7,$(SOC)),j7)
1177 # NOTE: If changing to SBL_USE_DMA=1, below, then also change 'sbl_lib_cust' & 'sbl_cust_img' MAKEFILE lines further below to use 'SBL_USE_DMA=yes'
1178 CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=0 -DSBL_LOG_LEVEL=1 -DSBL_SCRATCH_MEM_START=0xB8000000 -DSBL_SCRATCH_MEM_SIZE=0x4000000 -DSBL_ENABLE_PLL -DSBL_ENABLE_CLOCKS -DSBL_ENABLE_DDR -DSBL_SKIP_MCU_RESET -DBOOT_OSPI"
1179 # Custom ex: Early CAN response (NOTE: before using line below, comment out the line above)
1180 #CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=0 -DSBL_LOG_LEVEL=1 -DSBL_SCRATCH_MEM_START=0x41cc0000 -DSBL_SCRATCH_MEM_SIZE=0x40000 -DSBL_ENABLE_PLL -DSBL_ENABLE_CLOCKS -DSBL_SKIP_MCU_RESET -DBOOT_OSPI -DSBL_ENABLE_DEV_GRP_MCU -DSBL_HLOS_OWNS_FLASH -DSBL_SKIP_PINMUX_ENABLE -DSBL_SKIP_LATE_INIT -DSBL_USE_MCU_DOMAIN_ONLY"
1181   else
1182 CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=0 -DSBL_LOG_LEVEL=1 -DSBL_SCRATCH_MEM_START=0x70100000 -DSBL_SCRATCH_MEM_SIZE=0xF0000 -DSBL_ENABLE_PLL -DSBL_ENABLE_CLOCKS -DSBL_SKIP_MCU_RESET -DBOOT_OSPI"
1183   endif
1184 #Custom configuration for AM64x OSPI Boot
1185 #CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=0 -DSBL_LOG_LEVEL=3 -DSBL_SCRATCH_MEM_START=0x70100000 -DSBL_SCRATCH_MEM_SIZE=0xF0000 -DSBL_ENABLE_PLL -DSBL_ENABLE_CLOCKS -DBOOT_OSPI -DSBL_ENABLE_DDR  -DSBL_BYPASS_OSPI_DRIVER"
1186 endif
1188 # SBL Custom LIB
1189 sbl_lib_cust_COMP_LIST = sbl_lib_cust
1190 sbl_lib_cust_RELPATH = ti/boot/sbl
1191 export sbl_lib_cust_OBJPATH = ti/boot/sbl/cust
1192 sbl_lib_cust_LIBNAME = sbl_lib_cust
1193 sbl_lib_cust_PATH = $(PDK_SBL_COMP_PATH)
1194 sbl_lib_cust_LIBNAME = sbl_lib_cust
1195 sbl_lib_cust_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/cust
1196 sbl_lib_cust_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=cust SBL_USE_DMA=no CUST_SBL_FLAGS=$(CUST_SBL_TEST_FLAGS)
1197 export sbl_lib_cust_MAKEFILE
1198 export sbl_lib_cust_LIBNAME
1199 export sbl_lib_cust_LIBPATH
1200 sbl_lib_cust_BOARD_DEPENDENCY = yes
1201 sbl_lib_cust_SOC_DEPENDENCY = yes
1202 sbl_lib_cust_CORE_DEPENDENCY = no
1203 export sbl_lib_cust_COMP_LIST
1204 export sbl_lib_cust_BOARD_DEPENDENCY
1205 export sbl_lib_cust_CORE_DEPENDENCY
1206 sbl_lib_cust_PKG_LIST = sbl_lib_cust
1207 sbl_lib_cust_INCLUDE = $(sbl_lib_cust_PATH)
1208 sbl_lib_cust_SOCLIST = $(CUST_SBL_TEST_SOCS)
1209 sbl_lib_cust_BOARDLIST = $(CUST_SBL_TEST_BOARDS)
1210 export sbl_lib_cust_SOCLIST
1211 export sbl_lib_cust_BOARDLIST
1212 sbl_lib_cust_$(SOC)_CORELIST = mcu1_0
1213 export sbl_lib_cust_$(SOC)_CORELIST
1215 # SBL custom image
1216 sbl_cust_img_COMP_LIST = sbl_cust_img
1217 sbl_cust_img_RELPATH = ti/boot/sbl/board/k3
1218 sbl_cust_img_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/cust/bin
1219 sbl_cust_img_PATH = $(PDK_SBL_COMP_PATH)/board/k3
1220 sbl_cust_img_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=cust SBL_USE_DMA=no BUILD_HS=no CUST_SBL_FLAGS=$(CUST_SBL_TEST_FLAGS)
1221 export sbl_cust_img_MAKEFILE
1222 export sbl_cust_img_SBL_CERT_KEY=$(SBL_CERT_KEY)
1223 sbl_cust_img_BOARD_DEPENDENCY = yes
1224 sbl_cust_img_SOC_DEPENDENCY = yes
1225 sbl_cust_img_CORE_DEPENDENCY = no
1226 export sbl_cust_img_COMP_LIST
1227 export sbl_cust_img_BOARD_DEPENDENCY
1228 export sbl_cust_img_SOC_DEPENDENCY
1229 export sbl_cust_img_CORE_DEPENDENCY
1230 sbl_cust_img_PKG_LIST = sbl
1231 sbl_cust_img_INCLUDE = $(sbl_cust_img_PATH)
1232 sbl_cust_img_SOCLIST = $(CUST_SBL_TEST_SOCS)
1233 sbl_cust_img_BOARDLIST = $(CUST_SBL_TEST_BOARDS)
1234 export sbl_cust_img_SOCLIST
1235 export sbl_cust_img_BOARDLIST
1236 sbl_cust_img_$(SOC)_CORELIST = mcu1_0
1237 export sbl_cust_img_$(SOC)_CORELIST
1238 ifneq ($(SOC),$(filter $(SOC), am64x tpr12))
1239 sbl_EXAMPLE_LIST += sbl_cust_img
1240 endif
1241 sbl_cust_img_SBL_IMAGEGEN = yes
1242 export sbl_cust_img_SBL_IMAGEGEN
1244 # SBL custom image - For HS build
1245 export sbl_cust_img_hs_COMP_LIST = sbl_cust_img_hs
1246 sbl_cust_img_hs_RELPATH = ti/boot/sbl/board/k3
1247 sbl_cust_img_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/cust/bin
1248 #Note: The below variable is purposefully set to build folder - different than
1249 #non-hs app.
1250 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
1251 #creates lto_$APPNAME optimization file in the directory in which -C is called
1252 #Because of this multiple lto_ files with same name can be created if app name
1253 #and app path are same
1254 sbl_cust_img_hs_PATH = $(PDK_SBL_COMP_PATH)/build
1255 export sbl_cust_img_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk CUST_SBL_FLAGS=$(CUST_SBL_TEST_FLAGS) BOOTMODE=cust SBL_USE_DMA=no BUILD_HS=yes
1256 export sbl_cust_img_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
1257 export sbl_cust_img_hs_BOARD_DEPENDENCY = yes
1258 export sbl_cust_img_hs_SOC_DEPENDENCY = yes
1259 export sbl_cust_img_hs_CORE_DEPENDENCY = no
1260 sbl_cust_img_hs_PKG_LIST = sbl
1261 sbl_cust_img_hs_INCLUDE = $(sbl_cust_img_hs_PATH)
1262 export sbl_cust_img_hs_SOCLIST = $(CUST_SBL_TEST_SOCS)
1263 export sbl_cust_img_hs_BOARDLIST = $(CUST_SBL_TEST_BOARDS)
1264 export sbl_cust_img_hs_$(SOC)_CORELIST = mcu1_0
1265 export sbl_cust_img_hs_SBL_IMAGEGEN = yes
1266 ifneq ($(SOC),$(filter $(SOC), am64x j7200 tpr12))
1267 sbl_EXAMPLE_LIST += sbl_cust_img_hs
1268 endif
1270 # R5 boot performance Test - works only with custom SBL
1271 sbl_boot_perf_test_COMP_LIST = sbl_boot_perf_test
1272 sbl_boot_perf_test_RELPATH = ti/boot/sbl/example/k3MulticoreApp
1273 sbl_boot_perf_test_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
1274 sbl_boot_perf_test_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
1275 sbl_boot_perf_test_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_mcu0_boot_perf_test.mk BOOTMODE=cust CUST_SBL_FLAGS=$(CUST_SBL_TEST_FLAGS)
1276 export sbl_boot_perf_test_MAKEFILE
1277 sbl_boot_perf_test_BOARD_DEPENDENCY = no
1278 sbl_boot_perf_test_SOC_DEPENDENCY = no
1279 sbl_boot_perf_test_CORE_DEPENDENCY = no
1280 export sbl_boot_perf_test_COMP_LIST
1281 export sbl_boot_perf_test_BOARD_DEPENDENCY
1282 export sbl_boot_perf_test_SOC_DEPENDENCY
1283 export sbl_boot_perf_test_CORE_DEPENDENCY
1284 sbl_boot_perf_test_PKG_LIST = sbl_boot_perf_test
1285 sbl_boot_perf_test_INCLUDE = $(sbl_boot_perf_test_PATH)
1286 sbl_boot_perf_test_SOCLIST = $(CUST_SBL_TEST_SOCS)
1287 sbl_boot_perf_test_BOARDLIST = $(CUST_SBL_TEST_BOARDS)
1288 export sbl_boot_perf_test_SOCLIST
1289 export sbl_boot_perf_test_BOARDLIST
1290 sbl_boot_perf_test_$(SOC)_CORELIST = mcu1_0
1291 export sbl_boot_perf_test_$(SOC)_CORELIST
1292 ifneq ($(SOC),$(filter $(SOC), am64x tpr12))
1293 sbl_EXAMPLE_LIST += sbl_boot_perf_test
1294 endif
1295 sbl_boot_perf_test_SBL_APPIMAGEGEN = yes
1296 export sbl_boot_perf_test_SBL_APPIMAGEGEN
1298 # TPR12 QT Test Bench image
1299 ifeq ($(SOC), tpr12)
1300 sbl_r4tb_COMP_LIST = sbl_r4tb
1301 sbl_r4tb_RELPATH = ti/boot/sbl/example/tpr12MulticoreApp/r4_tb
1302 sbl_r4tb_BINPATH = $(PDK_SBL_COMP_PATH)/example/tpr12MulticoreApp/r4_tb/obj
1303 sbl_r4tb_PATH = $(PDK_SBL_COMP_PATH)/example/tpr12MulticoreApp/r4_tb
1304 sbl_r4tb_MAKEFILE = -f$(sbl_r4tb_PATH)/makefile all R4_TB_PATH:=${sbl_r4tb_PATH} R4_CODEGEN_INSTALL_PATH:=${TOOLCHAIN_PATH_R5}
1305 export sbl_r4tb_MAKEFILE
1306 sbl_r4tb_BOARD_DEPENDENCY = no
1307 sbl_r4tb_SOC_DEPENDENCY = no
1308 sbl_r4tb_CORE_DEPENDENCY = no
1309 export sbl_r4tb_COMP_LIST
1310 export sbl_r4tb_BOARD_DEPENDENCY
1311 export sbl_r4tb_SOC_DEPENDENCY
1312 export sbl_r4tb_CORE_DEPENDENCY
1313 sbl_r4tb_PKG_LIST = sbl_r4tb
1314 sbl_r4tb_INCLUDE = $(sbl_r4tb_PATH)
1315 sbl_r4tb_BOARDLIST = tpr12_evm tpr12_qt
1316 export sbl_r4tb_BOARDLIST
1317 sbl_r4tb_$(SOC)_CORELIST = $(sbl_$(SOC)_CORELIST)
1318 export sbl_r4tb_$(SOC)_CORELIST
1319 sbl_r4tb_SBL_APPIMAGEGEN = no
1320 export sbl_r4tb_SBL_APPIMAGEGEN
1321 endif
1323 ifeq ($(SOC), tpr12)
1324 # R5 Lockstep and DSP Boot Test
1325 sbl_tpr12_test_COMP_LIST = sbl_tpr12_test
1326 sbl_tpr12_test_RELPATH = ti/boot/sbl/example/tpr12MulticoreApp
1327 sbl_tpr12_test_BINPATH = $(PDK_SBL_COMP_PATH)/example/tpr12MulticoreApp/binary
1328 sbl_tpr12_test_PATH = $(PDK_SBL_COMP_PATH)/example/tpr12MulticoreApp
1329 sbl_tpr12_test_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_tpr12_test.mk BOOTMODE=uart
1330 export sbl_tpr12_test_MAKEFILE
1331 sbl_tpr12_test_BOARD_DEPENDENCY = no
1332 sbl_tpr12_test_SOC_DEPENDENCY = no
1333 sbl_tpr12_test_CORE_DEPENDENCY = no
1334 export sbl_tpr12_test_COMP_LIST
1335 export sbl_tpr12_test_BOARD_DEPENDENCY
1336 export sbl_tpr12_test_SOC_DEPENDENCY
1337 export sbl_tpr12_test_CORE_DEPENDENCY
1338 sbl_tpr12_test_PKG_LIST = sbl_tpr12_test
1339 sbl_tpr12_test_INCLUDE = $(sbl_tpr12_test_PATH)
1340 sbl_tpr12_test_BOARDLIST = $(sbl_BOARDLIST)
1341 export sbl_tpr12_test_BOARDLIST
1342 sbl_tpr12_test_$(SOC)_CORELIST = $(sbl_tpr12_CORELIST)
1343 export sbl_tpr12_test_$(SOC)_CORELIST
1344 sbl_EXAMPLE_LIST += sbl_tpr12_test
1345 sbl_tpr12_test_SBL_APPIMAGEGEN = no
1346 export sbl_tpr12_test_SBL_APPIMAGEGEN
1347 endif
1349 # SBL not supported for any profile
1350 # other than release
1351 ifneq ($(BUILD_PROFILE), release)
1352 ifneq ($(SOC), tpr12)
1353 sbl_LIB_LIST =
1354 sbl_EXAMPLE_LIST =
1355 SBL_CFLAGS =
1356 endif # TPR12 Debug SBL build support
1357 endif # ifneq ($(BUILD_PROFILE), release)
1359 export sbl_LIB_LIST
1360 export sbl_EXAMPLE_LIST
1361 export SBL_CFLAGS
1363 sbl_component_make_include := 1
1364 endif