On Sun, Mar 22, 2020 at 08:07:05PM +0100, Otto Moerbeek wrote:

> On Sun, Mar 22, 2020 at 07:30:49PM +0100, Marcus MERIGHI wrote:
> 
> > From: Mark Kettenis <mark.kette...@xs4all.nl>
> > > > U-Boot 2017.09-04112-gb8e0774-dirty (Feb 07 2020 - 12:45:13 -0500)
> > > Unfortunately that particular version of U-Boot has an annoying bug
> > > that makes it impossible for the OpenBSD bootloader to detect the
> > > device you booted from.
> > 
> > From: Otto Moerbeek <o...@drijf.net>
> > > Here's shell script that can help, I forgat if it came from patrick@
> > > or somebody else. I'll aslo attach a tarball with the neccesary extra
> > > files. That's the .pbp file used by the script and two other files
> > > that need to be dropped into /etc/firmware to get the wifi going.
> > 
> > Thank you, Mark and Otto!
> > 
> > Your hints got me a lot further; OpenBSD arm64 is now installed 
> > on a MicroSD card which the PineBook Pro can boot from.
> > 
> > TL;DR: No video, No USB, no suspend. further pointers, anyone? thanks!
> > 
> > Remember, as kettenis@ noted, my u-boot on the eMMC was a known bad one:
> >   U-Boot 2017.09-04112-gb8e0774-dirty (Feb 07 2020 - 12:45:13 -0500)
> > 
> > With the help of the script forwarded by otto@ I created a bootable 
> > USB3-Stick.
> > 
> > At the boot> prompt I did
> >   stty com0 1500000
> >   set tty com0
> >   boot sd4a:/bsd.rd
> > 
> > Install went as expected, without network. I partitioned the MicroSD
> > card (remember I booted from USB3). When asked for the file set location
> > I chose "unmounted (d)isk". Then plugged another USB-Stick in the second
> > USB-port. This one contained the file sets and the bwfm firmware. 
> > It did not show up (yes, "(cd /dev && ./MAKEDEV sd2)" done). 
> > 
> > So I went cheeky and just swapped the bootable USB-stick with the other
> > one, containing the file sets.  It worked. 
> > 
> > After install I put the bwfm-firmware into /etc/firmware.
> > 
> > Rebooted, same as above at the boot> prompt. Boot went normal, appart
> > from a ~100 sec pause after "bwfm0: address c0:84:7d:2e:a8:36" and
> > before the login: prompt.
> > 
> > ifconfig showed bwfm0, after setting up the wlan link it entered a mode
> > that would not talk to my access point ("media: IEEE802.11 autoselect
> > (VHT-MCS0 mode 11ac"). ifconfig mode 11g solved this. 
> > my pinebookpro got network!
> > 
> > Next reboot I tried, at the boot> prompt
> >     boot> set tty fb0
> 
> fb as console is not yet supported. Only serial console, which works
> wit a special cable and after flipping an internal switch. But X
> should work. At lest it does for me and others.

You also need to copy the .ptb file to you boot ('i') partition.

That wil make a big difference

        -Ott

Reply via email to