I tried the same graphics card and display on a Raspberry Pi 3 and it works perfectly. It works perfectly on my laptop running Windows 10.
I am able to use
khadas@VIM2Max:~$ fw_setenv hdmimode 2160p60hz
khadas@VIM2Max:~$ sudo reboot
It changed the hdmimode perfectly, but still no display. I’ve also tried several different frequencies.
khadas@VIM2Max:~$ dmesg | grep edid
[ 2.676387] hdmitx: edid: find IEEEOUT
[ 2.676398] hdmitx: edid: check sum valid
[ 2.676407] hdmitx: edid: check sum valid
[ 2.676429] hdmitx: edid: check sum valid
[ 2.676438] hdmitx: edid: check sum valid
[ 2.676449] hdmitx: edid: blk0 raw data
[ 2.676546] hdmitx: edid: blk1 raw data
khadas@VIM2Max:~$ dmesg | grep error
[ 6.079725] meson-gpu-clkgen: probe of c883c000.gpu_clk failed with error -16
[ 6.187787] mmc driver version: 1.07, 2015-01-21: fix a bug in tuning which caused eMMC data CRC error
[ 7.120500] DI-di_probe: get flag_cma error.
[ 8.355476] aml_pcm_dai: aml audio pcm dai pinmux set error!
[ 11.926396] hdmitx: ddc rd8b error 0x54 0x01
[ 11.933035] hdmitx: ddc rd8b error 0x54 0x01
[ 11.971867] hdmitx: ddc w1b error 0x54 0x20 0x00
[ 11.973876] hdmitx: ddc w1b error 0x54 0x20 0x00
[ 11.975883] hdmitx: ddc rd8b error 0x54 0x21
[ 31.441844] i2c i2c-2: [aml_i2c_xfer] error ret = -110 (-ETIMEOUT)
[ 31.448421] khadas-wol: probe of 2-0018 failed with error -11
khadas@VIM2Max:~$ dmesg | grep failed
[ 0.665654] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xb8)
[ 0.665685] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xb8)
[ 0.665858] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xb8)
[ 0.665883] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xb8)
[ 6.021239] pinmux-gxl c1109880.pinmux: request() failed for pin 5
[ 6.079725] meson-gpu-clkgen: probe of c883c000.gpu_clk failed with error -16
[ 6.525308] fb: failed to init reserved memory
[ 10.251756] hub 2-0:1.0: config failed, hub doesn’t have any ports! (err -19)
[ 31.448421] khadas-wol: probe of 2-0018 failed with error -11
[ 36.164842] bcmsdh_oob_intr_register: enable_irq_wake failed with -6
[ 36.165834] Disable tdls_auto_op failed. -1
[ 36.188377] CONFIG-ERROR) dhd_conf_set_intiovar: txbf setting failed -23
khadas@VIM2Max:~$ dmesg | grep hdmi
[ 0.000000] Kernel command line: root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 logo=osd1,loaded,0x3d800000,2160p60hz maxcpus=8 vout=2160p60hz,enable hdmimode=2160p60hz cvbsmode=576cvbs hdmitx= ddr_size=3 cvbsdrv=0 jtag=disable fan=auto androidboot.serialno=80e4da812284 mac=80:e4:da:81:22:84 androidboot.mac=80:e4:da:81:22:84 wol_enable=0
[ 0.000000] logo: get hdmimode: 2160p60hz
[ 2.293431] hdmitx: system: amhdmitx_init
[ 2.293449] hdmitx: system: Ver: 2014May6
[ 2.293647] hdmitx: system: amhdmitx_probe
[ 2.294007] hdmitx: system: not find match init-data
[ 2.294025] hdmitx hpd irq = 89
[ 2.294648] hdmitx20: Mapped PHY: 0xc0800000
[ 2.294671] hdmitx20: Mapped PHY: 0xc1104400
[ 2.294697] hdmitx20: Mapped PHY: 0xc8100000
[ 2.294709] hdmitx20: Mapped PHY: 0xc8834000
[ 2.294719] hdmitx20: Mapped PHY: 0xc883a000
[ 2.294730] hdmitx20: Mapped PHY: 0xc883c000
[ 2.294743] hdmitx20: Mapped PHY: 0xd0100000
[ 2.294755] hdmitx20: Mapped PHY: 0xda83a000
[ 2.294772] hdmitx: alread display in uboot 0x61
[ 2.301889] hdmitx: system: irq 80000002
[ 2.619951] hdmitx: plugin
[ 2.676387] hdmitx: edid: find IEEEOUT
[ 2.676398] hdmitx: edid: check sum valid
[ 2.676407] hdmitx: edid: check sum valid
[ 2.676418] hdmitx: update RX hdr info 0
[ 2.676429] hdmitx: edid: check sum valid
[ 2.676438] hdmitx: edid: check sum valid
[ 2.676449] hdmitx: edid: blk0 raw data
[ 2.676546] hdmitx: edid: blk1 raw data
[ 2.676680] hdmitx: video: get current mode: 2160p60hz
[ 2.676691] hdmitx: update rx hdr info 0
[ 2.676700] hdmitx: update physcial size: 16 9
[ 2.676749] hdmitx: system: already init VIC = 0 Now VIC = 0
[ 2.676761] hdmitx: system: packet: can’t get vendor data
[ 2.676806] hdmitx tx_aud_src = 0
[ 2.676838] hdmitx: fs = 0, cd = 4, tmds_clk = 594000
[ 2.676849] hdmitx aud_n_para = 6144
[ 2.676873] hdmitx set channel status
[ 2.676953] hdmitx tx_aud_src = 0
[ 2.676985] hdmitx: fs = 0, cd = 4, tmds_clk = 594000
[ 2.676995] hdmitx aud_n_para = 6144
[ 2.677019] hdmitx set channel status
[ 6.087504] hdmitx: system: hdmitx_hdcp_init
[ 8.010290] [RX]-hdmirx: hdmirx_init.
[ 8.244676] cectx aocec: aml_cec_probe(): no hdmirx reg resource
[ 8.256793] cectx aocec: aml_cec_probe(): can’t find hdmirx
[ 10.385878] hdmirx_ext: [hdmiin_drv_init] ver: Jul042016.1
[ 11.893010] hdmitx: video: get current mode: 720p60hz
[ 11.898156] hdmitx: update rx hdr info 0
[ 11.909227] hdmitx: update physcial size: 16 9
[ 11.913872] hdmitx: system: already init VIC = 0 Now VIC = 4
[ 11.919634] hdmitx: rx no SCDC present indicator
[ 11.926396] hdmitx: ddc rd8b error 0x54 0x01
[ 11.931141] hdmitx: system: irq 80000001
[ 11.933035] hdmitx: ddc rd8b error 0x54 0x01
[ 11.933039] hdmirx version is 1.4 or below
[ 11.933041] hdmitx div40: 0
[ 11.959883] hdmitx: system: set mode VIC 4 (cd0,cs0,pm1,vd0,1)
[ 11.959884] hdmitx: system: set pll
[ 11.959885] hdmitx: system: param->VIC:4
[ 11.959890] hdmitx: set clk: VIC = 4 cd = 4 frac_rate = 0
[ 11.959954] hdmitx: set enc for VIC: 4
[ 11.959973] hdmitx_set_hw[4941] set VIC = 4
[ 11.971867] hdmitx: ddc w1b error 0x54 0x20 0x00
[ 11.973876] hdmitx: ddc w1b error 0x54 0x20 0x00
[ 11.975883] hdmitx: ddc rd8b error 0x54 0x21
[ 12.018605] hdmitx: system: irq 1
[ 12.091942] hdmitx: system: PHY Setting Done
[ 12.095975] hdmitx: system: packet: can’t get vendor data
[ 12.096003] hdmitx tx_aud_src = 0
[ 12.096028] hdmitx: fs = 0, cd = 4, tmds_clk = 74250
[ 12.096031] hdmitx aud_n_para = 6144
[ 12.096048] hdmitx set channel status
[ 29.293374] hdmitx: video: get current mode: 2160p60hz
[ 29.293375] hdmitx: update rx hdr info 0
[ 29.293377] hdmitx: update physcial size: 16 9
[ 29.293416] hdmitx: system: already init VIC = 0 Now VIC = 0
[ 29.293419] hdmitx: system: packet: can’t get vendor data
[ 29.293432] hdmitx tx_aud_src = 0
[ 29.293456] hdmitx: fs = 0, cd = 4, tmds_clk = 594000
[ 29.293458] hdmitx aud_n_para = 6144
[ 29.293475] hdmitx set channel status
[ 29.894052] fb: osd[0] enable: 1 (hdmi.sh)
[ 29.913599] fb: osd[1] enable: 0 (hdmi.sh)
[ 34.226918] fb: osd[0] enable: 1 (hdmi.sh)
[ 34.243538] fb: osd[1] enable: 0 (hdmi.sh)
I can supply more information from the syslog (or elsewhere) if it will help you find the problem.
Is there any method to check if the amhdmitx0, fb0 and the display devices are connected and enabled? They seem to be.
Any other options using fw_setconfig, fw_setenv, fw_printenv, and/or saveenv?