OpenBSD 6.7 on Pinebook Pro
#2
My understanding is that most wifi and display are supported at least. I have not been able to get either 6.6 or snapshots up and running yet, I am currently waiting for 6.7 to try again. There is active development on the Pinebook Pro within the OpenBSD community and I have been told that support is improving all the time.

As it stands I have been following the official instructions in the OpenBSD arm64 guide by doing the following:

1) dd miniroot67.fs to microSD card
2) Download the latest u-boot package from snapshots
3) dd idbloader.img to microSD card with a seek of 64
4) dd u-boot.itb to microSD with a seek of 16384
5) Download the latest dtb package from snapshots
6) Make a folder called 'rockchip' on the boot partition of the microSD
7) Copy rk3399-rockpro.dtb to the folder created above

I boot this with the serial cable connected however it always stops at the following two lines:

Code:
rkclock0 at mainbus0
rkclock1 at mainbus0

I have started a thread  on the OpenBSD subreddit where a user provided me with the script below which is also referenced in this thread on the mailing list although I am not sure where to get the relevant files such as the trust.img although I have only briefly read over the script.

Code:
#!/bin/sh

set -e

SD=$1

if [ "$SD" == "" ]; then
    echo "specify the device your SD card is using."
    exit 1
fi

if [ ! -f miniroot66.fs ]; then
    ftp http://ftp.usa.openbsd.org/pub/OpenBSD/snapshots/arm64/miniroot66.fs
    ftp http://ftp.usa.openbsd.org/pub/OpenBSD/snapshots/arm64/SHA256.sig
fi

signify -C -p /etc/signify/openbsd-66-base.pub -x SHA256.sig miniroot66.fs

if [ ! -f u-boot.img ]; then
    ftp https://github.com/pcm720/rockchip-u-boot/releases/download/nvme-boot/u-boot.img
fi

sha256 u-boot.img | grep "6af3fbcd83c91f590551a0a8afeca489fe13ac777934fd77b38495134fcac6ea"

echo
echo

echo "doas dd if=miniroot66.fs of=/dev/r${SD}c bs=5M"
echo "doas dd if=idbloader.img of=/dev/${SD}c bs=32k seek=1 conv=fsync"
echo "doas dd if=u-boot.img of=/dev/r${SD}c bs=64k seek=128 conv=fsync"
echo "doas dd if=trust.img of=/dev/r${SD}c bs=64k seek=192 conv=fsync"
echo "doas mount /dev/${SD}i /mnt"
echo "doas cp rk3399-pinebook-pro.dtb /mnt/"
echo "doas umount /mnt"

I will likely have another crack at this weekend so if you have any pointers please let me know.
  Reply


Messages In This Thread
OpenBSD 6.7 on Pinebook Pro - by SKG - 05-14-2020, 08:30 AM
RE: OpenBSD 6.7 on Pinebook Pro - by User 15267 - 05-15-2020, 11:29 AM
RE: OpenBSD 6.7 on Pinebook Pro - by SKG - 05-15-2020, 11:41 AM
RE: OpenBSD 6.7 on Pinebook Pro - by Lumat - 05-15-2020, 11:55 AM
RE: OpenBSD 6.7 on Pinebook Pro - by User 15267 - 05-16-2020, 06:05 AM
RE: OpenBSD 6.7 on Pinebook Pro - by SKG - 05-16-2020, 07:38 AM
RE: OpenBSD 6.7 on Pinebook Pro - by User 15267 - 05-16-2020, 09:17 AM
RE: OpenBSD 6.7 on Pinebook Pro - by Lumat - 05-16-2020, 11:58 AM
RE: OpenBSD 6.7 on Pinebook Pro - by SKG - 05-18-2020, 12:25 PM
RE: OpenBSD 6.7 on Pinebook Pro - by Lumat - 05-23-2020, 07:26 AM
RE: OpenBSD 6.7 on Pinebook Pro - by SKG - 05-23-2020, 07:35 AM
RE: OpenBSD 6.7 on Pinebook Pro - by Lumat - 05-23-2020, 01:16 PM
RE: OpenBSD 6.7 on Pinebook Pro - by SKG - 05-23-2020, 08:34 PM
RE: OpenBSD 6.7 on Pinebook Pro - by Lumat - 05-24-2020, 05:54 AM
RE: OpenBSD 6.7 on Pinebook Pro - by signaryk - 05-24-2020, 01:45 PM
RE: OpenBSD 6.7 on Pinebook Pro - by Lumat - 05-25-2020, 04:21 AM
RE: OpenBSD 6.7 on Pinebook Pro - by SKG - 05-25-2020, 04:46 AM
RE: OpenBSD 6.7 on Pinebook Pro - by tdc - 07-04-2020, 12:49 AM
RE: OpenBSD 6.7 on Pinebook Pro - by bigtreeman - 05-07-2021, 04:03 PM
RE: OpenBSD 6.7 on Pinebook Pro - by xmixahlx - 05-18-2020, 01:23 PM
RE: OpenBSD 6.7 on Pinebook Pro - by SKG - 05-18-2020, 08:22 PM
OpenBSD 6.7 on Pinebook Pro - by e-minguez - 05-19-2020, 08:38 AM
RE: OpenBSD 6.7 on Pinebook Pro - by SKG - 05-19-2020, 08:28 PM
RE: OpenBSD 6.7 on Pinebook Pro - by BronzeBeard - 05-23-2020, 12:13 PM
OpenBSD 6.7 on Pinebook Pro - by e-minguez - 06-05-2020, 10:21 PM
RE: OpenBSD 6.7 on Pinebook Pro - by SKG - 06-05-2020, 10:33 PM
RE: OpenBSD 6.7 on Pinebook Pro - by Tiny Pudding - 06-09-2020, 11:24 AM
RE: OpenBSD 6.7 on Pinebook Pro - by wdt - 06-06-2020, 02:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to install OpenBSD on the PBP? BenniTec 2 3,741 10-29-2022, 02:41 PM
Last Post: evantaylor
  NetBSD on the Pinebook Pro in August 2022 - or not? KC9UDX 6 3,630 08-24-2022, 01:49 AM
Last Post: KC9UDX
  OpenBSD 6.9 install StickyPine 18 19,946 02-02-2022, 04:34 PM
Last Post: mfashby
  NetBSD and pinebook keyboard/trackpad firmware updater mrgtwentythree 5 9,824 05-16-2021, 07:37 PM
Last Post: mrgtwentythree
  OpenBSD on the pinebook pro e-minguez 5 11,068 04-27-2021, 04:06 AM
Last Post: dreamer_
  PINEBOOK Pro USB-C Docking Deck on FreeBSD S199pWa1k9r 2 4,454 03-04-2021, 01:53 PM
Last Post: Arwen
Question Issues Installing NetBSD on a PineBook Pro ReleaseTheGeese 14 14,857 01-31-2021, 11:20 AM
Last Post: KC9UDX
Thumbs Up My NetBSD on Pinebook Pro journey KC9UDX 11 18,574 12-06-2020, 08:26 PM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 1 Guest(s)