Other Parts Discussed in Thread: SYSBIOS, BEAGLEBOARD-X15
你好,
我的linux_SDK 版本为:ti-processor-sdk-linux-am57xx-evm-06.03.00.106-Linux-x86-Install.bin
我的rtos_SDK版本为:ti-processor-sdk-rtos-am57xx-evm-06.03.00.106-Linux-x86-Install.bin
ubuntu版本为:16.04.7
我完全按照IPC quick started guide里的步骤进行操作,运行app_host的时候只能发送前三条内容后就阻塞了
使用cat /sys/kernel/debug/remoteproc/remoteproc2#/trace0 显示
[ 10.085] [t=0x0203f89d] ti.sysbios.heaps.HeapBuf: ERROR: line 236: requested size is too big: handle=0x9516ff08, size=262272
[ 10.085] ti.sysbios.heaps.HeapBuf: line 236: requested size is too big: handle=0x9516ff08, size=262272
日志
root@seed-dbs5728:~/ipc# rm server_dsp1.xe66
root@seed-dbs5728:~/ipc# rm app_host
root@seed-dbs5728:~/ipc# rm /lib/firmware/dra7-dsp1-fw.xe66
root@seed-dbs5728:~/ipc# tftp -gr server_dsp1.xe66 192.168.2.47
root@seed-dbs5728:~/ipc# tftp -gr app_host 192.168.2.47
root@seed-dbs5728:~/ipc# ln -s /home/root/ipc/server_dsp1.xe66 /lib/firmware/dra7-dsp1-fw.xe66
root@seed-dbs5728:~/ipc# echo 40800000.dsp > /sys/bus/platform/drivers/omap-rproc/unbind
[ 2315.513353] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 2315.519247] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 2315.526093] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[ 2315.532522] remoteproc2: failed to unmap 1048576/0
[ 2315.547547] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
[ 2315.560573] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 2315.566538] remoteproc2: stopped remote processor 40800000.dsp
[ 2315.572690] remoteproc2: releasing 40800000.dsp
root@seed-dbs5728:~/ipc# echo 40800000.dsp > /sys/bus/platform/drivers/omap-rproc/bind
[ 2320.506422] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
[ 2320.514250] remoteproc2: 40800000.dsp is available
[ 2320.519195] remoteproc2: Note: remoteproc is still under development and considered experimental.
[ 2320.528221] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 2320.544764] remoteproc2: powering up 40800000.dsp
root@seed-dbs5728:~/ipc# [ 2320.549951] remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 4396860
[ 2320.566362] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 2320.572254] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 2320.578185] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[ 2320.590216] remoteproc2: remote processor 40800000.dsp is now up
[ 2320.596749] virtio_rpmsg_bus virtio1: rpmsg host is online
[ 2320.602303] remoteproc2: registered virtio1 (type 7)
[ 2320.608097] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x3d
root@seed-dbs5728:~/ipc#
root@seed-dbs5728:~/ipc# ./app_host DSP1
--> main:
--> Main_main:
--> App_create:
App_create: Host is ready
<-- App_create:
--> App_exec:
App_exec: sending message 1
App_exec: sending message 2
App_exec: sending message 3
[ 2341.023894] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
[ 2341.037932] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
^CIpc: Caught SIGINT, calling Ipc_stop...[ 2370.520844] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 2370.526740] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 2370.533810] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
root@seed-dbs5728:~/ipc# cat [ 2381.003882] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
[ 2381.017861] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
root@seed-dbs5728:~/ipc# cat /sys/kernel/debug/remoteproc/remoteproc2/trace0
[ 0.000] Watchdog disabled: TimerBase = 0x48086000 ClkCtrl = 0x4a009728
[ 0.000] Watchdog_restore registered as a resume callback
[ 0.000] 17 Resource entries at 0x95000000
[ 0.000] [t=0x0004826e] xdc.runtime.Main: --> main:
[ 0.000] registering rpmsg-proto:rpmsg-proto service on 61 with HOST
[ 0.000] [t=0x0027435d] xdc.runtime.Main: NameMap_sendMessage: HOST 53, port=61
[ 0.000] Watchdog disabled: TimerBase = 0x48086000 ClkCtrl = 0x4a009728
[ 0.000] [t=0x00293903] xdc.runtime.Main: --> smain:
[ 0.000] [t=0x002a94b7] Server: Server_create: server is ready
[ 0.000] [t=0x002b1a73] Server: <-- Server_create: 0
[ 0.000] [t=0x002b8824] Server: --> Server_exec:
[ 10.085] [t=0x0203f89d] ti.sysbios.heaps.HeapBuf: ERROR: line 236: requested size is too big: handle=0x9516ff08, size=262272
[ 10.085] ti.sysbios.heaps.HeapBuf: line 236: requested size is too big: handle=0x9516ff08, size=262272
[ 10.085] [t=0x02062a56] ti.sysbios.heaps.HeapBuf: ERROR: line 236: requested size is too big: handle=0x9516ff08, size=262272
[ 10.085] ti.sysbios.heaps.HeapBuf: line 236: requested size is too big: handle=0x9516ff08, size=262272
[ 10.085] [t=0x02082be0] ti.sysbios.heaps.HeapBuf: ERROR: line 236: requested size is too big: handle=0x9516ff08, size=262272
[ 10.085] ti.sysbios.heaps.HeapBuf: line 236: requested size is too big: handle=0x9516ff08, size=262272
这个问题困扰我很久了,我完全安装指南进行了多次,但是都是同样的结果
其中对于指南中的一点我有点困扰
这句话指的是什么意思,我需要进行内核构建吗?它指的是设置构建环境,但是在这个指南中,设置构建环境指的是什么?只是设置export PATH=<sdk path>/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH 这部分的内容吗