On Sun, Aug 11, 2019 at 11:49:10PM +0000, ioh wrote: > > I have been able to successfully install OpenBSD Current Aug 06 > 2019 on the Olimex Teres laptop. It has very similar hardware to > the PineBook, arm64 allwinner, etc. I used u-boot-sunxi-with-spl.bin > from u-boot v2019.07 (teres_i_defconfig) and Arm Trusted Firmware > v2.1. The dtb (sun50i-a64-teres-i.dtb) is from the OpenBSD 6.5-release > ports tree. > > To complete kernel initialization from either the install bsd.rd > or bsd from an install, the ohci driver must be disabled. I have > included the serial console output and dmesg of first a boot without > the ohci driver disabled, and then the boot log of my successful > install with ohci disabled. According to linux dmesg or the > sun50i-a64-teres-i.dts, ohci is available so the driver is probed > correctly - but even after several minutes the initialization process > will not continue past the line "ohci0 at simplebus0". > > What works: the embedded mmc and external mmc, external usb ports, > the serial line, and if xorg is running, the display. What does > not: wifi (as expected, realtek 8723bs), keyboard and trackpad. > > Please let me know if there is anything I can do to help improve > support for this platform. I tried building a DEBUG kernel and > booting with "verbose" from the UKC> prompt but did not find any > useful (afaik) information. I don't know how else to get more verbose > information from the initialization process (add printf's to the > driver code?).
> umodem0 at uhub1 port 4 configuration 1 interface 2 "Olimex Ltd. TERES > Keyboard+Touchpad (drv)" rev 1.10/0.01 addr 5 > umodem0: data interface 3, has no CM over data, has break > umodem0: status change notification available > ucom0 at umodem0 That is a bit strange and explains why keyboard/touchpad don't work. On the pinebook there is an internal usb hub on which attaches ate uhub1 and the keyboard and trackpad are uhid devices behind it. uhub4 at uhub1 port 1 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" rev 2.00/88.32 addr 2 uhidev0 at uhub4 port 1 configuration 1 interface 0 "HAILUCK CO.,LTD USB KEYBOARD" rev 1.10/1.00 addr 3 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev1 at uhub4 port 1 configuration 1 interface 1 "HAILUCK CO.,LTD USB KEYBOARD" rev 1.10/1.00 addr 3 uhidev1: iclass 3/0, 9 report ids ums0 at uhidev1 reportid 1: 5 buttons, Z and W dir wsmouse0 at ums0 mux 0 -- Matthieu Herrb