Discussion:
[edk2] [PATCH 0/8] ArmPlatformPkg: Remove embedded Linux Loader from ARM BDS
Olivier Martin
2015-07-13 16:45:15 UTC
Permalink
ARM BDS contains an embedded Linux Loader. This support
was to allow booting legacy linux loader (Linux without
EFI Stub) on ARM platforms.

This patchset replace the embedded legacy Linux loader
by the use of the EFI Linux Loader located in
ArmPkg/Application/LinuxLoader when the firmware engineer
enables PcdBdsLinuxSupport in the ARM BDS.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <***@arm.com>
Reviewed-by: Ronald Cron <***@arm.com>
Cc: Laszlo Ersek <***@redhat.com>
Cc: Ard Biesheuvel <***@linaro.org>

Olivier Martin (7):
ArmPkg/BdsLib: Replaced BdsLoadApplication() by
LocateEfiApplicationInFv()
EmbeddedPkg/AndroidFastboot: Use Linux Loader instead of BdsLib
ArmPkg/BdsLib: Remove Linux loader from BdsLib
ArmPlatformPkg/Bds: Remove Linux specific boot path
ArmPlatformPkg/Bds: Added support for booting legacy kernel from BDS
ArmPlatformPkg: Use LinuxLoader.efi for the default boot entry
ArmVirtPkg/ArmVirtQemu.dsc: Remove Linux specific boot path

Ronald Cron (1):
ArmPlatformPkg: Add the LinuxLoader.efi EFI application

ArmPkg/ArmPkg.dec | 1 -
ArmPkg/Include/Library/BdsLib.h | 89 ++--
ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoader.c | 355 -------------
.../Library/BdsLib/AArch64/BdsLinuxLoaderHelper.S | 58 ---
ArmPkg/Library/BdsLib/Arm/BdsLinuxAtag.c | 173 -------
ArmPkg/Library/BdsLib/Arm/BdsLinuxLoader.c | 323 ------------
ArmPkg/Library/BdsLib/BdsAppLoader.c | 283 ++++++----
ArmPkg/Library/BdsLib/BdsHelper.c | 178 +------
ArmPkg/Library/BdsLib/BdsInternal.h | 13 -
ArmPkg/Library/BdsLib/BdsLib.inf | 38 --
ArmPkg/Library/BdsLib/BdsLinuxFdt.c | 572 ---------------------
ArmPkg/Library/BdsLib/BdsLinuxLoader.h | 156 ------
ArmPlatformPkg/ArmJunoPkg/ArmJuno.dsc | 6 +-
ArmPlatformPkg/ArmJunoPkg/ArmJuno.fdf | 1 +
ArmPlatformPkg/ArmPlatformPkg-2ndstage.dsc | 12 +
ArmPlatformPkg/ArmPlatformPkg-2ndstage.fdf | 4 +-
ArmPlatformPkg/ArmPlatformPkg.dec | 9 +-
ArmPlatformPkg/ArmPlatformPkg.dsc | 13 +
ArmPlatformPkg/ArmPlatformPkg.fdf | 4 +-
.../ArmRealViewEbPkg/ArmRealViewEb-RTSM-MPCore.fdf | 4 +-
.../ArmRealViewEb-RTSM-UniCore.fdf | 5 +-
.../ArmRealViewEbPkg/ArmRealViewEb.dsc.inc | 18 +-
.../ArmVExpressPkg/ArmVExpress-CTA15-A7.dsc | 7 +-
.../ArmVExpressPkg/ArmVExpress-CTA15-A7.fdf | 3 +
.../ArmVExpressPkg/ArmVExpress-CTA9x4.dsc | 8 +-
.../ArmVExpressPkg/ArmVExpress-CTA9x4.fdf | 3 +
.../ArmVExpressPkg/ArmVExpress-FVP-AArch64.dsc | 7 +-
.../ArmVExpressPkg/ArmVExpress-FVP-AArch64.fdf | 3 +
.../ArmVExpressPkg/ArmVExpress-RTSM-A15.dsc | 6 +-
.../ArmVExpressPkg/ArmVExpress-RTSM-A15.fdf | 3 +
.../ArmVExpressPkg/ArmVExpress-RTSM-A15_MPCore.dsc | 8 +-
.../ArmVExpressPkg/ArmVExpress-RTSM-A15_MPCore.fdf | 3 +
.../ArmVExpressPkg/ArmVExpress-RTSM-A9x4.dsc | 6 +-
.../ArmVExpressPkg/ArmVExpress-RTSM-A9x4.fdf | 3 +
.../ArmVExpress-RTSM-AEMv8Ax4-foundation.dsc | 1 -
.../ArmVExpress-RTSM-AEMv8Ax4-foundation.fdf | 3 +
.../ArmVExpressPkg/ArmVExpress-RTSM-AEMv8Ax4.dsc | 1 -
.../ArmVExpressPkg/ArmVExpress-RTSM-AEMv8Ax4.fdf | 3 +
ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc | 8 +-
ArmPlatformPkg/Bds/Bds.c | 36 +-
ArmPlatformPkg/Bds/Bds.inf | 18 +-
ArmPlatformPkg/Bds/BdsHelper.c | 9 -
ArmPlatformPkg/Bds/BdsInternal.h | 71 +--
ArmPlatformPkg/Bds/BootLinux.c | 124 +++++
ArmPlatformPkg/Bds/BootMenu.c | 385 +++++---------
ArmPlatformPkg/Bds/BootOption.c | 131 +----
ArmPlatformPkg/Bds/BootOptionSupport.c | 111 ----
ArmVirtPkg/ArmVirtQemu.dsc | 1 -
BeagleBoardPkg/BeagleBoardPkg.dsc | 21 +-
BeagleBoardPkg/BeagleBoardPkg.fdf | 3 +
.../AndroidFastboot/AndroidFastbootApp.inf | 3 +-
.../AndroidFastboot/Arm/BootAndroidBootImg.c | 48 +-
52 files changed, 702 insertions(+), 2650 deletions(-)
delete mode 100644 ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoader.c
delete mode 100644 ArmPkg/Library/BdsLib/AArch64/BdsLinuxLoaderHelper.S
delete mode 100644 ArmPkg/Library/BdsLib/Arm/BdsLinuxAtag.c
delete mode 100644 ArmPkg/Library/BdsLib/Arm/BdsLinuxLoader.c
delete mode 100644 ArmPkg/Library/BdsLib/BdsLinuxFdt.c
delete mode 100644 ArmPkg/Library/BdsLib/BdsLinuxLoader.h
create mode 100644 ArmPlatformPkg/Bds/BootLinux.c
--
2.1.1
Loading...