c3d68cf1b75914a1f6bad764679e6d42c792f61f
[processor-sdk/pdk.git] / packages / ti / board / diag / board_diag_component.mk
1 #  ============================================================================
2 #  (C) Copyright 2019-2020 Texas Instruments, Inc.
3 #
4 #  Redistribution and use in source and binary forms, with or without
5 #  modification, are permitted provided that the following conditions
6 #  are met:
7 #
8 #    Redistributions of source code must retain the above copyright
9 #    notice, this list of conditions and the following disclaimer.
10 #
11 #    Redistributions in binary form must reproduce the above copyright
12 #    notice, this list of conditions and the following disclaimer in the
13 #    documentation and/or other materials provided with the
14 #    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
21 #  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 #  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 #  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 #  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 #  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 #  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 #  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 #  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 #  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 #  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 #
32 #  ============================================================================
34 # File: board_diag_component.mk
35 #       This file is component include make file of board diagnostic.
36 # List of variables set in this file and their purpose:
37 # <mod>_RELPATH        - This is the relative path of the module, typically from
38 #                        top-level directory of the package
39 # <mod>_PATH           - This is the absolute path of the module. It derives from
40 #                        absolute path of the top-level directory (set in env.mk)
41 #                        and relative path set above
42 # <mod>_INCLUDE        - This is the path that has interface header files of the
43 #                        module. This can be multiple directories (space separated)
44 # <mod>_PKG_LIST       - Names of the modules (and sub-modules) that are a part
45 #                        part of this module, including itself.
46 # <mod>_BOARD_DEPENDENCY - "yes": means the code for this module depends on
47 #                             board and the compiled obj/lib has to be kept
48 #                             under <board> directory
49 #                             "no" or "" or if this variable is not defined: means
50 #                             this module has no board dependent code and hence
51 #                             the obj/libs are not kept under <board> dir.
52 # <mod>_CORE_DEPENDENCY     - "yes": means the code for this module depends on
53 #                             core and the compiled obj/lib has to be kept
54 #                             under <core> directory
55 #                             "no" or "" or if this variable is not defined: means
56 #                             this module has no core dependent code and hence
57 #                             the obj/libs are not kept under <core> dir.
58 # <mod>_APP_STAGE_FILES     - List of source files that belongs to the module
59 #                             <mod>, but that needs to be compiled at application
60 #                             build stage (in the context of the app). This is
61 #                             primarily for link time configurations or if the
62 #                             source file is dependent on options/defines that are
63 #                             application dependent. This can be left blank or
64 #                             not defined at all, in which case, it means there
65 #                             no source files in the module <mod> that are required
66 #                             to be compiled in the application build stage.
67 #
68 ifeq ($(board_diag_component_make_include), )
70 #board_diag_am65xx_BOARDLIST = am65xx_evm am65xx_idk
71 board_diag_am65xx_CORELIST = mpu1_0 mcu1_0
72 board_diag_j721e_BOARDLIST = j721e_evm
73 board_diag_j721e_CORELIST = mpu1_0 mcu1_0
74 board_diag_j7200_CORELIST = mpu1_0 mcu1_0
75 board_diag_tpr12_CORELIST = mcu1_0
76 board_diag_awr294x_CORELIST = mcu1_0
77 board_diag_am64x_CORELIST = mpu1_0 mcu1_0
79 ############################
80 # Board diagnostic package
81 # List of diagnostics included under board diagnostic
82 # The components included here are built and will be part of board diagnostic
83 ############################
84 board_diag_LIB_LIST =
86 ############################
87 # board diagnostics
88 # List of diagnostics under board
89 # All the tests mentioned in list are built when test target is called
90 # List below all example for allowed values - note the list is populated in each example
91 ############################
92 board_diag_EXAMPLE_LIST =
94 #
95 # Diagnostic Modules
96 #
98 # ARCH is used for diag binary folder name to align with existing platforms
99 board_diag_LOCAL_BINPATH =
101 board_diag_APPIMAGEGEN_CTRL = yes
103 # Board Diagnostic
104 board_diag_COMP_LIST = board_diag
106 # ADC
107 board_diag_adc_COMP_LIST = board_diag_adc
108 board_diag_adc_RELPATH = ti/board/diag/adc/build
109 board_diag_adc_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/adc/build
110 board_diag_adc_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
111 board_diag_adc_MAKEFILE = -f makefile
112 board_diag_adc_BOARD_DEPENDENCY = yes
113 board_diag_adc_CORE_DEPENDENCY = yes
114 export board_diag_adc_COMP_LIST
115 export board_diag_adc_BOARD_DEPENDENCY
116 export board_diag_adc_CORE_DEPENDENCY
117 export board_diag_adc_MAKEFILE
118 board_diag_adc_PKG_LIST = board_diag_adc
119 board_diag_adc_INCLUDE = $(board_diag_adc_PATH)
120 board_diag_adc_BOARDLIST = j721e_evm j7200_evm am64x_evm
121 board_diag_adc_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
122 export board_diag_adc_$(SOC)_CORELIST
123 export board_diag_adc_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
124 board_diag_EXAMPLE_LIST += board_diag_adc
126 # AUTOMATION HEADER
127 board_diag_automationHeader_COMP_LIST = board_diag_automationHeader
128 board_diag_automationHeader_RELPATH = ti/board/diag/automation_header/build
129 board_diag_automationHeader_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/automation_header/build
130 board_diag_automationHeader_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
131 board_diag_automationHeader_MAKEFILE = -f makefile
132 board_diag_automationHeader_BOARD_DEPENDENCY = yes
133 board_diag_automationHeader_CORE_DEPENDENCY = yes
134 export board_diag_automationHeader_COMP_LIST
135 export board_diag_automationHeader_BOARD_DEPENDENCY
136 export board_diag_automationHeader_CORE_DEPENDENCY
137 export board_diag_automationHeader_MAKEFILE
138 board_diag_automationHeader_PKG_LIST = board_diag_automationHeader
139 board_diag_automationHeader_INCLUDE = $(board_diag_automationHeader_PATH)
140 board_diag_automationHeader_BOARDLIST = j721e_evm j7200_evm am64x_evm
141 board_diag_automationHeader_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
142 export board_diag_automationHeader_$(SOC)_CORELIST
143 export board_diag_automationHeader_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
144 board_diag_EXAMPLE_LIST += board_diag_automationHeader
146 # BOOT EEPROM
147 board_diag_bootEeprom_COMP_LIST = board_diag_bootEeprom
148 board_diag_bootEeprom_RELPATH = ti/board/diag/boot_eeprom/build
149 board_diag_bootEeprom_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/boot_eeprom/build
150 board_diag_bootEeprom_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
151 board_diag_bootEeprom_MAKEFILE = -f makefile
152 board_diag_bootEeprom_BOARD_DEPENDENCY = yes
153 board_diag_bootEeprom_CORE_DEPENDENCY = yes
154 export board_diag_bootEeprom_COMP_LIST
155 export board_diag_bootEeprom_BOARD_DEPENDENCY
156 export board_diag_bootEeprom_CORE_DEPENDENCY
157 export board_diag_bootEeprom_MAKEFILE
158 board_diag_bootEeprom_PKG_LIST = board_diag_bootEeprom
159 board_diag_bootEeprom_INCLUDE = $(board_diag_bootEeprom_PATH)
160 board_diag_bootEeprom_BOARDLIST = j721e_evm am65xx_evm am65xx_idk j7200_evm
161 board_diag_bootEeprom_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
162 export board_diag_bootEeprom_$(SOC)_CORELIST
163 export board_diag_bootEeprom_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
164 board_diag_EXAMPLE_LIST += board_diag_bootEeprom
166 # BOOST GPIO
167 board_diag_boostGpio_COMP_LIST = board_diag_boostGpio
168 board_diag_boostGpio_RELPATH = ti/board/diag/boost_gpio/build
169 board_diag_boostGpio_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/boost_gpio/build
170 board_diag_boostGpio_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
171 board_diag_boostGpio_MAKEFILE = -f makefile
172 board_diag_boostGpio_BOARD_DEPENDENCY = yes
173 board_diag_boostGpio_CORE_DEPENDENCY = yes
174 export board_diag_boostGpio_COMP_LIST
175 export board_diag_boostGpio_BOARD_DEPENDENCY
176 export board_diag_boostGpio_CORE_DEPENDENCY
177 export board_diag_boostGpio_MAKEFILE
178 board_diag_boostGpio_PKG_LIST = board_diag_boostGpio
179 board_diag_boostGpio_INCLUDE = $(board_diag_boostGpio_PATH)
180 board_diag_boostGpio_BOARDLIST = am65xx_evm
181 board_diag_boostGpio_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
182 export board_diag_boostGpio_$(SOC)_CORELIST
183 export board_diag_boostGpio_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
184 board_diag_EXAMPLE_LIST += board_diag_boostGpio
186 # BOOT SWITCH
187 export board_diag_bootSwitch_COMP_LIST = board_diag_bootSwitch
188 board_diag_bootSwitch_RELPATH = ti/board/diag/boot_switch/build
189 board_diag_bootSwitch_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/boot_switch/build
190 board_diag_bootSwitch_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
191 export board_diag_bootSwitch_MAKEFILE = -f makefile
192 export board_diag_bootSwitch_BOARD_DEPENDENCY = yes
193 export board_diag_bootSwitch_CORE_DEPENDENCY = yes
194 board_diag_bootSwitch_PKG_LIST = board_diag_bootSwitch
195 board_diag_bootSwitch_INCLUDE = $(board_diag_bootSwitch_PATH)
196 board_diag_bootSwitch_BOARDLIST = j721e_evm am65xx_evm am65xx_idk j7200_evm am64x_evm
197 export board_diag_bootSwitch_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
198 export board_diag_bootSwitch_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
199 board_diag_EXAMPLE_LIST += board_diag_bootSwitch
201 # BUTTON
202 export board_diag_button_COMP_LIST = board_diag_button
203 board_diag_button_RELPATH = ti/board/diag/button/build
204 board_diag_button_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/button/build
205 board_diag_button_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
206 export board_diag_button_MAKEFILE = -f makefile
207 export board_diag_button_BOARD_DEPENDENCY = yes
208 export board_diag_button_CORE_DEPENDENCY = yes
209 board_diag_button_PKG_LIST = board_diag_button
210 board_diag_button_INCLUDE = $(board_diag_button_PATH)
211 board_diag_button_BOARDLIST = am65xx_evm am65xx_idk tpr12_evm am64x_evm awr294x_evm
212 export board_diag_button_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
213 export board_diag_button_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
214 board_diag_EXAMPLE_LIST += board_diag_button
216 # CLOCK GENERATOR
217 board_diag_clockGen_COMP_LIST = board_diag_clockGen
218 board_diag_clockGen_RELPATH = ti/board/diag/clock_generator/build
219 board_diag_clockGen_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/clock_generator/build
220 board_diag_clockGen_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
221 board_diag_clockGen_MAKEFILE = -f makefile
222 board_diag_clockGen_BOARD_DEPENDENCY = yes
223 board_diag_clockGen_CORE_DEPENDENCY = yes
224 export board_diag_clockGen_COMP_LIST
225 export board_diag_clockGen_BOARD_DEPENDENCY
226 export board_diag_clockGen_CORE_DEPENDENCY
227 export board_diag_clockGen_MAKEFILE
228 board_diag_clockGen_PKG_LIST = board_diag_clockGen
229 board_diag_clockGen_INCLUDE = $(board_diag_clockGen_PATH)
230 board_diag_clockGen_BOARDLIST = j721e_evm j7200_evm
231 board_diag_clockGen_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
232 export board_diag_clockGen_$(SOC)_CORELIST
233 export board_diag_clockGen_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
234 board_diag_EXAMPLE_LIST += board_diag_clockGen
236 # CPSW EMAC
237 board_diag_cpsw_COMP_LIST = board_diag_cpsw
238 board_diag_cpsw_RELPATH = ti/board/diag/cpsw/build
239 board_diag_cpsw_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/cpsw/build
240 board_diag_cpsw_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
241 board_diag_cpsw_MAKEFILE = -f makefile
242 board_diag_cpsw_BOARD_DEPENDENCY = yes
243 board_diag_cpsw_CORE_DEPENDENCY = yes
244 export board_diag_cpsw_COMP_LIST
245 export board_diag_cpsw_BOARD_DEPENDENCY
246 export board_diag_cpsw_CORE_DEPENDENCY
247 export board_diag_cpsw_MAKEFILE
248 board_diag_cpsw_PKG_LIST = board_diag_cpsw
249 board_diag_cpsw_INCLUDE = $(board_diag_cpsw_PATH)
250 board_diag_cpsw_BOARDLIST = tpr12_evm awr294x_evm
251 board_diag_cpsw_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
252 export board_diag_cpsw_$(SOC)_CORELIST
253 export board_diag_cpsw_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
254 board_diag_EXAMPLE_LIST += board_diag_cpsw
256 # csirx
257 board_diag_csirx_COMP_LIST = board_diag_csirx
258 board_diag_csirx_RELPATH = ti/board/diag/csirx/build
259 board_diag_csirx_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/csirx/build
260 board_diag_csirx_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
261 board_diag_csirx_MAKEFILE = -f makefile IS_BAREMETAL=yes
262 board_diag_csirx_BOARD_DEPENDENCY = yes
263 board_diag_csirx_CORE_DEPENDENCY = yes
264 board_diag_csirx_XDC_CONFIGURO = no
265 export board_diag_csirx_COMP_LIST
266 export board_diag_csirx_BOARD_DEPENDENCY
267 export board_diag_csirx_CORE_DEPENDENCY
268 export board_diag_csirx_MAKEFILE
269 export board_diag_csirx_XDC_CONFIGURO
270 board_diag_csirx_PKG_LIST = board_diag_csirx
271 board_diag_csirx_INCLUDE = $(board_diag_csirx_PATH)
272 board_diag_csirx_BOARDLIST = j721e_evm tpr12_evm
273 ifeq ($(SOC),$(filter $(SOC), tpr12))
274 board_diag_csirx_$(SOC)_CORELIST = mcu1_0 c66xdsp_1
275 else
276 board_diag_csirx_$(SOC)_CORELIST = mcu2_0
277 endif
278 export board_diag_csirx_$(SOC)_CORELIST
279 export board_diag_csirx_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
281 # csirx
282 board_diag_csirx_tirtos_COMP_LIST = board_diag_csirx_tirtos
283 board_diag_csirx_tirtos_RELPATH = ti/board/diag/csirx/build
284 board_diag_csirx_tirtos_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/csirx/build
285 board_diag_csirx_tirtos_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
286 board_diag_csirx_tirtos_MAKEFILE = -f makefile IS_BAREMETAL=no
287 board_diag_csirx_tirtos_BOARD_DEPENDENCY = yes
288 board_diag_csirx_tirtos_CORE_DEPENDENCY = yes
289 board_diag_csirx_tirtos_XDC_CONFIGURO = yes
290 export board_diag_csirx_tirtos_COMP_LIST
291 export board_diag_csirx_tirtos_BOARD_DEPENDENCY
292 export board_diag_csirx_tirtos_CORE_DEPENDENCY
293 export board_diag_csirx_tirtos_MAKEFILE
294 export board_diag_csirx_tirtos_XDC_CONFIGURO
295 board_diag_csirx_tirtos_PKG_LIST = board_diag_csirx_tirtos
296 board_diag_csirx_tirtos_INCLUDE = $(board_diag_csirx_tirtos_PATH)
297 board_diag_csirx_tirtos_BOARDLIST = tpr12_evm
298 board_diag_csirx_tirtos_$(SOC)_CORELIST = mcu1_0 c66xdsp_1
299 export board_diag_csirx_tirtos_$(SOC)_CORELIST
300 export board_diag_csirx_tirtos_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
302 # Add CSIRX diagnostic test only if the CSIRX component path exists
303 ifneq ($(wildcard $(PDK_CSIRX_COMP_PATH)),)
304 board_diag_EXAMPLE_LIST += board_diag_csirx board_diag_csirx_tirtos
305 endif
308 # CURRENT MONITOR
309 board_diag_currentMonitor_COMP_LIST = board_diag_currentMonitor
310 board_diag_currentMonitor_RELPATH = ti/board/diag/current_monitor/build
311 board_diag_currentMonitor_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/current_monitor/build
312 board_diag_currentMonitor_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
313 board_diag_currentMonitor_MAKEFILE = -f makefile
314 board_diag_currentMonitor_BOARD_DEPENDENCY = yes
315 board_diag_currentMonitor_CORE_DEPENDENCY = yes
316 export board_diag_currentMonitor_COMP_LIST
317 export board_diag_currentMonitor_BOARD_DEPENDENCY
318 export board_diag_currentMonitor_CORE_DEPENDENCY
319 export board_diag_currentMonitor_MAKEFILE
320 board_diag_currentMonitor_PKG_LIST = board_diag_currentMonitor
321 board_diag_currentMonitor_INCLUDE = $(board_diag_currentMonitor_PATH)
322 board_diag_currentMonitor_BOARDLIST = j721e_evm am65xx_evm am65xx_idk j7200_evm tpr12_evm am64x_evm am64x_svb awr294x_evm
323 board_diag_currentMonitor_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
324 export board_diag_currentMonitor_$(SOC)_CORELIST
325 export board_diag_currentMonitor_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
326 board_diag_EXAMPLE_LIST += board_diag_currentMonitor
328 # DISPLAYPORT
329 board_diag_displayPort_COMP_LIST = board_diag_displayPort
330 board_diag_displayPort_RELPATH = ti/board/diag/display_port/build
331 board_diag_displayPort_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/display_port/build
332 board_diag_displayPort_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
333 board_diag_displayPort_MAKEFILE = -f makefile
334 board_diag_displayPort_BOARD_DEPENDENCY = yes
335 board_diag_displayPort_CORE_DEPENDENCY = yes
336 export board_diag_displayPort_COMP_LIST
337 export board_diag_displayPort_BOARD_DEPENDENCY
338 export board_diag_displayPort_CORE_DEPENDENCY
339 export board_diag_displayPort_MAKEFILE
340 board_diag_displayPort_PKG_LIST = board_diag_displayPort
341 board_diag_displayPort_INCLUDE = $(board_diag_displayPort_PATH)
342 board_diag_displayPort_BOARDLIST = j721e_evm
343 board_diag_displayPort_$(SOC)_CORELIST = mcu2_0
344 export board_diag_displayPort_$(SOC)_CORELIST
345 export board_diag_displayPort_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
346 board_diag_EXAMPLE_LIST += board_diag_displayPort
348 # DSI-FPD Device test
349 board_diag_dsi_COMP_LIST = board_diag_dsi
350 board_diag_dsi_RELPATH = ti/board/diag/dsi/build
351 board_diag_dsi_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/dsi/build
352 board_diag_dsi_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
353 board_diag_dsi_MAKEFILE = -f makefile
354 board_diag_dsi_BOARD_DEPENDENCY = yes
355 board_diag_dsi_CORE_DEPENDENCY = yes
356 export board_diag_dsi_COMP_LIST
357 export board_diag_dsi_BOARD_DEPENDENCY
358 export board_diag_dsi_CORE_DEPENDENCY
359 export board_diag_dsi_MAKEFILE
360 board_diag_dsi_PKG_LIST = board_diag_dsi
361 board_diag_dsi_INCLUDE = $(board_diag_dsi_PATH)
362 board_diag_dsi_BOARDLIST = j721e_evm
363 board_diag_dsi_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
364 export board_diag_dsi_$(SOC)_CORELIST
365 export board_diag_dsi_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
366 board_diag_EXAMPLE_LIST += board_diag_dsi
368 # DSITX
369 board_diag_dsitx_COMP_LIST = board_diag_dsitx
370 board_diag_dsitx_RELPATH = ti/board/diag/dsitx/build
371 board_diag_dsitx_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/dsitx/build
372 board_diag_dsitx_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
373 board_diag_dsitx_MAKEFILE = -f makefile
374 board_diag_dsitx_BOARD_DEPENDENCY = yes
375 board_diag_dsitx_CORE_DEPENDENCY = yes
376 export board_diag_dsitx_COMP_LIST
377 export board_diag_dsitx_BOARD_DEPENDENCY
378 export board_diag_dsitx_CORE_DEPENDENCY
379 export board_diag_dsitx_MAKEFILE
380 board_diag_dsitx_PKG_LIST = board_diag_dsitx
381 board_diag_dsitx_INCLUDE = $(board_diag_dsitx_PATH)
382 board_diag_dsitx_BOARDLIST = j721e_evm
383 board_diag_dsitx_$(SOC)_CORELIST = mcu2_0
384 export board_diag_dsitx_$(SOC)_CORELIST
385 export board_diag_dsitx_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
386 board_diag_EXAMPLE_LIST += board_diag_dsitx
388 # EEPROM
389 board_diag_eeprom_COMP_LIST = board_diag_eeprom
390 board_diag_eeprom_RELPATH = ti/board/diag/eeprom/build
391 board_diag_eeprom_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/eeprom/build
392 board_diag_eeprom_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
393 board_diag_eeprom_MAKEFILE = -f makefile
394 board_diag_eeprom_BOARD_DEPENDENCY = yes
395 board_diag_eeprom_CORE_DEPENDENCY = yes
396 export board_diag_eeprom_COMP_LIST
397 export board_diag_eeprom_BOARD_DEPENDENCY
398 export board_diag_eeprom_CORE_DEPENDENCY
399 export board_diag_eeprom_MAKEFILE
400 board_diag_eeprom_PKG_LIST = board_diag_eeprom
401 board_diag_eeprom_INCLUDE = $(board_diag_eeprom_PATH)
402 board_diag_eeprom_BOARDLIST = j721e_evm am65xx_evm am65xx_idk j7200_evm tpr12_evm am64x_evm am64x_svb awr294x_evm
403 board_diag_eeprom_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
404 export board_diag_eeprom_$(SOC)_CORELIST
405 export board_diag_eeprom_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
406 board_diag_EXAMPLE_LIST += board_diag_eeprom
408 # EMAC
409 board_diag_emac_COMP_LIST = board_diag_emac
410 board_diag_emac_RELPATH = ti/board/diag/emac/build
411 board_diag_emac_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/emac/build
412 board_diag_emac_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
413 board_diag_emac_MAKEFILE = -f makefile
414 board_diag_emac_BOARD_DEPENDENCY = yes
415 board_diag_emac_CORE_DEPENDENCY = yes
416 export board_diag_emac_COMP_LIST
417 export board_diag_emac_BOARD_DEPENDENCY
418 export board_diag_emac_CORE_DEPENDENCY
419 export board_diag_emac_MAKEFILE
420 board_diag_emac_PKG_LIST = board_diag_emac
421 board_diag_emac_INCLUDE = $(board_diag_emac_PATH)
422 board_diag_emac_BOARDLIST = am65xx_evm am65xx_idk
423 board_diag_emac_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
424 export board_diag_emac_$(SOC)_CORELIST
425 export board_diag_emac_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
426 board_diag_EXAMPLE_LIST += board_diag_emac
428 # EMMC
429 board_diag_emmc_COMP_LIST = board_diag_emmc
430 board_diag_emmc_RELPATH = ti/board/diag/emmc/build
431 board_diag_emmc_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/emmc/build
432 board_diag_emmc_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
433 board_diag_emmc_MAKEFILE = -f makefile
434 board_diag_emmc_BOARD_DEPENDENCY = yes
435 board_diag_emmc_CORE_DEPENDENCY = yes
436 export board_diag_emmc_COMP_LIST
437 export board_diag_emmc_BOARD_DEPENDENCY
438 export board_diag_emmc_CORE_DEPENDENCY
439 export board_diag_emmc_MAKEFILE
440 board_diag_emmc_PKG_LIST = board_diag_emmc
441 board_diag_emmc_INCLUDE = $(board_diag_emmc_PATH)
442 board_diag_emmc_BOARDLIST = j721e_evm am65xx_evm am65xx_idk j7200_evm am64x_evm am64x_svb
443 board_diag_emmc_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
444 export board_diag_emmc_$(SOC)_CORELIST
445 export board_diag_emmc_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
446 board_diag_EXAMPLE_LIST += board_diag_emmc
448 # EXPANSION HEADER
449 board_diag_expHeader_COMP_LIST = board_diag_expHeader
450 board_diag_expHeader_RELPATH = ti/board/diag/exp_header/build
451 board_diag_expHeader_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/exp_header/build
452 board_diag_expHeader_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
453 board_diag_expHeader_MAKEFILE = -f makefile
454 board_diag_expHeader_BOARD_DEPENDENCY = yes
455 board_diag_expHeader_CORE_DEPENDENCY = yes
456 export board_diag_expHeader_COMP_LIST
457 export board_diag_expHeader_BOARD_DEPENDENCY
458 export board_diag_expHeader_CORE_DEPENDENCY
459 export board_diag_expHeader_MAKEFILE
460 board_diag_expHeader_PKG_LIST = board_diag_expHeader
461 board_diag_expHeader_INCLUDE = $(board_diag_expHeader_PATH)
462 board_diag_expHeader_BOARDLIST = j721e_evm j7200_evm tpr12_evm am64x_evm
463 board_diag_expHeader_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
464 export board_diag_expHeader_$(SOC)_CORELIST
465 export board_diag_expHeader_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
466 board_diag_EXAMPLE_LIST += board_diag_expHeader
468 # EXTERNAL RTC
469 board_diag_extRtc_COMP_LIST = board_diag_extRtc
470 board_diag_extRtc_RELPATH = ti/board/diag/ext_rtc/build
471 board_diag_extRtc_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/ext_rtc/build
472 board_diag_extRtc_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
473 board_diag_extRtc_MAKEFILE = -f makefile
474 board_diag_extRtc_BOARD_DEPENDENCY = yes
475 board_diag_extRtc_CORE_DEPENDENCY = yes
476 export board_diag_extRtc_COMP_LIST
477 export board_diag_extRtc_BOARD_DEPENDENCY
478 export board_diag_extRtc_CORE_DEPENDENCY
479 export board_diag_extRtc_MAKEFILE
480 board_diag_extRtc_PKG_LIST = board_diag_extRtc
481 board_diag_extRtc_INCLUDE = $(board_diag_extRtc_PATH)
482 board_diag_extRtc_BOARDLIST = j721e_evm am65xx_evm am65xx_idk j7200_evm
483 board_diag_extRtc_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
484 export board_diag_extRtc_$(SOC)_CORELIST
485 export board_diag_extRtc_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
486 board_diag_EXAMPLE_LIST += board_diag_extRtc
488 # FPD LIB
489 board_diag_fpdLib_COMP_LIST = board_diag_fpdLib
490 board_diag_fpdLib_RELPATH = ti/board/diag/fpd_lib/build
491 board_diag_fpdLib_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/fpd_lib/build
492 board_diag_fpdLib_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
493 board_diag_fpdLib_MAKEFILE = -f makefile
494 board_diag_fpdLib_BOARD_DEPENDENCY = yes
495 board_diag_fpdLib_CORE_DEPENDENCY = yes
496 export board_diag_fpdLib_COMP_LIST
497 export board_diag_fpdLib_BOARD_DEPENDENCY
498 export board_diag_fpdLib_CORE_DEPENDENCY
499 export board_diag_fpdLib_MAKEFILE
500 board_diag_fpdLib_PKG_LIST = board_diag_fpdLib
501 board_diag_fpdLib_INCLUDE = $(board_diag_fpdLib_PATH)
502 board_diag_fpdLib_BOARDLIST = j721e_evm j7200_evm
503 board_diag_fpdLib_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
504 export board_diag_fpdLib_$(SOC)_CORELIST
505 export board_diag_fpdLib_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
506 board_diag_EXAMPLE_LIST += board_diag_fpdLib
508 # Framework
509 board_diag_framework_COMP_LIST = board_diag_framework
510 board_diag_framework_RELPATH = ti/board/diag/framework/build
511 board_diag_framework_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/framework/build
512 board_diag_framework_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
513 board_diag_framework_MAKEFILE = -f makefile
514 board_diag_framework_BOARD_DEPENDENCY = yes
515 board_diag_framework_CORE_DEPENDENCY = yes
516 export board_diag_framework_COMP_LIST
517 export board_diag_framework_BOARD_DEPENDENCY
518 export board_diag_framework_CORE_DEPENDENCY
519 export board_diag_framework_MAKEFILE
520 board_diag_framework_PKG_LIST = board_diag_framework
521 board_diag_framework_INCLUDE = $(board_diag_framework_PATH)
522 board_diag_framework_BOARDLIST = j721e_evm am65xx_evm am65xx_idk j7200_evm am64x_evm
523 board_diag_framework_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
524 export board_diag_framework_$(SOC)_CORELIST
525 export board_diag_framework_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
526 board_diag_EXAMPLE_LIST += board_diag_framework
528 # GPMC
529 board_diag_gpmc_COMP_LIST = board_diag_gpmc
530 board_diag_gpmc_RELPATH = ti/board/diag/gpmc/build
531 board_diag_gpmc_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/gpmc/build
532 board_diag_gpmc_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
533 board_diag_gpmc_MAKEFILE = -f makefile
534 board_diag_gpmc_BOARD_DEPENDENCY = yes
535 board_diag_gpmc_CORE_DEPENDENCY = yes
536 export board_diag_gpmc_COMP_LIST
537 export board_diag_gpmc_BOARD_DEPENDENCY
538 export board_diag_gpmc_CORE_DEPENDENCY
539 export board_diag_gpmc_MAKEFILE
540 board_diag_gpmc_PKG_LIST = board_diag_gpmc
541 board_diag_gpmc_INCLUDE = $(board_diag_gpmc_PATH)
542 board_diag_gpmc_BOARDLIST = am64x_svb am640x_svb
543 board_diag_gpmc_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
544 export board_diag_gpmc_$(SOC)_CORELIST
545 export board_diag_gpmc_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
546 board_diag_EXAMPLE_LIST += board_diag_gpmc
548 # HDMI
549 board_diag_hdmi_COMP_LIST = board_diag_hdmi
550 board_diag_hdmi_RELPATH = ti/board/diag/hdmi/build
551 board_diag_hdmi_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/hdmi/build
552 board_diag_hdmi_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
553 board_diag_hdmi_MAKEFILE = -f makefile
554 board_diag_hdmi_BOARD_DEPENDENCY = yes
555 board_diag_hdmi_CORE_DEPENDENCY = yes
556 export board_diag_hdmi_COMP_LIST
557 export board_diag_hdmi_BOARD_DEPENDENCY
558 export board_diag_hdmi_CORE_DEPENDENCY
559 export board_diag_hdmi_MAKEFILE
560 board_diag_hdmi_PKG_LIST = board_diag_hdmi
561 board_diag_hdmi_INCLUDE = $(board_diag_hdmi_PATH)
562 board_diag_hdmi_BOARDLIST = j721e_evm
563 board_diag_hdmi_$(SOC)_CORELIST = mcu2_0
564 export board_diag_hdmi_$(SOC)_CORELIST
565 export board_diag_hdmi_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
566 board_diag_EXAMPLE_LIST += board_diag_hdmi
568 # HYPERBUS
569 board_diag_hyperbus_COMP_LIST = board_diag_hyperbus
570 board_diag_hyperbus_RELPATH = ti/board/diag/hyperbus/build
571 board_diag_hyperbus_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/hyperbus/build
572 board_diag_hyperbus_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
573 board_diag_hyperbus_MAKEFILE = -f makefile
574 board_diag_hyperbus_BOARD_DEPENDENCY = yes
575 board_diag_hyperbus_CORE_DEPENDENCY = yes
576 export board_diag_hyperbus_COMP_LIST
577 export board_diag_hyperbus_BOARD_DEPENDENCY
578 export board_diag_hyperbus_CORE_DEPENDENCY
579 export board_diag_hyperbus_MAKEFILE
580 board_diag_hyperbus_PKG_LIST = board_diag_hyperbus
581 board_diag_hyperbus_INCLUDE = $(board_diag_hyperbus_PATH)
582 board_diag_hyperbus_BOARDLIST = j721e_evm j7200_evm
583 board_diag_hyperbus_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
584 export board_diag_hyperbus_$(SOC)_CORELIST
585 export board_diag_hyperbus_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
586 board_diag_EXAMPLE_LIST += board_diag_hyperbus
588 # enet_icssg
589 export board_diag_enetIcssg_COMP_LIST = board_diag_enetIcssg
590 board_diag_enetIcssg_RELPATH = ti/board/diag/enet_icssg/build
591 board_diag_enetIcssg_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/enet_icssg/build
592 board_diag_enetIcssg_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
593 export board_diag_enetIcssg_MAKEFILE = -f makefile
594 export board_diag_enetIcssg_BOARD_DEPENDENCY = yes
595 export board_diag_enetIcssg_CORE_DEPENDENCY = yes
596 board_diag_enetIcssg_PKG_LIST = board_diag_enetIcssg
597 board_diag_enetIcssg_INCLUDE = $(board_diag_enetIcssg_PATH)
598 board_diag_enetIcssg_BOARDLIST = am65xx_evm am65xx_idk
599 export board_diag_enetIcssg_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
600 export board_diag_enetIcssg_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
601 #board_diag_EXAMPLE_LIST += board_diag_enetIcssg
603 # icssg_led
604 export board_diag_icssgLed_COMP_LIST = board_diag_icssgLed
605 board_diag_icssgLed_RELPATH = ti/board/diag/icssg_led/build
606 board_diag_icssgLed_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/icssg_led/build
607 board_diag_icssgLed_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
608 export board_diag_icssgLed_MAKEFILE = -f makefile
609 export board_diag_icssgLed_BOARD_DEPENDENCY = yes
610 export board_diag_icssgLed_CORE_DEPENDENCY = yes
611 board_diag_icssgLed_PKG_LIST = board_diag_icssgLed
612 board_diag_icssgLed_INCLUDE = $(board_diag_icssgLed_PATH)
613 board_diag_icssgLed_BOARDLIST = am65xx_idk
614 export board_diag_icssgLed_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
615 export board_diag_icssgLed_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
616 board_diag_EXAMPLE_LIST += board_diag_icssgLed
618 # lcd
619 export board_diag_lcd_COMP_LIST = board_diag_lcd
620 board_diag_lcd_RELPATH = ti/board/diag/lcd/build
621 board_diag_lcd_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/lcd/build
622 board_diag_lcd_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
623 export board_diag_lcd_MAKEFILE = -f makefile
624 export board_diag_lcd_BOARD_DEPENDENCY = yes
625 export board_diag_lcd_CORE_DEPENDENCY = yes
626 board_diag_lcd_PKG_LIST = board_diag_lcd
627 board_diag_lcd_INCLUDE = $(board_diag_lcd_PATH)
628 board_diag_lcd_BOARDLIST = am65xx_evm
629 export board_diag_lcd_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
630 export board_diag_lcd_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
631 board_diag_EXAMPLE_LIST += board_diag_lcd
633 # LED
634 board_diag_led_COMP_LIST = board_diag_led
635 board_diag_led_RELPATH = ti/board/diag/led/build
636 board_diag_led_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/led/build
637 board_diag_led_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
638 board_diag_led_MAKEFILE = -f makefile
639 board_diag_led_BOARD_DEPENDENCY = yes
640 board_diag_led_CORE_DEPENDENCY = yes
641 export board_diag_led_COMP_LIST
642 export board_diag_led_BOARD_DEPENDENCY
643 export board_diag_led_CORE_DEPENDENCY
644 export board_diag_led_MAKEFILE
645 board_diag_led_PKG_LIST = board_diag_led
646 board_diag_led_INCLUDE = $(board_diag_led_PATH)
647 board_diag_led_BOARDLIST = j721e_evm am65xx_evm am65xx_idk tpr12_evm j7200_evm am64x_evm awr294x_evm
648 board_diag_led_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
649 export board_diag_led_$(SOC)_CORELIST
650 export board_diag_led_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
651 board_diag_EXAMPLE_LIST += board_diag_led
653 # led_industrial
654 export board_diag_ledIndustrial_COMP_LIST = board_diag_ledIndustrial
655 board_diag_ledIndustrial_RELPATH = ti/board/diag/led_industrial/build
656 board_diag_ledIndustrial_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/led_industrial/build
657 board_diag_ledIndustrial_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
658 export board_diag_ledIndustrial_MAKEFILE = -f makefile
659 export board_diag_ledIndustrial_BOARD_DEPENDENCY = yes
660 export board_diag_ledIndustrial_CORE_DEPENDENCY = yes
661 board_diag_ledIndustrial_PKG_LIST = board_diag_ledIndustrial
662 board_diag_ledIndustrial_INCLUDE = $(board_diag_ledIndustrial_PATH)
663 board_diag_ledIndustrial_BOARDLIST = am65xx_evm am65xx_idk am64x_evm
664 export board_diag_ledIndustrial_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
665 export board_diag_ledIndustrial_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
666 board_diag_EXAMPLE_LIST += board_diag_ledIndustrial
668 # LEO PMIC LIB
669 board_diag_leoPmicLib_COMP_LIST = board_diag_leoPmicLib
670 board_diag_leoPmicLib_RELPATH = ti/board/diag/leo_pmic_lib/build
671 board_diag_leoPmicLib_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/leo_pmic_lib/build
672 board_diag_leoPmicLib_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
673 board_diag_leoPmicLib_MAKEFILE = -f makefile
674 board_diag_leoPmicLib_BOARD_DEPENDENCY = yes
675 board_diag_leoPmicLib_CORE_DEPENDENCY = yes
676 export board_diag_leoPmicLib_COMP_LIST
677 export board_diag_leoPmicLib_BOARD_DEPENDENCY
678 export board_diag_leoPmicLib_CORE_DEPENDENCY
679 export board_diag_leoPmicLib_MAKEFILE
680 board_diag_leoPmicLib_PKG_LIST = board_diag_leoPmicLib
681 board_diag_leoPmicLib_INCLUDE = $(board_diag_leoPmicLib_PATH)
682 board_diag_leoPmicLib_BOARDLIST = j721e_evm
683 board_diag_leoPmicLib_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
684 export board_diag_leoPmicLib_$(SOC)_CORELIST
685 export board_diag_leoPmicLib_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
686 board_diag_EXAMPLE_LIST += board_diag_leoPmicLib
688 # LIN
689 board_diag_lin_COMP_LIST = board_diag_lin
690 board_diag_lin_RELPATH = ti/board/diag/lin/build
691 board_diag_lin_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/lin/build
692 board_diag_lin_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
693 board_diag_lin_MAKEFILE = -f makefile
694 board_diag_lin_BOARD_DEPENDENCY = yes
695 board_diag_lin_CORE_DEPENDENCY = yes
696 export board_diag_lin_COMP_LIST
697 export board_diag_lin_BOARD_DEPENDENCY
698 export board_diag_lin_CORE_DEPENDENCY
699 export board_diag_lin_MAKEFILE
700 board_diag_lin_PKG_LIST = board_diag_lin
701 board_diag_lin_INCLUDE = $(board_diag_lin_PATH)
702 board_diag_lin_BOARDLIST = j721e_evm j7200_evm
703 board_diag_lin_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
704 export board_diag_lin_$(SOC)_CORELIST
705 export board_diag_lin_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
706 board_diag_EXAMPLE_LIST += board_diag_lin
708 # MCAN
709 board_diag_mcan_COMP_LIST = board_diag_mcan
710 board_diag_mcan_RELPATH = ti/board/diag/mcan/build
711 board_diag_mcan_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/mcan/build
712 board_diag_mcan_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
713 board_diag_mcan_MAKEFILE = -f makefile
714 board_diag_mcan_BOARD_DEPENDENCY = yes
715 board_diag_mcan_CORE_DEPENDENCY = yes
716 export board_diag_mcan_COMP_LIST
717 export board_diag_mcan_BOARD_DEPENDENCY
718 export board_diag_mcan_CORE_DEPENDENCY
719 export board_diag_mcan_MAKEFILE
720 board_diag_mcan_PKG_LIST = board_diag_mcan
721 board_diag_mcan_INCLUDE = $(board_diag_mcan_PATH)
722 board_diag_mcan_BOARDLIST = j721e_evm am65xx_idk j7200_evm am64x_evm tpr12_evm am64x_svb awr294x_evm
723 board_diag_mcan_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
724 export board_diag_mcan_$(SOC)_CORELIST
725 export board_diag_mcan_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
726 board_diag_EXAMPLE_LIST += board_diag_mcan
728 # mcasp
729 export board_diag_mcasp_COMP_LIST = board_diag_mcasp
730 board_diag_mcasp_RELPATH = ti/board/diag/mcasp/build
731 board_diag_mcasp_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/mcasp/build
732 board_diag_mcasp_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
733 export board_diag_mcasp_MAKEFILE = -f makefile
734 export board_diag_mcasp_BOARD_DEPENDENCY = yes
735 export board_diag_mcasp_CORE_DEPENDENCY = yes
736 board_diag_mcasp_PKG_LIST = board_diag_mcasp
737 board_diag_mcasp_INCLUDE = $(board_diag_mcasp_PATH)
738 board_diag_mcasp_BOARDLIST = am65xx_evm
739 export board_diag_mcasp_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
740 export board_diag_mcasp_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
741 #board_diag_EXAMPLE_LIST += board_diag_mcasp
743 # MEM
744 board_diag_mem_COMP_LIST = board_diag_mem
745 board_diag_mem_RELPATH = ti/board/diag/mem/build
746 board_diag_mem_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/mem/build
747 board_diag_mem_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
748 board_diag_mem_MAKEFILE = -f makefile
749 board_diag_mem_BOARD_DEPENDENCY = yes
750 board_diag_mem_CORE_DEPENDENCY = yes
751 export board_diag_mem_COMP_LIST
752 export board_diag_mem_BOARD_DEPENDENCY
753 export board_diag_mem_CORE_DEPENDENCY
754 export board_diag_mem_MAKEFILE
755 board_diag_mem_PKG_LIST = board_diag_mem
756 board_diag_mem_INCLUDE = $(board_diag_mem_PATH)
757 board_diag_mem_BOARDLIST = j721e_evm am65xx_evm am65xx_idk j7200_evm am64x_evm am64x_svb
758 board_diag_mem_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
759 export board_diag_mem_$(SOC)_CORELIST
760 export board_diag_mem_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
761 board_diag_EXAMPLE_LIST += board_diag_mem
763 # MMCSD
764 board_diag_mmcsd_COMP_LIST = board_diag_mmcsd
765 board_diag_mmcsd_RELPATH = ti/board/diag/mmcsd/build
766 board_diag_mmcsd_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/mmcsd/build
767 board_diag_mmcsd_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
768 board_diag_mmcsd_MAKEFILE = -f makefile
769 board_diag_mmcsd_BOARD_DEPENDENCY = yes
770 board_diag_mmcsd_CORE_DEPENDENCY = yes
771 export board_diag_mmcsd_COMP_LIST
772 export board_diag_mmcsd_BOARD_DEPENDENCY
773 export board_diag_mmcsd_CORE_DEPENDENCY
774 export board_diag_mmcsd_MAKEFILE
775 board_diag_mmcsd_PKG_LIST = board_diag_mmcsd
776 board_diag_mmcsd_INCLUDE = $(board_diag_mmcsd_PATH)
777 board_diag_mmcsd_BOARDLIST = j721e_evm am65xx_evm am65xx_idk j7200_evm am64x_evm am64x_svb
778 board_diag_mmcsd_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
779 export board_diag_mmcsd_$(SOC)_CORELIST
780 export board_diag_mmcsd_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
781 board_diag_EXAMPLE_LIST += board_diag_mmcsd
783 # NOR FLASH
784 board_diag_norflash_COMP_LIST = board_diag_norflash
785 board_diag_norflash_RELPATH = ti/board/diag/norflash/build
786 board_diag_norflash_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/norflash/build
787 board_diag_norflash_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
788 board_diag_norflash_MAKEFILE = -f makefile
789 board_diag_norflash_BOARD_DEPENDENCY = yes
790 board_diag_norflash_CORE_DEPENDENCY = yes
791 export board_diag_norflash_COMP_LIST
792 export board_diag_norflash_BOARD_DEPENDENCY
793 export board_diag_norflash_CORE_DEPENDENCY
794 export board_diag_norflash_MAKEFILE
795 board_diag_norflash_PKG_LIST = board_diag_norflash
796 board_diag_norflash_INCLUDE = $(board_diag_norflash_PATH)
797 board_diag_norflash_BOARDLIST = j721e_evm am65xx_evm am65xx_idk j7200_evm tpr12_evm am64x_svb awr294x_evm
798 board_diag_norflash_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
799 export board_diag_norflash_$(SOC)_CORELIST
800 export board_diag_norflash_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
801 board_diag_EXAMPLE_LIST += board_diag_norflash
803 # OLED DISPLAY
804 board_diag_oledDisplay_COMP_LIST = board_diag_oledDisplay
805 board_diag_oledDisplay_RELPATH = ti/board/diag/oled_display/build
806 board_diag_oledDisplay_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/oled_display/build
807 board_diag_oledDisplay_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
808 board_diag_oledDisplay_MAKEFILE = -f makefile
809 board_diag_oledDisplay_BOARD_DEPENDENCY = yes
810 board_diag_oledDisplay_CORE_DEPENDENCY = yes
811 export board_diag_oledDisplay_COMP_LIST
812 export board_diag_oledDisplay_BOARD_DEPENDENCY
813 export board_diag_oledDisplay_CORE_DEPENDENCY
814 export board_diag_oledDisplay_MAKEFILE
815 board_diag_oledDisplay_PKG_LIST = board_diag_oledDisplay
816 board_diag_oledDisplay_INCLUDE = $(board_diag_oledDisplay_PATH)
817 board_diag_oledDisplay_BOARDLIST = am64x_evm
818 board_diag_oledDisplay_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
819 export board_diag_oledDisplay_$(SOC)_CORELIST
820 export board_diag_oledDisplay_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
821 board_diag_EXAMPLE_LIST += board_diag_oledDisplay
823 # OSPI
824 board_diag_ospi_COMP_LIST = board_diag_ospi
825 board_diag_ospi_RELPATH = ti/board/diag/ospi/build
826 board_diag_ospi_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/ospi/build
827 board_diag_ospi_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
828 board_diag_ospi_MAKEFILE = -f makefile
829 board_diag_ospi_BOARD_DEPENDENCY = yes
830 board_diag_ospi_CORE_DEPENDENCY = yes
831 export board_diag_ospi_COMP_LIST
832 export board_diag_ospi_BOARD_DEPENDENCY
833 export board_diag_ospi_CORE_DEPENDENCY
834 export board_diag_ospi_MAKEFILE
835 board_diag_ospi_PKG_LIST = board_diag_ospi
836 board_diag_ospi_INCLUDE = $(board_diag_ospi_PATH)
837 board_diag_ospi_BOARDLIST = j721e_evm am65xx_evm am65xx_idk j7200_evm am64x_evm am64x_svb
838 board_diag_ospi_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
839 export board_diag_ospi_$(SOC)_CORELIST
840 export board_diag_ospi_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
841 board_diag_EXAMPLE_LIST += board_diag_ospi
843 # pcie
844 export board_diag_pcie_COMP_LIST = board_diag_pcie
845 board_diag_pcie_RELPATH = ti/board/diag/pcie/build
846 board_diag_pcie_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/pcie/build
847 board_diag_pcie_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
848 export board_diag_pcie_MAKEFILE = -f makefile
849 export board_diag_pcie_BOARD_DEPENDENCY = yes
850 export board_diag_pcie_CORE_DEPENDENCY = yes
851 board_diag_pcie_PKG_LIST = board_diag_pcie
852 board_diag_pcie_INCLUDE = $(board_diag_pcie_PATH)
853 board_diag_pcie_BOARDLIST = am65xx_evm am65xx_idk
854 export board_diag_pcie_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
855 export board_diag_pcie_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
856 board_diag_EXAMPLE_LIST += board_diag_pcie
858 # PMIC
859 board_diag_pmic_COMP_LIST = board_diag_pmic
860 board_diag_pmic_RELPATH = ti/board/diag/pmic/build
861 board_diag_pmic_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/pmic/build
862 board_diag_pmic_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
863 board_diag_pmic_MAKEFILE = -f makefile
864 board_diag_pmic_BOARD_DEPENDENCY = yes
865 board_diag_pmic_CORE_DEPENDENCY = yes
866 export board_diag_pmic_COMP_LIST
867 export board_diag_pmic_BOARD_DEPENDENCY
868 export board_diag_pmic_CORE_DEPENDENCY
869 export board_diag_pmic_MAKEFILE
870 board_diag_pmic_PKG_LIST = board_diag_pmic
871 board_diag_pmic_INCLUDE = $(board_diag_pmic_PATH)
872 board_diag_pmic_BOARDLIST = j721e_evm j7200_evm tpr12_evm awr294x_evm
873 board_diag_pmic_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
874 export board_diag_pmic_$(SOC)_CORELIST
875 export board_diag_pmic_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
876 board_diag_EXAMPLE_LIST += board_diag_pmic
878 # rotary_switch
879 export board_diag_rotarySwitch_COMP_LIST = board_diag_rotarySwitch
880 board_diag_rotarySwitch_RELPATH = ti/board/diag/rotary_switch/build
881 board_diag_rotarySwitch_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/rotary_switch/build
882 board_diag_rotarySwitch_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
883 export board_diag_rotarySwitch_MAKEFILE = -f makefile
884 export board_diag_rotarySwitch_BOARD_DEPENDENCY = yes
885 export board_diag_rotarySwitch_CORE_DEPENDENCY = yes
886 board_diag_rotarySwitch_PKG_LIST = board_diag_rotarySwitch
887 board_diag_rotarySwitch_INCLUDE = $(board_diag_rotarySwitch_PATH)
888 board_diag_rotarySwitch_BOARDLIST = am65xx_idk
889 export board_diag_rotarySwitch_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
890 export board_diag_rotarySwitch_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
891 board_diag_EXAMPLE_LIST += board_diag_rotarySwitch
893 # RS485 UART
894 board_diag_rs485Uart_COMP_LIST = board_diag_rs485Uart
895 board_diag_rs485Uart_RELPATH = ti/board/diag/rs485_uart/build
896 board_diag_rs485Uart_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/rs485_uart/build
897 board_diag_rs485Uart_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
898 board_diag_rs485Uart_MAKEFILE = -f makefile
899 board_diag_rs485Uart_BOARD_DEPENDENCY = yes
900 board_diag_rs485Uart_CORE_DEPENDENCY = yes
901 export board_diag_rs485Uart_COMP_LIST
902 export board_diag_rs485Uart_BOARD_DEPENDENCY
903 export board_diag_rs485Uart_CORE_DEPENDENCY
904 export board_diag_rs485Uart_MAKEFILE
905 board_diag_rs485Uart_PKG_LIST = board_diag_rs485Uart
906 board_diag_rs485Uart_INCLUDE = $(board_diag_rs485Uart_PATH)
907 board_diag_rs485Uart_BOARDLIST = am65xx_idk j7200_evm
908 board_diag_rs485Uart_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
909 export board_diag_rs485Uart_$(SOC)_CORELIST
910 export board_diag_rs485Uart_SBL_APPIMAGEGEN = yes
911 board_diag_EXAMPLE_LIST += board_diag_rs485Uart
913 # SPI EEPROM
914 board_diag_spiEeprom_COMP_LIST = board_diag_spiEeprom
915 board_diag_spiEeprom_RELPATH = ti/board/diag/spi_eeprom/build
916 board_diag_spiEeprom_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/spi_eeprom/build
917 board_diag_spiEeprom_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
918 board_diag_spiEeprom_MAKEFILE = -f makefile
919 board_diag_spiEeprom_BOARD_DEPENDENCY = yes
920 board_diag_spiEeprom_CORE_DEPENDENCY = yes
921 export board_diag_spiEeprom_COMP_LIST
922 export board_diag_spiEeprom_BOARD_DEPENDENCY
923 export board_diag_spiEeprom_CORE_DEPENDENCY
924 export board_diag_spiEeprom_MAKEFILE
925 board_diag_spiEeprom_PKG_LIST = board_diag_spiEeprom
926 board_diag_spiEeprom_INCLUDE = $(board_diag_spiEeprom_PATH)
927 board_diag_spiEeprom_BOARDLIST = am64x_evm
928 board_diag_spiEeprom_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
929 export board_diag_spiEeprom_$(SOC)_CORELIST
930 export board_diag_spiEeprom_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
931 board_diag_EXAMPLE_LIST += board_diag_spiEeprom
933 # TEMPERATURE
934 board_diag_temperature_COMP_LIST = board_diag_temperature
935 board_diag_temperature_RELPATH = ti/board/diag/temperature/build
936 board_diag_temperature_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/temperature/build
937 board_diag_temperature_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
938 board_diag_temperature_MAKEFILE = -f makefile
939 board_diag_temperature_BOARD_DEPENDENCY = yes
940 board_diag_temperature_CORE_DEPENDENCY = yes
941 export board_diag_temperature_COMP_LIST
942 export board_diag_temperature_BOARD_DEPENDENCY
943 export board_diag_temperature_CORE_DEPENDENCY
944 export board_diag_temperature_MAKEFILE
945 board_diag_temperature_PKG_LIST = board_diag_temperature
946 board_diag_temperature_INCLUDE = $(board_diag_temperature_PATH)
947 board_diag_temperature_BOARDLIST = j721e_evm am65xx_evm am65xx_idk j7200_evm tpr12_evm am64x_evm am64x_svb awr294x_evm
948 board_diag_temperature_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
949 export board_diag_temperature_$(SOC)_CORELIST
950 export board_diag_temperature_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
951 board_diag_EXAMPLE_LIST += board_diag_temperature
953 # UART
954 board_diag_uart_COMP_LIST = board_diag_uart
955 board_diag_uart_RELPATH = ti/board/diag/uart/build
956 board_diag_uart_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/uart/build
957 board_diag_uart_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
958 board_diag_uart_MAKEFILE = -f makefile
959 board_diag_uart_BOARD_DEPENDENCY = yes
960 board_diag_uart_CORE_DEPENDENCY = yes
961 export board_diag_uart_COMP_LIST
962 export board_diag_uart_BOARD_DEPENDENCY
963 export board_diag_uart_CORE_DEPENDENCY
964 export board_diag_uart_MAKEFILE
965 board_diag_uart_PKG_LIST = board_diag_uart
966 board_diag_uart_INCLUDE = $(board_diag_uart_PATH)
967 board_diag_uart_BOARDLIST = j721e_evm am65xx_evm am65xx_idk j7200_evm tpr12_evm am64x_evm awr294x_evm
968 ifeq ($(SOC),$(filter $(SOC), tpr12 awr294x))
969 board_diag_uart_$(SOC)_CORELIST = mcu1_0 c66xdsp_1
970 else
971 board_diag_uart_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
972 endif
973 export board_diag_uart_$(SOC)_CORELIST
974 export board_diag_uart_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
975 board_diag_EXAMPLE_LIST += board_diag_uart
977 # usb_device
978 export board_diag_usbDevice_COMP_LIST = board_diag_usbDevice
979 board_diag_usbDevice_RELPATH = ti/board/diag/usb_device/build
980 board_diag_usbDevice_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/usb_device/build
981 board_diag_usbDevice_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
982 export board_diag_usbDevice_MAKEFILE = -f makefile
983 export board_diag_usbDevice_BOARD_DEPENDENCY = yes
984 export board_diag_usbDevice_CORE_DEPENDENCY = yes
985 board_diag_usbDevice_PKG_LIST = board_diag_usbDevice
986 board_diag_usbDevice_INCLUDE = $(board_diag_usbDevice_PATH)
987 board_diag_usbDevice_BOARDLIST = am65xx_evm am65xx_idk
988 export board_diag_usbDevice_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
989 export board_diag_usbDevice_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
990 board_diag_EXAMPLE_LIST += board_diag_usbDevice
992 # usb_host
993 export board_diag_usbHost_COMP_LIST = board_diag_usbHost
994 board_diag_usbHost_RELPATH = ti/board/diag/usb_host/build
995 board_diag_usbHost_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/usb_host/build
996 board_diag_usbHost_CUSTOM_BINPATH = $(board_diag_LOCAL_BINPATH)
997 export board_diag_usbHost_MAKEFILE = -f makefile
998 export board_diag_usbHost_BOARD_DEPENDENCY = yes
999 export board_diag_usbHost_CORE_DEPENDENCY = yes
1000 board_diag_usbHost_PKG_LIST = board_diag_usbHost
1001 board_diag_usbHost_INCLUDE = $(board_diag_usbHost_PATH)
1002 board_diag_usbHost_BOARDLIST = am65xx_evm am65xx_idk
1003 export board_diag_usbHost_$(SOC)_CORELIST = $(board_diag_$(SOC)_CORELIST)
1004 export board_diag_usbHost_SBL_APPIMAGEGEN = $(board_diag_APPIMAGEGEN_CTRL)
1005 board_diag_EXAMPLE_LIST += board_diag_usbHost
1007 # Diagnostic test image creation for SD boot.
1008 # Keep this at the end to get executed after building all the diagnostic tests
1009 board_diag_img_COMP_LIST = board_diag_img
1010 board_diag_img_RELPATH = ti/board/diag/build
1011 board_diag_img_PATH = $(PDK_BOARD_DIAG_COMP_PATH)/build
1012 board_diag_img_MAKEFILE = -f board_diag_img.mk
1013 board_diag_img_BOARD_DEPENDENCY = no
1014 board_diag_img_CORE_DEPENDENCY = no
1015 board_diag_img_PKG_LIST = board_diag_img
1016 export board_diag_img_COMP_LIST
1017 export board_diag_img_BOARD_DEPENDENCY
1018 export board_diag_img_CORE_DEPENDENCY
1019 export board_diag_img_MAKEFILE
1020 board_diag_img_INCLUDE = $(board_diag_img_PATH)
1021 board_diag_img_BOARDLIST = j721e_evm
1022 board_diag_img_$(SOC)_CORELIST = mpu1_0
1023 export board_diag_img_$(SOC)_CORELIST
1024 board_diag_EXAMPLE_LIST += board_diag_img
1026 export board_diag_EXAMPLE_LIST
1028 # Diagnostic test build flags
1029 ifeq ($(BUILD_PROFILE),debug)
1030 BOARD_DIAG_CFLAGS = -DPDK_RAW_BOOT
1031 PROFILE = debug
1032 export PROFILE
1033 export BOARD_DIAG_CFLAGS
1034 endif
1036 board_diag_component_make_include := 1
1037 endif