This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

J721EXSOMXEVM: Ethernet build command for J721e_evm

Part Number: J721EXSOMXEVM


Hello,

I recently moved to SDK 7.1 and trying to build Ethernet firmware from TI RTOS code. I noticed that TI added a new platform i.e. J7200 in this build.  If I issue "make ethfw_all" it builds for both platforms i.e. J721e & J7200.

Could you please help me with the following questions -

1) What arguments I have to pass in "make ethfw_all" command to compile code just for J721e?

2) In SDK 7.1 Ethernet firmware build fails with the following log. I see there is no "ti-processor-sdk-rtos-j721e-evm-07_01_00_11/pdk_jacinto_07_01_00_45/packages/ti/csl/soc" directory in my SDK. To me it seemed that It is failing while building for J7200 platform, which I don't want anyway. Could you point me to what I have to do to fix this error?

make[1]: Leaving directory '/home/slaldas/ti-processor-sdk-rtos-j721e-evm-07_01_00_11/remote_device'
Required system library lib_remote_device_client.lib
Running xdc configuro for apps.app_remoteswitchcfg_client.mcu_2_1
Linking /home/slaldas/ti-processor-sdk-rtos-j721e-evm-07_01_00_11/ethfw/out/J721E/R5Ft/SYSBIOS/release/app_remoteswitchcfg_client.xer5f
Building app_remoteswitchcfg_client.xer5f as executable
Required system library lib_remote_device.lib
Running xdc configuro for apps.app_remoteswitchcfg_server.mcu_2_0+normal
Linking /home/slaldas/ti-processor-sdk-rtos-j721e-evm-07_01_00_11/ethfw/out/J721E/R5Ft/SYSBIOS/release/app_remoteswitchcfg_server.xer5f
Building app_remoteswitchcfg_server.xer5f as executable
Running xdc configuro for apps.app_remoteswitchcfg_server.mcu_2_0+ccs
Linking /home/slaldas/ti-processor-sdk-rtos-j721e-evm-07_01_00_11/ethfw/out/J721E/R5Ft/SYSBIOS/release/app_remoteswitchcfg_server_ccs.xer5f
Building app_remoteswitchcfg_server_ccs.xer5f as executable
Building ethfw.lib as static library
Building lib_remoteswitchcfg_client.lib as static library
Building lib_remoteswitchcfg_server.lib as static library
Building app_utils_console_io.lib as static library
Building ethfw_callbacks.lib as static library
Building app_ethfw_stats.lib as static library
Building eth_intervlan.lib as static library
Building app_utils_mem.lib as static library
Building app_perf_stats.lib as static library
Building app_utils_profile.lib as static library
Building app_remote_service.lib as static library
[TIARM] Compiling C main_tirtos.c
"/home/slaldas/ti-processor-sdk-rtos-j721e-evm-07_01_00_11/pdk_jacinto_07_01_00_45/packages/ti/csl/soc.h", line 139: fatal error: cannot open source file "ti/csl/soc/j7200/src/cslr_soc.h"
1 catastrophic error detected in the compilation of "/home/slaldas/ti-processor-sdk-rtos-j721e-evm-07_01_00_11/ethfw/apps/app_remoteswitchcfg_client/mcu_2_1/main_tirtos.c".
Compilation terminated.

>> Compilation failure
concerto/finale.mak:327: recipe for target '/home/slaldas/ti-processor-sdk-rtos-j721e-evm-07_01_00_11/ethfw/out/J7200/R5Ft/SYSBIOS/release/module/apps.app_remoteswitchcfg_client.mcu_2_1/main_tirtos.obj' failed
make: *** [/home/slaldas/ti-processor-sdk-rtos-j721e-evm-07_01_00_11/ethfw/out/J7200/R5Ft/SYSBIOS/release/module/apps.app_remoteswitchcfg_client.mcu_2_1/main_tirtos.obj] Error 1

Thanks,

Satish