blob: dd3c56fda59b2dd3a5234527a9855952da2410b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
installed raspberry pi os
sudo apt update && sudo apt full-upgrade
sudo rpi-eeprom-update -a
sudo reboot
setenv maxcpus 1
saveenv
boot
https://www.openbsd.org/arm64.html
Current status
The current target platforms are Allwinner A64/H5/H6/H616, Amlogic G12B/SM1, AMD Opteron A1100, Ampere eMAG/Altra, Apple M1/M2, Marvell ARMADA 3K/7K/8K, Rockchip RK3328/RK3399/RK3528/RK356x/RK3588, Broadcom BCM2837/BCM2711/BCM2712 (Raspberry Pi 3/4/5), Qualcomm Snapdragon 7x/8x and Socionext SCA11.
The install media includes firmware required to boot the Raspberry Pi 3/4/5.
The Raspberry Pi boards require closed but redistributable files on the system disk to load into the VC4 GPU which starts the ARM cores. By default the boot ROM on Raspberry Pi 3 and older versions on Raspberry Pi 4 will only try to load these files off an SD card. To load the firmware off the SD card and have the root disk on USB after installing OpenBSD, reboot and interrupt U-Boot before the timeout expires and instruct U-Boot to prefer USB over the SD card:
Hit any key to stop autoboot: 0
U-Boot> setenv boot_targets usb0 mmc0 pxe dhcp
U-Boot> saveenv
U-Boot> boot
Some Raspberry Pi models that do not work with the included U-Boot (e.g. Raspberry Pi 400) can instead be booted using EDK2-based UEFI firmware. The simplest way to use this is to install the firmware on an SD card and install the OS on USB.
Apple systems need to have a UEFI environment installed before OpenBSD can be booted. This can be done by running the Asahi Linux installer. Afterwards you can boot the installer from a USB device connected to one of the ports on the machine.
Ampere eMAG, Ampere Altra and AMD Opteron systems come with a UEFI firmware in ROM and can boot off SATA or USB devices without board specific boot files on the system disk.
Most other machines load their firmware from the boot media and require additional steps to create bootable install media. See the OpenBSD/arm64 snapshot installation instructions for further details.
Then I did
boot> set tty fb0
boot> echo "set tty fb0" > /etc/boot.conf
boot> echo "boot" >> /etc/boot.conf
boot> boot
in the installer, after goign thru the process, drop into a shell as root user:
mount -t msdos /dev/sd0i /mnt
echo "set tty fb0" > /mnt/boot.conf
umount /mnt
and echo "set tty fb0" > /etc/boot.conf
reboot
MUST TAP THE KEYBOARD WHEN ITS BOOTING OR ELSE IT JUST HANGS --> fixed by adding boot to end of /etc/boot.conf
|