Firefly开源社区

打印 上一主题 下一主题

[Linux] 如何在uboot下驱动mipi屏

26

积分

0

威望

0

贡献

技术小白

积分
26

如何在uboot下驱动mipi屏

发表于 2021-6-3 11:33:31      浏览:9621 | 回复:0        打印      只看该作者   [复制链接] 楼主
1,如题,如何在uboot下驱动mipi屏,能否提供文档参考以及dts修改参考  

2.  如1,我试图修改linux mipi dts file,出现系统crash. 如以下部分log

[   28.137134] rockchip-vop ff900000.vop: missing rockchip,grf property
[   28.137241] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008ef40f0)
[   28.137259] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[   28.137330] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008ef40f0)
[   28.137335] rockchip-drm display-subsystem: failed to bind ff960000.dsi (ops 0xffffff8008eea008): -517
[   28.137445] rockchip-drm display-subsystem: master bind failed: -517
[   28.137827] rockchip-cdndp-sound dp-sound: ASoC: CODEC DAI spdif-hifi not registered
[   28.137829] rockchip-cdndp-sound dp-sound: rockchip_sound_probe snd_soc_register_card fail -517
[   28.138066] rockchip-drm display-subsystem: dmc is disabled
[   28.138213] rockchip-vop ff900000.vop: missing rockchip,grf property
[   28.138320] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008ef40f0)
[   28.138338] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[   28.138409] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008ef40f0)
[   28.138414] rockchip-drm display-subsystem: failed to bind ff960000.dsi (ops 0xffffff8008eea008): -517
[   28.138525] rockchip-drm display-subsystem: master bind failed: -517
[   28.138910] rockchip-cdndp-sound dp-sound: ASoC: CODEC DAI spdif-hifi not registered
[   28.138912] rockchip-cdndp-sound dp-sound: rockchip_sound_probe snd_soc_register_card fail -517
[   28.139177] rockchip-drm display-subsystem: dmc is disabled
[   28.139327] rockchip-vop ff900000.vop: missing rockchip,grf property
[   28.139438] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008ef40f0)
[   28.139457] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[   28.139530] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008ef40f0)
[   28.139534] rockchip-drm display-subsystem: failed to bind ff960000.dsi (ops 0xffffff8008eea008): -517
[   28.139649] rockchip-drm display-subsystem: master bind failed: -517
[   28.140044] rockchip-cdndp-sound dp-sound: ASoC: CODEC DAI spdif-hifi not registered
[   28.140046] rockchip-cdndp-sound dp-sound: rockchip_sound_probe snd_soc_register_card fail -517
[   28.140328] rockchip-drm display-subsystem: dmc is disabled
[   28.140471] rockchip-vop ff900000.vop: missing rockchip,grf property
[   28.140582] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008ef40f0)
[   28.140600] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[   28.140674] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008ef40f0)
[   28.140679] rockchip-drm display-subsystem: failed to bind ff960000.dsi (ops 0xffffff8008eea008): -517
[   28.140791] rockchip-drm display-subsystem: master bind failed: -517
[   28.141198] rockchip-cdndp-sound dp-sound: ASoC: CODEC DAI spdif-hifi not registered
[   28.141200] rockchip-cdndp-sound dp-sound: rockchip_sound_probe snd_soc_register_card fail -517
[   28.141450] rockchip-drm display-subsystem: dmc is disabled
[   28.141594] rockchip-vop ff900000.vop: missing rockchip,grf property
[   28.141701] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008ef40f0)
[   28.141719] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[   28.141792] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008ef40f0)
[   28.141797] rockchip-drm display-subsystem: failed to bind ff960000.dsi (ops 0xffffff8008eea008): -517
[   28.141906] rockchip-drm display-subsystem: master bind failed: -517
[   28.142309] rockchip-cdndp-sound dp-sound: ASoC: CODEC DAI spdif-hifi not registered
[   28.142312] rockchip-cdndp-sound dp-sound: rockchip_sound_probe snd_soc_register_card fail -517
[   28.142555] rockchip-drm display-subsystem: dmc is disabled
[   28.142694] rockchip-vop ff900000.vop: missing rockchip,grf property
[   28.142802] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008ef40f0)
[   28.142820] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[   28.142891] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008ef40f0)
[   28.142896] rockchip-drm display-subsystem: failed to bind ff960000.dsi (ops 0xffffff8008eea008): -517
[   28.143008] rockchip-drm display-subsystem: master bind failed: -517
[   28.143408] rockchip-cdndp-sound dp-sound: ASoC: CODEC DAI spdif-hifi not registered
[   28.143411] rockchip-cdndp-sound dp-sound: rockchip_sound_probe snd_soc_register_card fail -517
[   28.143656] rockchip-drm display-subsystem: dmc is disabled
[   28.143791] rockchip-vop ff900000.vop: missing rockchip,grf property
[   28.143900] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008ef40f0)
[   28.143918] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[   28.143988] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008ef40f0)
[   28.143993] rockchip-drm display-subsystem: failed to bind ff960000.dsi (ops 0xffffff8008eea008): -517
[   28.144102] rockchip-drm display-subsystem: master bind failed: -517
[   28.144496] rockchip-cdndp-sound dp-sound: ASoC: CODEC DAI spdif-hifi not registered
[   28.144499] rockchip-cdndp-sound dp-sound: rockchip_sound_probe snd_soc_register_card fail -517
[   28.144742] rockchip-drm display-subsystem: dmc is disabled
[   28.144876] rockchip-vop ff900000.vop: missing rockchip,grf property
[   28.144984] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008ef40f0)
[   28.145002] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[   28.145073] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008ef40f0)
[   28.145078] rockchip-drm display-subsystem: failed to bind ff960000.dsi (ops 0xffffff8008eea008): -517
[   28.145202] rockchip-drm display-subsystem: master bind failed: -517
[   28.145595] rockchip-cdndp-sound dp-sound: ASoC: CODEC DAI spdif-hifi not registered
[   28.145598] rockchip-cdndp-sound dp-sound: rockchip_sound_probe snd_soc_register_card fail -517
[   28.145838] rockchip-drm display-subsystem: dmc is disabled
[   28.145975] rockchip-vop ff900000.vop: missing rockchip,grf property
[   28.146084] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff8008ef40f0)
[   28.146102] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[   28.146184] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff8008ef40f0)
[   28.146190] rockchip-drm display-subsystem: failed to bind ff960000.dsi (ops 0xffffff8008eea008): -517
[   28.146300] rockchip-drm display-subsystem: master bind failed: -517
[   28.146686] rockchip-cdndp-sound dp-sound: ASoC: CODEC DAI spdif-hifi not registered
[   28.146689] rockchip-cdndp-sound dp-sound: rockchip_sound_probe snd_soc_register_card fail -517
[   28.146754] NMI watchdog: BUG: soft lockup - CPU#2 stuck for 23s! [kworker/2:1:126]
[   28.146758] Modules linked in:
[   28.146759]
[   28.146765] CPU: 2 PID: 126 Comm: kworker/2:1 Not tainted 4.4.194 #1
[   28.146767] Hardware name: Firefly-RK3399 Board (Linux Opensource) (DT)
[   28.146778] Workqueue: events_freezable mmc_rescan
[   28.146780] task: ffffffc00a335e80 task.stack: ffffffc00a39c000
[   28.146786] PC is at console_unlock+0x36c/0x3e4
[   28.146789] LR is at console_unlock+0x368/0x3e4
[   28.146791] pc : [<ffffff80080ee2a4>] lr : [<ffffff80080ee2a0>] pstate: 60000045
[   28.146793] sp : ffffffc00a39f9b0
[   28.146796] x29: ffffffc00a39f9b0 x28: ffffff8009669000
[   28.146800] x27: 0000000000000040 x26: ffffff80096688d8
[   28.146803] x25: ffffff8009668790 x24: ffffff800916c4fd
[   28.146806] x23: ffffff80094c64c0 x22: 000000000000007b
[   28.146810] x21: ffffff8009672000 x20: 0000000000000006
[   28.146813] x19: ffffff80094c64b8 x18: ffffff80896688f7
[   28.146816] x17: 0000000000000000 x16: 0000000000000000
[   28.146819] x15: 0000000000000000 x14: 6666666666667830
[   28.146823] x13: 2073706f2820706f x12: 762e303030303039
[   28.146826] x11: 666620646e756f62 x10: 203a6d6574737973
[   28.146830] x9 : 6275732d79616c70 x8 : ffffff8008439ecc
[   28.146833] x7 : ffffff8009523d50 x6 : 000000000000007b
[   28.146836] x5 : 0000000000000000 x4 : 0000000000000000
[   28.146840] x3 : 0000000000000078 x2 : 0000004076aa1000
[   28.146843] x1 : 0000000000000002 x0 : 0000000000007a52
[   28.146845]
[   28.146845] PC: 0xffffff80080ee224:
[   28.146854] e224  aa0003e7 f9403ba8 910042a4 794016a5 d2840001 79401aa3 cb000021 910040a2
[   28.146863] e244  f9003ba7 8b0202a2 8b000100 97fffae8 f9403ba7 8b070002 b949a320 f9003ba2
[   28.146872] e264  97fff721 b909a320 f944c720 91000400 f904c720 39403ea0 12001000 b9099320
[   28.146880] e284  aa1703e0 9434b4fc f9403ba2 aa1603e3 9116c381 2a1403e0 97fff94f d51b423b
[   28.146889] e2a4  b9407ba0 34fff220 9434a90e 17ffff8f d2800002 17ffffe9 f942ab20 b9003f3f
[   28.146898] e2c4  b4000040 f902ab3f aa1703e0 9434b4ea 91020260 97ffdfa3 aa1703e0 9434b4be
[   28.146906] e2e4  f9401734 aa1b03e1 f944c735 aa1703e0 9434b4ec eb1402bf 540000a1 b9407fa0
[   28.146914] e304  34ffe3e0 97fffef3 17ffff1d 97fffa9c 35ffeec0 17fffffa a9b67bfd 910003fd
[   28.146916]
[   28.146916] LR: 0xffffff80080ee220:
[   28.146925] e220  97fff943 aa0003e7 f9403ba8 910042a4 794016a5 d2840001 79401aa3 cb000021
[   28.146929] e240  910040a2 f9003ba7
[   28.146930] rockchip-drm display-subsystem: dmc is disabled

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表