History log of /openbsd/sys/arch/sparc64/stand/ofwboot/softraid_sparc64.c (Results 1 – 8 of 8)
Revision Date Author Comments
# 5655a256 03-Jun-2023 krw <krw@openbsd.org>

Remove declarations of unused local variables, an unused function
(get_long) and add missing {} in devsw[1] initialization.

Most from 2011 NetBSD commit by tsutui.

No functional change.

Build test

Remove declarations of unused local variables, an unused function
(get_long) and add missing {} in devsw[1] initialization.

Most from 2011 NetBSD commit by tsutui.

No functional change.

Build tested and ok kn@

show more ...


# 541bccc9 01-Jun-2023 krw <krw@openbsd.org>

Expunge a bunch of eye searing trailing whitespace.


# 172b98bf 02-Sep-2022 kn <kn@openbsd.org>

Add softraid(4) RAID 1C boot support

Equivalent of sys/arch/arm64/stand/efiboot/softraid_arm64.c r1.4:
(commitid: Ka484R3swI5xSRWO) "Add softraid(4) RAID 1C boot support".

Tell the boot loader to d

Add softraid(4) RAID 1C boot support

Equivalent of sys/arch/arm64/stand/efiboot/softraid_arm64.c r1.4:
(commitid: Ka484R3swI5xSRWO) "Add softraid(4) RAID 1C boot support".

Tell the boot loader to decrypt 1C like C volumes and check the number of
disks in 1C like in 1C volumes -- no new code rquired.

Tested on T4-2 guest domains
"Looks reasonable" kettenis
OK stsp

NB: While kernel and boot loader support root on softraid on sparc64,
installboot(8) still needs a pending fix for installations on multi-chunk
softraid volumes. Until then, the usual installation process will fail on
1C volumes and requires manual fixup.

show more ...


# 3e58d19e 09-Dec-2020 krw <krw@openbsd.org>

Use daddr_t and not daddr32_t in boot media.

At a minimum, amd64/i386 should now boot from 4TB GPT formatted disks.

More daddr32_t terminations with extreme prejudice to follow.

Tested by various,

Use daddr_t and not daddr32_t in boot media.

At a minimum, amd64/i386 should now boot from 4TB GPT formatted disks.

More daddr32_t terminations with extreme prejudice to follow.

Tested by various, in snaps for a few days.

ok deraadt@

show more ...


# 6c45f45c 31-Dec-2018 claudio <claudio@openbsd.org>

Cleanup bootloader code. Compile with -ffreestanding and add ffs.S as a
build dependency which is required because of that. Add various include
files and some prototypes and change some code so that

Cleanup bootloader code. Compile with -ffreestanding and add ffs.S as a
build dependency which is required because of that. Add various include
files and some prototypes and change some code so that clang does not issue
warnings anymore.
OK kettenis@ deraadt@

show more ...


# a45f661f 29-Mar-2018 stsp <stsp@openbsd.org>

Make sparc64 ofwboot open the softraid boot chunk early on and keep the
handle open until a kernel has been loaded from the softraid volume.

This works around an apparent memory leak in the firmware

Make sparc64 ofwboot open the softraid boot chunk early on and keep the
handle open until a kernel has been loaded from the softraid volume.

This works around an apparent memory leak in the firmware on T5220
which fails to load an ldom guest kernel from softraid with a "Fast
Data Access MMU Miss" trap after many OF_open()/OF_close() calls.
This problem goes away when we call OF_open()/OF_close() just once
instead of for every block we want to read.

Crank ofwboot version to 1.10.

Make sure to keep working boot media around before upgrading!
Softraid boot of an T5220 ldom guest (CRYPTO), and a v240 (RAID 1),
have been tested and are known to work. Please report issues to bugs@.

ok kettenis@

show more ...


# 822493b2 11-Sep-2016 jsing <jsing@openbsd.org>

Switch sparc64 boot code to libsa MI softraid.


# 65f4a3c7 11-Sep-2016 jsing <jsing@openbsd.org>

Rename softraid boot files, which are currently in an MD location. This
will allow us to bring in a MI softraid.{c,h} in lib/libsa.