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: Big Data IPC Example fails to opem DMA-BUFF and make rule for SDK has been removed in SDK 9.03

Part Number: PROCESSOR-SDK-AM57X
Other Parts Discussed in Thread: BEAGLEBOARD-X15

Tool/software:

Hello,

I am currently running through instructions listed in the RTOS SDK release notes for Big Data IPC Example. I am currently working on the am57x beagleboard-x15.

I followed the instructions listed here: 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 

The logs below show the error I ran into:

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:~#

As you can see I successfully sym linked the simple_buffer firmware to dsp1. When I tried hosting the new firmware I was met with the "Failed to open DMA-BUF" error.

I then tried to rebuild the project by following the instructions listed here: 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

When I ran the "make big-data-ipc-demo" command I was met with the following:

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$

It looks like the big data recipe was installed into the filesystem, but the make rule was removed in SDK 9.03

Please let me know if I am messing up any steps. Thank you for the help!

Best,

-Job