Hello,

I'm trying and so far failing to migrate my Pinebook Pro from armbian to OpenBSD.

Following https://ftp.openbsd.org/pub/OpenBSD/snapshots/arm64/INSTALL.arm64 I created a SD card and booted from it without any problem.
The below I tested with 6.9, 7.0, 7.3 and 7.4

With all of the above releases I can boot but they all stop at "ohci0 at mainbus0" as you can see at the end of the picocom output below.

Would be thankful for any hint or pointer.

Many thanks,
Andi

#############

U-Boot TPL 2022.04-armbian (Apr 04 2023 - 04:33:44)

Channel 0: LPDDR4, 50MHz

BW=32 Col=10 Bk=8 CS0 Row=16/15 CS=1 Die BW=16 Size=2048MB

Channel 1: LPDDR4, 50MHz

BW=32 Col=10 Bk=8 CS0 Row=16/15 CS=1 Die BW=16 Size=2048MB

256B stride

lpddr4_set_rate: change freq to 400000000 mhz 0, 1

lpddr4_set_rate: change freq to 800000000 mhz 1, 0

Trying to boot from BOOTROM

Returning to boot ROM...

U-Boot SPL 2022.04-armbian (Apr 04 2023 - 04:33:44 +0000)

Trying to boot from SPI

Trying to boot from MMC1

NOTICE: BL31: v2.6(release):armbian

NOTICE: BL31: Built : 04:33:08, Apr 4 2023

INFO: GICv3 with legacy support detected.

INFO: ARM GICv3 driver initialized in EL3

INFO: Maximum SPI INTID supported: 287

INFO: plat_rockchip_pmu_init(1624): pd status 3e

INFO: BL31: Initializing runtime services

INFO: BL31: Preparing for EL3 exit to normal world

INFO: Entry point address = 0x200000

INFO: SPSR = 0x3c9

U-Boot 2022.04-armbian (Apr 04 2023 - 04:33:44 +0000)

SoC: Rockchip rk3399

Reset cause: POR

Model: Pine64 Pinebook Pro

DRAM: 3.9 GiB

PMIC: RK808

Core: 311 devices, 31 uclasses, devicetree: separate

MMC: mmc@fe310000: 3, mmc@fe320000: 1, mmc@fe330000: 0

Loading Environment from SPIFlash... SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB

*** Warning - bad CRC, using default environment

In: serial

Out: serial

Err: serial

Model: Pine64 Pinebook Pro

Net: No ethernet found.

starting USB...

Bus usb@fe380000: USB EHCI 1.00

Bus usb@fe3a0000: USB OHCI 1.0

Bus usb@fe3c0000: USB EHCI 1.00

Bus usb@fe3e0000: USB OHCI 1.0

Bus usb@fe800000: Register 2000140 NbrPorts 2

Starting the controller

USB XHCI 1.10

Bus usb@fe900000: Register 2000140 NbrPorts 2

Starting the controller

USB XHCI 1.10

scanning bus usb@fe380000 for devices... 1 USB Device(s) found

scanning bus usb@fe3a0000 for devices... 2 USB Device(s) found

scanning bus usb@fe3c0000 for devices... 4 USB Device(s) found

scanning bus usb@fe3e0000 for devices... 1 USB Device(s) found

scanning bus usb@fe800000 for devices... 1 USB Device(s) found

scanning bus usb@fe900000 for devices... 1 USB Device(s) found

scanning usb for storage devices... 1 Storage Device(s) found

Hit any key to stop autoboot: 0

Device 0: Vendor: General Rev: 5.00 Prod: UDisk

Type: Removable Hard Disk

Capacity: 1900.0 MB = 1.8 GB (3891200 x 512)

... is now current device

Scanning usb 0:1...

libfdt fdt_check_header(): FDT_ERR_BADMAGIC

Card did not respond to voltage select! : -110

Scanning disk m...@fe310000.blk...

Disk m...@fe310000.blk not ready

Scanning disk m...@fe320000.blk...

Scanning disk m...@fe330000.blk...

Scanning disk usb_mass_storage.lun0...

Found 7 disks

No EFI system partition

BootOrder not defined

EFI boot manager: Cannot load any image

switch to partitions #0, OK

mmc1 is current device

Scanning mmc 1:1...

64962 bytes read in 12 ms (5.2 MiB/s)

BootOrder not defined

EFI boot manager: Cannot load any image

