OpenBSD 6.9 install
#1
Hello,

I attempted to install OpenBSD 6.9 on the PineBookPro. I essentially followed those steps https://github.com/ndhwyd/roc-rk3399-pc_openbsd and changed rk3399-roc-pc.dtb with rk3399-pinebook-pro.dtb. 

When starting the machine, the booting process halts with the following message:

Code:
bwfm0: failed loadfirmware of file brcmfmac43456-sdio.rockchip,rk3399-evb.bin

(I have the same issue when using rk3399-roc-pc.dtb)

Has anyone experienced something similar or would know how to solve this ?
  Reply
#2
I'm also trying this. I'm starting from manjaro linux. I'm struggling:

Starting with the reasonably simple (but not obvious) instructions https://ftp.openbsd.org/pub/OpenBSD/6.9/...TALL.arm64
- Download install69.img from that same folder https://ftp.openbsd.org/pub/OpenBSD/6.9/...tall69.img
- Write it to an SD card with dd as per instructions
- find the u-boot package https://ftp.openbsd.org/pub/OpenBSD/6.9/...1.01p1.tgz
- extract it, find the two files idbloader.img and u-boot.itb and use dd to write those to the SD card at the offsets in the instructions.
- reboot, leaving the SD card in so the pinebook tries to boot from it.

No joy, nothing appears. A few lights flash.

Reading a little more of the instructions, it seems like the installer runs over the serial interface. I don't have a headphone serial cable for the PBP, so that's a non starter. Further on in the instructions, it seems that editing /etc/boot.conf will let me output to the video device rather than serial, so  next task is to try that on my installer SD card.

I try to open up the SD card to edit that file, and it fails to open. More reading, I find the file browser seems to be mounting it wrong, I need to have a linux kernel with UFS write support enabled (otherwise the SD card appears read-only) and also specify some additional mount options. Having done that, I added the following to line /etc/boot.conf
```
set tty fb0
```
and the following to /etc/ttys
```
console none vt100 off
```
But still had nothing on the display trying to boot from the card afterwards. Will try adding the /etc/ files to the BOOT partition instead, but I'm just stabbing in the dark.

I might also just buy a headphone serial cable, see if that gets me any further Smile

If I'm successful, I'll post a full instruction here.
  Reply
#3
I received a USB serial adapter today for the pinebook, and tried again. In the meantime, u-boot seems to have updated so it now supports the screen, so I can see stuff happening on the pinebook screen too.

OpenBSD starts to boot, but then hangs on this line 'ochi0 at mainbus0'.

I'll post a full boot log when I can figure out how to get it Smile
  Reply
#4
I'm starting from Gentoo Linux and I wanted to try to follow this guide - https://xosc.org/pinebookpro.html. But I couldn't exactly locate any proper packages and it seems that I would need to build them myself. I haven't found any proper replacement for the dtb package. If anyone could direct me to some prebuilt binaries that would be very helpful.

I tried to build u-boot on my own like in - https://github.com/ndhwyd/roc-rk3399-pc_openbsd, but it's not exactly working as intended and the make script is spitting out some serious errors.

Anyone found a good way to prepare the microSD on Gentoo Linux or Arch Linux? I've been stumped on this step for a long time now.
  Reply
#5
I think all these install directions assume an x86 device running *bsd
Linux cannot partition bsd 'slices' as so /dev/rsd2c,, c partition
Also, I never have been able to mount a *bsd filesystem under linux, it is supposed to be possible....
I don't know why a complete image is not supplied.....
If there is something on emmc, that uboot may fail to boot bsd on SD,,
maybe (when you are sure you have a backup bootable SD) copy 1st 16M (emmc), mbr (emmc), and then
blank 1st 16M, restore mbr ( so there is no uboot on emmc), but only if necessary
  Reply
#6
You could always run NetBSD on the PBP to prepare partitions, if you can't in linux. (I too have failed to ever read BSD mounts in linux, but frankly didn't try real hard).
:wq



[ SRA accepts you ]
  Reply
#7
(08-31-2021, 06:01 PM)KC9UDX Wrote: You could always run NetBSD on the PBP to prepare partitions, if you can't in linux.  (I too have failed to ever read BSD mounts in linux, but frankly didn't try real hard).

Yeah, that seems somewhat viable at this point, since nothing else seems to work. I found this guide https://bentsukun.ch/posts/pinebook-pro-netbsd/ but the link there is dead.

Right now, I'm considering just making an OpenBSD virtual machine and passing through my microSD. I'll post a guide if it actually works somehow.
  Reply
#8
No need to build anything. Download the -current *.img and u-boot + dtb from snapshots and write to SD card with dd as described in the INSTALL.arm64. Keep in mind you need the serial cable for OpenBSD installation as the display doesn’t work on the ram disk kernel yet.
  Reply
#9
(09-03-2021, 01:38 AM)tomekb Wrote: No need to build anything. Download the -current *.img and u-boot + dtb from snapshots and write to SD card with dd as described in the INSTALL.arm64. Keep in mind you need the serial cable for OpenBSD installation as the display doesn’t work on the ram disk kernel yet.

Any idea where to find an up to date version of the above mentioned u-boot + dtb? This is exactly what I'm having trouble with. Links would help.
  Reply
#10
https://ftp.openbsd.org/pub/OpenBSD/snap...1.07p0.tgz
https://ftp.openbsd.org/pub/OpenBSD/snap...b-5.13.tgz
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question OpenBSD 6.7 on Pinebook Pro SKG 27 35,659 05-07-2021, 04:03 PM
Last Post: bigtreeman
  OpenBSD on the pinebook pro e-minguez 5 8,099 04-27-2021, 04:06 AM
Last Post: dreamer_

Forum Jump:


Users browsing this thread: 1 Guest(s)