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.

[参考译文] PROCESSOR-SDK-AM57X:大数据 IPC 示例无法运行 dma-buff、并在 SDK 9.03 中删除了 SDK 规则

Guru**** 2426320 points
Other Parts Discussed in Thread: BEAGLEBOARD-X15

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1538827/processor-sdk-am57x-big-data-ipc-example-fails-to-opem-dma-buff-and-make-rule-for-sdk-has-been-removed-in-sdk-9-03

器件型号:PROCESSOR-SDK-AM57X
主题中讨论的其他器件:BeagleBoard-X15

工具/软件:

您好:

我目前正在执行大数据 IPC 示例的 RTOS SDK 发行说明中列出的说明。 我目前正在开发 am57x BeagleBoard-x15。

我按照这里列出的说明进行操作: https://software-dl.ti.com/processor-sdk-rtos/esd/AM57X/09_03_00_00/exports/docs/rtos/index_examples_demos.html#how-to-run-the-example 

以下日志显示了我遇到的错误:

root@am57xx-evm:~# ls -l /lib/firmware/dra7-dsp1-fw.xe66
lrwxr-xr-x 1 root root 54 Jul 10 14:36 /lib/firmware/dra7-dsp1-fw.xe66 -> /usr/bin/simple_buffer_example/release/server_dsp.xe66
root@am57xx-evm:~# /usr/bin/simple_buffer_example/release/app_host DSP1
--> main:
[ 5063.213836] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
--> Main_main:
--> App_create:
App_create: Host is ready
<-- App_create:
--> App_exec:
DMA-HEAP open success
Failed to open DMA-BUF to Phys device: No such file or directory
Segmentation fault (core dumped)
root@am57xx-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc2/trace0
[      0.000] 18 Resource entries at 0x95000000
[      0.000] [t=0x0001edcd] xdc.runtime.Main: --> main:
[      0.000] registering rpmsg-proto:rpmsg-proto service on 61 with HOST
[      0.000] [t=0x005e8735] xdc.runtime.Main: NameMap_sendMessage: HOST 53, port=61
[      0.000] [t=0x005f6f6d] xdc.runtime.Main: --> smain:
[      0.000] [t=0x00607458] Server: Server_create: server is ready
[      0.000] [t=0x0060b7f2] Server: <-- Server_create: 0
[      0.000] [t=0x0060e494] Server: --> Server_exec:
root@am57xx-evm:~#

如您所见、我已成功将 simple_buffer 固件链接到 dsp1。 当我尝试托管新固件时、我遇到了“Failed to open DMA-BUF“错误。

然后、我尝试按照此处列出的说明重新编译工程: https://software-dl.ti.com/processor-sdk-rtos/esd/AM57X/09_03_00_00/exports/docs/rtos/index_examples_demos.html#how-to-re-build-the-example

在运行“make big-data-ipc-demo“命令时、我遇到了以下问题:

jsava@laptop-183:/export/home/jsava/ti-processor-sdk-linux-am57xx-evm-09_03_06_05$ make big-data-ipc-demo
make: *** No rule to make target 'big-data-ipc-demo'.  Stop.
jsava@laptop-183:/export/home/jsava/ti-processor-sdk-linux-am57xx-evm-09_03_06_05$ ag big-data
licenses/tisdk-default-image-am57xx-evm-20241218051324/package.manifest
46:big-data-ipc-demo
47:big-data-ipc-demo-firmware

licenses/tisdk-default-image-am57xx-evm-20241218051324/license.manifest
241:PACKAGE NAME: big-data-ipc-demo
243:RECIPE NAME: big-data-ipc-demo
246:PACKAGE NAME: big-data-ipc-demo-firmware
248:RECIPE NAME: big-data-ipc-demo

manifest/software_manifest.txt
687:| big-data-ipc-demo | 01.03.00.01-r0.763 |  BSD-3-Clause | Binary | No | big-data-ipc-demo_01.03.00.01-r0.763_am57xx_evm.ipk | <a href=big-data-ipc-demo_git.bb>big-data-ipc-demo_git.bb</a>
688:| big-data-ipc-demo-firmware | 01.03.00.01-r0.763 |  BSD-3-Clause | Binary | No | big-data-ipc-demo-firmware_01.03.00.01-r0.763_am57xx_evm.ipk | <a href=big-data-ipc-demo_git.bb>big-data-ipc-demo_git.bb</a>

manifest/software_manifest.htm
6281:    <td>big-data-ipc-demo </td>
6284:    <td>big-data-ipc-demo_01.03.00.01-r0.763_am57xx_evm.ipk</td>
6287:    <td><a href=big-data-ipc-demo_git.bb>big-data-ipc-demo_git.bb</a></td>
6292:    <td>big-data-ipc-demo-firmware </td>
6295:    <td>big-data-ipc-demo-firmware_01.03.00.01-r0.763_am57xx_evm.ipk</td>
6298:    <td><a href=big-data-ipc-demo_git.bb>big-data-ipc-demo_git.bb</a></td>

manifest/ProcessorSDKLinux_09_03_manifest.html
2712: <span> big-data-ipc-demo </span>
2728: <span> big-data-ipc-demo_01.03.00.01-r0.744_am57xx_evm.ipk </span>
2734: <span> <a href=big-data-ipc-demo_git.bb>big-data-ipc-demo_git.bb</a></span>
2742: <span> big-data-ipc-demo-firmware </span>
2758: <span> big-data-ipc-demo-firmware_01.03.00.01-r0.744_am57xx_evm.ipk </span>
2764: <span> <a href=big-data-ipc-demo_git.bb>big-data-ipc-demo_git.bb</a></span>
jsava@laptop-183:/export/home/jsava/ti-processor-sdk-linux-am57xx-evm-09_03_06_05$

看起来大数据配方已安装到文件系统中、但在 SDK 9.03 中删除了 make 规则

请告诉我、我是否要搞砸任何步骤。 感谢您的帮助!

此致、

-工作