Hello,

I got a Pine64+ (2GB) to play with the arm64 port, but I think
I'm missing the correct .dtb file for it to recognize e.g. the onboard
USB.

My dmesg, using the sun50i-a64-pine64-plus.dtb in the dtb-4.10
package:

>> OpenBSD/arm64 BOOTAA64 0.2
boot> bsd.rd
cannot open sd0a:/etc/random.seed: No such file or directory
booting sd0a:bsd.rd: 2141032+351028+8295560+587128 [86+262080+144632]=0xb3d390
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 6.1-beta (RAMDISK) #0: Mon Mar 20 23:22:52 AEDT 2017
    j...@arm64.jsg.id.au:/usr/src/sys/arch/arm64/compile/RAMDISK
real mem  = 2147483648 (2048MB)
avail mem = 2054791168 (1959MB)
mainbus0 at root: Pine64+
psci0 at mainbus0
agtimer0 at mainbus0: tick rate 24000 KHz
simplebus0 at mainbus0: "soc"
sxiccmu0 at simplebus0
sxipio0 at simplebus0: 103 pins
com0 at simplebus0: ns16550, no working fifo
com0: console
ampintc0 at simplebus0 nirq 224: "interrupt-controller"
sxirtc0 at simplebus0
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
bootfile: sd0a:/bsd
boot device: lookup sd0a:/bsd failed
WARNING: clock lost 2635 days
WARNING: CHECK AND RESET THE DATE!
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/arm64 6.1 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell?


Compared with the dmesg posted by patrick@ at http://ix.io/1Qst
USB is missing.
If I try a .dtb file from a Linux image the kernel will load, but not
output anything,
with the .dtb from a FreeBSD image the kernel will boot, but still no USB and
instead of "(I)nstall, (U)pgrade, (A)utoinstall or (S)hell?" I get garbage.

I tried converting the Linux .dtb to .dts with dtc and adding the parts
that make OpenBSD work, and got it to boot, but even if ehci0 is
found, I always get "ehci0: halt timeout" and no devices are recognized.

So is there a .dtb file that works with OpenBSD/arm64 on the Pine64+
and enables the kernel to recognize USB so I can install on a USB stick?

It would be great to get help in this regard, even if arm64 is still work
in progress.

Thanks for any help, for OpenBSD and another interesting port!

Regards,

S. Rudzio

Reply via email to