Moin,
i got my hands on a small stack of OrangPi Zero 3 2GB.

After having a working Armbian setup, i thought i'd
give OpenBSD 7.4 a go. I borrowed the DTB and uboot from my
armbian builds, and prepared a miniroot. The kernel loads
fine, but the serial seems to not work. It prints on input
but is garbled. It looks a bit like not matching serial
settings; However, i cycled through all already, to no avail.

Does anyone have a hint in wich direction to ideally look here?

On 115200,8n1, the output after the kernel is (when hitting enter):
00000000  fe fe ff fe ff fe fe fe  fe 3e fe fe fe fe fe fe 
|.........>......|
00000010  fe fe ff 7e 7e fe fe ff  fe 3e 3e 7e 7e fe ff fe 
|...~~....>>~~...|
00000020  ff 7e fe ff 3e 7e be 3e  fe ff 3e fe fe 3e 3e ff 
|.~..>~.>..>..>>.|
00000030  7e fe ff be fe fe bf fe  fe 3e 7e fe fe fe fe fe 
|~........>~.....|
00000040  ff 3e fe fe fe ff fe fe  3e 7e fe fe fe fe fe fe 
|.>......>~......|
00000050  fe ff fe fe fe ff fe fe  3e fe fe fe fe 3e fe ff 
|........>....>..|
00000060  3e fe ff fe fe fe fe fe  fe ff b2 fe b2 fe b2 fe 
|>...............|
00000070  3a fe 3e fc ff fc fe fc  fe 7e 7e fe fe fe fe fe 
|:.>......~~.....|
00000080  fe fe fe ff ff fe fe fe  fe fe 7e 7e fe fe ff 72 
|..........~~...r|


The kernel messages are:
U-Boot SPL 2024.01-armbian (Feb 01 2024 - 01:17:24 +0000)
DRAM: 2048 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.10.0  (debug):armbian
NOTICE:  BL31: Built : 01:17:00, Feb  1 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a0b2e60, 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.
ns16550_serial serial@5000000: pinctrl_select_state_full:
uclass_get_device_by_phandle_id: err=-19


U-Boot 2024.01-armbian (Feb 01 2024 - 01:17:24 +0000) Allwinner
Technology

CPU:   Allwinner H616 (SUN50I)
Model: OrangePi Zero3
DRAM:  2 GiB
Core:  57 devices, 25 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:   Unsupported value 13, using default (13)
Unsupported value 13, using default (13)
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
starting USB...
Bus usb@5200000: USB EHCI 1.00
Bus usb@5200400: USB OHCI 1.0
scanning bus usb@5200000 for devices... 1 USB Device(s) found
scanning bus usb@5200400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
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
219050 bytes read in 16 ms (13.1 MiB/s)
Booting /efi\boot\bootaa64.efi
disks: sd0*
>> OpenBSD/arm64 BOOTAA64 1.18
boot>
cannot open sd0a:/etc/random.seed: No such file or directory
booting sd0a:/bsd: 2861736+1091248+12711584+634544
[233295+91+666048+260913]=0x13d5cf8
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights
reserved.
Copyright (c) 1995-2023 OpenBSD. All rights reserved. 
https://www.OpenBSD.org

OpenBSD 7.4 (RAMDISK) #2131: Sun Oct  8 13:35:40 MDT 2023
    dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/RAMDISK
real mem  = 2145648640 (2046MB)
avail mem = 2042994688 (1948MB)
random: boothowto does not indicate good seed
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 0x20240100
smbios0 at efi0: SMBIOS 3.0
smbios0: vendor U-Boot version "2024.01-armbian" date 01/01/2024
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
"tf-a" at mainbus0 not configured
"secmon" at mainbus0 not configured
"osc24M-clk" at mainbus0 not configured
"pmu" at mainbus0 not configured
agtimer0 at mainbus0: 24000 kHz
simplebus0 at mainbus0: "soc"
ampintc0 at simplebus0 nirq 192, ncpu 4: "interrupt-controller"
sxitwi0 at simplebus0: unknown clock frequency
"syscon" at simplebus0 not configured
"clock" at simplebus0 not configured
sxidog0 at simplebus0
"pinctrl" at simplebus0 not configured
"mmc" at simplebus0 not configured
com0 at simplebus0: dw16550
com0: console
"spi" at simplebus0 not configured
dwxe0 at simplebus0: address 02:00:c7:35:58:93
ytphy0 at dwxe0 phy 1: YT8531 10/100/1000 PHY, rev. 11
"usb" at simplebus0 not configured
"phy" at simplebus0 not configured
ehci0 at simplebus0
ehci0: halt timeout
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
uhub0: no ports, hub ignored
usb0: root device is not a hub
ohci0 at simplebus0: version 0.0
ohci0: unsupported OHCI revision
"rtc" at simplebus0 not configured
"clock" at simplebus0 not configured
"pinctrl" at simplebus0 not configured
"leds" at mainbus0 not configured
"vcc5v" at mainbus0 not configured
"regulator-usb1-vbus" at mainbus0 not configured
"binman" at mainbus0 not configured
softraid0 at root
scsibus0 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
WARNING: CHECK AND RESET THE DATE!
�^��B����w��1�Q


With best regards,
Tobias

Reply via email to