Hi there, hope you all be well.
I have a orange pi zero 3, which has a allwinner h618 (cortext A53).
It used to work well (mostly) until 7.9, bisecting it and found out
the offending commit is '6159827a9df06769a0823fbf9738555785b69e8c' (git hash).
I'm using upstream's dtb, from
/usr/local/share/dtb/arm64/allwinner/sun50i-h618-orangepi-zero3.dtb.
thanks a lot!
boot logs on current:
U-Boot SPL 2023.10-rc4-00039-g252592214f-dirty (Oct 24 2023 - 21:36:06 +0000)
DRAM: 1024 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.9(debug):v2.9.0-660-g88b2d8134
NOTICE: BL31: Built : 21:29:55, Oct 24 2023
NOTICE: BL31: Detected Allwinner H616 SoC (1823)
NOTICE: BL31: Found U-Boot DTB at 0x4a0b2a38, model: OrangePi Zero3
INFO: ARM GICv2 driver initialized
INFO: Configuring SPC Controller
INFO: PMIC: Probing AXP305 on RSB
ERROR: RSB: set run-time address: 0x10003
INFO: Could not init RSB: -65539
INFO: BL31: Platform setup done
INFO: BL31: Initializing runtime services
INFO: BL31: cortex_a53: CPU workaround for erratum 855873 was applied
INFO: BL31: cortex_a53: CPU workaround for erratum 1530924 was applied
INFO: PSCI: Suspend is unavailable
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x4a000000
INFO: SPSR = 0x3c9
INFO: Changed devicetree.
U-Boot 2023.10-rc4-00039-g252592214f-dirty (Oct 24 2023 - 21:36:06 +0000)
Allwinner Technology
CPU: Allwinner H616 (SUN50I)
Model: OrangePi Zero3
DRAM: 1 GiB
Core: 53 devices, 22 uclasses, devicetree: separate
WDT: Not starting watchdog@30090a0
MMC: mmc@4020000: 0
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
In: serial@5000000
Out: serial@5000000
Err: serial@5000000
Allwinner mUSB OTG (Peripheral)
Net: eth0: ethernet@5020000using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC de:ad:be:ef:00:01
HOST MAC de:ad:be:ef:00:00
RNDIS ready
, eth1: usb_ether
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
21801 bytes read in 2 ms (10.4 MiB/s)
No EFI system partition
No EFI system partition
Failed to persist EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
Found EFI removable media binary efi/boot/bootaa64.efi
230871 bytes read in 12 ms (18.3 MiB/s)
Booting /efi\boot\bootaa64.efi
disks: sd0*
>> OpenBSD/arm64 BOOTAA64 1.24
boot> boot /t/bsd
booting sd0a:/t/bsd: 14680876+3044040+321928+850496
[1141772+99+1425408+922384]=0x1872690
[ using 3490504 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2026 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 8.0-beta (GENERIC) #52: Sat Aug 8 15:35:59 MDT 2026
[email protected]:/usr/src/sys/arch/arm64/compile/GENERIC
real mem = 1071947776 (1022MB)
avail mem = 993873920 (947MB)
random: good seed from bootblocks
mainbus0 at root: OrangePi Zero3
psci0 at mainbus0: PSCI 1.1, SMCCC 1.4
efi0 at mainbus0: UEFI 2.10
efi0: Das U-Boot rev 0x20231000
smbios0 at efi0: SMBIOS 3.0
smbios0: vendor U-Boot version "2023.10-rc4-00039-g252592214f-dirty" date
10/01/2023
smbios0: Unknown Unknown Product
cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4
cpu0: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu0: 1024KB 64b/line 16-way L2 cache
cpu0: CRC32,SHA2,SHA1,AES+PMULL,ASID16attempt to access user address 0x30 from
EL1
Stopped at cpu_attach+0x27c: ldr x8, [x8,#48]
TID PID UID PRFLAGS PFLAGS CPU COMMAND
* 0 0 0 0x10000 0x200 0 swapper
cpu_attach() at config_attach+0x214
config_attach() at mainbus_attach_node+0x2b8
mainbus_attach_node() at mainbus_attach_cpus+0xb8
mainbus_attach_cpus() at mainbus_attach+0x1e0
mainbus_attach() at config_attach+0x214
config_attach() at cpu_configure+0x34
cpu_configure() at main+0x314
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb>
here is dmesg on 7.8:
U-Boot SPL 2023.10-rc4-00039-g252592214f-dirty (Oct 24 2023 - 21:36:06 +0000)-26
DRAM: 1024 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.9(debug):v2.9.0-660-g88b2d8134
NOTICE: BL31: Built : 21:29:55, Oct 24 2023
NOTICE: BL31: Detected Allwinner H616 SoC (1823)
NOTICE: BL31: Found U-Boot DTB at 0x4a0b2a38, model: OrangePi Zero3
INFO: ARM GICv2 driver initialized
INFO: Configuring SPC Controller
INFO: PMIC: Probing AXP305 on RSB
ERROR: RSB: set run-time address: 0x10003
INFO: Could not init RSB: -65539
INFO: BL31: Platform setup done
INFO: BL31: Initializing runtime services
INFO: BL31: cortex_a53: CPU workaround for erratum 855873 was applied
INFO: BL31: cortex_a53: CPU workaround for erratum 1530924 was applied
INFO: PSCI: Suspend is unavailable
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x4a000000
INFO: SPSR = 0x3c9
INFO: Changed devicetree.
U-Boot 2023.10-rc4-00039-g252592214f-dirty (Oct 24 2023 - 21:36:06 +0000)
Allwinner Technology
CPU: Allwinner H616 (SUN50I)
Model: OrangePi Zero3
DRAM: 1 GiB
Core: 53 devices, 22 uclasses, devicetree: separate
WDT: Not starting watchdog@30090a0
MMC: mmc@4020000: 0
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
In: serial@5000000
Out: serial@5000000
Err: serial@5000000
Allwinner mUSB OTG (Peripheral)
Net: eth0: ethernet@5020000using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC de:ad:be:ef:00:01
HOST MAC de:ad:be:ef:00:00
RNDIS ready
, eth1: usb_ether
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
21801 bytes read in 3 ms (6.9 MiB/s)
No EFI system partition
No EFI system partition
Failed to persist EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
Found EFI removable media binary efi/boot/bootaa64.efi
230871 bytes read in 12 ms (18.3 MiB/s)
Booting /efi\boot\bootaa64.efi
disks: sd0*
>> OpenBSD/arm64 BOOTAA64 1.24
boot>
booting sd0a:/bsd: 12320908+2897496+320728+859440
[1026375+91+1362792+859553]=0x14397c0
[ using 3249592 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2025 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 7.8 (GENERIC.MP) #38: Sun Oct 12 18:23:44 MDT 2025
[email protected]:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem = 1071947776 (1022MB)
avail mem = 998170624 (951MB)
random: good seed from bootblocks
mainbus0 at root: OrangePi Zero3
psci0 at mainbus0: PSCI 1.1, SMCCC 1.4
efi0 at mainbus0: UEFI 2.10
efi0: Das U-Boot rev 0x20231000
smbios0 at efi0: SMBIOS 3.0
smbios0: vendor U-Boot version "2023.10-rc4-00039-g252592214f-dirty" date
10/01/2023
smbios0: Unknown Unknown Product
cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4
cpu0: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu0: 1024KB 64b/line 16-way L2 cache
cpu0: CRC32,SHA2,SHA1,AES+PMULL,ASID16
cpu1 at mainbus0 mpidr 1: ARM Cortex-A53 r0p4
cpu1: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu1: 1024KB 64b/line 16-way L2 cache
cpu2 at mainbus0 mpidr 2: ARM Cortex-A53 r0p4
cpu2: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu2: 1024KB 64b/line 16-way L2 cache
cpu3 at mainbus0 mpidr 3: ARM Cortex-A53 r0p4
cpu3: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu3: 1024KB 64b/line 16-way L2 cache
"secmon" at mainbus0 not configured
apm0 at mainbus0
"osc24M-clk" at mainbus0 not configured
"pmu" at mainbus0 not configured
agtimer0 at mainbus0: 24000 kHz
simplebus0 at mainbus0: "soc"
sxisyscon0 at simplebus0
sxiccmu0 at simplebus0
sxisid0 at simplebus0
sxipio0 at simplebus0: 85 pins
ampintc0 at simplebus0 nirq 192, ncpu 4 ipi 0: "interrupt-controller"
sxirtc0 at simplebus0
sxiccmu1 at simplebus0
sxipio1 at simplebus0: 2 pins
sxitwi0 at simplebus0
iic0 at sxitwi0
axppmic0 at iic0 addr 0x36: AXP313A
"crypto" at simplebus0 not configured
"dma-controller" at simplebus0 not configured
sxidog0 at simplebus0
"iommu" at simplebus0 not configured
sximmc0 at simplebus0
sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma
com0 at simplebus0: dw16550
com0: console
"spi" at simplebus0 not configured
dwxe0 at simplebus0: address 02:00:ad:4c:7f:8c
ytphy0 at dwxe0 phy 1: YT8531, rev. 11
"thermal-sensor" at simplebus0 not configured
"codec" at simplebus0 not configured
"usb" at simplebus0 not configured
"phy" at simplebus0 not configured
ehci0 at simplebus0
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00
addr 1
ohci0 at simplebus0: version 1.0
"interrupt-controller" at simplebus0 not configured
gpio0 at sxipio0: 32 pins
gpio1 at sxipio0: 32 pins
gpio2 at sxipio0: 32 pins
gpio3 at sxipio0: 32 pins
gpio4 at sxipio0: 32 pins
gpio5 at sxipio0: 32 pins
gpio6 at sxipio0: 32 pins
gpio7 at sxipio0: 32 pins
gpio8 at sxipio0: 32 pins
gpio9 at sxipio1: 32 pins
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00
addr 1
gpioleds0 at mainbus0: "power"
"vcc5v" at mainbus0 not configured
"regulator-usb1-vbus" at mainbus0 not configured
"opp-table-cpu" at mainbus0 not configured
scsibus0 at sdmmc0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <SD/MMC, LX64G, 0010> removable
sd0: 60350MB, 512 bytes/sector, 123596800 sectors
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (39a7d86909d424fd.a) swap on sd0b dump on sd0b
--
chara <[email protected]>