Skip to content

Instantly share code, notes, and snippets.

@kljensen
Last active November 26, 2018 00:35
Show Gist options
  • Save kljensen/1e377953289598cebf9be4121523bddd to your computer and use it in GitHub Desktop.
Save kljensen/1e377953289598cebf9be4121523bddd to your computer and use it in GitHub Desktop.
The steps I followed to install OpenBSD on a PCEngines apu2 (apu2d4)

Building the device

I followed this video

Connecting to the machine for the first time

Installed the driver serial adapter for the CP2104 USB to UART Bridge Controller device. This is the cord that I purchased from PCEngines. The device on my system was /dev/tty.SLAB_USBtoUART and I connected to the apu2 serial console using

screen /dev/tty.SLAB_USBtoUART 115200 8N1

You have a limited amount of time to hit F10 in order to choose the boot device. On my macbook, F10 is sent by hitting the "fn" key and "F10" key, otherwise F10 mutes audio.

Once you boot from the usb stick, you have a limited about of time to type the following

stty com0 115200
set tty com0

See the instructions here, which I found to be accurate.

I coudln't install the OpenBSD file sets from the USB. I'm not sure why. I kept getting the error

The directory '6.4/amd64' does not exist.

Further, when trying to connect to via ftp, I got

The directory '6.4/amd64' does not exist.

I went with cdn.openbsd.org, but I had to do it over http and not https ;(.

The disk partitioning did not take up the whole disk.

I left com0 as the default console.

I was able to log in after install and run syspatch.

Updating the bios

I had to use

flashrom  -w /media/SYSLINUX/apu2_v4.8.0.5.rom -p internal:boardmism
atch=force

where the "force" is unsual. There is some moaning about this online.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment