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.

[参考译文] TDA2EVM5777:visual SDK 示例:MessageQ_single.xem4 -源代码在哪里?

Guru**** 2559910 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/624239/tda2evm5777-visual-sdk-example-messageq_single-xem4---where-is-the-source-code

器件型号:TDA2EVM5777
主题中讨论的其他器件:TDA2

您好*!

在 TDA2-5777x 评估板上提出"异常"用例时遇到了一些问题。  

我正在努力使用由 GNU/toolchain 编译的客户代码来启动子内核。  
到目前为止、我能够编译工作代码(使用 CCS 和 JTAG 进行检查、二进制加载...)、但出现了错误:  

"功能访问期间以用户模式访问数据"

我没有更改 dts -的内容、因此定制编译代码中一定会有问题。  
我想看一下"运行良好"的代码示例、该示例被称为:

MessageQ_single.xem4

但是:我找不到来源... 我在洞中玩过 visual SDK、什么都没有! 没有"cmd"或包含此名称的其他文件。  
我删除了所有"*。xem4"二进制文件->"全部清除"之后... 尚未构建"xem4"文件。  

我很高兴了解"这种运行良好的代码"是如何编译的... 有必要在我自己的代码中找到错误、这个代码基于"不受支持的"GNU-构建 makefile 构建环境、这将允许子内核进行真正的裸机编程、而无需任何"SYS/BIOS"或 RTOS 片段。  

这是一项艰巨的工作、我知道!
但是、如果我能够精益现有的东西、在另一个环境中工作、我会很高兴...
只是为了禁止重新排气车轮...  

