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.

[参考译文] SK-AM64B:rpmsg_char_simple 测试中使用的固件代码

Guru**** 2393725 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1494264/sk-am64b-code-for-firmware-used-in-rpmsg_char_simple-test

器件型号:SK-AM64B

工具与软件:

我正在尝试学习如何使用 rpmsg 进行通信。 我读了  3.7.适用于 AM64x 的 IPC - Processor SDK AM64X 文档 、并设法构建和运行  rpmsg_char_simple 测试。

root@am64xx-evm:~# rpmsg_char_simple -r 2 -n 10
Created endpt device rpmsg-char-2-3309, fd = 3 port = 1024
Exchanging 10 messages with rpmsg device ti.ipc4.ping-pong on rproc id 2 ...

Sending message #0: hello there 0!
Receiving message #0: hello there 0!
Sending message #1: hello there 1!
Receiving message #1: hello there 1!
Sending message #2: hello there 2!
Receiving message #2: hello there 2!
Sending message #3: hello there 3!
Receiving message #3: hello there 3!
Sending message #4: hello there 4!
Receiving message #4: hello there 4!
Sending message #5: hello there 5!
Receiving message #5: hello there 5!
Sending message #6: hello there 6!
Receiving message #6: hello there 6!
Sending message #7: hello there 7!
Receiving message #7: hello there 7!
Sending message #8: hello there 8!
Receiving message #8: hello there 8!
Sending message #9: hello there 9!
Receiving message #9: hello there 9!

本示例使用/lib/firmware/pdk-ipc/ipc_echo_baremetal_test_mcu1_0_release_strip.xer5f 作为固件。
现在、我的问题是在哪里可以找到此固件的代码?  

我可以在 mcu_plus_sdk_am64x_10_01_00_32中找到示例 IPC 固件、但名称为  IPC_ECHO_BareMetal 的不是...

我想使用此固件作为我自己的起点。

此致

托比亚斯

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Tobias:

    从何处获取有关开发 IPC 固件的入门信息?

    请查看 AM64x Academy 多核模块
    https://dev.ti.com/tirex/explore/node?node=A__AJa64F6ctzZNbb.TYx4mCA__AM64-ACADEMY__WI1KRXP__LATEST

    有关如何使 Linux 和 R5F 内核彼此并行运行的整体信息非常完善。 但是具体来说、可以从 IPC 部分开始:
    https://dev.ti.com/tirex/explore/node?node=A__ASn.0Gvx.CK7j7a0EWKc.w__AM64-ACADEMY__WI1KRXP__LATEST

    "入门"小节 包含查找固件位置等详细信息。

    还有其他需要注意的事项吗?  

    我是多内核学院模块的作者。 如果您在完成任何部分后有后续问题或反馈、请随时发布另一个 e2e 主题。 它将被分配给我、我们可以一起完成它。

    我最后将能够在下一周推出该学院的 SDK 10.1版本、然后开始对即将推出的 SDK 11.0进行任何更新。 SDK 10.1更新将填充或删除大多数"正在构建"页面、也将填充或删除有关 SBL 初始化内核和禁用内核的更深入文档。

    此致、

    Nick

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢、这解决了我的问题。 我使用了 IPC 文件夹中的某个示例并在其中工作(ipc_rpmsg_echo_linux)。 我认为、最好展示如何实现使用  rpmsg_char_simple 的固件、而不是 构建 Hello World 示例

    现在我有一个 SPI 问题:)但我将为它创建一个新的帖子。

    此致  

    托比亚斯  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Tobias:

    很高兴听到您取得了进步!

    请通读本节。 它展示了如何 实现与 Linux 一起运行的 MCU+固件(包括如何确保不会与 SPI 外设发生资源冲突)

    AM64x Academy >多核模块>远程内核上的应用开发
    https://dev.ti.com/tirex/explore/node?node=A__AfSHr0vWbFdGCnmoPeMXzg__AM64-ACADEMY__WI1KRXP__LATEST

    此致、

    Nick