summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2019-07-28 16:09:07 +0000
committervisa <visa@openbsd.org>2019-07-28 16:09:07 +0000
commit3381f04295dc34d3432241c02f0eb8ca92904dd8 (patch)
tree31eb99303e836b7f7d7e071db9d254e0272ed4a7
parentsync (diff)
downloadwireguard-openbsd-3381f04295dc34d3432241c02f0eb8ca92904dd8.tar.xz
wireguard-openbsd-3381f04295dc34d3432241c02f0eb8ca92904dd8.zip
Update instructions to use the bootloader.
-rw-r--r--distrib/notes/octeon/install15
1 files changed, 7 insertions, 8 deletions
diff --git a/distrib/notes/octeon/install b/distrib/notes/octeon/install
index 7376c7051d7..81d34093574 100644
--- a/distrib/notes/octeon/install
+++ b/distrib/notes/octeon/install
@@ -1,4 +1,4 @@
-dnl $OpenBSD: install,v 1.17 2018/12/21 14:33:43 visa Exp $
+dnl $OpenBSD: install,v 1.18 2019/07/28 16:09:07 visa Exp $
OpenBSDInstallPrelude
OpenBSDInstallPart2
@@ -46,8 +46,7 @@ OpenBSDCommonInstall
OpenBSDInstallWrapup
-OpenBSD/MACHINE currently lacks a real bootloader. It is possible however to
-boot into OpenBSD upon powering on the machine.
+U-Boot has to be configured to load the OpenBSD/octeon bootloader.
From the U-Boot commandline, make a copy of the current ${bootcmd} so you can
restore it later if needed:
@@ -55,11 +54,11 @@ restore it later if needed:
# setenv old_bootcmd "${bootcmd}"
${bootcmd} is run by U-Boot when ${autoload} is enabled. Now create a new
-${bootcmd} which will load an ELF file called 'bsd' from the first active FAT
+${bootcmd} which will load an ELF file called 'boot' from the first active FAT
partition on the first CF card. The FAT partition has been created by the
installer.
- # setenv bootcmd 'fatload ide 0:1 ${loadaddr} bsd;bootoctlinux rootdev=/dev/octcf0'
+ # setenv bootcmd 'fatload ide 0:1 ${loadaddr} boot;bootoctlinux rootdev=octcf0'
# setenv bootdelay 5
# saveenv
Saving Environment to Flash...
@@ -74,7 +73,7 @@ installer.
If you have installed onto SD/MMC, SATA or USB, use the following
bootcmd instead:
- fatload <bootdev> 0 ${loadaddr} bsd; bootoctlinux rootdev=sd0
+ fatload <bootdev> 0 ${loadaddr} boot; bootoctlinux rootdev=sd0
Replace ``<bootdev>'' with ``mmc'', ``sata'' or ``usb'' as appropriate.
@@ -84,12 +83,12 @@ disklabel(8) UID (DUID) as the value of the rootdev parameter.
On multi-core systems, the numcores parameter enables the secondary CPUs.
Use the total number of cores on your system as the value of the parameter.
- fatload usb 0 ${loadaddr} bsd; bootoctlinux rootdev=sd0 numcores=2
+ fatload usb 0 ${loadaddr} boot; bootoctlinux rootdev=sd0 numcores=2
On the EdgeRouter Lite, bootcmd may also reset the USB controller for
more reliable USB device detection:
- usb reset; fatload usb 0 ${loadaddr} bsd; bootoctlinux rootdev=sd0 numcores=2
+ usb reset; fatload usb 0 ${loadaddr} boot; bootoctlinux rootdev=sd0 numcores=2
OpenBSDCongratulations