Part Number:DRA821U
为了方便多人同时开发,我们在 j7200_evm BOARD上,尝试用【MMCSD+SBL】的方式启动调试Gateway Demo,结果不是所有核都能正常启动(MCU2_0未启动)。
想确认一下TI目前的Demo是否支持这样的启动方式?如果支持的话,我们的配置文件还有哪些地方需要改进。
【MMCSD+SBL】启动方式:
Boot Mode:MMCSD
Boot File:SBL
tifs:/packages/ti/drv/sciclient/soc/V2/tifs.bin
应用程序:combined.appimage(使用combined_appimage tool生成的多核Image)
生成combined.appimage使用的文件:
can_traffic_generator_app_mcu1_0_release.xer5f
app_remoteswitchcfg_server.xer5f
can_eth_gateway_app_mcu2_1_release.xer5f
参考文档1. ti-processor-sdk-rtos-j7200-evm-07_03_00_07/gateway-demos/docs/Can-Eth-User_Guide.html
参考文档2. ti-processor-sdk-rtos-j7200-evm-07_03_00_07/pdk_j7200_07_03_00_29/docs/userguide/j7200/boot/boot_k3.html#building-the-sbl-and-its-components
Shine:
能否把boot的log信息发一下?
,
user3010068:
以下是SBL启动log。
Opening serial port /dev/ttyUSB5115200:8N1:xonxoff=0:rtscts=0Program will end in 30 secondsPrinting timing information for each lineSkipping check of serial deviceUse Control-C to stop…[0.000001 0.000001] SBL Revision: 01.00.10.00 (Aug 3 2021 – 13:41:32)[1.149833 1.149832] TIFS ver: 21.5.0–v2021.05 (Terrific Llam[1.182115 0.032282] SCISERVER Board Configuration header population… PASSED[1.246065 0.063950] Sciclient_setBoardConfigHeader… PASSED[1.293969 0.047904] Initlialzing PLLs …done.[1.325900 0.031931] InitlialzingClocks …done.[1.357809 0.031909] Initlialzing DDR …done.[1.437834 0.080025] Initializing GTC …Begin parsing user application[1.485902 0.048068] Calling Sciclient_procBootRequestProcessor, ProcId 0x20… [1.549906 0.064004] Calling Sciclient_procBootRequestProcessor, ProcId 0x21… [1.613844 0.063938] Calling Sciclient_procBootRequestProcessor, ProcId 0x1… [1.662044 0.048200] Calling Sciclient_procBootRequestProcessor, ProcId 0x2… [1.726000 0.063956] Calling Sciclient_procBootRequestProcessor, ProcId 0x6… [1.789879 0.063879] Calling Sciclient_procBootRequestProcessor, ProcId 0x7… [1.917834 0.127955] Searching for X509 certificate …not found[1.965820 0.047986] Switching core id 4, proc_id 0x1 to split mode… [2.013907 0.048087] Calling Sciclient_procBootGetProcessorState, ProcId 0x1… [2.077937 0.064030] Sciclient_procBootSetProcessorCfg, ProcId 0x1, enabling split mode…[2.142112 0.064175] Calling Sciclient_procBootGetProcessorState, ProcId 0x1… [2.206078 0.063966] Enabling MCU TCMs after reset for core 4[2.253861 0.047783] Disabling HW-based memory init of MCU TCMs for core 4[2.302068 0.048207] Sciclient_procBootSetProcessorCfg update TCM enable/disable settings…[2.381799 0.079731] Copying 0x40 bytes to 0x41010000[2.414058 0.032259] Copying 0x28 bytes to 0x41010100[2.446052 0.031994] Copying 0x17700 bytes to 0x41ca1520[2.573767 0.127715] Copying 0x6ff8 bytes to 0x41cb8c20[2.637764 0.063997] Copying 0x868 bytes to 0x41cc2e00[2.670114 0.032350] Copying 0x4f68 bytes to 0x41ce2100[2.733788 0.063674] Copying 0x3484 bytes to 0x41ce7068[2.781723 0.047935] Copying 0x2c88 bytes to 0x41cea4ec[2.829712 0.047989] Copying 0x1700 bytes to 0x41ced180[2.861968 0.032256] Copying 0x200 bytes to 0x41cf2900[2.894196 0.032228] Copying 0x200 bytes to 0x41cf2b00[2.941910 0.047714] Copying 0x200 bytes to 0x41cf2d00[2.973934 0.032024] Copying 0x2000 bytes to 0x41cfdb00[3.021710 0.047776] Setting entry point for core 4 @0x41010000[3.069766 0.048056] Copying 0x5e6d0 bytes to 0x9e800000[3.453654 0.383888] Only load (not execute) image @0x9e800000[3.501737 0.048083] Copying 0x1005808 bytes to 0x80080000[18.844797 15.343060] Only load (not execute) image @0x80080000[18.892882 0.048085] Copying 0xad24 bytes to 0x82000000[18.972736 0.079854] Only load (not execute) image @0x82000000[19.020779 0.048043] Sciclient_pmSetModuleState On, DevId 0x4… [19.068740 0.047961] Copying 0x9bf0 bytes to 0x70000000[19.132673 0.063933] Setting entry point for core 0 @0x70000000[19.180881 0.048208] Sciclient_procBootReleaseProcessor, ProcId 0x20…[19.229022 0.048141] Sciclient_procBootReleaseProcessor, ProcId 0x21…[19.277016 0.047994] Sciclient_procBootReleaseProcessor, ProcId 0x1…[19.340737 0.063721] Sciclient_procBootReleaseProcessor, ProcId 0x2…[19.388878 0.048141] Sciclient_procBootReleaseProcessor, ProcId 0x6…[19.436905 0.048027] Sciclient_procBootReleaseProcessor, ProcId 0x7…[19.484947 0.048042] Calling Sciclient_procBootRequestProcessor, ProcId 0x20… [19.548943 0.063996] Sciclient_procBootSetProcessorCfg, ProcId 0x20, EntryPoint 0x70000000…[19.628866 0.079923] Sciclient_pmSetModuleClkFreq, DevId 0xca @ 2000000000Hz… [19.692659 0.063793] Sciclient_pmSetModuleState Off, DevId 0xca… [19.740712 0.048053] Sciclient_pmSetModuleState On, DevId 0xca… [19.788713 0.048001] Sciclient_procBootReleaseProcessor, ProcId 0x20…[19.836787 0.048074] Calling Sciclient_procBootRequestProcessor, ProcId 0x1… [19.900804 0.064017] Sciclient_procBootSetProcessorCfg, ProcId 0x1, EntryPoint 0x41010000…[19.964959 0.064155] Sciclient_pmSetModuleClkFreq, DevId 0xfa @ 1000000000Hz… [20.028894 0.063935] Copying first 128 bytes from app to MCU ATCM @ 0x0 for core 4[20.092885 0.063991] Calling Sciclient_procBootRequestProcessor, ProcId 0x2… [20.156757 0.063872] Skipping Sciclient_procBootSetProcessorCfg for ProcId 0x2, EntryPoint 0xfffffffe…[20.236881 0.080124] Calling Sciclient_procBootRequestProcessor, ProcId 0x1… [20.300801 0.063920] Starting Sciserver….. PASSED[20.301716 0.000915] CAN Profile App:Variant – Pre Compile being used !!![20.303255 0.001539] CAN Profile App: Successfully Enabled CAN Transceiver MCU MCAN0!!![20.380724 0.077469] CAN Profile App: Successfully Enabled CAN Transceiver MCU MCAN1!!!
,
Shine:
Gateway Demos 不支持SD card boot mode. 只支持OSPI和CCS boot mode。
,
user3010068:
感谢回复:
我仍有如下两个疑问:
1、我理解multi-image从SD卡启动和OSPI启动只是启动介质不同罢了,同样的mult-image在OSPI能启动,那么在SD卡不也应该能启动吗?
2、Gateway Demos 不支持SD card boot mode,是哪个参数决定了不支持SD卡启动呢?
,
Shine:
我把您的问题发到e2e上了,请关注下面e2e帖子的回复。https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1033765/dra821u-j7200-evm-failed-to-use-sd-card-to-boot-multi-image
TI中文支持网

