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 Tue, 2023-07-25 at 11:26 +0200, Martin Husemann wrote:
> armbsd.org has images for Orange Pi One - have you tried one of
> those?
> 
> Martin

Martin, Thanks for reminding me about armbsd - I had forgotten about
it! The image from there worked fine as per the messages below. I will
review these with respect to those from the failed 10.0_BETA and see if
I can work out what is going wrong. I suspect it's the u-boot part and
I can test that by replacing the netbsd partition from the armbsd image
with that from 10 (and of course adding the new kernel to the DOS
partition.

# cu -l /dev/ttyU0 -s 115200 "dir"
Connected

U-Boot SPL 2018.11 (Oct 05 2021 - 17:27:12 +0000)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2018.11nb4 (Oct 05 2021 - 17:27:12 +0000) 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 4 ms (48.8 KiB/s)
## Executing script at 43100000
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
28779 bytes read in 19 ms (1.4 MiB/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
185456 bytes read in 22 ms (8 MiB/s)
## Starting EFI application at 42000000 ...

>> NetBSD/evbarm efiboot (arm), Revision 1.13 (Thu Aug  4 15:30:37 UTC
2022)
Press return to boot now, any other key for boot prompt
booting netbsd - starting in 0 seconds.     
6757004+2071896+1385128 [404132+462448+482622]=0xb15cec
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, 2004, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
2014, 2015, 2016, 2017,
[   1.0000000]     2018, 2019, 2020, 2021, 2022
[   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 9.3 (GENERIC) #0: Thu Aug  4 15:30:37 UTC 2022
[   1.0000000]  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/com
pile/GENERIC
[   1.0000000] total memory = 512 MB
[   1.0000000] avail memory = 496 MB
[   1.0000000] running cgd selftest aes-xts-256 aes-xts-512 done
[   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: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.0000000] cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data
cache
[   1.0000000] cpu0: 512KB/64B 8-way write-through L2 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
[   1.0000000] cpufreqdt1 at cpu1
[   1.0000000] cpu2 at cpus0
[   1.0000000] cpufreqdt2 at cpu2
[   1.0000000] cpu3 at cpus0
[   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.0000060] sun8ih3ccu0 at simplebus1: H3 CCU
[   1.0000060] sun8ih3rccu0 at simplebus1: H3 PRCM CCU
[   1.0000060] sunxigpio0 at simplebus1: PIO
[   1.0000060] gpio0 at sunxigpio0: 94 pins
[   1.0000060] sunxigpio0: interrupting on GIC irq 43
[   1.0000060] sunxigpio1 at simplebus1: PIO
[   1.0000060] gpio1 at sunxigpio1: 12 pins
[   1.0000060] sunxigpio1: interrupting on GIC irq 77
[   1.0000060] sunxisramc0 at simplebus1: SRAM Controller
[   1.0000060] sun6idma0 at simplebus1: DMA controller (12 channels)
[   1.0000060] sun6idma0: interrupting on GIC irq 82
[   1.0000060] connector0 at simplebus0: HDMI connector
[   1.0000060] gregulator0 at simplebus0: vdd-cpux
[   1.0000060] com0 at simplebus1: ns16550a, working fifo
[   1.0000060] com0: console
[   1.0000060] com0: interrupting on GIC irq 32
[   1.0000060] sunxisid0 at simplebus1: Security ID EFUSE
[   1.0000060] fregulator0 at simplebus0: vcc3v3
[   1.0000060] fregulator1 at simplebus0: usb0-vbus
[   1.0000060] fregulator2 at simplebus0: vcc3v0
[   1.0000060] fregulator3 at simplebus0: vcc5v0
[   1.0000060] sunxiusbphy0 at simplebus1: USB PHY
[   1.0000060] /soc/clock@1000000 at simplebus1 not configured
[   1.0000060] /soc/mixer@1100000 at simplebus1 not configured
[   1.0000060] /soc/lcd-controller@1c0c000 at simplebus1 not configured
[   1.0000060] /soc/hdmi@1ee0000 at simplebus1 not configured
[   1.0000060] sunxirtc0 at simplebus1: RTC
[   1.0000060] emac0 at simplebus1: EMAC
[   1.0000060] emac0: Ethernet address 02:81:5f:ed:f6:44
[   1.0000060] emac0: interrupting on GIC irq 114
[   1.0000060] ukphy0 at emac0 phy 1: OUI 0x0088a0, model 0x0000, rev.
0
[   1.0000060] ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
auto
[   1.0000060] h3codec0 at simplebus1: H3 Audio Codec (analog part)
[   1.0000060] /soc/hdmi-phy@1ef0000 at simplebus1 not configured
[   1.0000060] /opp_table0 at simplebus0 not configured
[   1.0000060] /display-engine at simplebus0 not configured
[   1.0000060] sunximmc0 at simplebus1: SD/MMC controller
[   1.0000060] sunximmc0: interrupting on GIC irq 92
[   1.0000060] motg0 at simplebus1: 'otg' mode not supported
[   1.0000060] ehci0 at simplebus1: EHCI
[   1.0000060] ehci0: interrupting on GIC irq 104
[   1.0000060] ehci0: 1 companion controller, 1 port
[   1.0000060] usb0 at ehci0: USB revision 2.0
[   1.0000060] ohci0 at simplebus1: OHCI
[   1.0000060] ohci0: interrupting on GIC irq 105
[   1.0000060] ohci0: OHCI version 1.0
[   1.0000060] usb1 at ohci0: USB revision 1.0
[   1.0000060] ehci1 at simplebus1: EHCI
[   1.0000060] ehci1: interrupting on GIC irq 106
[   1.0000060] ehci1: 1 companion controller, 1 port
[   1.0000060] usb2 at ehci1: USB revision 2.0
[   1.0000060] ohci1 at simplebus1: OHCI
[   1.0000060] ohci1: interrupting on GIC irq 107
[   1.0000060] ohci1: OHCI version 1.0
[   1.0000060] usb3 at ohci1: USB revision 1.0
[   1.0000060] sunxiwdt0 at simplebus1: Watchdog
[   1.0000060] sunxiwdt0: default watchdog period is 16 seconds
[   1.0000060] /soc/gpu@1c40000 at simplebus1 not configured
[   1.0000060] sunxithermal0 at simplebus1: Thermal sensor controller
[   1.0000060] sunxithermal0: interrupting on GIC irq 63
[   1.0000060] sunxithermal0: cpu: alarm 90C hyst 15C shut 105C
[   1.0000060] psci0 at simplebus0: PSCI 0.1
[   1.0000060] gpioleds0 at simplebus0: orangepi:green:pwr
orangepi:red:status
[   1.0000060] gpiokeys0 at simplebus0: sw4
[   1.0000060] sunxitimer0 at simplebus1: Timer
[   1.0000060] /soc/video-codec@1c0e000 at simplebus1 not configured
[   1.0000060] cpu3: Cortex-A7 r0p5 (Cortex V7A core)
[   1.0000060] cpu3: DC enabled IC enabled WB enabled LABT branch
prediction enabled
[   1.0058563] cpu3: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.0058563] cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data
cache
[   1.0158458] cpu3: 512KB/64B 8-way write-through L2 PIPT Unified
cache
[   1.0258457] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN
propagation, denormals
[   1.0258457] cpu2: Cortex-A7 r0p5 (Cortex V7A core)
[   1.0358455] cpu2: DC enabled IC enabled WB enabled LABT branch
prediction enabled
[   1.0458460] cpu2: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.0458460] cpu2: 32KB/64B 4-way write-back-locking-C L1 PIPT Data
cache
[   1.0558458] cpu2: 512KB/64B 8-way write-through L2 PIPT Unified
cache
[   1.0558458] vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN
propagation, denormals
[   1.0658467] cpu1: Cortex-A7 r0p5 (Cortex V7A core)
[   1.0758465] cpu1: DC enabled IC enabled WB enabled LABT branch
prediction enabled
[   1.0758465] cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
[   1.0858465] cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data
cache
[   1.0958467] cpu1: 512KB/64B 8-way write-through L2 PIPT Unified
cache
[   1.0958467] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN
propagation, denormals
[   1.1158496] sdmmc0 at sunximmc0
[   1.1358505] uhub0 at usb1: NetBSD (0000) OHCI root hub (0000), class
9/0, rev 1.00/1.00, addr 1
[   1.1458491] uhub1 at usb0: NetBSD (0000) EHCI root hub (0000), class
9/0, rev 2.00/1.00, addr 1
[   1.1603860] uhub2 at usb3: NetBSD (0000) OHCI root hub (0000), class
9/0, rev 1.00/1.00, addr 1
[   1.1658507] uhub3 at usb2: NetBSD (0000) EHCI root hub (0000), class
9/0, rev 2.00/1.00, addr 1
[   1.2358522] sdmmc0: SD card status: 4-bit, C10
[   1.2465920] ld0 at sdmmc0: <0x12:0x3456:SD:0x00:0x0000000d:0x117>
[   1.2465920] ld0: 7624 MB, 3872 cyl, 64 head, 63 sec, 512 bytes/sect
x 15613952 sectors
[   1.2658535] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
[   1.8958657] boot device: ld0
[   1.8958657] root on ld0a dumps on ld0b
[   1.9158656] root file system type: ffs
[   1.9258659] kern.module.path=/stand/evbarm/9.3/modules
[   1.9258659] WARNING: clock lost 8251 days
[   1.9258659] WARNING: using filesystem time
[   1.9389762] WARNING: CHECK AND RESET THE DATE!
Thu Aug  4 19:04:04 UTC 2022
Starting root file system check:
/dev/rld0a: file system is clean; not checking
Growing ld0 MBR partition #1 (1068MB -> 7528MB)
Growing ld0 disklabel (1164MB -> 7624MB)
Resizing /
reboot: rebooted by
root                                                        
[  87.1385495] rebooting...


Home | Main Index | Thread Index | Old Index