Hi:

  I would like to add some info for Edgerouter 6
(and presumably ER4, and maybe also ER12?) to install64.octeon.
The document is great but it won't get a new user booting on the new
4-core machines with MMC drives.

I tried to make it as brief as possible while pointing the user in the right
direction, so for example it mentions that you're going to need to drop
bsd.mp into the msdos kernel loader partition but doesn't explain how
to do that. Seemed to be the right level of detail for this document.

Here is a diff with my additions. Diff is from
/OpenBSD/6.4/INSTALL.octeon.

me@box> diff INSTALL.octeon INSTALL.octeon.er6
690a691,692
> For the EdgeRouter Lite:
>
702a705,710
> For the EdgeRouter 6, installing to the internal MMC drive:
>
>       # setenv bootcmd 'fatload mmc 0 ${loadaddr} bsd;bootoctlinux 
> coremask=0xf rootdev=/dev/sd0'
>       # setenv bootdelay 5
>       # saveenv
>
707c715
< On multi-core systems, the numcores parameter enables the secondary CPUs.
---
> On multi-core systems, the numcores parameter enables multiple cores.
708a717,719
> Note that this boot command does not actually put a multiprocessor kernel in
> place; you will also need to copy the bsd.mp kernel to the octeon MS-DOS
> partition (disklabel i by default) on your boot drive for multicore support.
709a721
> Example booting from USB on the Edgerouter Lite:
711a724,726
> Example booting from USB on the EdgeRouter 6:
>   fatload usb 0 ${loadaddr} bsd; bootoctlinux rootdev=sd0 numcores=4
>
716a732,736
> If you installed from a USB stick to the MMC on an EdgeRouter 4/6/8:
> The machine assigns sd0 to USB first if present, then to MMC if present.
> If you leave the USB install stick in, the machine will try to boot it.
> Removing the USB device will cause sd0 to be assigned to mmc0 next boot,
> allowing the machine to boot your newly-installed OpenBSD drive.

Reply via email to