i.MX8MQ BSP version: android-11.0.0_2.2.0, Linux 5.10.35 kernel
Base on the following log of reference design, HDMI resolution is 1280x720(default).
[*]-Video Link 0imx8m_hdmi_probe
(1280 x 720)
[0] display-controller@32e00000, video
[1] hdmi@32c00000, display
We refer vic_table.c(vendor\nxp-opensource\uboot-imx\drivers\video\nxp\hdp) to configure HDMI 1920x1080 video timing in DTS of uboot.
We can build the image successfully, but can't flash the image.
The following picture shows the flash progress stops at SDPV:jump.
Please check out the error log below.
U-Boot 2021.04-g036aa9eb6d-dirty (Jan 14 2025 - 15:27:00 +0800)
CPU: i.MX8MQ rev2.1 1500 MHz (running at 1000 MHz)
CPU: Commercial temperature grade (0C to 95C) at 38C
Reset cause: POR
Model: NXP i.MX8MQ
DRAM: [board_get_usable_ram_top] total_size is 0xedb28
4 GiB
setup_typec: tcpc init failed, err=-5
[board_get_usable_ram_top] total_size is 0x0
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... Card did not respond to voltage select! : -110
*** Warning - No block device, using default environment
[*]-Video Link 0imx8m_hdmi_probe
cdn_api_checkalive: keep-alive counter did not increment for 10us...
HDMI enable failed, ret -1!
We also try another HDMI setting, 720*480, and we do it successfully in build & flash image.
How to fix it to complete flashing images if HDMI resolution is 1920*1080?
If I misunderstand anything about HDMI, please correct me, thanks.
Hello,
This resollution is supported by default, the system will find out and work at the best display mode, this can be changed through the bootargs.
1080p60 display can be configured as: androidboot.displaymode=1920x1080p60 or androidboot.displaymode=1080p
The default fps is 60fps. To configure fps, change this value to 1080p60/1080p50/1080p30
Best regards/Saludos,
Aldo.
Hi AldoG,
Sorry for the late reply.
After setting androidboot.displaymode=1080p we check bootargs below
chimera:/ # cat /proc/cmdline
stack_depot_disable=on kasan.stacktrace=off console=ttymxc0,115200 earlycon=ec_imx6q,0x30860000,115200 init=/init androidboot.console=ttymxc0 androidboot.hardware=nxp firmware_class.path=/vendor/firmware loop.max_part=7 androidboot.fbTileSupport=enable transparent_hugepage=never cma=1280M androidboot.lcd_density=160 androidboot.gui_resolution=1080p androidboot.wificountrycode=CN moal.mod_para=wifi_mod_para.conf androidboot.selinux=permissive loglevel=1 pci=nomsi androidboot.vendor.sysrq=1 buildvariant=userdebug androidboot.serialno=123456789012 androidboot.btmacaddr=11:09:19:d6:dd:93 androidboot.soc_type=imx8mq androidboot.boot_device_root=mmcblk0 androidboot.boottime=1BLL:0,1BLE:7190,KL:0,KD:0,AVB:4634,ODT:0,SW:0 androidboot.bootreason=cold,powerkey androidboot.verifiedbootstate=orange androidboot.flash.locked=0 androidboot.slot_suffix=_a androidboot.vbmeta.device=PARTUUID=3a1f5b98-8edf-4a85-b14e-fed5f90261de androidboot.vbmeta.avb_version=1.1 androidboot.vbmeta.device_state=unlocked androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.size=6848 androidboot.vbmeta.digest=acaeeabc65eaf1ef72ab94e131ca532f9ed77c1635752b568f70bb11673ceaff androidboot.vbmeta.invalidate_on_error=yes androidboot.veritymode=enforcing androidboot.force_normal_boot=1 androidboot.dtbo_idx=0 androidboot.keystore=software androidboot.hw_id=4 androidboot.panel_id=7 fbcon=map:1,rotate:2 androidboot.orientation=180 androidboot.primary_display=mxsfb-drm androidboot.wificountrycode=CN loglevel=1 androidboot.displaymode=1080p
But check out the boot log below why the HDMI resolution is still 1280x720.
[*]-Video Link 0imx8m_hdmi_probe
(1280 x 720)
[0] display-controller@32e00000, video
[1] hdmi@32c00000, display
Hello,
Does this mean that you were able to get into Android succesfully?
Also, note that this does only apply to uboot, the bootargs takes action as soon as uboot starts the kernel.
If you are still having issues on booting I would suggest to check hdmi power and clocks using i.MX8M Hardware Developer’s Guide
https://www.nxp.com/docs/en/user-guide/IMX8MDQLQHDG.pdf
Best regards/Saludos,
Aldo.
Hi AldoG,
After checking HDMI SPEC, it supports 1920cx1080 as the picture below.
We try to configure HDMI 720x480 and 1280x720 video timing in DTS of uboot, and i.MX8MQ can detect right resolution then get into Android succesfully, please see the attachment, 480P_720P.zip, including 2 log files(720_480.log & 1280_720.log).
But we configure HDMI resolution as 1920x1080, why the system will find out 720*480 as the picture below?
Do you reproduce the issue on EVB of i.MX8MQ?