Page MenuHomeFreeBSD

Add support for network booting using loader.efi.
ClosedPublic

Authored by andrew on Nov 12 2015, 11:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 9:30 PM
Unknown Object (File)
Nov 6 2024, 12:08 PM
Unknown Object (File)
Sep 27 2024, 8:45 AM
Unknown Object (File)
Sep 27 2024, 1:44 AM
Unknown Object (File)
Sep 23 2024, 2:52 PM
Unknown Object (File)
Sep 23 2024, 2:52 PM
Unknown Object (File)
Sep 23 2024, 2:52 PM
Unknown Object (File)
Sep 23 2024, 2:52 PM
Subscribers

Details

Summary

For this we need to open the network device in exclusive mode, otherwise
the UEFI network stack may grab the packet before we get a chance to.

Test Plan

Only done on arm64, on a ThunderX and AMD SoC

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1111
Build 1115: arc lint + arc unit

Event Timeline

andrew retitled this revision from to Add support for network booting using loader.efi..
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)
andrew added a reviewer: emaste.
emaste edited edge metadata.
emaste added a subscriber: jhb.

LGTM with a nit.

sys/boot/efi/libefi/efinet.c
196

Prefer %lu with & ~EFI_ERROR_MASK although as @jhb said an EFI_ERR_NUM() macro would be useful. Or maybe even efi_err() like err(3).

This revision is now accepted and ready to land.Dec 22 2015, 4:00 AM
This revision was automatically updated to reflect the committed changes.