Hi
I want to run HDMI2MIPI boards on HDMI and USB-C of the dev kit.
If I boot AGX (Jetpack 4.3) with no or different displays connected and connect the HDMI2MIPI only after boot, they work fine. Connect means plug hdmi/usb-c.
If I have them connected while booting, they stay black and even dis- and reconnecting doesn’t help.
I read through the serial console output and found differences when having the screens (800x400) connected at boot. It seems like it selects a wrong resolution and there are some timeouts. I’ll attach the diff portions below.
From what I understand, it might be connected to the bootloader failing to initialize hdmi. Is there an easy way to disable hdmi init at boot and have only the running system initialize the ports? What do kernel parameters video= and nomodeset do in this context?
Also, l4t release notes section 5.4 mentions some possibly related DP timeout issue (“try increasing the HPD_TIMEOUT_MS value in tegrabl_display_dtb.c”) but I didn’t find where/how to do that. Can somebody help?
Thanks for any hints!
Attachment: Serial console output diff with displays connected on boot (displays not working):
+--399 lines: ratchet value 4 is too large than ratchet level 1 from HW fuses.-----------------------------------------------------------------------------------------------------------------------------------------------------------------
[0002] I> hdmi cable connected
[0002] E> set volts not configured for 'vdd-1v0'
[0002] E> set volts not configured for 'vdd-1v8-hs'
+-- 3 lines: [0002] E> invalid display type---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0002] I> edid read success
[0002] I> edid read success
[0002] I> width = 800, height = 400, frequency = 42380000
[0002] I> width = 800, height = 400, frequency = 42380000
[0002] I> width = 800, height = 400, frequency = 42380000
[0002] I> width = 800, height = 400, frequency = 42380000
[0002] I> width = 800, height = 400, frequency = 42380000
[0002] I> Best mode Width = 640, Height = 480, freq = 25174825
[0002] I> hdmi_enable, starting HDMI initialisation
[0002] I> hdmi_enable, HDMI initialisation complete
+-- 11 lines: [0002] I> Load in CBoot Boot Options partition and parse it----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0004] I> Loading partition kernel-bootctrl at 0xa43f0000 from device(0x1)
+-- 19 lines: [0004] W> tegrabl_get_kernel_bootctrl: magic number(0x00000000) is invalid-------------------------------------------------------------------------------------------------------------------------------------------------------
[0005] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa07de800, cmd_ring.dma = 0xa07de840
[0005] E> slot id is 1
[0005] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa07de800, cmd_ring.dma = 0xa07de840
[0005] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa07de800, cmd_ring.dma = 0xa07de840
+-- 35 lines: [0005] I> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0009] I> Kernel hdr @0xa43f0000
+-- 2 lines: [0009] I> Kernel dtb @0x90000000-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0009] I> Copying kernel image (34191376 bytes) from 0xa43f0000 to 0x80080000 ... [0009] I> Done
+-- 4 lines: [0009] I> Updated bpmp info to DTB-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0009] E> tegrabl_linuxboot_add_disp_param, du 1 failed to get display params
[0009] E> tegrabl_linuxboot_add_disp_param, du 1 failed to get display params
+-- 4 lines: [0009] W> No valid slot number is found in scratch register----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0009] I> Linux Cmdline: root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 rootfstype=ext4 video=tegrafb no_console_suspend=1 earlycon=tegra_comb_uart,mmio32,0x0c168000 gpt tegra_fbmem=0x140000@0xa069b000 lut_mem=0x2008@0xa0696000 usbcore.old_scheme_first=1 tegraid=19.1.2.0.0 maxcpus=8 boot.slot_suffix= boot.ratchetvalues=0.4.2 vpr_resize sdhci_tegra.en_boot_part_access=1
+-- 26 lines: [0009] I> Updated bootarg info to DTB--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0009] E> add_disp_param: failed to get display params for du=1
+-- 41 lines: [0009] E> "reset" doesn't exist, creating----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[ 0.000000] Found tegra_fbmem: 00140000@a069b000
[ 0.000000] Found lut_mem: 00002008@a0696000
+-- 2 lines: <hit enter to activate fiq debugger>---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ÿâWARNING: pll_d3 has no dyn ramp
ÿá[ 6.079408] tegradc 15200000.nvdisplay: dc_poll_register 0x41: timeout
[ 6.079413] tegradc 15200000.nvdisplay: timeout waiting for postcomp init state to promote
[ 6.131405] tegradc 15200000.nvdisplay: dc_poll_register 0x41: timeout
[ 6.131411] tegradc 15200000.nvdisplay: timeout waiting for win assignments to promote
[ 6.131414] tegradc 15200000.nvdisplay: tegra_nvdisp_head_enable, failed head enable
ÿâWARNING: pll_d2 has no dyn ramp
ÿá
+-- 3 lines: Ubuntu 18.04.4 LTS agx-xavier ttyTCU0--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Attachment: Serial console output diff when connecting displays after boot (displays working):
+--399 lines: ratchet value 4 is too large than ratchet level 1 from HW fuses.-----------------------------------------------------------------------------------------------------------------------------------------------------------------
[0002] E> tegrabl_display_init_regulator: hdmi cable is not connected
[0002] E> tegrabl_display_get_pdata, failed to parse dtb settings
+-- 3 lines: [0002] E> invalid display type---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0002] E> no valid display unit config found in dtb
[0002] W> display init failed
+-- 11 lines: [0002] I> Load in CBoot Boot Options partition and parse it----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0004] I> Loading partition kernel-bootctrl at 0xa42b0000 from device(0x1)
+-- 19 lines: [0004] W> tegrabl_get_kernel_bootctrl: magic number(0x00000000) is invalid-------------------------------------------------------------------------------------------------------------------------------------------------------
[0005] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa069a300, cmd_ring.dma = 0xa069a380
[0005] E> slot id is 1
[0005] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa069a300, cmd_ring.dma = 0xa069a380
[0005] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa069a300, cmd_ring.dma = 0xa069a380
+-- 35 lines: [0005] I> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0009] I> Kernel hdr @0xa42b0000
+-- 2 lines: [0009] I> Kernel dtb @0x90000000-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0009] I> Copying kernel image (34191376 bytes) from 0xa42b0000 to 0x80080000 ... [0009] I> Done
+-- 4 lines: [0009] I> Updated bpmp info to DTB-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0009] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0009] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0009] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
+-- 4 lines: [0009] W> No valid slot number is found in scratch register----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0009] I> Linux Cmdline: root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 rootfstype=ext4 video=tegrafb no_console_suspend=1 earlycon=tegra_comb_uart,mmio32,0x0c168000 gpt usbcore.old_scheme_first=1 tegraid=19.1.2.0.0 maxcpus=8 boot.slot_suffix= boot.ratchetvalues=0.4.2 vpr_resize sdhci_tegra.en_boot_part_access=1
+-- 26 lines: [0009] I> Updated bootarg info to DTB--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0009] E> add_disp_param: failed to get display params for du=0
+-- 31 lines: [0009] E> "reset" doesn't exist, creating----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[0009] E> tegrabl_display_clear: display is not initialized
[0009] W> Boot logo display failed...
+-- 12 lines: [0009] I> Kernel EP: 0x80080000, DTB: 0x90000000---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+-- 3 lines: Ubuntu 18.04.4 LTS agx-xavier ttyTCU0--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# after plugin of display controllers usb power:
WARNING: pll_d2 has no dyn ramp
WARNING: pll_d3 has no dyn ramp