如何在MSC SM2S IMX8PLUS上应用设备树blob覆盖。

huangapple go评论51阅读模式
英文:

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指令。

  1. setenv fdt_overlay overlay-hdmi.dtb

  2. 使用正确的接口和分辨率设置显示信息

    setenv displayinfo 'video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24'

  3. saveenv

  4. 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.

  1. setenv fdt_overlay overlay-hdmi.dtb

  2. set the display info with the proper interface and resolution

    setenv displayinfo 'video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24'

  3. saveenv

  4. 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.

huangapple
  • 本文由 发表于 2023年7月6日 17:24:07
  • 转载请务必保留本文链接:https://go.coder-hub.com/76627353.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定