MNT Reform2 (i.mx8mq)

Staffan Thomen <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
Following up on my last mail about the reform2, I have now swapped out 
the CPU module for the older and better supported i.mx8mq SoC and i 
works better but NetBSD 10 hangs hard while the kernel is attaching 
devices, so hard in fact that I can't even get into ddb via the 
three-finger-salute on the keyboard (probably because the usb keyboard 
hasn't been detected yet) nor by sending a break on the serial debug 
console.

I'm here using a u-boot that has been specially patched for openbsd 
(although the one not specially patched also hangs in the same way). I 
also tried using the dtb command in boot to load it before booting with 
the same results.

The dmesg up to the hang follows, what can I do now?


   \\-__,------,___.
    \\        __,---`  NetBSD/evbarm efiboot (arm64)
     \\       `---,_.  Revision 2.13 (Mon Feb 19 08:59:48 UTC 2024)
      \\-,_____,.---`
       \\
        \\
         \\

Press return to boot now, any other key for boot prompt
booting netbsd - starting in 0 seconds.
7581696+3367672+4178528+1742832 [595933+949104+708870]=0x13cc9b8
clk usb1_phy_root_clk already disabled
clk usb2_phy_root_clk already disabled
Host not halted after 16000 microseconds.
[   1.0000000] NetBSD/evbarm (fdt) booting ...
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 
2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 
2023,
[   1.0000000]     2024
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All 
rights reserved.

[   1.0000000] NetBSD 10.0_RC4 (GENERIC64) #0: Mon Feb 19 08:59:48 UTC 2024
[   1.0000000] 
[email protected]:/usr/src/sys/arch/evbarm/compile/GENERIC64
[   1.0000000] total memory = 4046 MB
[   1.0000000] avail memory = 3899 MB
[   1.0000000] armfdt0 (root)
[   1.0000000] simplebus0 at armfdt0: MNT Reform 2
[   1.0000000] simplebus1 at simplebus0
[   1.0000000] cpus0 at simplebus0
[   1.0000000] psci0 at simplebus0: PSCI 1.1
[   1.0000000] simplebus2 at simplebus0
[   1.0000000] cpu0 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x0
[   1.0000000] cpu0: package 0, core 0, smt 0
[   1.0000000] cpufreqdt0 at cpu0
[   1.0000000] cpu1 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x1
[   1.0000000] cpu1: package 0, core 1, smt 0
[   1.0000000] cpufreqdt1 at cpu1
[   1.0000000] cpu2 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x2
[   1.0000000] cpu2: package 0, core 2, smt 0
[   1.0000000] cpufreqdt2 at cpu2
[   1.0000000] cpu3 at cpus0: Arm Cortex-A53 r0p4 (v8-A), id 0x3
[   1.0000000] cpu3: package 0, core 3, smt 0
[   1.0000000] cpufreqdt3 at cpu3
[   1.0000000] simplebus3 at simplebus1
[   1.0000000] simplebus4 at simplebus1
[   1.0000000] simplebus5 at simplebus1
[   1.0000000] simplebus6 at simplebus1
[   1.0000000] syscon0 at simplebus3: System Controller Registers
[   1.0000000] gicvthree0 at simplebus1: GICv3
[   1.0000000] syscon1 at simplebus3: System Controller Registers
[   1.0000000] fclock0 at simplebus0: 32768 Hz fixed clock (ckil)
[   1.0000000] fclock1 at simplebus0: 25000000 Hz fixed clock (osc_25m)
[   1.0000000] fclock2 at simplebus0: 27000000 Hz fixed clock (osc_27m)
[   1.0000000] fclock3 at simplebus0: 133000000 Hz fixed clock (clk_ext1)
[   1.0000000] fclock4 at simplebus0: 133000000 Hz fixed clock (clk_ext2)
[   1.0000000] fclock5 at simplebus0: 133000000 Hz fixed clock (clk_ext3)
[   1.0000000] fclock6 at simplebus0: 133000000 Hz fixed clock (clk_ext4)
[   1.0000000] syscon2 at simplebus3: System Controller Registers
[   1.0000000] syscon3 at simplebus3: System Controller Registers
[   1.0000000] fclock7 at simplebus0: 100000000 Hz fixed clock 
(clock-pcie1-refclk)
[   1.0000000] fclock8 at simplebus0: 27000000 Hz fixed clock (hdmi_phy_27m)
[   1.0000000] syscon4 at simplebus3: System Controller Registers
[   1.0000000] imx7gpc0 at simplebus3: General Power Controller
[   1.0000000] imx8mqccm0 at simplebus3: Clock Control Module
[   1.0000000] imxiomux0 at simplebus3: IOMUX Controller
[   1.0000000] gtmr0 at simplebus0: Generic Timer
[   1.0000000] gtmr0: interrupting on GICv3 irq 27
[   1.0000000] armgtmr0 at gtmr0: Generic Timer (8333 kHz, virtual)
[   1.0000040] imxgpio0 at simplebus3: GPIO (gpio@30200000)
[   1.0000040] imxgpio0: interrupting on irq 96
[   1.0000040] imxgpio0: interrupting on irq 97
[   1.0000040] imxgpio0: interrupts 16384..16415
[   1.0000040] gpio0 at imxgpio0: 32 pins
[   1.0000040] imxgpio1 at simplebus3: GPIO (gpio@30220000)
[   1.0000040] imxgpio1: interrupting on irq 100
[   1.0000040] imxgpio1: interrupting on irq 101
[   1.0000040] imxgpio1: interrupts 16416..16447
[   1.0000040] gpio1 at imxgpio1: 32 pins
[   1.0000040] imxgpio2 at simplebus3: GPIO (gpio@30210000)
[   1.0000040] imxgpio2: interrupting on irq 98
[   1.0000040] imxgpio2: interrupting on irq 99
[   1.0000040] imxgpio2: interrupts 16448..16479
[   1.0000040] gpio2 at imxgpio2: 32 pins
[   1.0000040] imxgpio3 at simplebus3: GPIO (gpio@30230000)
[   1.0000040] imxgpio3: interrupting on irq 102
[   1.0000040] imxgpio3: interrupting on irq 103
[   1.0000040] imxgpio3: interrupts 16480..16511
[   1.0000040] gpio3 at imxgpio3: 32 pins
[   1.0000040] imxgpio4 at simplebus3: GPIO (gpio@30240000)
[   1.0000040] imxgpio4: interrupting on irq 104
[   1.0000040] imxgpio4: interrupting on irq 105
[   1.0000040] imxgpio4: interrupts 16512..16543
[   1.0000040] gpio4 at imxgpio4: 32 pins
[   1.0000040] imxi2c0 at simplebus4
[   1.0000040] iic0 at imxi2c0: I2C bus
[   1.0000040] pcaiicmux0 at iic0 addr 0x70: PCA954x I2C switch
[   1.0000040] iic1 at pcaiicmux0 bus 0: I2C bus
[   1.0000040] regulator (fcs,fan53555) at iic1 addr 0x60 not configured
[   1.0000040] iic2 at pcaiicmux0 bus 1: I2C bus
[   1.0000040] regulator (fcs,fan53555) at iic2 addr 0x60 not configured
[   1.0000040] iic3 at pcaiicmux0 bus 2: I2C bus
[   1.0000040] regulator (fcs,fan53555) at iic3 addr 0x60 not configured
[   1.0000040] iic4 at pcaiicmux0 bus 3: I2C bus
[   1.0000040] imxi2c1 at simplebus4
[   1.0000040] iic5 at imxi2c1: I2C bus
[   1.0000040] bridge (ti,sn65dsi86) at iic5 addr 0x2c not configured
[   1.0000040] fregulator0 at simplebus0: 5V
[   1.0000040] fregulator1 at simplebus0: 1V8
[   1.0000040] fregulator2 at simplebus0: 1V2
[   1.0000040] fregulator3 at simplebus0: 1P8V
[   1.0000040] fregulator4 at simplebus0: VDD_SNVS
[   1.0000040] fregulator5 at simplebus0: 3V3
[   1.0000040] fregulator6 at simplebus0: USB_PWR
[   1.0000040] imxi2c2 at simplebus4
[   1.0000040] iic6 at imxi2c2: I2C bus
[   1.0000040] codec (wlf,wm8960) at iic6 addr 0x1a not configured
[   1.0000040] rtc (nxp,pcf8523) at iic6 addr 0x68 not configured
[   1.0000040] imxuart0 at simplebus4, 25000000 Hz
[   1.0000040] imxuart0: interrupting on irq 58
[   1.0000040] imxuart0: console
[   1.0000040] imxuart1 at simplebus4, 25000000 Hz
[   1.0000040] imxuart1: interrupting on irq 59
[   1.0000040] imx8mqusbphy0 at simplebus1: USB PHY
[   1.0000040] imx8mqusbphy1 at simplebus1: USB PHY
[   1.0000040] /opp-table at simplebus0 not configured
[   1.0000040] /soc@0/bus@30000000/tmu@30260000 at simplebus3 not configured
[   1.0000040] /soc@0/gpu@38000000 at simplebus1 not configured
[   1.0000040] /soc@0/bus@30000000/dma-controller@302c0000 at simplebus3 
not configured
[   1.0000040] /soc@0/bus@30800000/dma-controller@30bd0000 at simplebus4 
not configured
[   1.0000040] /soc@0/bus@30800000/mipi-dsi@30a00000 at simplebus4 not 
configured
[   1.0000040] /soc@0/bus@30000000/syscon@30340000/mux-controller at 
syscon2 not configured
[   1.0000040] /soc@0/bus@30800000/dphy@30a00300 at simplebus4 not 
configured
[   1.0000040] /soc@0/bus@30000000/lcd-controller@30320000 at simplebus3 
not configured
[   1.0000040] panel0 at simplebus0: panel
[   1.0000040] /soc@0/interconnect@32700000 at simplebus1 not configured
[   1.0000040] enet0 at simplebus4: Gigabit Ethernet Controller
[   1.0000040] enet0: interrupting on irq 150
[   1.0000040] enet0: interrupting on irq 151
[   1.0000040] enet0: interrupting on irq 152
[   1.0000040] enet0: couldn't find phy reset gpios
[   1.0000040] enet0: Ethernet address 00:19:b8:08:dd:f0
[   1.0000040] atphy0 at enet0 phy 4: Atheros AR8035 10/100/1000 PHY, rev. 2
[   1.0000040] atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
1000baseSX-FDX, 1000baseT-FDX, auto
[   1.0000040] /soc@0/blk-ctrl@38320000 at simplebus1 not configured
[   1.0000040] /soc@0/bus@30400000/pwm@30670000 at simplebus5 not configured
[   1.0000040] pwmbacklight0 at simplebus0: couldn't acquire pwm
[   1.0000040] /soc@0/bus@30800000/sai@308b0000 at simplebus4 not configured
[   1.0000040] genfb0 at simplebus0: unsupported format 'a8r8g8b8'
[   1.0000040] armpmu0 at simplebus0: Performance Monitor Unit
[   1.0000040] /sound at simplebus0 not configured
[   1.0000040] xhci0 at simplebus1: DesignWare USB3 XHCI (rev. 3.10a)
[   1.0000040] xhci0: interrupting on irq 72
[   1.0000040] usb0 at xhci0: USB revision 3.0
[   1.0000040] usb1 at xhci0: USB revision 2.0
[   1.0000040] xhci1 at simplebus1: DesignWare USB3 XHCI (rev. 3.10a)
[   1.0000040] xhci1: interrupting on irq 73
[   1.0000040] usb2 at xhci1: USB revision 3.0
[   1.0000040] usb3 at xhci1: USB revision 2.0
[   1.0000040] /soc@0/video-codec@38300000 at simplebus1 not configured
[   1.0000040] /soc@0/video-codec@38310000 at simplebus1 not configured
[   1.0000040] /soc@0/ddr-pmu@3d800000 at simplebus1 not configured
[   1.0000040] genfb1 at simplebus2: Simple Framebuffer (1920x1080 
32-bpp @ 0xfe000000)
[   1.0000040] wsdisplay0 at genfb1 kbdmux 1: console (default, vt100 
emulation)
[   1.0000040] /soc@0/bus@30000000/watchdog@30280000 at simplebus3 not 
configured
[   1.0000040] /soc@0/bus@30800000/crypto@30900000 at simplebus4 not 
configured
[   1.0000040] /soc@0/bus@30800000/mailbox@30aa0000 at simplebus4 not 
configured
[   1.0000040] sdhc0 at simplebus4: SDMMC (400000 kHz)
[   1.0000040] sdhc0: interrupting on irq 54
[   1.0000040] sdhc0: SDHC 3.0, rev 0, 32-bit ADMA2, 180000 kHz, HS 
SDR50 DDR50 1.8V 3.0V 3.3V, re-tuning mode 1, 4096 byte blocks
[   1.0000040] sdmmc0 at sdhc0 slot 0
[   1.0000040] sdhc1 at simplebus4: SDMMC (200000 kHz)
[   1.0000040] sdhc1: interrupting on irq 55
[   1.0000040] sdhc1: SDHC 3.0, rev 0, 32-bit ADMA2, 180000 kHz, HS 
SDR50 DDR50 1.8V 3.0V 3.3V, re-tuning mode 1, 4096 byte blocks
[   1.0000040] sdmmc1 at sdhc1 slot 0
[   1.0000040] /soc@0/bus@30400000/timer@306a0000 at simplebus5 not 
configured
[   1.0000040] /soc@0/bus@32c00000/interrupt-controller@32e2d000 at 
simplebus6 not configured
OpenPGP_signature.asc (application/pgp-signature, 665 B)
-----BEGIN PGP SIGNATURE-----

wsD5BAABCAAjFiEEloZd/Wa0dSqOBeRMieZbIf58OAcFAmXzWAwFAwAAAAAACgkQieZbIf58OAfj
Kwv+JHLAgHpksXstZpJ4/dPOW+pl06YQmI1C+wWsHDh0gwMfrkTrqpz4MtSKs3mtlC230jgzTah+
in9IjSk45XCNXS48TT3v4p4nK1MLw5G0eOrfSCPt5Tmu/0x3F2qJmBQGqt+N6uwc4mB3Y4b514f4
GFHJpHfaEOFTrslBAeU03dU1Q7KM3kcocAi30m09QMYCs/vKtIU4TJVc6M27pCceDyDyvKeMzh7/
I5aufePZhEZV7mftgiWud+aU1ZYQwort6ikFRiylE084irrUXvSDKjcLeeFfO7quSMbYQF2Ca4XO
zatXvWcowmmXvaI1h9Hew2zuMRjYP8b4lA/C3LCIXRSHN6irl0F/i6DhxXJhvspXdhWXpGrSso5h
WxdTI+4LNWXBCKJzRf/gHwQZZiPp+y054uk3NBciV+Q9XHEvmX9cdic19TyOxlY4D3DvOzNN5RTJ
UFiTaAQhDHMaJpq5XQdemhziuhCOdPaV3MIBnOrbUAwoWiFjB6c3dk9n67qG
=8WWB
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.