完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我尝试通过 remoteproc 启动 IMX7 M4 rtso 演示固件,但 remoteproc 失败并出现以下错误
[ 231.254433] remoteproc remoteproc0: powering up imx-rproc [ 231.323519] remoteproc remoteproc0: Booting fw image rpmsg_rtos_ddr.axf, size 1311480 [ 231.323573] remoteproc remoteproc0: No resource table in elf [ 231.323671] imx-rproc imx7d-cm4: Translation failed: da = 0x1fff0000 len = 0x8240 [ 231.323683] remoteproc remoteproc0: bad phdr da 0x1fff0000 mem 0x8240 [ 231.323693] remoteproc remoteproc0: Failed to load program segments: -22 [ 231.323990] remoteproc remoteproc0: Boot failed: -22 看起来,remoteproc 试图从二进制程序头的地址 0x1fff0000 加载固件,该地址在设备树和链接器文件中都没有保留。但是节头有适当的地址段。 二进制头: 有没有办法让 remoteproc 驱动程序使用节头?还是我错过了设备树或链接描述文件中的任何内容? 谁能帮我解决这个问题? 这是我的设备树更改, memory { linux,usable-memory = <0x81000000 0x1f000000>, <0xa0000000 0x1ff00000>; }; reserved-memory { #address-cells = <1>; #size-cells = <1>; ranges; m4_ddr_reserved: cm4_ddr@80000000 { reg = <0x80000000 0x100000>; no-map; }; m4_ddr_audio_reserved: cm4_ddr_audio@9ff00000 { reg = <0x9ff00000 0x100000>; no-map; }; m4_tcm_l_reserved: m4_tcm_l@1FFF8000 { reg = <0x1FFF8000 0x8000>; no-map; }; m4_tcm_h_reserved: m4_tcm_h@20000000 { reg = <0x20000000 0x8000>; no-map; }; m4_ocram_reserved: m4_ocram@20201000 { reg = <0x20201000 0x1FFFE>; no-map; }; }; imx7d-cm4 { compatible = "fsl,imx7d-cm4"; syscon = <&src>; clocks = <&clks IMX7D_ARM_M4_ROOT_CLK>; memory-region = <&m4_ddr_reserved>, <&m4_ddr_audio_reserved>, <&m4_tcm_l_reserved>, <&m4_tcm_h_reserved>, <&m4_ocram_reserved>; };链接器文件中的内存段 /* Specify the memory areas */ MEMORY { VECTORS (RX) : ORIGIN = 0x1FFF8000, LENGTH = 0x00000240 /* Used for the vector table */ TCM_L (RX) : ORIGIN = 0x1FFF8240, LENGTH = 0x00007DC0 /* Used for kernel functions */ TCM_H (RW) : ORIGIN = 0x20000000, LENGTH = 0x00008000 /* Used for kernel data */ OCRAM (RW) : ORIGIN = 0x20201000, LENGTH = 0x0003F000 /* Used for r/w application data; NOTE, address range 0x20200000-0x20200FFF is used for DDR frequency scaling by Linux on the UIC */ DDR_CODE (RX) : ORIGIN = 0x80000000, LENGTH = 0x00080000 /* Used for application code and read-only data */ DDR_DATA (RW) : ORIGIN = 0x80080000, LENGTH = 0x00080000 /* Used for large r/w application data (e.g. pre-allocated buffers, arrays, etc.) */ DDR_AUDIO (R ) : ORIGIN = 0x9ff00000, LENGTH = 0x00100000 /* Used for audio file read-only data */ } |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1925个成员聚集在这个小组
加入小组我的项目我做主,使用GN+Ninja来完成构建系统(VSCode开发RT106X)
36408 浏览 0 评论
NXP IMX8应用处理器快速入门必备:技巧、使用、设计指南
4694 浏览 1 评论
6095 浏览 1 评论
6800 浏览 0 评论
NXP i.MX6UL开发板(linux系统烧录+规格+硬件+模块移植)使用手册
4240 浏览 0 评论
638浏览 2评论
求助,S32G上Core M启动后如何让Core A在Flash指定位置加载uboot?
634浏览 2评论
ESP32-WROVER-IE + LAN8720以太网,GPIO0电压只有1.6v,无法正常进入spi flash boot模式如何解决?
636浏览 2评论
求分享适用于PN7160 Android的NFC工厂测试应用程序
720浏览 2评论
829浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-14 05:48 , Processed in 0.969403 second(s), Total 76, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号