Hi,
I have a question about the best way to solve this issue:
Boot a 410 SOM without an HDMI module?
My issue:
When I boot debian and screen the debug uart port, I get the kernel booting and crashing constantly when HDMI device is not connected. It seems that the device-tree in the pmic tearing down because the mipi serial or i2c or i2s isn’t there.
Suggestions on how the dtsi/driver should I set up to gracefully fail and continue?
I will not always have the HDMI connector, and so ideally I would like it to be available to load on demand.
There are a few approaches that I see immediately:
- use a headless build (maybe not ideal for the immediate future) as I still need the display for few a weeks - but there’s still a display dependency, I think…
- remove it from the pmic device tree (but this means that the display will be disabled, and the wifi ssh bug blocks me to configure it back without either re-flashing or setting up an constant ping in rc.local to keep ssh alive)
- maybe some other option I’m not thinking of to detect and ignore/make optional load of hdmi?
–NORMAL_BOOT------------------------------------------------------------------------------
[ 2.481316] NET: Registered protocol family 17
[ 2.481515] Bluetooth: RFCOMM TTY layer initialized
[ 2.481534] Bluetooth: RFCOMM socket layer initialized
[ 2.481570] Bluetooth: RFCOMM ver 1.11
[ 2.481604] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.481687] Bluetooth: HIDP socket layer initialized
[ 2.482012] 9pnet: Installing 9P2000 support
[ 2.482226] Key type dns_resolver registered
[ 2.484115] registered taskstats version 1
[ 2.491355] 1a98000.qcom,mdss_dsi supply gdsc not found, using dummy regulator
[ 2.492168] 1a98000.qcom,mdss_dsi supply gdsc not found, using dummy regulator
[ 2.515129] msm 1a00000.qcom,mdss_mdp: bound 1a98000.qcom,mdss_dsi (ops dsi_ops)
[ 2.515173] msm 1a00000.qcom,mdss_mdp: bound 1c00000.qcom,adreno-3xx (ops a3xx_ops) [ 2.515246] 1a00000.qcom,mdss_mdp supply vdd not found, using dummy regulator
[ 2.534337] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.534341] [drm] No driver support for vblank timestamp query.
[ 2.781186] mmc0: new high speed MMC card at address 0001
[ 2.783302] mmcblk0: mmc0:0001 H8G1e 7.28 GiB
[ 2.783556] mmcblk0boot0: mmc0:0001 H8G1e partition 1 4.00 MiB
[ 2.783797] mmcblk0boot1: mmc0:0001 H8G1e partition 2 4.00 MiB
[ 2.784029] mmcblk0rpmb: mmc0:0001 H8G1e partition 3 4.00 MiB
[ 2.787966] Alternate GPT is invalid, using primary GPT.
[ 2.788005] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
[ 2.958413] Console: switching to colour frame buffer device 240x75
[ 3.045427] msm 1a00000.qcom,mdss_mdp: fb0: msm frame buffer device
[ 3.051369] msm 1a00000.qcom,mdss_mdp: registered panic notifier
[ 3.087718] [drm] Initialized msm 1.0.0 20130625 on minor 0
[ 3.089452] msm_otg 78d9000.phy: OTG regs = ffffff800051c000
[ 3.093104] msm_otg 78d9000.phy: no vddcx
[ 3.213597] msm_hsusb_host 78d9000.ehci: EHCI Host Controller
[ 3.215937] msm_hsusb_host 78d9000.ehci: new USB bus registered, assigned bus number 1
–CRASH_BOOT-------------------------------------------------------------------------------
[ 2.522402] NET: Registered protocol family 17
[ 2.522768] Bluetooth: RFCOMM TTY layer initialized
[ 2.522788] Bluetooth: RFCOMM socket layer initialized
[ 2.522826] Bluetooth: RFCOMM ver 1.11
[ 2.522860] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.522924] Bluetooth: HIDP socket layer initialized
[ 2.523259] 9pnet: Installing 9P2000 support
[ 2.523473] Key type dns_resolver registered
[ 2.525360] registered taskstats version 1
[ 2.533198] 1a98000.qcom,mdss_dsi supply gdsc not found, using dummy regulator
[ 2.534079] 1a98000.qcom,mdss_dsi supply gdsc not found, using dummy regulator
[ 2.589670] i2c_qup 78b8000.i2c: NACK from 39
[ 2.590501] adv7533: probe of 1a98000.qcom,mdss_dsi.0 failed with error -5
[ 2.590554] msm_dsi_manager_register: failed to register mipi dsi host for DSI 0
[ 2.592377] msm 1a00000.qcom,mdss_mdp: failed to bind 1a98000.qcom,mdss_dsi (ops dsi_ops): -517
[ 2.596175] msm 1a00000.qcom,mdss_mdp: master bind failed: -517
[ 2.598118] msm_otg 78d9000.phy: OTG regs = ffffff8000512000
[ 2.598883] msm_otg 78d9000.phy: no vddcx
[ 2.773990] msm_hsusb_host 78d9000.ehci: EHCI Host Controller
[ 2.775715] msm_hsusb_host 78d9000.ehci: new USB bus registered, assigned bus number 1
[ 2.779465] msm_hsusb_host 78d9000.ehci: irq 144, io mem 0x078d9000
[ 2.795666] CPR closed loop is enabled
[ 2.796457] CPR is enabled!
[ 2.798382] msm_hsusb_host 78d9000.ehci: USB 2.0 started, EHCI 1.00
[ 2.802396] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.807309] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.814253] usb usb1: Product: EHCI Host Controller
[ 2.818682] qcom-apq8016-sbc 7702000.sound: error getting codec dai name
[ 2.818688] qcom-apq8016-sbc 7702000.sound: Error resolving dai links: -517
[ 2.822038] 1a98000.qcom,mdss_dsi supply gdsc not found, using dummy regulator
[ 2.822334] 1a98000.qcom,mdss_dsi supply gdsc not found, using dummy regulator
[ 2.847065] usb usb1: Manufacturer: Linux 4.2.4-linaro-lt-qcom ehci_hcd
[ 2.854241] usb usb1: SerialNumber: 78d9000.ehci
[ 2.859459] i2c i2c-3: Failed to register i2c client dummy at 0x39 (-16)
[ 2.859804] adv7533: probe of 1a98000.qcom,mdss_dsi.0 failed with error -12
[ 2.859829] msm_dsi_manager_register: failed to register mipi dsi host for DSI 0
[ 2.860681] msm 1a00000.qcom,mdss_mdp: failed to bind 1a98000.qcom,mdss_dsi (ops dsi_ops): -517
[ 2.862747] msm 1a00000.qcom,mdss_mdp: master bind failed: -517