Found EFI removable media binary efi/boot/bootaa64.efi

219050 bytes read in 30 ms (7 MiB/s)

Booting /efi\boot\bootaa64.efi

disks: sd0* sd1 sd2

        OpenBSD/arm64 BOOTAA64 1.18

boot> help

commands: # boot echo env help hexdump ls machine reboot set stty time

machine: acpi dtb exit poweroff

boot> boot

cannot open sd0a:/etc/random.seed: No such file or directory

booting sd0a:/bsd: 2865844+1093432+12711584+631216 [233251+91+666048+260915]=0x13d4fd0

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-current (RAMDISK) #2133: Thu Oct 12 03:36:59 MDT 2023

dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/RAMDISK

real mem = 4088946688 (3899MB)

avail mem = 3883462656 (3703MB)

random: good seed from bootblocks

mainbus0 at root: Pine64 Pinebook Pro

psci0 at mainbus0: PSCI 1.1, SMCCC 1.2, SYSTEM_SUSPEND

efi0 at mainbus0: UEFI 2.9

efi0: Das U-Boot rev 0x20220400

smbios0 at efi0: SMBIOS 3.0

smbios0: vendor U-Boot version "2022.04-armbian" date 04/01/2022

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: 512KB 64b/line 16-way L2 cache

cpu0: CRC32,SHA2,SHA1,AES+PMULL,ASID16

agintc0 at mainbus0 sec shift 3:3 nirq 288 nredist 6: "interrupt-controller"

agintcmsi0 at agintc0

syscon0 at mainbus0: "qos"

syscon1 at mainbus0: "qos"

syscon2 at mainbus0: "qos"

syscon3 at mainbus0: "qos"

syscon4 at mainbus0: "qos"

syscon5 at mainbus0: "qos"

syscon6 at mainbus0: "qos"

syscon7 at mainbus0: "qos"

syscon8 at mainbus0: "qos"

syscon9 at mainbus0: "qos"

syscon10 at mainbus0: "qos"

syscon11 at mainbus0: "qos"

syscon12 at mainbus0: "qos"

syscon13 at mainbus0: "qos"

syscon14 at mainbus0: "qos"

syscon15 at mainbus0: "qos"

syscon16 at mainbus0: "qos"

syscon17 at mainbus0: "qos"

syscon18 at mainbus0: "qos"

syscon19 at mainbus0: "qos"

syscon20 at mainbus0: "qos"

syscon21 at mainbus0: "qos"

syscon22 at mainbus0: "qos"

syscon23 at mainbus0: "qos"

syscon24 at mainbus0: "qos"

syscon25 at mainbus0: "power-management"

"power-controller" at syscon25 not configured

syscon26 at mainbus0: "syscon"

"io-domains" at syscon26 not configured

rkclock0 at mainbus0

rkclock1 at mainbus0

CRU_CLKGATE_CON6: 0x00000060

CRU_CLKGATE_CON13: 0x000000f0

rkclock_set_frequency(rkclock1, 237, 400000000)

syscon27 at mainbus0: "syscon"

"io-domains" at syscon27 not configured

"usb2phy" at syscon27 not configured

"usb2phy" at syscon27 not configured

rkemmcphy0 at syscon27

"pcie-phy" at syscon27 not configured

rktcphy0 at mainbus0

rktcphy1 at mainbus0

rkpinctrl0 at mainbus0: "pinctrl"

rkgpio0 at rkpinctrl0

rkgpio1 at rkpinctrl0

rkgpio2 at rkpinctrl0

rkgpio3 at rkpinctrl0

rkgpio4 at rkpinctrl0

"display-subsystem" at mainbus0 not configured

"pmu_a53" at mainbus0 not configured

"pmu_a72" at mainbus0 not configured

agtimer0 at mainbus0: 24000 kHz

"xin24m" at mainbus0 not configured

rkpcie0 at mainbus0

rkpcie0: link training timeout

dwmmc0 at mainbus0: 50 MHz base clock

sdmmc0 at dwmmc0: 4-bit, sd high-speed, dma

dwmmc1 at mainbus0: 50 MHz base clock

sdmmc1 at dwmmc1: 4-bit, sd high-speed, mmc high-speed, dma

sdhc0 at mainbus0

sdhc0: SDHC 3.00, 200 MHz base clock

sdmmc2 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma

ehci0 at mainbus0

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 mainbus0

#############

Reply via email to