History log of /openbsd-src/sys/arch/octeon/stand/rdboot/disk.c (Results 1 – 3 of 3)
Revision Date Author Comments
# 8a9ff49d 20-Oct-2023 kettenis <kettenis@openbsd.org>

Avoid forcible mounting a dirty filessystem. Mount such filesystems
read-only instead. This means that writing to the filesystem will fail.
As a consequence chmod'ing of files in the bootloader wil

Avoid forcible mounting a dirty filessystem. Mount such filesystems
read-only instead. This means that writing to the filesystem will fail.
As a consequence chmod'ing of files in the bootloader will fail, but that
will fix itself on the next clean boot.

Same change as I committed to powerpc64 a few days ago.

ok kn@, deraadt@

show more ...


# eb518625 26-May-2020 visa <visa@openbsd.org>

Check outcome of loadrandom() on octeon

If loadrandom() succeeds, set RB_GOODRANDOM in boothowto.

To enable fchmod(), disk_open() has to mount the filesystem in writable
mode. This is tricky becaus

Check outcome of loadrandom() on octeon

If loadrandom() succeeds, set RB_GOODRANDOM in boothowto.

To enable fchmod(), disk_open() has to mount the filesystem in writable
mode. This is tricky because the filesystem might be unclean. Hence the
code has to use MNT_FORCE.

Input and OK deraadt@

show more ...


# 3a62b615 17-Jul-2019 visa <visa@openbsd.org>

Add a bootloader for octeon.

The firmware on OCTEON machines usually does not provide an interface
for accessing devices, which has made it tricky to implement an OpenBSD
bootloader. To solve this d

Add a bootloader for octeon.

The firmware on OCTEON machines usually does not provide an interface
for accessing devices, which has made it tricky to implement an OpenBSD
bootloader. To solve this device access problem, this new loader has
been built on top of a small kernel. The kernel provides all the
necessary devices drivers, while most of the usual bootloader logic
is in a userspace program in a ramdisk.

The loader program is accompanied by a special device, octboot(4).
The main purpose of this device is to implement a mechanism for
loading and launching kernels. The mechanism has been inspired by Linux'
kexec(2) system call.

The bootloader will be enabled later when it is ready for general use.

Discussed with deraadt@

show more ...