英文:
How to apply a device tree blob overlay on MSC SM2S IMX8PLUS
问题
我尝试使用UBOOT在AVNET MSC SM2S IMX8PLUS系统上应用设备树blob(在构建输出中提供的overlay-hdmi.dtb),并在QT5中按照UBOOT指南来激活HDMI接口。
不幸的是,这并未按预期工作。在启动过程中,我收到以下消息行。
[ 0.000000] 内核命令行:console=ttymxc1,115200 root=/dev/mmcblk1p2 rootwait rw dtb-module=msc-sm2s-imx8mp-24N0600I-module.dtb dtb-overlay=undefined loglevel=7
有没有办法正确设置DTB叠加以激活HDMI接口?
英文:
I try to apply a device tree blob (overlay-hdmi.dtb provided in the build output) with UBOOT on an AVNET MSC SM2S IMX8PLUS system with QT5 following the UBOOT instructions to activate the HDMI interface.
Unfortunately this does not work as expected. I receive the following message line during the boot process.
[ 0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/mmcblk1p2 rootwait rw dtb-module=msc-sm2s-imx8mp-24N0600I-module.dtb dtb-overlay=undefined loglevel=7
Any idea how to set the DTB overlay properly to activate the HDMI interface?
答案1
得分: -1
我按照以下简单步骤进行操作。无需使用UBOOT指令。
-
setenv fdt_overlay overlay-hdmi.dtb
-
使用正确的接口和分辨率设置显示信息
setenv displayinfo 'video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24'
-
saveenv
-
boot
之后,我注意到引导过程中内核命令行发生了变化。
[ 0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/mmcblk1p2 rootwait rw dtb-module=msc-sm2s-imx8mp-24N0600I-module.dtb dtb-overlay=overlay-hdmi.dtb loglevel=7
此外,通过HDMI连接的显示器显示了预期的输出。
英文:
I followed the simple steps below. No need for using the UBOOT instructions.
-
setenv fdt_overlay overlay-hdmi.dtb
-
set the display info with the proper interface and resolution
setenv displayinfo 'video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24'
-
saveenv
-
boot
Afterwards I recognized that the Kernel command line in the boot process changed.
[ 0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/mmcblk1p2 rootwait rw dtb-module=msc-sm2s-imx8mp-24N0600I-module.dtb dtb-overlay=overlay-hdmi.dtb loglevel=7
Furthermore the monitor connected via HDMI and displayed the expected output.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论