[PATCH v2 0/2] Add support for arm64 efi-based platform
Ge Song
songgebird at gmail.com
Mon Apr 9 12:22:00 AEST 2018
The patch provide support for platforms that adopt efi as their underlying
firmware. Since on x86/x64 platforms, efi is the standard firmware and has
well support from various devices. This extension seems unnecessary for
these platforms.
On arm64 servers, plenty of devices(especially for those bootable devices)
cannot be supported from efi firmware. In this situation, linux&petitboot
is the wonderful way to address the issue.
Since efi is the primary firmware on arm64 servers, most of the management
related works can be completed in that enviroment. Therefore some similar
functions implemented in petitboot have been removed.
---
Changes since V2:
* Clean code style and revise some parts according to Geoff's suggestion.
* Correct the mistake about copyright.
* Add a test case for manipulating efi varibles
Ge Song (2):
lib: Support to deal with petitboot's configuration on efi-based platforms
Platform: Add a platform definition which is suitable for arm64 Platform.
discover/Makefile.am | 3 +-
lib/Makefile.am | 2 +
test/lib/Makefile.am | 3 +-
lib/efi/efivar.h | 43 ++
discover/platform-arm64.c | 744 ++++++++++++++++++++
lib/efi/efivar.c | 179 +++++
test/lib/test-efivar.c | 68 ++
7 files changed, 1040 insertions(+), 2 deletions(-)
create mode 100644 lib/efi/efivar.h
create mode 100644 discover/platform-arm64.c
create mode 100644 lib/efi/efivar.c
create mode 100644 test/lib/test-efivar.c
--
2.11.0
More information about the Petitboot
mailing list