Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Utilite Pro vs 10.99.10 current



I dusted off my Utilite Pro and tried to boot current on it.  It
didn't work and the troubles probably start somewhere around here:

  imx6ccm0 at simplebus4: can't find anatop device

a lot of devices attached later complain that they "couldn't get
clock" until eventually the kernel dies with

  panic: cpu_initclocks: no timer registered


I have a three year old kernel+dtb that boots

  NetBSD 9.99.77 (UTILITE) #12: Thu Dec 31 22:08:30 MSK 2020

A more verbose dmesg from that older kernel has:

  imx6ccm0 at simplebus4imx6ccm0: dummy (none) : 0 Hz
  imx6ccm0: ckil (none) : 32768 Hz
  imx6ccm0: ckih (none) : 0 Hz
  imx6ccm0: osc (none) : 24000000 Hz
  imx6ccm0: anaclk1 (none) : 0 Hz
  imx6ccm0: anaclk2 (none) : 0 Hz


The dmesg from current follows (with [ 1.0000000] timestamp spam
removed).  Anything I can do to help debug this?  I'm not sure how to
pass arguments to the kernel to tell it to boot more verbosely (I
tried setenv bootargs "-v", didn't seem to help).  TIA.


CM-FX6 # setenv dtb imx6q-utilite-pro-new.dtb
CM-FX6 # setenv kernel generic10.ub
CM-FX6 # run netbsd
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part 
SATA Device Info:
S/N: 140361400202
Product model number: SanDisk SSD U110 32GB
Firmware version: U221000
Capacity: 62533296 sectors
reading generic10.ub
11786588 bytes read in 140 ms (80.3 MiB/s)
reading imx6q-utilite-pro-new.dtb
54996 bytes read in 13 ms (4 MiB/s)
## Booting kernel from Legacy Image at 11000000 ...
   Image Name:   NetBSD/earmv7hf 10.99.10
   Image Type:   ARM Linux Kernel Image (no loading done) (uncompressed)
   Data Size:    11786524 Bytes = 11.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 10800000
   Booting using the fdt blob at 0x10800000
   XIP Kernel Image (no loading done) ... OK
   Loading Device Tree to 187ef000, end 187ff6d3 ... OK

Starting kernel ...

NetBSD/evbarm (fdt) booting ...
[ Kernel symbol table missing! ]
PSCI: no /psci node found
arm_fdt_cpu_mpstart: failed to enable CPU 0x1
arm_fdt_cpu_mpstart: failed to enable CPU 0x2
arm_fdt_cpu_mpstart: failed to enable CPU 0x3
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
    2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
    2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
    2024
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 10.99.10 (GENERIC) #0: Mon Jan  8 03:56:43 MSK 2024
	uwe@majava:/home/uwe/work/netbsd/cvs/src/sys/arch/evbarm/compile/GENERIC
total memory = 2816 MB
avail memory = 1991 MB
armfdt0 (root)
simplebus0 at armfdt0: CompuLab Utilite Pro
simplebus1 at simplebus0
cpus0 at simplebus0
simplebus2 at simplebus0
simplebus3 at simplebus0
cpu0 at cpus0: Cortex-A9 r2p10 (Cortex V7A core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: L1 32KB/32B 4-way (256 set) VIPT Instruction cache
cpu0: L1 32KB/32B 4-way (256 set) write-back-locking-C PIPT Data cache
cpu0: L2 1024KB/32B 16-way (2048 set) write-back-locking-D PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpufreqdt0 at cpu0
cpu1 at cpus0: Cortex-A9 r2p10 (Cortex V7A core)
cpu1: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu1: L1 32KB/32B 4-way (256 set) VIPT Instruction cache
cpu1: L1 32KB/32B 4-way (256 set) write-back-locking-C PIPT Data cache
cpu1: L2 1024KB/32B 16-way (2048 set) write-back-locking-D PIPT Unified cache
vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpufreqdt1 at cpu1
cpu2 at cpus0: Cortex-A9 r2p10 (Cortex V7A core)
cpu2: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu2: L1 32KB/32B 4-way (256 set) VIPT Instruction cache
cpu2: L1 32KB/32B 4-way (256 set) write-back-locking-C PIPT Data cache
cpu2: L2 1024KB/32B 16-way (2048 set) write-back-locking-D PIPT Unified cache
vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpufreqdt2 at cpu2
cpu3 at cpus0: Cortex-A9 r2p10 (Cortex V7A core)
cpu3: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu3: L1 32KB/32B 4-way (256 set) VIPT Instruction cache
cpu3: L1 32KB/32B 4-way (256 set) write-back-locking-C PIPT Data cache
cpu3: L2 1024KB/32B 16-way (2048 set) write-back-locking-D PIPT Unified cache
vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpufreqdt3 at cpu3
simplebus4 at simplebus1
simplebus5 at simplebus1
simplebus6 at simplebus4
syscon0 at simplebus4: System Controller Registers
imx6ccm0 at simplebus4: can't find anatop device
gic0 at simplebus1: GIC
armgic0 at gic0: Generic Interrupt Controller, 160 sources (149 valid)
armgic0: 32 Priorities, 128 SPIs, 5 PPIs, 16 SGIs
syscon1 at simplebus4: System Controller Registers
imxsnvs0 at simplebus4: Secure Non-Volatile Storage
fclock0 at simplebus3: 32768 Hz fixed clock (ckil)
fclock1 at simplebus3: 0 Hz fixed clock (ckih1)
fclock2 at simplebus3: 24000000 Hz fixed clock (osc)
imxgpc0 at simplebus4: General Power Controller
imxiomux0 at simplebus4: IOMUX Controller
imxocotp0 at simplebus5: couldn't get clock
l2cc0 at simplebus1
arml2cc0 at l2cc0: ARM PL310 r3p1a L2 Cache Controller (disabled)
arml2cc0: cache enabled
a9ptmr0 at simplebus1: couldn't get clock
imxgpio0 at simplebus4: GPIO (gpio@209c000)
imxgpio0: interrupting on irq 98
imxgpio0: interrupting on irq 99
imxgpio0: interrupts 160..191
gpio0 at imxgpio0: 32 pins
imxgpio1 at simplebus4: GPIO (gpio@20a0000)
imxgpio1: interrupting on irq 100
imxgpio1: interrupting on irq 101
imxgpio1: interrupts 192..223
gpio1 at imxgpio1: 32 pins
imxgpio2 at simplebus4: GPIO (gpio@20a4000)
imxgpio2: interrupting on irq 102
imxgpio2: interrupting on irq 103
imxgpio2: interrupts 224..255
gpio2 at imxgpio2: 32 pins
imxgpio3 at simplebus4: GPIO (gpio@20b4000)
imxgpio3: interrupting on irq 110
imxgpio3: interrupting on irq 111
imxgpio3: interrupts 256..287
gpio3 at imxgpio3: 32 pins
imxgpio4 at simplebus4: GPIO (gpio@20b0000)
imxgpio4: interrupting on irq 108
imxgpio4: interrupting on irq 109
imxgpio4: interrupts 288..319
gpio4 at imxgpio4: 32 pins
imxgpio5 at simplebus4: GPIO (gpio@20a8000)
imxgpio5: interrupting on irq 104
imxgpio5: interrupting on irq 105
imxgpio5: interrupts 320..351
gpio5 at imxgpio5: 32 pins
imxgpio6 at simplebus4: GPIO (gpio@20ac000)
imxgpio6: interrupting on irq 106
imxgpio6: interrupting on irq 107
imxgpio6: interrupts 352..383
gpio6 at imxgpio6: 32 pins
imxi2c0 at simplebus5: couldn't get clock
imxi2c1 at simplebus5: couldn't get clock
connector0 at simplebus0: HDMI connector
imxi2c2 at simplebus5: couldn't get clock
imxuart0 at simplebus5
imxuart0: interrupting on irq 59
imxuart1 at simplebus5
imxuart1: interrupting on irq 61
imxuart1: console
fregulator0 at simplebus0: regulator-pcie-power-on-gpio
fregulator1 at simplebus0: usb_otg_vbus
fregulator2 at simplebus0: usb_h1_vbus
iicmux0 at simplebus0: GPIO I2C mux
iicmux0: unable to acquire i2c-parent
imxusbphy0 at simplebus4: couldn't get clock
imxusbphy1 at simplebus4: couldn't get clock
usbnopphy0 at simplebus0: USB PHY
usbnopphy1 at simplebus0: USB PHY
/soc/ipu@2400000 at simplebus1 not configured
/soc/ipu@2800000 at simplebus1 not configured
/soc/dma-apbh@110000 at simplebus1 not configured
/soc/bus@2000000/sdma@20ec000 at simplebus4 not configured
/soc/bus@2000000/reset-controller@20d8000 at simplebus4 not configured
/soc/sram@900000 at simplebus1 not configured
/soc/bus@2000000/anatop@20c8000/regulator-vddpu at syscon1 not configured
/soc/bus@2000000/iomuxc-gpr@20e0000/mux-controller at syscon0 not configured
/soc/bus@2100000/usbmisc@2184800 at simplebus5 not configured
/pwrseq at simplebus0 not configured
/soc/bus@2000000/iomuxc-gpr@20e0000/ipu1_csi0_mux at syscon0 not configured
/soc/bus@2000000/iomuxc-gpr@20e0000/ipu2_csi1_mux at syscon0 not configured
/parallel-display at simplebus0 not configured
dwhdmi0 at simplebus1: couldn't enable iahb clock
/soc/bus@2000000/anatop@20c8000/regulator-vddcore at syscon1 not configured
/soc/bus@2000000/anatop@20c8000/regulator-vddsoc at syscon1 not configured
ausoc0 at simplebus0: On-board analog audio
/soc/bus@2000000/spba-bus@2000000/ssi@202c000 at simplebus6 not configured
/soc/bus@2000000/spba-bus@2000000/spdif@2004000 at simplebus6 not configured
/encoder at simplebus0 not configured
armpmu0 at simplebus0: Performance Monitor Unit
/soc/nand-controller@112000 at simplebus1 not configured
/soc/gpu@130000 at simplebus1 not configured
/soc/gpu@134000 at simplebus1 not configured
imxpcie0 at simplebus1: PCI Express Controller
: couldn't get clock pcie_axi
imxspi0 at simplebus6: SPI
: couldn't get clock
/soc/bus@2000000/spba-bus@2000000/asrc@2034000 at simplebus6 not configured
/soc/bus@2000000/vpu@2040000 at simplebus4 not configured
/soc/bus@2000000/timer@2098000 at simplebus4 not configured
imxwdog0 at simplebus4: i.MX Watchdog Timer, default period is 10 seconds
/soc/bus@2000000/anatop@20c8000/regulator-1p1 at syscon1 not configured
/soc/bus@2000000/anatop@20c8000/regulator-3p0 at syscon1 not configured
/soc/bus@2000000/anatop@20c8000/regulator-2p5 at syscon1 not configured
/soc/bus@2000000/anatop@20c8000/tempmon at syscon1 not configured
/soc/bus@2100000/crypto@2100000 at simplebus5 not configured
imxusbc0 at simplebus5
: couldn't get clock
imxusbc1 at simplebus5
: couldn't get clock
enet0 at simplebus5: couldn't get clock ipg
sdhc0 at simplebus5: couldn't get clock
/soc/bus@2100000/memory-controller@21b0000 at simplebus5 not configured
/soc/bus@2100000/audmux@21d8000 at simplebus5 not configured
ahcisata0 at simplebus1: couldn't get clock sata
/soc/gpu@2204000 at simplebus1 not configured
/capture-subsystem at simplebus0 not configured
/display-subsystem at simplebus0 not configured
gpioleds0 at simplebus0: Heartbeat
/sound-spdif at simplebus0 not configured
gpiokeys0 at simplebus0: Power Button
/soc/bus@2100000/vdoa@21e4000 at simplebus5 not configured
ausoc0: couldn't acquire cpu dai on sound-analog node
panic: cpu_initclocks: no timer registered
cpu0: Begin traceback...
0x80cc1e74: netbsd:db_panic+0x14
0x80cc1e94: netbsd:vpanic+0x114
0x80cc1eac: netbsd:panic+0x24
0x80cc1ecc: netbsd:cpu_initclocks+0x38
0x80cc1f34: netbsd:initclocks+0x30
0x80cc1f9c: netbsd:main+0x338
0x80cc1fac: netbsd:kernel_text+0x54
cpu0: End traceback...
Stopped in pid 0.0 (system) at  netbsd:cpu_Debugger+0x4:        bx      r14
db{0}> 


-uwe


Home | Main Index | Thread Index | Old Index