History log of /openbsd/sys/arch/arm64/stand/efiboot/conf.c (Results 1 – 25 of 49)
Revision Date Author Comments
# 3fe0bd1a 23-Jun-2024 kettenis <kettenis@openbsd.org>

Add support for ACPI firmware that provides the base address of individual
GIC redistributors in the per-CPU GIC MADT table entries.

ok patrick@


# 296cb5df 14-Jun-2024 kettenis <kettenis@openbsd.org>

When loading a device tree using the "mach dtb" command, give firmware
a chance to make modifications (such as applying memory reservations)
by using the EFI devicetree fixup protocol.

ok patrick@,

When loading a device tree using the "mach dtb" command, give firmware
a chance to make modifications (such as applying memory reservations)
by using the EFI devicetree fixup protocol.

ok patrick@, jca@

show more ...


# 10916631 26-Oct-2023 jsg <jsg@openbsd.org>

add cd9660


# 7db964dc 12-May-2023 kettenis <kettenis@openbsd.org>

Fall back on loading the kernel from the EFI system partition if we're
booting from a disk without a BSD disklabel.

ok kn@, caspar@


# 6a273a44 18-Apr-2023 dlg <dlg@openbsd.org>

add support for loading files from the EFI System Partition.

this means you can put a bsd.rd next to BOOTAA64.EFI and go "boot
esp0a:bsd.rd" (assuming bsd.rd is in the root of the boot partition).

add support for loading files from the EFI System Partition.

this means you can put a bsd.rd next to BOOTAA64.EFI and go "boot
esp0a:bsd.rd" (assuming bsd.rd is in the root of the boot partition).

cool! krw@
ok kettenis@ patrick@

show more ...


# 2bc3fe80 15-Feb-2023 kettenis <kettenis@openbsd.org>

The GMAC on the Rockchip RK356x and RK3588 SoCs can only do 32-bit DMA
so set the appropriate DMA constraint.

ok patrick@


# a36d06b9 08-Dec-2022 patrick <patrick@openbsd.org>

Forcibly set console output to the framebuffer on the Lenovo x13s.
We should actually do something like checking that both stdout-path
and serial0 don't exist to realize we have to switch, but this h

Forcibly set console output to the framebuffer on the Lenovo x13s.
We should actually do something like checking that both stdout-path
and serial0 don't exist to realize we have to switch, but this hack
gets us going for now.

ok kettenis@

show more ...


# 4befd8f0 07-Dec-2022 patrick <patrick@openbsd.org>

The ACPI tables on the Lenovo x13s are incomplete and unusable. For
that reason, identify that we're running on that machine by looking at
the SMBIOS tables and load alternate device tree binaries f

The ACPI tables on the Lenovo x13s are incomplete and unusable. For
that reason, identify that we're running on that machine by looking at
the SMBIOS tables and load alternate device tree binaries from disk.

ok kettenis@

show more ...


# fb406bc0 05-Nov-2022 patrick <patrick@openbsd.org>

Bump version number so that it's easier to see if the running version has
the bugfixes in.

ok kettenis@


# 08fede8d 15-Aug-2022 kn <kn@openbsd.org>

Add softraid(4) RAID 1C boot support

This is the arm64 adaptation of stsp's (commitid: p55cmsVoEH0fRg77)
"add support for booting from RAID 1C softraid(4) volumes on amd64".

Tell the boot loader to

Add softraid(4) RAID 1C boot support

This is the arm64 adaptation of stsp's (commitid: p55cmsVoEH0fRg77)
"add support for booting from RAID 1C softraid(4) volumes on amd64".

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 SolidRun CEX7
OK stsp

NB: While kernel and boot loader support root on softraid on arm64,
installboot(8) does not, i.e. default installations still require manual
disk preparation for now.

show more ...


# fd00aceb 30-Jul-2022 patrick <patrick@openbsd.org>

Now that we have proper .text and .data sections we need to move dt_blob to
.data. dt_blob is a basic device tree that is populated from ACPI tables
when booting with ACPI instead of DT. Since we'r

Now that we have proper .text and .data sections we need to move dt_blob to
.data. dt_blob is a basic device tree that is populated from ACPI tables
when booting with ACPI instead of DT. Since we're modifying its content we
need to put it somewhere writeable.

Found and proposed by mlarkin@
ok kettenis@ mlarkin@

show more ...


# 09ce6c06 29-Jul-2022 kettenis <kettenis@openbsd.org>

Give to PE/COFF file proper .text and .data sections, and fill in the
characteristics field in the COFF header. Makes our bootloader work in the
x13s. With help from mlarkin@.

