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.
你好
我希望在 A72中运行 Linux 时、在 SDK 中启动并运行 mcusw->mcal_drv->examples->can 提供的示例代码。 我看到有官方的 SPL 方法、但看完文件后还是不能开始。 我的操作是否有问题、或者是否有任何解决方案可以提供帮助。
我将更改 makefile 中 DM 的路径
2.i 在制作 u-boot 后将 sysfw.itb tiboot3.bin tispl.bin u-boot.img 文件替换为引导
3.I 按如下方式修改了软连接:J7 -mcu-R5F0_FW -> TDA4_R5_app_mcu1_0_release_strip.xer5f
但是、系统无法启动。 将显示以下日志
U-Boot SPL 2021.01 (Nov 14 2023 - 09:20:40 +0800) Model: Texas Instruments J721E SK R5 Board: J721EX-EAIK rev A1 SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar') Trying to boot from MMC2 Starting ATF on ARM64 core... NOTICE: BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty NOTICE: BL31: Built : 22:56:45, Mar 3 2023 I/TC: I/TC: OP-TEE version: 3.20.0 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Fri Mar 3 22:59:24 UTC 2023 aarch64 I/TC: WARNING: This OP-TEE configuration might be insecure! I/TC: WARNING: Please check optee.readthedocs.io/.../porting_guidelines.html I/TC: Primary CPU initializing I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar') I/TC: HUK Initialized E/TC:0 0 k3_sec_proxy_verify_thread:108 Queue is busy E/TC:0 0 k3_sec_proxy_recv:196 Thread SEC_PROXY_RESPONSE_THREAD verification failed. ret = -65523 E/TC:0 0 ti_sci_get_response:101 Message receive failed (-65523) E/TC:0 0 ti_sci_do_xfer:150 Failed to get response (-65523) E/TC:0 0 sa2ul_init:59 Failed to get SA2UL device E/TC:0 0 call_initcalls:43 Initcall __text_start + 0x00063c20 failed I/TC: Primary CPU switching to normal world boot E/TC:0 0 E/TC:0 0 Core data-abort at address 0x10 (translation fault) E/TC:0 0 esr 0x96000005 ttbr0 0x9e894000 ttbr1 0x00000000 cidr 0x0 E/TC:0 0 cpu #0 cpsr 0x800003c4 E/TC:0 0 x0 000000009e867000 x1 0000000000000010 E/TC:0 0 x2 0000000000000000 x3 0000000000000000 E/TC:0 0 x4 0000000000000001 x5 0000000000ffffff E/TC:0 0 x6 0000000000000002 x7 000000009e89c190 E/TC:0 0 x8 000000009e89c190 x9 000000009e884d70 E/TC:0 0 x10 0000000000000000 x11 0000000000000000 E/TC:0 0 x12 000000009e89c100 x13 000000000000000a E/TC:0 0 x14 00000000ffffffff x15 0000000000000020 E/TC:0 0 x16 000000009e813c40 x17 0000000000000000 E/TC:0 0 x18 0000000000000000 x19 000000009e89eca0 E/TC:0 0 x20 000000009e89eca8 x21 0000000000000007 E/TC:0 0 x22 000000009e873000 x23 000000009e8736a0 E/TC:0 0 x24 0000000100000000 x25 0000000000000000 E/TC:0 0 x26 0000000000000000 x27 0000000000000000 E/TC:0 0 x28 0000000000000000 x29 000000009e89ec30 E/TC:0 0 x30 000000009e80e3ac elr 000000009e80e3cc E/TC:0 0 sp_el0 000000009e89ec30 E/TC:0 0 TEE load address @ 0x9e800000 E/TC:0 0 Call stack: E/TC:0 0 0x9e80e3cc E/TC:0 0 Panic 'unhandled pageable abort' at core/arch/arm/kernel/abort.c:572 <abort_handler> E/TC:0 0 TEE load address @ 0x9e800000 E/TC:0 0 Call stack: E/TC:0 0 0x9e8087dc E/TC:0 0 0x9e81506c E/TC:0 0 0x9e807fd8 E/TC:0 0 0x9e805520
您好!
1.I am changing the DM in the makefile
您更改了 DM 的路径、这是否意味着您的 CAN 示例作为系统的器件管理器运行? 您需要在设备管理器中运行 Sciserver、否则将不会满足 SCI 客户端请求。 此调试调用还指示没有 Sciserver 正在运行:
TC:0 ti_sci_get_response:101消息接收失败(-65523)
您能否用原来的 DM 替换 DM? 并尝试在 MCU-R5F0_0之外的内核上运行? 原因是、如果要从 MCU R5F 内核0运行、则需要将 Sciserver 集成为高优先级线程。 使用另一个内核、如 MCU2_1会更简单。
此致、
埃里克
示例代码 mcusw->mcal_drv->examples->can 中是否没有 Sciserver? 如何更改为启用 Sciserver? 您能为我提供参考吗?
您好!
在 MCAL 示例中,我们在 makefile 中添加了 SCI 服务器库文件,
此致
M·塔伦
如何修改 mcusw->mcal_drv->examples->can 的代码? 目前、此代码是一个裸机例程、是否有必要添加 RTOS? 如何初始化 sciserver? 请更具体地说明
您好!
仅当希望不仅仅运行 Sciserver 时、才需要添加 RTOS。 例如、有一个裸机 SCI 服务器参考、在本例中、您只需运行该实现。 如果要并行运行其他一些应用程序、则需要使用 RTOS 来在这两者之间切换。
如果您需要 CAN 应用程序、则可以在 MCUSW 项目中使用我们的参考 Boot App、查看 mcuss_demos 下的内容:
TI-PROCESSOR-SDK-RTOS-j721e-evm-09_00_00_02/mcusw/mcuss_demos/boot_app_mcu_rtos
您将了解如何设置 RTOS 来创建 CAN 任务和 Sciserver 任务。 如果您有任何问题、敬请告知。
谢谢。
埃里克