OpenBSD 6.9 install
#11
Had anyone tried OpenBSD 7.0 yet? Going to try it later today hopefully.
  Reply
#12
(05-17-2021, 02:30 AM)StickyPine Wrote: Hi,
fixed in the new release 7.0, but can be fixed for other rk3399 boards by changing the name of the firmware .txt file to suit your board.



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 ?

(06-19-2021, 03:05 PM)mfashby Wrote: You do need a serial console interface to usb adaptor, just get one
cu -l /dev/ttyUSB0 -s 1500000 (or -s 115200)
Also still having issues with the hdmi/fb and blank monitor, I see some text on screen as booting, but then blank ???
before you turn off the serial console make sure you can operate over ssh
I think there's an issue with fb0 device, /dev/fb0 doesn't exist, I tried to mknod /dev/fb0 c 29 0    but no luck, ownership ?

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
#13
(05-17-2021, 02:30 AM)Today is a good day.my rk3399 based sbc now boots OpenBSD 7.0 all the way to X11 throw away 6.9 and see how the new 7.0 works for you so far not perfect, but getting closer!StickyPine Wrote: 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
#14
I tried openbsd7.0 with the same result as before, hanging at the same point during installer boot.
  Reply
#15
You don't mention the rather large and complex config file,, 98 lines
For me,,,,,, brcmfmac43456-sdio.pine64,pinebook-pro.txt
Your name may be different
This is from early 2020, I avoided the update because performance was satisfactory
(and others had troubles after updating)
  Reply
#16
I figured out my problem. U-boot that comes with manjaro arm doesnt boot openbsd.

So:
- boot linux off an SD card and wipe the eMMC card with gparted.
- now the open BSD SD card boots because it uses u-boot off the SD card!

I'll write up at some point everything i did, once I've managed to get it installed and wifi working etc...
  Reply
#17
Short-ish write up of where I got to.

https://mfashby.net/posts/2021-10-30-openbsd/
  Reply
#18
(10-30-2021, 02:35 PM)mfashby Wrote: Short-ish write up of where I got to.

https://mfashby.net/posts/2021-10-30-openbsd/

Thanks for the neat write up! It's the most easy to follow guide I've found yet. I've hit a bit of a snag though and I haven't a clue how to proceed.

I've got it booting the OpenBSD install medium and I've got the serial connection working but I'm getting the following:
cannot open sd0a:/etc/random.seed: No such file or directory
booting sd0a:/bsd: read header
failed(0). will try /bsd
boot>
boot>
boot>
boot> ls
drwxr-xr-x 0,0  512    .
drwxr-xr-x 0,0  512    ..
---------- 0,0  0      7.0
---------- 0,0  0      bsd.rd
---------- 0,0  0      bsd

I'm not exactly an OpenBSD expert. Is there any easy way to fix this or should I just start over? Does this indicate that I did something wrong?

What I understand from the guides is that I should be booting into the installer if everything is going well. I wonder if there is any way to trigger it.
  Reply
#19
(12-30-2021, 02:42 PM)koroglu Wrote:
(10-30-2021, 02:35 PM)mfashby Wrote: Short-ish write up of where I got to.

https://mfashby.net/posts/2021-10-30-openbsd/

Thanks for the neat write up! It's the most easy to follow guide I've found yet. I've hit a bit of a snag though and I haven't a clue how to proceed.

I've got it booting the OpenBSD install medium and I've got the serial connection working but I'm getting the following:
cannot open sd0a:/etc/random.seed: No such file or directory
booting sd0a:/bsd: read header
failed(0). will try /bsd
boot>
boot>
boot>
boot> ls
drwxr-xr-x 0,0  512    .
drwxr-xr-x 0,0  512    ..
---------- 0,0  0      7.0
---------- 0,0  0      bsd.rd
---------- 0,0  0      bsd

I'm not exactly an OpenBSD expert. Is there any easy way to fix this or should I just start over? Does this indicate that I did something wrong?

What I understand from the guides is that I should be booting into the installer if everything is going well. I wonder if there is any way to trigger it.

thanks, I'm very new to OpenBSD myself, so there's a good chance I'm wrong about some stuff. 

It looks like perhaps an earlier step went wrong & there's a file missing? When I wrote these instructions, it booted into the installer without seeing the message you've got there.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to install OpenBSD on the PBP? BenniTec 2 4,619 10-29-2022, 02:41 PM
Last Post: evantaylor
Question OpenBSD 6.7 on Pinebook Pro SKG 27 53,884 05-07-2021, 04:03 PM
Last Post: bigtreeman
  OpenBSD on the pinebook pro e-minguez 5 12,112 04-27-2021, 04:06 AM
Last Post: dreamer_

Forum Jump:


Users browsing this thread: 1 Guest(s)