Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Problem booting Orange Pi One on NetBSD 10.0_BETA
> On Jul 24, 2023, at 3:40 PM, Dave Tyson <dtyson%anduin.org.uk@localhost> wrote:
>
> It's been a while (2017) since I played with an Orange Pi One, but want
> to do some testing. I wrote an armv7.img onto an sdcard and dd'ed over
> the requisite u-boot bootstrap from pkgsrc-2022Q3.
>
> The board boots, but cannot find the sdcard to mount root. It seems to
> be missing a shed load of other devices like usb etc - see captured
> boot messages below.
>
> I had a quick look at the dtb on the armv7 image and it looks OK so I
> am wondering if there is a problem with the u-boot image. Any clues?
Just for reference, here are some older boot messages from the same kind of device:
https://dmesgd.nycbug.org/index.cgi?do=view&id=3255
https://dmesgd.nycbug.org/index.cgi?do=view&id=6705
>
> Dave
>
> $ cu -l /dev/ttyU0 -s 115200 "dir"
> Connected
> U-Boot SPL 2018.11 (Jul 23 2023 - 18:08:50 +0100)
> DRAM: 512 MiB
> Trying to boot from MMC1
>
> U-Boot 2018.11nb4 (Jul 23 2023 - 18:08:50 +0100) Allwinner Technology
>
> CPU: Allwinner H3 (SUN8I 1680)
> Model: Xunlong Orange Pi One
> DRAM: 512 MiB
> MMC: SUNXI SD/MMC: 0
> Loading Environment from FAT... *** Warning - bad CRC, using default
> environment
>
> In: serial
> Out: serial
> Err: serial
> Net: phy interface0
> eth0: ethernet@1c30000
> starting USB...
> USB0: USB EHCI 1.00
> USB1: USB OHCI 1.0
> USB2: USB EHCI 1.00
> USB3: USB OHCI 1.0
> scanning bus 0 for devices... 1 USB Device(s) found
> scanning bus 2 for devices... 1 USB Device(s) found
> scanning usb for storage devices... 0 Storage Device(s) found
> Hit any key to stop autoboot: 0
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> Found U-Boot script /boot.scr
> 201 bytes read in 8 ms (24.4 KiB/s)
> ## Executing script at 43100000
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> 30510 bytes read in 99 ms (300.8 KiB/s)
> Found EFI removable media binary efi/boot/bootarm.efi
> Scanning disks on usb...
> Disk usb0 not ready
> Disk usb1 not ready
> Disk usb2 not ready
> Disk usb3 not ready
> Scanning disks on mmc...
> MMC Device 1 not found
> MMC Device 2 not found
> MMC Device 3 not found
> Found 3 disks
> 171568 bytes read in 22 ms (7.4 MiB/s)
> ## Starting EFI application at 42000000 ...
>
> \\-__,------,___.
> \\ __,---` NetBSD/evbarm efiboot (arm)
> \\ `---,_. Revision 2.13 (Tue May 9 21:39:18 UTC 2023)
> \\-,_____,.---`
> \\
> \\
> \\
>
> Press return to boot now, any other key for boot prompt
> booting netbsd - starting in 0 seconds.
> 9182940+2496096+1403296 [458167+772736+599492]=0xe4753c
> EHCI failed to shut down host controller.
> EHCI failed to shut down host controller.
> [ 1.0000000] NetBSD/evbarm (fdt) booting ...
> [ 1.0000000] [ Kernel symbol table missing! ]
> [ 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] 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_BETA (GENERIC) #1: Mon May 29 10:27:41 BST
> 2023
> [ 1.0000000] root%samsung.anduin.org.uk@localhost:/usr/obj/arm7/sys/arch/evbar
> m/compile/GENERIC
> [ 1.0000000] total memory = 512 MB
> [ 1.0000000] avail memory = 484 MB
> [ 1.0000000] armfdt0 (root)
> [ 1.0000000] simplebus0 at armfdt0: Xunlong Orange Pi One
> [ 1.0000000] simplebus1 at simplebus0
> [ 1.0000000] simplebus2 at simplebus0
> [ 1.0000000] cpus0 at simplebus0
> [ 1.0000000] simplebus3 at simplebus0
> [ 1.0000000] cpu0 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
> [ 1.0000000] cpu0: DC enabled IC enabled WB enabled LABT branch
> prediction enabled
> [ 1.0000000] cpu0: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
> [ 1.0000000] cpu0: L1 32KB/64B 4-way (128 set) write-back-locking-C
> PIPT Data cache
> [ 1.0000000] cpu0: L2 512KB/64B 8-way (1024 set) write-through PIPT
> Unified cache
> [ 1.0000000] vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN
> propagation, denormals
> [ 1.0000000] cpufreqdt0 at cpu0
> [ 1.0000000] cpu1 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
> [ 1.0000000] cpu1: DC enabled IC enabled WB enabled LABT branch
> prediction enabled
> [ 1.0000000] cpu1: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
> [ 1.0000000] cpu1: L1 32KB/64B 4-way (128 set) write-back-locking-C
> PIPT Data cache
> [ 1.0000000] cpu1: L2 512KB/64B 8-way (1024 set) write-through PIPT
> Unified cache
> [ 1.0000000] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN
> propagation, denormals
> [ 1.0000000] cpufreqdt1 at cpu1
> [ 1.0000000] cpu2 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
> [ 1.0000000] cpu2: DC enabled IC enabled WB enabled LABT branch
> prediction enabled
> [ 1.0000000] cpu2: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
> [ 1.0000000] cpu2: L1 32KB/64B 4-way (128 set) write-back-locking-C
> PIPT Data cache
> [ 1.0000000] cpu2: L2 512KB/64B 8-way (1024 set) write-through PIPT
> Unified cache
> [ 1.0000000] vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN
> propagation, denormals
> [ 1.0000000] cpufreqdt2 at cpu2
> [ 1.0000000] cpu3 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
> [ 1.0000000] cpu3: DC enabled IC enabled WB enabled LABT branch
> prediction enabled
> [ 1.0000000] cpu3: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
> [ 1.0000000] cpu3: L1 32KB/64B 4-way (128 set) write-back-locking-C
> PIPT Data cache
> [ 1.0000000] cpu3: L2 512KB/64B 8-way (1024 set) write-through PIPT
> Unified cache
> [ 1.0000000] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN
> propagation, denormals
> [ 1.0000000] cpufreqdt3 at cpu3
> [ 1.0000000] gic0 at simplebus1: GIC
> [ 1.0000000] armgic0 at gic0: Generic Interrupt Controller, 160
> sources (150 valid)
> [ 1.0000000] armgic0: 16 Priorities, 128 SPIs, 7 PPIs, 15 SGIs
> [ 1.0000000] fclock0 at simplebus2: 24000000 Hz fixed clock (osc24M)
> [ 1.0000000] fclock1 at simplebus2: 32768 Hz fixed clock (ext_osc32k)
> [ 1.0000000] gtmr0 at simplebus0: Generic Timer
> [ 1.0000000] gtmr0: interrupting on GIC irq 27
> [ 1.0000000] armgtmr0 at gtmr0: Generic Timer (24000 kHz, virtual)
> [ 1.0000040] sun8ih3ccu0 at simplebus1: H3 CCU
> [ 1.0000040] sunxinmi0 at simplebus1: R_INTC, NMI IRQ 32
> [ 1.0000040] sun8ih3rccu0 at simplebus1: H3 PRCM CCU
> [ 1.0000040] sunxigpio0 at simplebus1: PIO
> [ 1.0000040] gpio0 at sunxigpio0: 94 pins
> [ 1.0000040] sunxigpio0: interrupting on GIC irq 43
> [ 1.0000040] sunxigpio1 at simplebus1: PIO
> [ 1.0000040] gpio1 at sunxigpio1: 12 pins
> [ 1.0000040] sunxigpio1: interrupting on GIC irq 77
> [ 1.0000040] sunxisramc0 at simplebus1: SRAM Controller
> [ 1.0000040] sun6idma0 at simplebus1: DMA controller (12 channels)
> [ 1.0000040] sun6idma0: interrupting on GIC irq 82
> [ 1.0000040] connector0 at simplebus0: HDMI connector
> [ 1.0000040] sunxisid0 at simplebus1: Security ID EFUSE
> [ 1.0000040] gregulator0 at simplebus0: vdd-cpux
> [ 1.0000040] fregulator0 at simplebus0: vcc3v3
> [ 1.0000040] fregulator1 at simplebus0: usb0-vbus
> [ 1.0000040] fregulator2 at simplebus0: vcc3v0
> [ 1.0000040] fregulator3 at simplebus0: vcc5v0
> [ 1.0000040] /soc/clock@1000000 at simplebus1 not configured
> [ 1.0000040] /soc/mixer@1100000 at simplebus1 not configured
> [ 1.0000040] /soc/lcd-controller@1c0c000 at simplebus1 not configured
> [ 1.0000040] sunxirtc0 at simplebus1: RTC
> [ 1.0000040] h3codec0 at simplebus1: H3 Audio Codec (analog part)
> [ 1.0000040] /soc/hdmi-phy@1ef0000 at simplebus1 not configured
> [ 1.0000040] /soc/dram-controller@1c62000 at simplebus1 not
> configured
> [ 1.0000040] /gpu-opp-table at simplebus0 not configured
> [ 1.0000040] /opp_table0 at simplebus0 not configured
> [ 1.0000040] sunxithermal0 at simplebus1: Thermal sensor controller
> [ 1.0000040] sunxithermal0: interrupting on GIC irq 63
> [ 1.0000040] sunxithermal0: cpu: alarm 90C hyst 15C shut 105C
> [ 1.0000040] /soc/mailbox@1c17000 at simplebus1 not configured
> [ 1.0000040] sunxiwdt0 at simplebus1: Watchdog
> [ 1.0000040] sunxiwdt0: default watchdog period is 16 seconds
> [ 1.0000040] /soc/deinterlace@1400000 at simplebus1 not configured
> [ 1.0000040] sun8icrypto0 at simplebus1: Crypto Engine
> [ 1.0000040] sun8icrypto0: interrupting on GIC irq 126
> [ 1.0000040] sun8icrypto0: AES-128 self-test initiated
> [ 1.0000040] sun8icrypto0: AES-128 self-test passed
> [ 1.0000040] /soc/gpu@1c40000 at simplebus1 not configured
> [ 1.0000040] psci0 at simplebus0: PSCI 0.1
> [ 1.0000040] armpmu0 at simplebus0: Performance Monitor Unit
> [ ^[[36;167R 1.0000040] gpioleds0 at simplebus0: orangepi:green:pwr
> orangepi:red:status
> [ 1.0000040] gpiokeys0 at simplebus0: sw4
> [ 1.0000040] /soc/timer@1c20c00 at simplebus1 not configured
> [ 1.0000040] /soc/video-codec@1c0e000 at simplebus1 not configured
> [ 1.0000040] cpufreqdt0: rate: 1008.000 MHz, 1200000 uV
> [ 1.3732695] armpmu0: interrupting on GIC irq 152
> [ 1.3832610] armpmu0: interrupting on GIC irq 153
> [ 1.3932564] armpmu0: interrupting on GIC irq 154
> [ 1.3932564] armpmu0: interrupting on GIC irq 155
> [ 1.4132559] WARNING: system needs entropy for security; see
> entropy(7)
> [ 1.4332639] swwdog0: software watchdog initialized
> [ 1.4332639] boot device: <unknown>
> [ 1.4332639] root device:
> [ 14.5836466] use one of: ddb halt reboot
> [ 14.5836466] root device:
> [ 14.8436538] use one of: ddb halt reboot
> [ 14.8436538] root device: halt
> [ 20.2638147] syncing disks... done
> [ 20.2738158] unmounting file systems...
> [ 20.2738158] unmounting done
> [ 20.2738158] The operating system has halted.
> [ 20.2838153] Please press any key to reboot.
> [EOT]
>
>
-- thorpej
Home |
Main Index |
Thread Index |
Old Index