TI中文支持网
TI专业的中文技术问题搜集分享网站

C6638ARM加载DSP流程

TI工程师你们好:

最近使用ARM0加载DSP个核遇见几个不明白的问题请指教,

在加载DSP个核时发现如下信息

reset succeeded
reset succeeded
reset succeeded
reset succeeded
reset succeeded
reset succeeded
reset succeeded
reset succeeded
load succeeded
load succeeded
load succeeded
load succeeded
load succeeded
load succeeded
load succeeded
load succeeded
[ 1399.278614] rpmsg_proto rpmsg0: deleting rpmsg src: 1024, dst: 61
[ 1399.283700] remoteproc0: stopped remote processor 2620040.dsp0
[ 1401.325315] remoteproc0: powering up 2620040.dsp0
[ 1401.330623] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 1401.335122] remoteproc0: registered virtio0 (type 7)
run succeeded[ 1401.347712] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x3d

[ 1401.354364] rpmsg_proto rpmsg1: inserting rpmsg src: 1024, dst: 61
[ 1401.358260] remoteproc1: powering up 2620044.dsp1
[ 1401.364434] virtio_rpmsg_bus virtio1: rpmsg host is online
[ 1401.368926] remoteproc1: registered virtio1 (type 7)
run succeeded
[ 1401.392361] remoteproc2: powering up 2620048.dsp2
[ 1401.398535] virtio_rpmsg_bus virtio2: rpmsg host is online
[ 1401.403036] remoteproc2: registered virtio2 (type 7)
run succeeded
[ 1401.427190] remoteproc3: powering up 262004c.dsp3
[ 1401.433107] virtio_rpmsg_bus virtio3: rpmsg host is online
[ 1401.437612] remoteproc3: registered virtio3 (type 7)
run succeeded
[ 1401.461316] remoteproc4: powering up 2620050.dsp4
[ 1401.467137] virtio_rpmsg_bus virtio4: rpmsg host is online
[ 1401.471655] remoteproc4: registered virtio4 (type 7)
[ 1401.481965] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x3d
[ 1401.487859] rpmsg_proto rpmsg2: inserting rpmsg src: 1024, dst: 61
run succeeded
[ 1401.504353] remoteproc5: powering up 2620054.dsp5
[ 1401.510240] virtio_rpmsg_bus virtio5: rpmsg host is online
[ 1401.514765] remoteproc5: registered virtio5 (type 7)
run succeeded
[ 1401.538531] remoteproc6: powering up 2620058.dsp6
[ 1401.544847] virtio_rpmsg_bus virtio6: rpmsg host is online
[ 1401.549344] remoteproc6: registered virtio6 (type 7)
run succeeded
[ 1401.573032] remoteproc7: powering up 262005c.dsp7
[ 1401.578617] virtio_rpmsg_bus virtio7: rpmsg host is online
[ 1401.583112] remoteproc7: registered virtio7 (type 7)
run succeeded
root@keystone-evm:~# [ 1401.637661] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
[ 1401.643545] rpmsg_proto rpmsg3: inserting rpmsg src: 1024, dst: 61
[ 1401.753623] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
[ 1401.759467] rpmsg_proto rpmsg4: inserting rpmsg src: 1024, dst: 61
[ 1401.844838] virtio_rpmsg_bus virtio4: creating channel rpmsg-proto addr 0x3d
[ 1401.850714] rpmsg_proto rpmsg5: inserting rpmsg src: 1024, dst: 61
[ 1401.923016] virtio_rpmsg_bus virtio5: creating channel rpmsg-proto addr 0x3d
[ 1401.928865] rpmsg_proto rpmsg6: inserting rpmsg src: 1024, dst: 61
[ 1401.968080] virtio_rpmsg_bus virtio6: creating channel rpmsg-proto addr 0x3d
[ 1401.973930] rpmsg_proto rpmsg7: inserting rpmsg src: 1024, dst: 61
[ 1401.994361] virtio_rpmsg_bus virtio7: creating channel rpmsg-proto addr 0x3d
[ 1402.000172] rpmsg_proto rpmsg8: inserting rpmsg src: 1024, dst: 61

第一个问题:linux中的如上信息是如何生成的。我查看了LINUX内核源代码,并没有发现如上信息

 

在查看DSP打印的信息时发现了如下目录/sys/kernel/debug/remoteproc/remoteproc0/trace0

第二个问题:我在linux系统启动后去查看此目录并没有发现trace0文件的存在,定执行完个核启动后发现这个文件,请问trace0文件是如何生成的。

 

Shine:

请关注下面e2e上我发的帖子。
e2e.ti.com/…/732838

赞(0)
未经允许不得转载:TI中文支持网 » C6638ARM加载DSP流程
分享到: 更多 (0)