ok mlarkin@


# c7045f51 06-Apr-2022 kettenis <kettenis@openbsd.org>

Support switching from glass console to serial console on systems that
default to glass console.

ok miod@, patrick@


# 37525d30 14-Mar-2022 kettenis <kettenis@openbsd.org>

The current FDT code we use in the bootloader is buggy and will write into
memory beyond the actual FDT data structure when adding information to the
device tree. This is especially problematic on A

The current FDT code we use in the bootloader is buggy and will write into
memory beyond the actual FDT data structure when adding information to the
device tree. This is especially problematic on ACPI systems where we add
lots of information to the device tree based on ACPI tables. Fix the FDT
code to never write beyond the end of the data structure and panic if we
run out of free space. Raise the amount of free space frm 4K to 16K for
the proto-FDT we use on ACPI systems. Bump the version number of the
arm64 bootloader.

ok visa@, patrick@

show more ...


# f3468426 14-Dec-2021 kettenis <kettenis@openbsd.org>

Use "rng-seed" and "kaslr-seed" properties from the device tree to mix in
some extra entropy.

ok deraadt@


# cfb73cfe 09-Jul-2021 patrick <patrick@openbsd.org>

Parse /soc/dma-ranges to populate the openbsd,dma-constraint property.
On the MNT Reform, which uses a i.MX8MQ with 4 GB of memory, this makes
sure that we don't allocate DMA buffers above the 32-bit

Parse /soc/dma-ranges to populate the openbsd,dma-constraint property.
On the MNT Reform, which uses a i.MX8MQ with 4 GB of memory, this makes
sure that we don't allocate DMA buffers above the 32-bit boundary. As
it turns out the i.MX8MQ's I/O devices are limited to 32-bit addresses.
The i.MX8MP seems to be better in that regard, though at least the USB
controller is still limited. That's a bit harder to fix in a dynamic
fashion, but we'll take care of that as soon as someone shows up with
an i.MX8MP with that much memory.

ok kettenis@

show more ...


# d85b3a35 02-Jun-2021 kettenis <kettenis@openbsd.org>

Add support for booting from disks with 4k sectors. Inspired by the
code we already have for amd64, but changed to use EFI memory allocation
interfaces as some implementations seem to insist on page

Add support for booting from disks with 4k sectors. Inspired by the
code we already have for amd64, but changed to use EFI memory allocation
interfaces as some implementations seem to insist on page-aligned memory.

ok krw@

show more ...


# 5f7ab753 09-Feb-2021 kettenis <kettenis@openbsd.org>

Make sure that switching the console from serial to framebuffer works
for framebuffer nodes under / and /chosen.

ok patrick@


# 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 ...


# ed5a52b6 26-May-2020 deraadt <deraadt@openbsd.org>

increment version numbers, due to recent RB_GOODSEED and fchmod +T changes


# 2011f06c 18-May-2020 patrick <patrick@openbsd.org>

Our check to see if the EFI services support Mtftp() doesn't work
on U-Boot anymore, since we checked if the method is provided, but
now U-Boot provides a simple stub that only returns EFI_UNSUPPORTE

Our check to see if the EFI services support Mtftp() doesn't work
on U-Boot anymore, since we checked if the method is provided, but
now U-Boot provides a simple stub that only returns EFI_UNSUPPORTED.
A proper UEFI would throw EFI_INVALID_PARAMETER if we pass NULL
as first parameter, but U-Boot doesn't. This way we can see if
the method is actually provided and not just a stub.

ok kettenis@

show more ...


# 49e6e947 11-May-2020 kettenis <kettenis@openbsd.org>

Should have bumped this to 1.0 a long time ago.


# a88d1494 21-Apr-2020 kettenis <kettenis@openbsd.org>

Add an openbsd,dma-constraint property to the /chosen node and set it
to an appropriate value for the Raspberry Pi 4.

ok patrick@


# d64e7de5 22-Mar-2020 kettenis <kettenis@openbsd.org>

Make efi_device_path_depth() return the full device path depth if we don't
find a media device path node. Fixes booting OpenBSD on some older U-Boot
versions that are in wide circulation such as 201

Make efi_device_path_depth() return the full device path depth if we don't
find a media device path node. Fixes booting OpenBSD on some older U-Boot
versions that are in wide circulation such as 2017.09 and 2017.11.

ok patrick@

show more ...


# 4a30b9e9 29-Feb-2020 otto <otto@openbsd.org>

Allow arm64 efiboot(8) to read from an ffs2 filesystem. ok kettenis@


12