History log of /openbsd/sys/arch/armv7/stand/efiboot/efiboot.c (Results 1 – 25 of 40)
Revision Date Author Comments
# 864fc787 22-Dec-2022 kettenis <kettenis@openbsd.org>

Bring over various changes from the arm64 version of this code.

ok patrick@


# c33ef13f 22-Mar-2022 kettenis <kettenis@openbsd.org>

After copying the FDT into a new larger buffer, adjust the FDT size to
reflect the size of the new buffer like we do on arm64.

ok patrick@


# f17127a2 12-Dec-2021 jsg <jsg@openbsd.org>

remove unused variable to fix build with llvm 13
ok jca@ naddy@


# 58554311 26-Oct-2021 patrick <patrick@openbsd.org>

Allocate fresh memory to put our device tree into, to make sure we have least
one page of free space for us to extend into. Fixes booting on VMware Fusion.

ok kettenis@


# c25b1d5c 26-Oct-2021 patrick <patrick@openbsd.org>

Remove more occurences of O_RDONLY in our bootloaders.

"just do it" deraadt@


# 3742f617 06-Oct-2021 visa <visa@openbsd.org>

Add openbsd,dma-constraint property to /chosen node on armv7

On the Zynq-7000, the DMA constraint has to be adjusted because many
bus masters are unable to access the lowest part of RAM.

OK patrick

Add openbsd,dma-constraint property to /chosen node on armv7

On the Zynq-7000, the DMA constraint has to be adjusted because many
bus masters are unable to access the lowest part of RAM.

OK patrick@ kettenis@

show more ...


# fdf1c649 07-Jun-2021 krw <krw@openbsd.org>

Replace all uses of 'EFI_CALL(func, params)' with
the expansion 'func(params)'.

Allows upcoming removal of eficall.h.

Tested & ok patrick@


# 8a40bc3f 16-Mar-2021 kettenis <kettenis@openbsd.org>

Node without a "status" property should be considered enabled as well.

Same change made to arm64 a week ago.


# 046f0172 16-Mar-2021 kettenis <kettenis@openbsd.org>

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

Same change made to arm64 last month.


# 4109c0ba 17-May-2020 kettenis <kettenis@openbsd.org>

Remove board ID support. 6.7 shipped with a kernel that doesn't need
it anymore.

jsg@


# e3df5f77 10-May-2020 kettenis <kettenis@openbsd.org>

Pass boothowto from the bootloader to the kernel by adding a
openbsd,boothowto property under /chosen.

ok patrick@


# 64848ad7 27-Apr-2020 kettenis <kettenis@openbsd.org>

Remove reset hack; these days the U-Boot we ship for the CuBox-i is
perfectly happy without it.

ok patrick@


# 1e668486 30-Mar-2020 kettenis <kettenis@openbsd.org>

Port "mach dtb" code from arm64.

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


# b2fa0389 13-Jan-2020 kettenis <kettenis@openbsd.org>

Add the capability to boot from another block device than the one that
efiboot was loaded from. Code taken from arm64 with softraid support
dropped for now.

ok jsg@


# 48816fc0 25-Oct-2019 kettenis <kettenis@openbsd.org>

Make it possible to switch to framebuffer "glass" console in case it
isn't the default already. Same change as we made on arm64 two months ago.

ok patrick@


# ad424d98 25-Apr-2019 naddy <naddy@openbsd.org>

Add a check to tftp_open() that we are actually opening a TFTP device.

When reading a file from a non-TFTP device, clear the bootmac variable
to prevent the kernel from going into netboot mode.

Thi

Add a check to tftp_open() that we are actually opening a TFTP device.

When reading a file from a non-TFTP device, clear the bootmac variable
to prevent the kernel from going into netboot mode.

This allows loading a kernel from a disk device after having booted
efiboot from PXE.

style tweak and ok kettenis@

show more ...


# 678d37b9 25-Aug-2018 yasuoka <yasuoka@openbsd.org>

Don't treat UnicodeChar == 0 as a keyboard input. The same fix was
done on amd64 already. Original diff from Frank Groeneveld

ok tb patrick


# 496ffee0 23-Aug-2018 patrick <patrick@openbsd.org>

Set the pointer to the EFI Runtime Services, otherwise we call into
nowhere.

ok kettenis@


# 78b33e4a 31-Mar-2018 patrick <patrick@openbsd.org>

Port arm64's network boot efforts to armv7 as well now that there is
support for using U-Boot's network layer. Since arm64 and armv7's
efiboot(8) have the same heritance the diffs from arm64 simply

Port arm64's network boot efforts to armv7 as well now that there is
support for using U-Boot's network layer. Since arm64 and armv7's
efiboot(8) have the same heritance the diffs from arm64 simply applied
to armv7.

show more ...


# f0da534c 02-Mar-2018 jsg <jsg@openbsd.org>

The UEFI specification states that a watchdog timer should be armed for
five minutes. Disable the timer to make it possible to use efiboot for
more than five minutes.

ok patrick@ kettenis@


# a29c9855 21-Aug-2017 kettenis <kettenis@openbsd.org>

Pass the address of the EFI system table and the EFI memory map through
properties in the /chosen node of the FDT. The properties match the ones
used by Linux (see Documentation/arm/uefi.txt in the

Pass the address of the EFI system table and the EFI memory map through
properties in the /chosen node of the FDT. The properties match the ones
used by Linux (see Documentation/arm/uefi.txt in the Linux kernel source
tree) but with the "linux," prefix replaced by "openbsd,".

While there, reduce the diffs to the arm64 efiboot.

ok tom@, jsg@

show more ...


# 111d6387 07-Aug-2017 kettenis <kettenis@openbsd.org>

Add "machine exit" and "machine poweroff" commands to the arm64 and armv7
bootloaders. Replace while (1) { } with for (;;) continue; per request
from tom@.

ok tom@, jsg@


# a6480b79 31-Jul-2017 kettenis <kettenis@openbsd.org>

Back out previous commit but handle the case where the device path consists
of a single MEDIA_DEVICE_PATH component specially to cater for U-Boot's
somewhat broken device path handling. Add comments

Back out previous commit but handle the case where the device path consists
of a single MEDIA_DEVICE_PATH component specially to cater for U-Boot's
somewhat broken device path handling. Add comments to prevent confusion
in the future. Bump the version number once again.

ok brynet@

show more ...


# 1a17ef05 29-Jul-2017 kettenis <kettenis@openbsd.org>

Fix off-by-one in return value of efi_device_path_depth().

ok patrick@


12