Tnx - Marco。  

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

    有关 L3自定义错误的其他信息:

    第一:  

    OMAP-iommu 58880.MMU:IOMMU 故障:DA 0x0标志0x0

    一段时间后(M4内核的一些重新启动):

    440000.OCP:L3自定义错误:主 IPU1目标 GPMC (读取):在功能访问期间以用户模式访问数据

    这是什么意思?
    在哪里查找此错误的原因?

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

    完整错误日志(dmesg):

    ===========================

    [1050.717572] OMAP-rproc 588200.IPU:分配的保留存储器节点 ipu1_CMA@9d000000

    [1050.717668] Remoteproc remoteproc0:588200.IPU 可用

    [1050.717679] remoteproc remoteproc0:注意:remoteproc 仍在开发和考虑中

    实验版。

    [1050.717688] remoteproc remoteproc0:二进制格式尚未最终确定,并且向后 compa

    还不保证可自由兑换。

    [1050.719682] remoteproc remoteproc0:RSC:类型3

    [1050.719695] remoteproc remoteproc0:RSC:0类

    [1050.719705] remoteproc remoteproc0:RSC:0类

    [1050.719714] remoteproc remoteproc0:RSC:0类

    [1050.719722] remoteproc remoteproc0:RSC:类型1

    [1050.719729] remoteproc remoteproc0:RSC:类型1

    [1050.719736] remoteproc remoteproc0:RSC:类型1

    [1050.719744] remoteproc remoteproc0:RSC:类型1

    [1050.719751] remoteproc remoteproc0:RSC:类型1

    [1050.719758] remoteproc remoteproc0:RSC:类型1

    [1050.719765] remoteproc remoteproc0:RSC:类型1

    [1050.719772] remoteproc remoteproc0:RSC:类型1

    [1050.719779] remoteproc remoteproc0:RSC:类型1

    [1050.719786] remoteproc remoteproc0:RSC:类型1

    [1050.719793] remoteproc remoteproc0:RSC:类型1

    [1050.719800] remoteproc remoteproc0:RSC:类型3

    [1050.719810] remoteproc remoteproc0:vdev RSC:ID 7、dles 1、cfg len 0、2 vrings

    [1050.719822] remoteproc remoteproc0:vdev RSC:vring0:da a0000000、qsz 256、align 4096

    [1050.719831] remoteproc remoteproc0:vdev RSC:vring1:da a0004000、qsz 256、align 4096

    [1050.720826] remoteproc remoteproc0:vring0:vA de000000 DMA 0x9e000000大小3000 IDR 0

    [1050.720876] removeproc remoteproc0:vring1:VA de004000 DMA 0x9e004000 size 3000 IDR 1.

    [1050.720898] remoteproc remoteproc0:为588200.IPU 加电

    [1050.720911] remoteproc remoteproc0:引导 FW 映像 dra7-ipu1-fw.xem4、大小627416

    [1050.721024] OMAP-IMU 588820.MMU:588820.MMU:2.1版

    [1050.721052] remoteproc remoteproc0:RSC:类型3

    [1050.721061] remoteproc remoteproc0:RSC:0类

    [1050.721071] remoteproc remoteproc0:carveout RSC:da 9d100000、PA 0、len 100000、flags 0

    [1050.721453] remoteproc remoteproc0:carveout va d100000、DMA 0x9e100000、len 0x100000

    [1050.721480] remoteproc remoteproc0:分割映射0x9d100000至0x9e100000

    [1050.721489] remoteproc remoteproc0:RSC:0类

    [1050.721498] remoteproc remoteproc0:carveout RSC:da 9d200000、PA 0、len 100000、flags 0

    [1050.722070] remoteproc remoteproc0:carveout va de200000、DMA 0x9e200000、len 0x100000

    [1050.722095] remoteproc remoteproc0:分割映射0x9d200000至0x9e200000

    [1050.722103] remoteproc remoteproc0:RSC:0类

    [1050.722112] remoteproc remoteproc0:carveout RSC:da 9d000000、PA 0、len 100000、flags 0

    [1050.722488] remoteproc remoteproc0:carveout va de300000、DMA 0x9e300000、len 0x100000

    [1050.722512] remoteproc remoteproc0:carveout 映射为0x9d000000至0x9e300000

    [1050.722521] remoteproc remoteproc0:RSC:类型1

    [1050.722545] remoteproc remoteproc0:映射的 devmem PA bbb9000000、da 0xa0000000、len 0x100000

    [1050.722553] remoteproc remoteproc0:RSC:类型1

    [1050.722635] remoteproc remoteproc0:映射的 devmem PA 0xba300000、da 0x90000000、len 0x500000

    [1050.722643] remoteproc remoteproc0:RSC:类型1

    [1050.722884] remoteproc remoteproc0:映射的 devmem PA 0x60000000、da 0x60000000、len 0x10000000

    [1050.722892] remoteproc remoteproc0:RSC:类型1

    [1050.723017] remoteproc remoteproc0:映射的 devmem PA 0x70000000、da 0x70000000、len 0x8000000

    [1050.723025] remoteproc remoteproc0:RSC:类型1

    [1050.723150] remoteproc remoteproc0:映射的 devmem PA 0x78000000、da 0x78000000、len 0x8000000

    [1050.723158] remoteproc remoteproc0:RSC:类型1

    [1050.723181] remoteproc remoteproc0:映射的 devmem PA 0x4a000000、da 0xaa000000、len 0x1000000

    [1050.723189] remoteproc remoteproc0:RSC:类型1

    [1050.7232] remoteproc remoteproc0:映射的 devmem PA 0x48000000、da 0xa8000000、len 0x1000000

    [1050.723220] remoteproc remoteproc0:RSC:类型1

    [1050.723243] remoteproc remoteproc0:映射的 devmem PA 0x54000000、da bbbb4000000、len 0x1000000

    [1050.723251] remoteproc remoteproc0:RSC:类型1

    [1050.723275] remoteproc remoteproc0:映射的 devmem PA 0x5a000000、da 0xba000000、len 0x1000000

    [1050.723282] remoteproc remoteproc0:RSC:类型1

    [1050.723305] remoteproc remoteproc0:映射的 devmem PA 0x5b000000、da 0xbb000000、len 0x1000000

    [1050.723312] remoteproc remoteproc0:RSC:类型1

    [1050.72336] remoteproc remoteproc0:映射的 devmem PA 0x4e000000、da 0xae000000、len 0x100000

    [1050.723827] remoteproc remoteproc0:RSC:类型3

    [1050.723835] remoteproc remoteproc0:RSC:0类

    [1050.723843] remoteproc remoteproc0:RSC:0类

    [1050.723850] remoteproc remoteproc0:RSC:0类

    [1050.723858] remoteproc remoteproc0:RSC:类型1

    [1050.723865] remoteproc remoteproc0:RSC:类型1

    [1050.723872] remoteproc remoteproc0:RSC:类型1

    [1050.723879] remoteproc remoteproc0:RSC:类型1

    [1050.723886] remoteproc remoteproc0:RSC:类型1

    [1050.723894] remoteproc remoteproc0:RSC:类型1

    [1050.72391] remoteproc remoteproc0:RSC:类型1

    [1050.72398] remoteproc remoteproc0:RSC:类型1

    [1050.72391] remoteproc remoteproc0:RSC:类型1

    [1050.723923] remoteproc remoteproc0:RSC:类型1

    [1050.723930] remoteproc remoteproc0:RSC:类型1

    [1050.724561] OMAP-IMU 588820.MMU:IOMMU 故障:DA 0x0标志0x0

    [1050.724572] remoteproc remoteproc0:在588200.IPU 中检测到崩溃:类型 mmufault

    [1050.724586] OMAP-IMU 588820.MMU:588820.MMU:errs:0x00000002 da:0x00000000 PgD:0xee5b400

    0 * PgD:px00000000

    [1050.724647] remoteproc remoteproc0:远程处理器588200.IPU 现已启动

    [1050.724962] virtio_rpmsg_bus virtio0:rpmsg 主机处于联机状态

    [1050.725967] remoteproc remoteproc0:注册的 virtio0 (类型7)

    [1050.725979] remoteproc remoteproc0:RSC:0类

    [1050.725988] removeproc remoteproc0:RSC:类型0

    [1050.725996] remoteproc remoteproc0:RSC:0类

    [1050.726004] remoteproc remoteproc0:RSC:类型1

    [1050.726012] remoteproc remoteproc0:RSC:类型1

    [1050.726019] remoteproc remoteproc0:RSC:类型1

    [1050.726027] remoteproc remoteproc0:RSC:类型1

    [1050.726035] remoteproc remoteproc0:RSC:类型1

    [1050.726043] remoteproc remoteproc0:RSC:类型1

    [1050.726050] remoteproc remoteproc0:RSC:类型1

    [1050.726058] remoteproc remoteproc0:RSC:类型1

    [1050.726066] remoteproc remoteproc0:RSC:类型1

    [1050.726073] remoteproc remoteproc0:RSC:类型1

    [1050.726081] remoteproc remoteproc0:RSC:类型1

    [1050.726186] remoteproc remoteproc0:输入 rproc_crash_handler_work

    [1050.726195] remoteproc remoteproc0:处理588200.IPU 中的 crash #1

    [1050.726204] remoteproc remoteproc0:正在恢复588200.IPU

    [1050.727811] remoteproc remoteproc0:已停止远程处理器588200.IPU

    [1050.728700] remoteproc remoteproc0:RSC:类型3

    [1050.728712] remoteproc remoteproc0:RSC:0类

    [1050.728721] remoteproc remoteproc0:RSC:0类

    [1050.728729] remoteproc remoteproc0:RSC:0类

    [1050.728737] remoteproc remoteproc0:RSC:类型1

    [1050.728744] remoteproc remoteproc0:RSC:类型1

    [1050.728752] remoteproc remoteproc0:RSC:类型1

    [1050.728759] remoteproc remoteproc0:RSC:类型1

    [1050.728766] remoteproc remoteproc0:RSC:类型1

    [1050.728773] remoteproc remoteproc0:RSC:类型1

    [1050.728780] remoteproc remoteproc0:RSC:类型1

    [1050.728787] remoteproc remoteproc0:RSC:类型1

    [1050.728794] remoteproc remoteproc0:RSC:类型1

    [1050.728801] remoteproc remoteproc0:RSC:类型1

    [1050.728809] remoteproc remoteproc0:RSC:类型1

    [1050.728816] remoteproc remoteproc0:RSC:类型3

    [1050.728826] remoteproc remoteproc0:vdev RSC:ID 7、dles 1、cfg len 0、2 vrings

    [1050.728836] remoteproc remoteproc0:vdev RSC:vring0:da a0000000、qsz 256、align 4096

    [1050.728845] remoteproc remoteproc0:vdev RSC:vring1:da a0004000、qsz 256、align 4096

    [1050.729810] remoteproc remoteproc0:vring0:vA de000000 DMA 0x9e000000大小3000 IDR 0

    [1050.729858] remoteproc remoteproc0:vring1:VA de004000 DMA 0x9e004000 size 3000 IDR 1.

    [1050.729880] remoteproc remoteproc0:启动588200.IPU

    [1050.729891] remoteproc remoteproc0:引导 FW 映像 dra7-ipu1-fw.xem4,大小627416

    [1050.729999] OMAP-IMU 588820.MMU:588820.MMU:2.1版

    [1050.730027] remoteproc remoteproc0:RSC:类型3

    [1050.730036] remoteproc remoteproc0:RSC:0类

    [1050.730046] remoteproc remoteproc0:carveout RSC:da 9d100000、PA 0、len 100000、flags 0

    [1050.730418] remoteproc remoteproc0:carveout va de100000、DMA 0x9e100000、len 0x100000

    [1050.730444] remoteproc remoteproc0:分割映射0x9d100000至0x9e100000

    [1050.730452] remoteproc remoteproc0:RSC:类型0

    [105,0730461] remoteproc remoteproc0:carveout RSC:da 9d200000、PA 0、len 100000、flags 0

    [1050.731031] remoteproc remoteproc0:carveout va de200000、DMA 0x9e200000、len 0x100000

    [1050.731056] remoteproc remoteproc0:分割映射0x9d200000至0x9e200000

    [1050.731064] remoteproc remoteproc0:RSC:0类

    [1050.731073] remoteproc remoteproc0:carveout RSC:da 9d000000、PA 0、len 100000、flags 0

    [1050.731449] remoteproc remoteproc0:carveout va de300000、DMA 0x9e300000、len 0x100000

    [1050.731473] remoteproc remoteproc0:carveout 映射为0x9d000000至0x9e300000

    [1050.731481] remoteproc remoteproc0:RSC:类型1

    [1050.731505] remoteproc remoteproc0:映射的 devmem PA bbb9000000、da 0xa0000000、len 0x100000

    [1050.731513] remoteproc remoteproc0:RSC:类型1

    [1050.731596] remoteproc remoteproc0:映射的 devmem PA 0xba300000、da 0x90000000、len 0x500000

    [1050.731604] remoteproc remoteproc0:RSC:类型1

    [1050.731844] remoteproc remoteproc0:映射的 devmem PA 0x60000000、da 0x60000000、len 0x10000000

    [1050.731852] remoteproc remoteproc0:RSC:类型1

    [1050.731977] remoteproc remoteproc0:映射的 devmem PA 0x70000000、da 0x70000000、len 0x8000000

    [1050.731985] remoteproc remoteproc0:RSC:类型1

    [1050.732109] remoteproc remoteproc0:映射的 devmem PA 0x78000000、da 0x78000000、len 0x8000000

    [1050.732117] remoteproc remoteproc0:RSC:类型1

    [1050.732141] remoteproc remoteproc0:映射的 devmem PA 0x4a000000、da 0xaa000000、len 0x1000000

    [1050.732148] remoteproc remoteproc0:RSC:类型1

    [1050.732172] remoteproc remoteproc0:映射的 devmem PA 0x48000000、da 0xa8000000、len 0x1000000

    [1050.732179] remoteproc remoteproc0:RSC:类型1

    [1050.732203] remoteproc remoteproc0:映射的 devmem PA 0x54000000、da bbbb4000000、len 0x1000000

    [1050.732210] remoteproc remoteproc0:RSC:类型1

    [1050.732233] remoteproc remoteproc0:映射的 devmem PA 0x5a000000、da 0xba000000、len 0x1000000

    [1050.732241] remoteproc remoteproc0:RSC:类型1

    [1050.732264] remoteproc remoteproc0:映射的 devmem PA 0x5b000000、da 0xbb000000、len 0x1000000

    [1050.732272] remoteproc remoteproc0:RSC:类型1

    [1050.732295] remoteproc remoteproc0:映射的 devmem PA 0x4e000000、da 0xae000000、len 0x100000

    [1050.732754] remoteproc remoteproc0:RSC:类型3

    [1050.732763] remoteproc remoteproc0:RSC:0类

    [1050.732770] remoteproc remoteproc0:RSC:0类

    [1050.732777] remoteproc remoteproc0:RSC:0类

    [1050.732784] remoteproc remoteproc0:RSC:类型1

    [1050.732791] remoteproc remoteproc0:RSC:类型1

    [1050.732799] remoteproc remoteproc0:RSC:类型1

    [1050.732806] remoteproc remoteproc0:RSC:类型1

    [1050.732813] remoteproc remoteproc0:RSC:类型1

    [1050.732820] remoteproc remoteproc0:RSC:类型1

    [1050.732827] remoteproc remoteproc0:RSC:类型1

    [1050.732834] remoteproc remoteproc0:RSC:类型1

    [1050.732841] remoteproc remoteproc0:RSC:类型1

    [1050.732848] remoteproc remoteproc0:RSC:类型1

    [1050.732855] remoteproc remoteproc0:RSC:类型1

    [1050.733455] OMAP-IMU 588820.MMU:IOMMU 故障:DA 0x0标志0x0

    [1050.733465] remoteproc remoteproc0:在588200.IPU 中检测到崩溃:类型 mmufault

    [1050.733479] OMAP-IMU 588820.MMU:588820.MMU:errs:0x00000002 da:0x00000000 PgD:0xee59c00

    0 * PgD:px00000000

    [1050.733540] remoteproc remoteproc0:远程处理器588200.IPU 现已启动

    [1050.733847] virtio_rpmsg_bus virtio0:rpmsg 主机处于联机状态

    [1050.734856] remoteproc remoteproc0:注册的 virtio0 (类型7)

    [1050.734867] remoteproc remoteproc0:RSC:0类

    [1050.734876] remoteproc remoteproc0:RSC:0类

    [1050.734885] remoteproc remoteproc0:RSC:0类

    [1050.734893] remoteproc remoteproc0:RSC:类型1

    [1050.734900] remoteproc remoteproc0:RSC:类型1

    [1050.73498] remoteproc remoteproc0:RSC:类型1

    [1050.734916] remoteproc remoteproc0:RSC:类型1

    [1050.734924] remoteproc remoteproc0:RSC:类型1

    [1050.73491] remoteproc remoteproc0:RSC:类型1

    [1050.734939] remoteproc remoteproc0:RSC:类型1

    [1050.734946] remoteproc remoteproc0:RSC:类型1

    [1050.734954] remoteproc remoteproc0:RSC:类型1

    [1050.73492] remoteproc remoteproc0:RSC:类型1

    [1050.734969] remoteproc remoteproc0:RSC:类型1

    [1050.735068] remoteproc remoteproc0:输入 rproc_crash_handler_work

    [1050.735077] remoteproc remoteproc0:处理5882000.IPU 中的崩溃#2

    [1050.735085] remoteproc remoteproc0:正在恢复588200.IPU

    [1050.736685] remoteproc remoteproc0:已停止远程处理器588200.IPU

    [1050.737504] remoteproc remoteproc0:RSC:类型3

    [1050.737515] remoteproc remoteproc0:RSC:0类

    [1050.737524] remoteproc remoteproc0:RSC:0类

    [1050.737532] remoteproc remoteproc0:RSC:类型0

    [1050.737539] remoteproc remoteproc0:RSC:类型1

    [1050.737547] remoteproc remoteproc0:RSC:类型1

    [1050.737555] remoteproc remoteproc0:RSC:类型1

    [1050.737562] remoteproc remoteproc0:RSC:类型1

    [1050.737569] remoteproc remoteproc0:RSC:类型1

    [1050.737577] remoteproc remoteproc0:RSC:类型1

    [1050.737584] remoteproc remoteproc0:RSC:类型1

    [1050.737591] remoteproc remoteproc0:RSC:类型1

    [1050.737599] remoteproc remoteproc0:RSC:类型1

    [1050.737606] remoteproc remoteproc0:RSC:类型1

    [1050.737614] remoteproc remoteproc0:RSC:类型1

    [1050.737621] remoteproc remoteproc0:RSC:类型3

    [1050.737631] remoteproc remoteproc0:vdev RSC:ID 7、dles 1、cfg len 0、2 vrings

    [1050.737641] remoteproc remoteproc0:vdev RSC:vring0:da a0000000、qsz 256、align 4096

    [1050.737650] remoteproc remoteproc0:vdev RSC:vring1:da a0004000、qsz 256、align 4096

    [1050.738612] remoteproc remoteproc0:vring0:vA de000000 DMA 0x9e000000大小3000 IDR 0

    [1050.738660] remoteproc remoteproc0:vring1:VA de004000 DMA 0x9e004000大小3000 IDR 1

    [1050.738681] remoteproc remoteproc0:为588200.IPU 加电

    [1050.738692] remoteproc remoteproc0:引导 FW 映像 dra7-ipu1-fw.xem4,大小627416

    [1050.738796] OMAP-iommu 588820.MMU:588820.MMU:2.1版

    [1050.738823] remoteproc remoteproc0:RSC:类型3

    [1050.738831] remoteproc remoteproc0:RSC:0类

    [1050.738841] remoteproc remoteproc0:carveout RSC:da 9d100000、PA 0、len 100000、flags 0

    [1050.739212] remoteproc remoteproc0:carveout va d100000、DMA 0x9e100000、len 0x100000

    [1050.739238] remoteproc remoteproc0:分割映射0x9d100000至0x9e100000

    [1050.739246] remoteproc remoteproc0:RSC:0类

    [1050.739255] remoteproc remoteproc0:carveout RSC:da 9d200000、PA 0、len 100000、flags 0

    [1050.739827] remoteproc remoteproc0:carveout va de200000、DMA 0x9e200000、len 0x100000

    [1050.739852] remoteproc remoteproc0:carveout 映射0x9d200000至0x9e200000

    [1050.739861] remoteproc remoteproc0:RSC:0类

    [1050.739870] remoteproc remoteproc0:carveout RSC:da 9d000000、PA 0、len 100000、flags 0

    [1050.740248] remoteproc remoteproc0:carveout va de300000、DMA 0x9e300000、len 0x100000

    [1050.740273] remoteproc remoteproc0:carveout 映射0x9d000000至0x9e300000

    [1050.740281] remoteproc remoteproc0:RSC:类型1

    [1050.740305] remoteproc remoteproc0:映射 devmem PA bbb9000000、da 0xa0000000、len 0x100000

    [1050.740313] remoteproc remoteproc0:RSC:类型1

    [1050.740396] remoteproc remoteproc0:映射 devmem PA 0xba300000、da 0x90000000、len 0x500000

    [1050.740404] remoteproc remoteproc0:RSC:类型1

    [1050.740645] remoteproc remoteproc0:映射的 devmem PA 0x60000000、da 0x60000000、len 0x10000000

    [1050.740653] remoteproc remoteproc0:RSC:类型1

    [1050.740778] remoteproc remoteproc0:映射的 devmem PA 0x70000000、da 0x70000000、len 0x8000000

    [1050.740786] remoteproc remoteproc0:RSC:类型1

    [1050.740912] remoteproc remoteproc0:映射的 devmem PA 0x78000000、da 0x78000000、len 0x8000000

    [1050.740919] remoteproc remoteproc0:RSC:类型1

    [1050.740943] remoteproc remoteproc0:映射的 devmem PA 0x4a000000、da 0xaa000000、len 0x1000000

    [1050.740950] remoteproc remoteproc0:RSC:类型1

    [1050.740974] remoteproc remoteproc0:映射的 devmem PA 0x48000000、da 0xa8000000、len 0x1000000

    [1050.740981] remoteproc remoteproc0:RSC:类型1

    [1050.741005] remoteproc remoteproc0:映射的 devmem PA 0x54000000、bbda 4000000、len 0x1000000

    [1050.741012] remoteproc remoteproc0:RSC:类型1

    [1050.741036] remoteproc remoteproc0:映射的 devmem PA 0x5a000000、da 0xba000000、len 0x1000000

    [1050.741043] remoteproc remoteproc0:RSC:类型1

    [1050.741067] remoteproc remoteproc0:映射的 devmem PA 0x5b000000、da 0xbb000000、len 0x1000000

    [1050.741074] remoteproc remoteproc0:RSC:类型1

    [1050.741098] remoteproc remoteproc0:映射的 devmem PA 0x4e000000、da 0xae000000、len 0x100000

    [1050.741555] remoteproc remoteproc0:RSC:类型3

    [1050.741562] remoteproc remoteproc0:RSC:0类

    [1050.741570] remoteproc remoteproc0:RSC:0类

    [1050.741577] remoteproc remoteproc0:RSC:0类

    [1050.741584] remoteproc remoteproc0:RSC:类型1

    [1050.741592] remoteproc remoteproc0:RSC:类型1

    [1050.741599] remoteproc remoteproc0:RSC:类型1

    [1050.741606] removeproc remoteproc0:RSC:类型1

    [1050.741613] remoteproc remoteproc0:RSC:类型1

    [1050.741621] remoteproc remoteproc0:RSC:类型1

    [1050.741628] remoteproc remoteproc0:RSC:类型1

    [1050.741635] remoteproc remoteproc0:RSC:类型1

    [1050.741643] remoteproc remoteproc0:RSC:类型1

    [1050.741650] remoteproc remoteproc0:RSC:类型1

    [1050.741657] remoteproc remoteproc0:RSC:类型1

    [1050.742247]------ [在此处剪切]-----

    [1050.742267]警告:CPU:0 PID:18、位于 drivers/bus/omap_l3_oc.c:147 L3_interrupt_handler + 0x23

    C/0x364()

    [1050.742276] 440000.OCP:L3自定义错误:主 IPU1目标 GPMC (读取):用户中的数据访问

    模式下运行

    [1050.742282]模块链接在:

    [1050.742297] CPU:0 PID:18 Comm:kwork/0:1被污染:G    W   4.4.45SMS_MONORLYTHIC-00

    013-g7a35563-脏#17

    [1050.742305]硬件名称:通用 DRA74X (平展器件树)

    [1050.742318]工作队列:事件 Request_firmware_work_func

    [1050.742326]回溯:

    [1050.742346][ ](dump_backtrace)从[ ](show_stack+0x18/0x1c)

    [1050.742353] R6:c0c672ec R5:00000000 R4:20000193 R3:ef21e000

    [1050.742381][ ](show_stack)从[ ](dump_stack+0x88/0xa8)

    [1050.742395][ ](dump_stack)从[ ](warn_slESpath_common+0x7c/bb8)

    [1050.742402] R5:00000093 R4:ef21f8b0

    [1050.742418][ ](warn_slowpath_common)、来自[ ](warn_slowpath_fmt+0x38/0x40

    )

    [1050.7424] R8:c0a22ab4 r7:ef1fe9d0 r6:c0c67530 r5:c0c67248 r4:80080003

    [1050.742450][ ](warn_slowpath_fmt)、来自[ ](L3_INTERRUPT_Handler+0x23c/0x3

    64)

    [1050.742456] r3:ef1fe840 r2:c0c67308

    [1050.742474][ ](L3_interrupt_handler)、来自[ ](handle_irq_event_perpu+0x6

    4/0x164)

    [1050.742480] R10:ef1f6840 R9:c0e3f2a6 R8:00000017 r7:00000000 R6:00000000 R5:ef1f68a0

    [1050.742500] R4:ef1fed40

    [1050.742513][ ](handle_irq_event_perpu)、来自[ ](handle_IRQ_EVENT_0x40/0x

    64)

    [1050.742519] R10:ef242c00 R9:00000000 R8:ef008000 r7:00000001 R6:c0dcbe04 R5:ef1f68a0

    [1050.742538] R4:ef1f6840

    [1050.742552][ ](handle_irq_event)从[ ](handle_fasteoi_IRQ+bbc/0x194)

    [1050.742558] R6:c0dcbe04 R5:ef1f68a0 R4:ef1f6840 R3:00000000

    [1050.742579][ ](handle_fasteoi_IRQ)、来自[ ](generic_handle_IRQ+0x20/0x30)

    [1050.742584] r7:00000001 R6:00000000 R5:c0db9424 R4:00000000

    [1050.742605][ ](generic_handle_IRQ)、来自[ ](__Handle_domain_IRQ+0x5c/bb

    )

    [1050.742615][ ](_handle_domain_IRQ)、来自[ ](GIC_Handle_IRQ+0x3c/0x7c)

    [1050.742620] R8:fa213000 r7:fa212000 r6:ef21fa58 r5:c0dc1914 r4:fa21200c r3:ef21fa58

    [1050.742644][ ](GIC_Handle_IRQ)、来自[ ](_IRQ_Svc+0x40/0x74)

    [1050.742651]异常堆栈(0xef21fa58至0xef21faa0)

    [1050.742659] fa40:                            c0dd1ef0 a0000013

    [1050.742668] fa60:00000001 00000044 00000000 c0dd1ef0 c0c3554c a0000013 c0dd5654 00000000

    [1050.742677] fa80:ef242c00 ef21fab4 ef21fab8 ef21faa8 c0032448 c09e4130 20000013 ffffff

    [1050.74263] R8:c0dd5654 r7:ef21fa8c R6:ffff R5:20000013 R4:c09e4130 R3:c0032448

    [1050.742715] ](_raW_spin_unlock_irqrestore)从[ ](omap_hwmod_deassert_

    硬复位+0x44/0x54)

    [1050.742728][ ](OMAP-hwmod_deassert_hardreset)从[ ](OMA_DEVICE_DEASe.

    RT_hardreset+0x40/0x5c)

    [1050.742733] r7:00000000 R6:c0c3554c R5:ef241580 R4:00000001

    [1050.742758 ][ ](OMAP-DEVICE_DEASSERT_hardreset)从[ ](omap_rproc_device

    _enable+0x94/0x100)

    [1050.742764] R6:eebbe800 R5:c0c35824 R4:ef242c00 R3:c0c3582f

    [1050.742788][ ](omap_rproc_device_enable)、从[ ](omap_rproc_start+0xa8/0

    x19c)

    [1050.742794] R5:ef242c10 R4:eebbea78

    [1050.742809][ ](omap_rproc_start)、来自[ ](rproc_boot+0x450/0x56c)

    [1050.742814] R10:de202000 R8:eebbe820 r7:eebbe9ac R6:eebe9b4 R5:00000000 R4:eebbe800

    [1050.742839][ ](rproc_boot)、来自[ ](rproc_virtio_find_VQs+0x1a8/0x204)

    [1050.742845] r10:eebbec10 r9:c0c695a4 r8:ef21fc18 r7:ef21fc0c r6:c0a93bbc r5:ef21fc14

    [1050.742864] R4:00000002

    [1050.742878][ ](rproc_virtio_find_VQ)、来自[ ](rpmsg_probe +0xac/0x45c)

    [1050.742884] R10:00000000 R9:00000000 R8:eebbe800 r7:eebbec10 R6:ee527100 R5:c0a93bb8

    [1050.742903] R4:ef21fc08

    [1050.742918][ ](rpmsg_probe)从[ ](virtio_dev_probe +0x218/0x314)

    [1050.742924] R10:00000000 R9:00000000 R8:00000001 r7:00000000 R6:00000001 R5:00000000

    [1050.742943] R4:00000000

    [1050.742957][ ](virtio_dev_probe)、来自[ ](DRIVER_PROBLE_DEVICE_0x1e8/0x2b0

    )

    [1050.742962] R10:00000000 R9:00000000 R8:0000001f r7:c0e2930c R6:00000000 R5:c0e7f47c

    [1050.742981] R4:eebbec20

    [1050.742992][ ](driver_probe_device)从[ ](_device_attach_driver+0x88/

    0x94)

    [1050.742998] R8:c0e7f458 r7:00000001 R6:eebbec20 R5:ef21fd30 R4:c0e2930c R3:00000000

    [1050.743025][ ](_device_attach_driver)、来自[ ](bus_for_each _drv+0x4c/0x9

    4)

    [1050.743030] R6:c03f97c0 R5:ef21fd30 R4:00000000 R3:00000000

    [1050.743051][ ](bus_for_each _drv)从[ ](_DEVICE_ATT+0xa8/0x10c)

    [1050.743057] R6:c0df5c30 R5:eebbec54 R4:eebbec20

    [1050.743074][ ](_device_attach)从[ ](DEVICE_INPLET_PROBE +0x14/0x18)

    [1050.743079] r7:eebbe820 r6:c0df5c30 r5:eebbec20 r4:eebbec20

    [1050.743101][ ](DEVICE_INTERY_PROBE)从[ ](BUS_PROBLE_DEVICE_0x8c/0x94)

    [1050.743112][ ](bus_probe_device)、来自[ ](DEVICE_ADD+0x388/0x530)

    [1050.743118] R6:eebbec28 R5:00000000 R4:eebbec20 R3:00000001

    [1050.743140][ ](device_add)从[ ](DEVICE_REGISTER+0x1c/0x20)

    [1050.743145] R10:eebbe800 R9:eebbe820 R8:eea15050 r7:eebbec00 R6:eebbec20 R5:c072dca0

    [1050.74335] R4:eebbec20.

    [1050.743178][ ](DEVICE_REGISTER)从[ ](register_virtio_device+0xa8/0xf4

    )

    [1050.743184] R4:eebbec10 R3:eebed8

    [1050.743200][ ](register_virtio_device)、来自[ ](rproc_add_virtio_dev+0x44

    /0xa0)

    [1050.743205] R6:00000007 R5:eebbe820 R4:eebbec00 R3:eebbe844

    [1050.743226][ ](rproc_add_virtio_dev)、来自[ ](rproc_handle_vdev+0x168/0x2

    2C)

    [1050.743231] r7:eebbec00 r6:eebedf0 r5:00000002 r4:eea1507c

    [1050.743251][ ](rproc_handle_vdev)、来自[ ](rproc_handle_resources/0x68/0x

    118)

    [1050.743257] R10:eebbe820 R9:eeea15050 R8:00000fb0 r7:eebbe800 R6:00000000 R5:0000004c

    [1050.743276] R4:c0e28be0

    [1050.743288][ ](rproc_handle_resources)、来自[ ](rproc_fw_config_virtiio+0x

    F4/0x100)

    [1050.743293] R10:00000000 R9:ef629ac0 R8:00000000 r7:00001000 R6:f2409000 R5:ee50b500

    [1050.743312] R4:eebbe800

    [1050.743324][ ](rproc_fw_config_virtiio)、来自[ ](Request_firmware_Work_Fun

    C+0x38/0x60)

    [1050.743330] r7:ef62d200 r6:ef629ac0 r5:ee50b600 r4:ee50b600

    [1050.743352][ ](Request_firmware_Work_func)、来自[ ](Process_One_Work+0x12

    8/0x330)

    [1050.743357] R4:ef218800

    [1050.743369][ ](Process_One_Work)、来自[ ](worker_thread+0x34/0x4b0)

    [1050.743374] R10:ef629ac0 R9:ef629ac0 R8:00000008 r7:ef218818 R6:ef218800 R5:00000001

    [1050.743393] R4:ef629ad4

    [1050.743407][ ](worker_thread)、来自[ ](kthread+0xe0/0xFC)

    [1050.743413] R10:00000000 R9:00000000 R8:00000000 r7:c00555d8 R6:ef218800 R5:00000000

    [1050.743432] R4:ef21a1c0

    [1050.743446][ ](kthread)、来自[ ](RET_FANK_F叉+0x14/0x2C)

    [1050.743451] r7:00000000 R6:00000000 R5:c005ac84 R4:ef21a1c0

    [1050.743468]--[结束线迹83eb02acdc15b598 ]--

    [1050.743484] OMAP-IMU 588820.MMU:IOMMU 故障:DA 0x0标志0x0

    [1050.743493] remoteproc remoteproc0:在588200.IPU 中检测到崩溃:类型 mmufault

    [1050.74367] OMAP-iommu 588820.MMU:588820.MMU:errs:0x00000008 da:0x00000000 PgD:0xee5f000

    0 * PgD:px00000000

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

    您的 VisionSDK 的版本是什么?

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

    我的开发基础是 Linux 4.4.45。

    我从我已完全提取到 HDD 上的 visic-SDK 2-12-02-00中取出了它。  

    我的代码完全在 SDK 外部运行、我无法使用 CCS 进行开发。  
    我们有一个非常特殊的要求、即在 A-15内核上运行 Linux、并使用 Remoteproc 在子内核上生成"真正的裸机"代码、而无需 BIOS 或 RTOS。  

    将 JTAG 与 CCS 结合使用时、它必须有所不同(并且是 GEL 脚本...) 在一侧、直接处理 Remoteproc、MMU-st填 充和链接器脚本、Remoteproc-Headers... 另一侧。 如果加载了由 ARM-Linux-gnueabi-Toolchain 生成的代码并通过 JTAG 直接与 CCS 跳转到 M4上、则该代码会在 M4上运行。  

    由 Remoteproc 上载出现上述错误。 (当然、我将使用自定义头文件来实现 Remoteproc 的 resource_table、该文件是通过链接器调整的-文件"tda2.lds"和 ARM 启动代码... 我还尝试了 Ducati-startup 代码: core_smt_asm_gnu.sv7M、但错误仍然存在...)  

    有一个特殊的*。xem4正在运行完美... 它是 MessageQ_single.xem4...但它不是在 SDK 中构建的、它只是复制的二进制文件、我正在寻找它的构建机制... 也许我至少能找到我的错误... 嗯。  

    铜(tmw) Marco…

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

    我已将您的问题转交给 VisionSDK 专家。

    此致、
    Yordan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    你(们)好
    我认为 MessageQ_single.xem4来自 IPC 软件包。 IPC 示例的源代码应出现在\ti_compones\os_tools\IPC_3_43_03_05中。 但我想、您需要在远程内核上运行 BIOS 来处理这些 IPC 示例。

    我想、更好的解决方案可能是使用 uboot 加载 IPC 的远程内核二进制指令和指令处理。

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

    你好@Shiju!

    =================== >其他信息//新闻:

    我使用 readelf 对上述二进制文件的一些片段进行了逆向工程。 我已经了解了 MMU 映射是如何完成的...

    经过一些调整、我在 Remoteproc 上遇到了相同的存储器映射条件、但遇到了另一个错误:

    [461.976351] remoteproc remoteproc0:发布588200.IPU

    [465.794433] OMAP-rproc 588200.IPU:分配的保留存储器节点 ipu1_CMA@9d000000

    [465.794531] remoteproc remoteproc0:588200.IPU 可用

    [465.794542] remoteproc remoteproc0:注意:remoteproc 仍在开发和考虑中

    实验版。

    [465.794551] remoteproc remoteproc0:二进制格式尚未最终确定,并且向后 compa

    还不保证可自由兑换。

    [465.795463] remoteproc remoteproc0:RSC:类型3

    [465.795475] remoteproc remoteproc0:RSC:0类

    [465.795484] remoteproc remoteproc0:RSC:0类

    [465.795492] remoteproc remoteproc0:RSC:0类

    [465.795500] remoteproc remoteproc0:RSC:类型2

    [465.795507] remoteproc remoteproc0:RSC:类型1

    [465.795514] remoteproc remoteproc0:RSC:类型3

    [465.795524] remoteproc remoteproc0:vdev RSC:ID 7、dles 1、cfg len 0、2 vrings

    [465.795536] remoteproc remoteproc0:vdev RSC:vring0:da 60000000、qsz 256、align 4096

    [465.795545] remoteproc remoteproc0:vdev RSC:vring1:da 60004000、qsz 256、align 4096

    [465.796878] remoteproc remoteproc0:vring0:vA de000000 DMA 0x9e000000大小3000 IDR 0

    [465.796935] remoteproc remoteproc0:vring1:VA de004000 DMA 0x9e004000 size 3000 IDR 1.

    [465.796959] remoteproc remoteproc0:启动588200.IPU

    [465.796973] remoteproc remoteproc0:引导 FW 映像 dra7-ipu1-fw.xem4、大小为625616

    [465.797093] OMAP-IMU 588820.MMU:588820.MMU:2.1版

    [465.797116] remoteproc remoteproc0:RSC:类型3

    [465.797126] remoteproc remoteproc0:RSC:0类

    [465.797152] remoteproc remoteproc0:carveout RSC:da 0、PA 0、len 100000、flags 0

    [465.797540] remoteproc remoteproc0:carveout va d100000、DMA 0x9e100000、len 0x100000

    [465.797566] remoteproc remoteproc0:分割映射0x0至0x9e100000

    [465.797574] remoteproc remoteproc0:RSC:0类

    [465.797584] remoteproc remoteproc0:carveout RSC:da 8000000、PA 0、len 50000、flags 0

    [465.799593] remoteproc remoteproc0:carveout va de200000、DMA 0x9e200000、len 0x50000

    [465.799678] remoteproc remoteproc0:分割映射0x8000000至0x9e200000

    [465.799686] remoteproc remoteproc0:RSC:0类

    [465.799695] remoteproc remoteproc0:carveout RSC:da 9f000000、PA 0、len 100000、flags 0

    [465.800090] remoteproc remoteproc0:carveout va de700000、DMA 0x9e700000、len 0x100000

    [465.800115] remoteproc remoteproc0:carveout 映射0x9f000000至0x9e700000

    [465.800123] remoteproc remoteproc0:RSC:类型2

    [465.800147] remoteproc remoteproc0:trace0已添加:VA de700000、da 0x9f000000、len 0x8000

    [465.800156] remoteproc remoteproc0:RSC:类型1

    [465.800181] remoteproc remoteproc0:映射的 devmem PA 0x9d000000、da 0x60000000、len 0x100000

    [465.800671] remoteproc remoteproc0:RSC:类型3

    [465.800680] remoteproc remoteproc0:RSC:0类

    [465.800688] remoteproc remoteproc0:RSC:类型0

    [465.800695] remoteproc remoteproc0:RSC:0类

    [465.800702] remoteproc remoteproc0:RSC:类型2

    [465.800709] remoteproc remoteproc0:RSC:类型1

    [465.801419] ------ [在此处剪切]-----

    [465.801440] 警告:CPU:0 PID:18、位于 drivers/bus/omap_l3_oc.c:147 L3_interrupt_handler+0x23

    C/0x364()

    [465.801450] 440000.OCP:
    L3自定义错误:主器件 IPU1目标 GPMC (空闲):
    在功能访问期间以用户模式访问数据

    [465.801456] 中链接的模块:

    [465.801470] CPU:0 PID:18 Comm:kwork/0:1被污染:G    W   4.4.45SMS_MONORLYTHIC-00

    013-g7a35563-脏#24

    [465.801478] 硬件名称:通用 DRA74X (平展器件树)

    [465.801490] 工作队列:事件 Request_firmware_work_func

    [465.801499] 回溯:

    [465.801520] [ ](dump_backtrace)从[ ](show_stack+0x18/0x1c)

    [465.801527]  R6:c0c672ec R5:00000000 R4:20000193 R3:ef21e000

    [465.801554] [ ](show_stack)从[ ](dump_stack+0x88/0xa8)

    [465.801569] [ ](dump_stack)从[ ](warn_slESpath_common+0x7c/bb8)

    [465.801575]  R5:00000093 R4:ef21f8b0

    [465.801593] [ ](warn_slowpath_common)、来自[ ](warn_slowpath_fmt+0x38/0x40

    )

    [465.801599]  R8:c0a22aac r7:ef1fe9d0 r6:c0c67530 r5:c0c67248 r4:80080003

    [465.801626] [ ](warn_slowpath_fmt)、来自[ ](L3_INTERRUPT_Handler+0x23c/0x3

    64)

    [465.801632]  r3:ef1fe840 r2:c0c67308

    [465.801650] [ ](L3_interrupt_handler)、来自[ ](handle_irq_event_perpu+0x6

    4/0x164)

    [465.801656]  R10:ef1f6840 R9:c0e3f2a6 R8:00000017 r7:00000000 R6:00000000 R5:ef1f68a0

    [465.801677]  R4:ef1fed40

    [465.801690] [ ](handle_irq_event_perpu)、来自[ ](handle_IRQ_EVENT_0x40/0x

    64)

    [465.801696]  R10:ef242c00 R9:00000000 R8:ef008000 r7:00000001 R6:c0dcbe04 R5:ef1f68a0

    [465.801716]  R4:ef1f6840

    [465.801730][  ](handle_irq_event)从[ ](handle_fasteoi_IRQ+bbc/0x194)

    [465.801736]  R6:c0dcbe04 R5:ef1f68a0 R4:ef1f6840 R3:00000000

    [465.801757] [ ](handle_fasteoi_IRQ)、来自[ ](generic_handle_IRQ+0x20/0x30)

    [465.801763]  r7:00000001 R6:00000000 R5:c0db9424 R4:00000000

    [465.801783] [ ](generic_handle_IRQ)、来自[ ](__Handle_domain_IRQ+0x5c/bb

    )

    [465.801793] [ ](_handle_domain_IRQ)、来自[ ](GIC_Handle_IRQ+0x3c/0x7c)

    [465.801800]  R8:fa213000 r7:fa212000 r6:ef21fa58 r5:c0dc1914 r4:fa21200c r3:ef21fa58

    [465.801824][  ](GIC_Handle_IRQ)、来自[ ](_IRQ_Svc+0x40/0x74)

    [465.801831] 异常堆栈(0xef21fa58至0xef21faa0)

    [465.801839] fa40:                            c0dd1ef0 a0000113

    [465.801848] fa60:00000001 00000002 00000000 c0dd1ef0 c0c3554c a0000113 c0dd5654 00000000

    [465.801858] fa80:ef242c00 ef21fab4 ef21fab8 ef21faa8 c0032448 c09e4130 20000113 ffffff

    [465.801864]  R8:c0dd5654 r7:ef21fa8c R6:ffff R5:20000113 R4:c09e4130 R3:c0032448

    [465.801896] [ ](_raW_spin_unlock_irqrestore)从[ ](omap_hwmod_deassert_

    硬复位+0x44/0x54)

    [465.801910][  ](OMAP-hwmod_deassert_hardreset)从[ ](OMA_DEVICE_DEASe.

    RT_hardreset+0x40/0x5c)

    [465.801916]  r7:00000000 R6:c0c3554c r5:ef241580 r4:00000001

    [465.801942] [ ](OMAP-DEVICE_DEASSERT_hardreset)从[ ](omap_rproc_device

    _enable+0x94/0x100)

    [465.801948]  R6:ee548c00 R5:c0c35824 R4:ef242c00 R3:c0c3582f

    [465.801971][  ](omap_rproc_device_enable)、从[ ](omap_rproc_start+0xa8/0

    x19c)

    [465.801977]  R5:ef242c10 R4:ee548e78

    [465.801992][  ](omap_rproc_start)、来自[ ](rproc_boot+0x450/0x56c)

    [465.801998]  R10:de2795d0 R8:ee548c20 r7:ee548dac R6:ee548db4 R5:00000000 R4:ee548c00

    [465.802023] [ ](rproc_boot)、来自[ ](rproc_virtio_find_VQs+0x1a8/0x204)

    [465.802029]  R10:ee549410 R9:c0c695a4 R8:ef21fc18 r7:ef21fc0c R6:c0a93bbc R5:ef21fc14

    [465.802049]  R4:00000002

    [465.802063] [ ](rproc_virtio_find_VQ)、来自[ ](rpmsg_probe +0xac/0x45c)

    [465.802068]  R10:00000000 R9:00000000 R8:ee548c00 r7:ee549410 R6:ee51fc80 R5:c0a93bb8

    [465.802088]  R4:ef21fc08

    [465.802103] [ ](rpmsg_probe)从[ ](virtio_dev_probe +0x218/0x314)

    [465.802110]  R10:00000000 R9:00000000 R8:00000001 r7:00000000 R6:00000001 R5:00000000

    [465.802129]  R4:00000000

    [465.802142] [ ](virtio_dev_probe)、来自[ ](DRIVER_PROBLE_DEVICE_0x1e8/0x2b0

    )

    [465.802148]  R10:00000000 R9:00000000 R8:00000011 r7:c0e2930c R6:00000000 R5:c0e7f47c

    [465.802167]  R4:ee549420

    [465.802179][  ](driver_probe_device)从[ ](_device_attach_driver+0x88/

    0x94)

    [465.802184]  R8:c0e7f458 r7:00000001 R6:ee549420 R5:ef21fd30 R4:c0e2930c R3:00000000

    [465.802211]  ](_device_attach_driver)、来自[ ](bus_for_each _drv+0x4c/0x9

    4)

    [465.802217]  R6:c03f97c0 R5:ef21fd30 R4:00000000 R3:00000000

    [465.802238] [ ](bus_for_each _drv)从[ ](_DEVICE_ATT+0xa8/0x10c)

    [465.802243]  R6:c0df5c30 R5:ee549454 R4:ee549420

    [465.802260] [ ](_device_attach)从[ ](DEVICE_INPLET_PROBE +0x14/0x18)

    [465.802266]  r7:ee548c20 r6:c0df5c30 r5:ee549420 r4:ee549420

    [465.802288][  ](DEVICE_INTERY_PROBE)从[ ](BUS_PROBLE_DEVICE_0x8c/0x94)

    [465.802300] [ ](bus_probe_device)、来自[ ](DEVICE_ADD+0x388/0x530)

    [465.802306]  R6:ee549428 R5:00000000 R4:ee549420 R3:00000001

    [465.802327] [ ](device_add)从[ ](DEVICE_REGISTER+0x1c/0x20)

    [465.802333]  R10:ee548c00 R9:ee548c20 R8:ee4fe02c r7:ee549400 R6:ee549420 R5:c072dca0

    [465.802353]  R4:ee549420

    [465.802367][  ](DEVICE_REGISTER)从[ ](register_virtio_device+0xa8/0xf4

    )

    [465.802373]  R4:ee549410 R3:ee5495b8

    [465.802389][  ](register_virtio_device)、来自[ ](rproc_add_virtio_dev+0x44

    /0xa0)

    [465.802394]  R6:00000007 R5:ee548c20 R4:ee549400 R3:ee548c44

    [465.802415][  ](rproc_add_virtio_dev)、来自[ ](rproc_handle_vdev+0x168/0x2

    2C)

    [465.802421]  r7:ee549400 R6:ee5495f0 R5:00000002 R4:ee4fe058

    [465.802440] [ ](rproc_handle_vdev)、来自[ ](rproc_handle_resources/0x68/0x

    118)

    [465.802446]  R10:ee548c20 R9:ee4fe02c R8:00000150 r7:ee548c00 R6:00000000 R5:00000028

    [465.802465]  R4:c0e28be0

    [465.802477] [ ](rproc_handle_resources)、来自[ ](rproc_fw_config_virtiio+0x

    F4/0x100)

    [465.802483]  R10:00000000 R9:ef629ac0 R8:00000000 r7:0000017c R6:f1d125d0 R5:ee5393c0

    [465.802502]  R4:ee548c00

    [465.802514][  ](rproc_fw_config_virtiio)、来自[ ](Request_firmware_Work_Fun

    C+0x38/0x60)

    [465.802520]  r7:ef62d200 r6:ef629ac0 r5:ee539540 r4:ee539540

    [465.802543] [ ](Request_firmware_Work_func)、来自[ ](Process_One_Work+0x12

    8/0x330)

    [465.802549]  R4:ef218800

    [465.802560] [ ](Process_One_Work)、来自[ ](worker_thread+0x34/0x4b0)

    [465.802566]  R10:ef629ac0 R9:ef629ac0 R8:00000008 r7:ef218818 R6:ef218800 R5:00000001

    [465.802585]  R4:ef629ad4

    [465.802598] [ ](worker_thread)、来自[ ](kthread+0xe0/0xFC)

    [465.802604]  R10:00000000 R9:00000000 R8:00000000 r7:c00555d8 R6:ef218800 R5:00000000

    [465.802623]  R4:ef21a1c0

    [465.802637] [ ](kthread)、来自[ ](RET_FANK_F叉+0x14/0x2C)

    [465.802643]  r7:00000000 R6:00000000 R5:c005ac84 R4:ef21a1c0

    [465.802661] --[结束线迹 f363bed9b0637e37]--

    [465.802696] ------ [在此处剪切]-----

    [465.802709] 警告:CPU:0 PID:18、位于 drivers/bus/omap_l3_oc.c:147 L3_interrupt_handler + 0x23

    C/0x364()

    [465.802718] 440000.OCP:L3自定义错误:主 IPU1目标 GPMC (空闲):用户中的数据访问

    模式下运行

    [465.802723] 链接的模块:

    [465.80274] CPU:0 PID:18 Comm:kwork/0:1被污染:G    W   4.4.45SMS_MONORLYTHIC-00

    013-g7a35563-脏#24

    [465.802741] 硬件名称:通用 DRA74X (平展器件树)

    [465.802749] 工作队列:事件 Request_firmware_work_func

    [465.802757] 回扫:

    [465.802772] [ ](dump_backtrace)从[ ](show_stack+0x18/0x1c)

    [465.802778]  R6:c0c672ec R5:00000000 R4:20000193 R3:ef21e000

    [465.802803] [ ](show_stack)从[ ](dump_stack+0x88/0xa8)

    [465.802815] [ ](dump_stack)从[ ](warn_slESpath_common+0x7c/bb8)

    [465.802821]  R5:00000093 R4:ef21f8b0

    [465.802837] [ ](warn_slowpath_common)、来自[ ](warn_slowpath_fmt+0x38/0x40

    )

    [465.802843]  R8:c0a22aac r7:ef1fe9d0 R6:c0c67530 R5:c0c67248 R4:80080003

    [465.802869] [ ](warn_slowpath_fmt)、来自[ ](L3_INTERRUPT_Handler+0x23c/0x3

    64)

    [465.802874]  r3:ef1fe840 r2:c0c67308

    [465.802890] [ ](L3_interrupt_handler)、来自[ ](handle_irq_event_perpu+0x6

    4/0x164)

    [465.802896]  R10:ef1f6840 R9:c0e3f2a6 R8:00000017 r7:00000000 R6:00000000 R5:ef1f68a0

    [465.802916]  R4:ef1fed40

    [465.802928] [ ](handle_irq_event_perpu)、来自[ ](handle_IRQ_EVENT_0x40/0x

    64)

    [465.802933]  R10:ef242c00 R9:00000000 R8:ef008000 r7:00000001 R6:c0dcbe04 R5:ef1f68a0

    [465.802953]  R4:ef1f6840

    [465.802965] [ ](handle_irq_event)从[ ](handle_fasteoi_IRQ+bbc/0x194)

    [465.802971]  R6:c0dcbe04 R5:ef1f68a0 R4:ef1f6840 R3:00000000

    [465.802992][  ](handle_fasteoi_IRQ)、来自[ ](generic_handle_IRQ+0x20/0x30)

    [465.802997]  r7:00000001 R6:00000000 R5:c0db9424 R4:00000000

    [465.803017][  ](generic_handle_IRQ)、来自[ ](__Handle_domain_IRQ+0x5c/bb

    )

    [465.803027] [ ](_handle_domain_IRQ)、来自[ ](GIC_Handle_IRQ+0x3c/0x7c)

    [465.803033]  R8:fa213000 r7:fa212000 r6:ef21fa58 r5:c0dc1914 r4:fa21200c r3:ef21fa58

    [465.803056] [ ](GIC_Handle_IRQ)、来自[ ](_IRQ_Svc+0x40/0x74)

    [465.803063] 异常堆栈(0xef21fa58至0xef21faa0)

    [465.803070] fa40:                            c0dd1ef0 a0000113

    [465.803080] fa60:00000001 00000003 00000000 c0dd1ef0 c0c35554 a0000113 c0dd5654 00000000

    [465.803089] fa80:ef242c00 ef21fab4 ef21fab8 ef21faa8 c0032448 c09e4130 20000113 ffffff

    [465.803095]  R8:c0dd5654 r7:ef21fa8c R6:ffff R5:20000113 R4:c09e4130 R3:c0032448

    [465.803123][  ](_raW_spin_unlock_irqrestore)从[ ](omap_hwmod_deassert_

    硬复位+0x44/0x54)

    [465.803136] [ ](OMAP-hwmod_deassert_hardreset)从[ ](OMA_DEVICE_DEASe.

    RT_hardreset+0x40/0x5c)

    [465.803142]  r7:00000000 R6:c0c35554 R5:ef241580 R4:00000001

    [465.803166] [ ](OMAP-DEVICE_DEASSERT_hardreset)从[ ](omap_rproc_device

    _enable+0xc4/0x100)

    [465.803172]  R6:ee548c00 R5:00000000 R4:ef242c00 R3:c0c3582f

    [465.803194][  ](omap_rproc_device_enable)、从[ ](omap_rproc_start+0xa8/0

    x19c)

    [465.803200]  R5:ef242c10 R4:ee548e78

    [465.803215] [ ](omap_rproc_start)、来自[ ](rproc_boot+0x450/0x56c)

    [465.803220]  R10:de2795d0 R8:ee548c20 r7:ee548dac R6:ee548db4 R5:00000000 R4:ee548c00

    [465.803245][  ](rproc_boot)、来自[ ](rproc_virtio_find_VQs+0x1a8/0x204)

    [465.803250]  R10:ee549410 R9:c0c695a4 R8:ef21fc18 r7:ef21fc0c R6:c0a93bbc R5:ef21fc14

    [465.80327]  R4:00000002

    [465.803283] [ ](rproc_virtio_find_VQ)、来自[ ](rpmsg_probe +0xac/0x45c)

    [465.803299]  R10:00000000 R9:00000000 R8:ee548c00 r7:ee549410 R6:ee51fc80 R5:c0a93bb8

    [465.803308]  R4:ef21fc08

    [465.803322] [ ](rpmsg_probe)从[ ](virtio_dev_probe +0x218/0x314)

    [465.803328]  R10:00000000 R9:00000000 R8:00000001 r7:00000000 R6:00000001 R5:00000000

    [465.803347]  R4:00000000

    [465.803359] [ ](virtio_dev_probe)、来自[ ](DRIVER_PROBLE_DEVICE_0x1e8/0x2b0

    )

    [465.803365]  R10:00000000 R9:00000000 R8:00000011 r7:c0e2930c R6:00000000 R5:c0e7f47c

    [465.80335]  R4:ee549420

    [465.803396] [ ](driver_probe_device)从[ ](_device_attach_driver+0x88/

    0x94)

    [465.803402]  R8:c0e7f458 r7:00000001 R6:ee549420 R5:ef21fd30 R4:c0e2930c R3:00000000

    [465.803427] [ ](_device_attach_driver)、来自[ ](bus_for_each _drv+0x4c/0x9

    4)

    [465.803433]  R6:c03f97c0 R5:ef21fd30 R4:00000000 R3:00000000

    [465.803454] [ ](bus_for_each _drv)从[ ](_DEVICE_ATT+0xa8/0x10c)

    [465.803460]  R6:c0df5c30 R5:ee549454 R4:ee549420

    [465.803476] [ ](_device_attach)从[ ](DEVICE_INPLET_PROBE +0x14/0x18)

    [465.803482]  r7:ee548c20 r6:c0df5c30 r5:ee549420 r4:ee549420

    [465.803503] [ ](DEVICE_INTERY_PROBE)从[ ](BUS_PROBLE_DEVICE_0x8c/0x94)

    [465.803516][  ](bus_probe_device)、来自[ ](DEVICE_ADD+0x388/0x530)

    [465.803521]  R6:ee549428 R5:00000000 R4:ee549420 R3:00000001

    [465.803543][  ](device_add)从[ ](DEVICE_REGISTER+0x1c/0x20)

    [465.803549]  R10:ee548c00 R9:ee548c20 R8:ee4fe02c r7:ee549400 R6:ee549420 R5:c072dca0

    [465.803568]  R4:ee549420

    [465.803582] [ ](DEVICE_REGISTER)从[ ](register_virtio_device+0xa8/0xf4

    )

    [465.803588]  R4:ee549410 R3:ee5495b8

    [465.803604] [ ](register_virtio_device)、来自[ ](rproc_add_virtio_dev+0x44

    /0xa0)

    [465.803610]  R6:00000007 R5:ee548c20 R4:ee549400 R3:ee548c44

    [465.803630][  ](rproc_add_virtio_dev)、来自[ ](rproc_handle_vdev+0x168/0x2

    2C)

    [465.803636]  r7:ee549400 R6:ee5495f0 R5:00000002 R4:ee4fe058

    [465.803656][  ](rproc_handle_vdev)、来自[ ](rproc_handle_resources/0x68/0x

    118)

    [465.803662]  R10:ee548c20 R9:ee4fe02c R8:00000150 r7:ee548c00 R6:00000000 R5:00000028

    [465.80361]  R4:c0e28be0

    [465.803692] [ ](rproc_handle_resources)、来自[ ](rproc_fw_config_virtiio+0x

    F4/0x100)

    [465.803698]  R10:00000000 R9:ef629ac0 R8:00000000 r7:0000017c R6:f1d125d0 R5:ee5393c0

    [465.803718]  R4:ee548c00

    [465.803730][  ](rproc_fw_config_virtiio)、来自[ ](Request_firmware_Work_Fun

    C+0x38/0x60)

    [465.803735]  r7:ef62d200 r6:ef629ac0 r5:ee539540 r4:ee539540

    [465.803757] [ ](Request_firmware_Work_func)、来自[ ](Process_One_Work+0x12

    8/0x330)

    [465.803763]  R4:ef218800

    [465.803774][  ](Process_One_Work)、来自[ ](worker_thread+0x34/0x4b0)

    [465.803780]  R10:ef629ac0 R9:ef629ac0 R8:00000008 r7:ef218818 R6:ef218800 R5:00000001

    [465.803799]  R4:ef629ad4

    [465.803812][  ](worker_thread)、来自[ ](kthread+0xe0/0xFC)

    [465.803818]  R10:00000000 R9:00000000 R8:00000000 r7:c00555d8 R6:ef218800 R5:00000000

    [465.803838]  R4:ef21a1c0

    [465.803851] [ ](kthread)、来自[ ](RET_FANK_F叉+0x14/0x2C)

    [465.803857]  r7:00000000 R6:00000000 R5:c005ac84 R4:ef21a1c0

    [465.803874] --[结束线迹 f363bed9b0637e38 ]--

    [465.803914] remoteproc remoteproc0:远程处理器588200.IPU 现已启动

    [465.804250] virtio_rpmsg_bus virtio0:rpmsg 主机处于联机状态

    [465.804281] remoteproc remoteproc0:注册的 virtio0 (类型7)

    [465.804253] remoteproc remoteproc0:RSC:0类

    [465.804303] remoteproc remoteproc0:RSC:0类

    [465.804312] remoteproc remoteproc0:RSC:0类

    [465.804321] remoteproc remoteproc0:RSC:类型2

    [465.804329] remoteproc remoteproc0:RSC:类型1

    在  

     

    在我看到的 e2e-Forum 上、用于 IPC 和 Co.的 L3寄存器不公开... 哇哦。 为什么?  

    您能告诉我上述错误的情况吗?

    感谢你的帮助 m

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

    我尝试的所有操作都会导致两个错误之一:

    (1) OMAP-iommu 58880.MMU:IOMMU 故障:DA 0x0标志0x0

    或:

    (2) L3自定义错误:主 IPU1目标 GPMC (空闲):在功能访问期间以用户模式进行数据访问

    当我检查"IPC..."时、我真的无法找到对我的用例有用的内容。 源。 我找不到"xem4"文件的编译位置和编译方式。 当然... 有一个 MessageQ_single.c……但是-> 可能必须有一些"像素灰尘"... 把所有东西都粘在一起?

    那么、我的问题再次是:
    我在 A15内核上运行 Linux。 我必须从其他项目中重复使用 C6x 和 Cortex M4代码、管理子内核固件的最佳方法是使用 Remoteproc。 我使用 GND-Linux-eabi 工具链、我的编辑器不是 IDE、而是 vi、因为我必须了解我们将提供的代码如何"准确"地工作。 由于我们需要的认证、我无法向我的客户提供任何类型的"黑盒"。

    工作原理:
    我有一个使用 arm-linux-gnueabi 的 Makefile 文件... 使用 tda2.lds 文件创建某种代码、arm-startup 代码(试用 startup_armc4.S 和 Core_smp_asm_gnu.sv7M)、当然还有 custom_rsc_table_omap5_IPC.h.. 我将所有内容调优在一起、并且能够配置基本的 MMU。
    但缺少一些东西... 导致上述两个误差中的一个、无论我尝试什么。

    如果没有有效的示例、至少没有有效的启动代码、则会有某种基线... 我无法达到我的主要工作目标:将我们的代码移植到新的电路板设计中... 在 A15上使用 Linux 而不是 RTOS 或 BIOS 使得使用 MMU 成为必要、而且处理它显然并不容易... 我在这里需要帮助

    Tnx Marco

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

    您提到的第一个错误:

    (1) OMAP-iommu 58880.MMU:IOMMU 故障:DA 0x0标志0x0

    指示 IPU 虚拟地址0x0处的 MMU 故障。 根据原始的 remoteproc 日志、我看到在 MMU 中未对虚拟地址0x0进行编程。 IPU 需要地址0x0处的矢量表。

    我稍后看到、您已将虚拟地址0x0添加到资源表中、并且它正在进行映射。 那么、您似乎已经过去了该错误吗?

    对于 IPC MessageQ_single 示例、感兴趣的文件为:
    packages/ti/ipc/tests/MessageQ_single.c ->用于测试的源代码
    packages/ti/ipc/tests/IpuAmmu_vayu.cfg -> Ammu config、由 SYS/BIOS 用于配置 Ammu (UNICACHE MMU)(remoteproc 不执行此操作)
    packages/ti/ipc/remoteproc/rsc_table_vayu_ipu.h ->资源表,由 remoteproc 用于对 MMU 进行编程和设置 IPC
    packages/ti/ipc/tests/package.bld -->生成文件

    谢谢、
    Angela
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我查看了 ELF 文件(objdump)、发现我必须转换为 GNU 样式(__attribute__s)的"Pragma"出错了。
    之后、我修复了链接器脚本... 在提供的 lds 中、rst_vectors 和启动代码部分不是其所属的位置。 我必须修复"远跳"问题、方法是修复跳转到 C 代码的"主"和"设置"的方法... 现在、我能够以一个非常简单的示例启动 M4。
    这就是我们所需要的:只需尽可能多的代码即可开始在 M4子内核上工作。

    但是... 对于希望自己在 TDA2子内核上进行编码而不在 TI SDK 监狱中的每个人来说、这种示例是很好的、该 SDK 通过多种不同的目录链接"跨国家/地区"... 这里有一些 XDC、在这里调用 SYS/BIOS…… 包括一些代码(!) 由配置过程生成... 这座监狱很难被制动,这不能成为 BSP 的目标! 这将有助于在客户的用例中构建系统。

    因此、当 MIPI 或其他 L3外设的复杂驱动程序必须从 TI-SDK 移植到我们自己的裸机世界中时、我会感到有点惊讶并担心未来... ;-)

    此致:Marco。。。