完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我们在带有 RT 内核补丁 (patch-5.15.32-rt39.patch) 的 imx8qm-mek 上运行最新版本的 5.15.32-2.0.0 BSP。在 Linux 启动期间启用 HDMI 的平台不稳定。我们的 yocto 构建中的一些细节:
MACHINE=imx8qmmek DISTRO=fslc-wayland source setup-environment build-imx8qmmek-wayland 下载并应用 rt 内核补丁: patch-5.15.32-rt39.patch 使用选项更新内核配置: CONFIG_KVM=n CONFIG_EXPERT =y CONFIG_PREEMPT_RT=y 更改引导加载程序 ftd_file 以使用 imx8qm-mek-hdmi.dtb 我们偶尔会看到的崩溃(1/10 靴子): [1.808385]imx-drm显示子系统:绑定imx-drm-dpu-bliteng.2(ops dpu_bliteng_ops) [1.808601]imx-drm显示子系统:绑定imx-drm-dpu-bliteng.5(ops dpu_bliteng_ops) [1.809649 ] imx-drm 显示子系统:绑定 imx-dpu-crtc.0(ops dpu_crtc_ops) [1.810686] imx-drm 显示子系统:绑定 imx-dpu-crtc.1(ops dpu_crtc_ops) [1.811685] imx-drm 显示-子系统:绑定 imx-dpu-crtc.3 (ops dpu_crtc_ops) [1.812756] imx-drm 显示子系统:绑定 imx-dpu-crtc.4 (ops dpu_crtc_ops) [1.813750] 无法处理虚拟地址 0000000000000058 处的内核空指针取消引用 [1.813757]内存中止信息: [1.813758]ESR=0x96000004 [1.813761]EC=0x25:DABT(当前EL)IL=32位 [1.813765]SET=0,FnV=0 [1.813768]EA=0,S1PTW=0 [1.813771]FSC=0x04:0级翻译错误 [1.813774]数据中止信息: [1.813775]ISV=0,ISS=0x00000004 [78.8133 ] ] CM = 0,WnR = 0 [ 1.813780] [0000000000000058] 用户地址,但 active_mm 是交换器 [ 1.813785] 内部错误:糟糕:96000004 [#1] PREEMPT_RT SMP [ 1.813790] 链接的模块: [ 1.813800] CPU:2 PID: 111 通讯:kworker/2:2 未被污染 5.15.32+g685a4b266ff4 #1 [1.813807] 硬件名称:Freescale i.MX8QM MEK (DT) [1.813812] 工作队列:pm pm_runtime_work [1.813827] pstate:60000005 (nZCv daif -PAN - UAO -TCO -DIT -SSBS BTYPE=--) [ 1.813834] pc : genpd_runtime_suspend+0xf0/0x2c0 [ 1.813843] lr : genpd_runtime_suspend+0xe4/0x2c0 [ 1.813849] sp : ffff80000a3ebc50 [ 1.813852] x29: ffff80000a3ebc50 x28: 0000000000000000 x27: 0000000000000000 [ 1.813861] x26: ffff800009a18000 x25: ffff000810c85080 x24: 0000000068680971 [ 1.813870] x23: 0000000000000000 x22: ffff00081467e880 x21 : ffff000810c853d0 [ 1.813878] x20: ffff800008820310 x19: ffff000814165000 x18: ffffffffffffffff [ 1.813886] x17: 0000000000000000 x16: ffff80000882dee4 x15: 0000008df9746c20 [ 1.813894] x14: 0000000000000370 x13: 0000000000000001 x12: 0000000000000000 [ 1.813902] x11: 0000000000000000 x10: 0000000000000960 x9 : ffff80000a3ebaa0 [1.813910] x8:ffff000810a22540 x7:ffff0008f95bc440 x6:0000000000000000 [ 1.813918] x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff000810a222f0 [ 1.813926] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 [ 1.813937] Call tr� ��ace: [ 1.813940] genpd_runtime_suspend+0xf0 /0x2c0 [ 1.813947] __rpm_callback+0x48 /0x150 [ 1.813953] rpm_ca +0x6c/0x80 [ 1.813959] rpm_suspend+0x100/0x550 [ 1.813965] pm_runtime_work+0xd4/0xf0 [ 1.813972] process_one_work+0x1d0/0x354 [ 1.813981] worker_thread+0x134/0x45c [ 1.813987] kthread+0x18c/0x1a0 [ 1.813995] ret_from_fork+0x10 /0x20 [ 1.814007] 代码:d63f0020 f9411660 52800002 f9412261 (f9402c03) [ 1.814013] ---[ 结束跟踪 0000000000000002 ]--- [1.834058]imx6q-pcie 5f000000.pcie:PCIe PLL被锁定。 [1.834105]imx6q-pcie 5f010000.pcie:PCIe PLL被锁定。 [1.834167]imx6q-pcie 5f000000.pcie:iATU展开:禁用 [1.834174]imx6q-pcie 5f000000.pcie:检测到的iATU区域:6个出站,6个入站 [1.834189]imx6q-pcie 5f000000.pcie:主机桥/总线0000000000000000000000 PCIE@0x5F000000范围: [1.834274] IMX6Q-PCIE 5F000000.PCIE:IO 0X006FF80000..0x006ff8ffff-> 0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000个 IMX6Q-PCIE 5F00000000.PCIE:MEM 0346QIE:MEM 036000000000000000000X0000X000FFFF- :iATU展开:禁用 [1.834471]imx6q-pcie 5f010000.pcie:检测到iATU区域:6个出站,6个入站 [1.834479]imx6q-pcie 5f010000.pcie:主机桥/bus@5f000000/pcie@0x5f010000范围: [1.834497]imx6q-pcie 5f000000.pcie:iATU展开:禁用 [1.834501]imx6q-pcie 5f000pcie:000检测到的区域6出站,6个进口 [1.834500] IMX6Q-PCIE 5F010000.PCIE:IO 0x007FF80000..0X007FFFFFF-> 0x000000000000000000000000000000000000000000000000000000000000000000000000 f.- imx6q- pcie 5f010000.pcie:MEM 0X00700000000000000000000000000000000000000000000FUMEFFFFF- :iATU展开:禁用 [1.834580] imx6q-pcie 5f010000.pcie:检测到iATU区域:6个出站,6个入站 [1.862983] virtio_rpmsg_bus virtio1:创建通道rpmsg-openamp-demo-channel addr 0x1e [2.793981] mmc1:新的超高速地址为 aaaa 的 SDR104 SDHC 卡 [ 2.794792] mmcblk1: mmc1:aaaa SE32G 29.7 GiB [ 2.797105] mmcblk1: p1 p2 [ 2.834852] imx6q-pcie 5f000000.pcie: Phy 链接从未出现[ 2.834852] imx6q-pcie 5f010000.pcie7 [ phy010000.pcie7 出现了 ] imx6q-pcie:5f000000.pcie 的探测失败,错误为-110 [2.837661] imx6q-pcie:5f010000.pcie 的探测失败,错误为-110 [2.842108] ata1:SATA 链接断开(SStatus 0 SControl 300)你知道可能是什么原因吗?我们在配置中缺少什么吗? (worker=worker@条目=0xffff000810a71700,工作=0xffff000827349190) 在/home/vik/Workspace/V4.0/2171-platform-linux-imx6/01-Yocto/build-imx8/workspace/sources/linux-imx/kernel/workqueue.c: 2306 pwq = 0xffff0008ff3da400 池 = 0xffff0008ff3d4cc0 cpu_intensive = false work_data = 18446462637374809093 collision = 0x0 #8 0xffff80000806ea40 in worker_thread (__worker=0xffff000810a71700) 在/home/vik/Workspace/V4.0/2171-platform-linux-imx6/01-Yocto/build-imx8/workspace/sources/linux- imx/kernel/workqueue.c:2453 work = <优化> worker = 0xffff000810a71700由于堆栈损坏,我们无法获得更多详细信息,但它帮助我们在 genpd_drop_performance_state() 中添加了一些额外的指针/值检查。我们创建了这个补丁: diff --git a/drivers/base/power/domain.cb/drivers/base/power/domain.c index 7bef4b6638a2..09891e892866 100644 --- a/drivers/base/power/domain.c +++ b/ drivers/base/power/domain.c @@ -436,7 +436,18 @@ static int genpd_set_performance_state(struct device *dev, unsigned int state) static int genpd_drop_performance_state(struct device *dev) { - unsigned int prev_state = dev_gpd_data 复制代码(dev)->performance_state; + 结构 generic_pm_domain_data *gpd_data = NULL; + unsigned int prev_state = 0; + + if (dev->power.subsys_data && dev->power.subsys_data->domain_data) + gpd_data = dev_gpd_data(dev); + 否则 + 返回0; + + if (gpd_data) + prev_state = gpd_data->performance_state; + 否则 + 返回0; 如果(!genpd_set_performance_state(dev,0)) 返回prev_state;- - 2.29.0 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1907个成员聚集在这个小组
加入小组我的项目我做主,使用GN+Ninja来完成构建系统(VSCode开发RT106X)
36358 浏览 0 评论
NXP IMX8应用处理器快速入门必备:技巧、使用、设计指南
4396 浏览 0 评论
6050 浏览 1 评论
6763 浏览 0 评论
NXP i.MX6UL开发板(linux系统烧录+规格+硬件+模块移植)使用手册
4213 浏览 0 评论
619浏览 2评论
求助,S32G上Core M启动后如何让Core A在Flash指定位置加载uboot?
615浏览 2评论
ESP32-WROVER-IE + LAN8720以太网,GPIO0电压只有1.6v,无法正常进入spi flash boot模式如何解决?
606浏览 2评论
求分享适用于PN7160 Android的NFC工厂测试应用程序
694浏览 2评论
798浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-23 12:48 , Processed in 1.094211 second(s), Total 74, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号