buildroot/boot
Erico Nunes 273a27804a boot/grub2: enable support for arm and aarch64 targets
This commit enables the arm-uboot, arm-efi and aarch64-efi grub2
platforms in Buildroot.

With the uboot platform, the grub2 image gets built as a u-boot image
and is loaded from u-boot through a regular "bootm". The only
requirement from the u-boot side in order to allow this is that u-boot
is built with CONFIG_API enabled. CONFIG_API seems to not be enabled
by default in most in-tree configurations, however, it seems to be
available for quite some time now. So it might be possible to use this
even on older u-boot versions. This is available only for arm
(32-bit).

With the efi platform, grub2 gets built as an EFI executable. This
allows EFI firmware to find and load it similarly as it can be done
for x86_64. Also, since u-boot v2016.05, u-boot is able to load and
boot an EFI executable, so the uboot efi platform can also be used
from u-boot in recent versions. This has been enabled (mostly) by
default for ARM u-boot. efi platform is available for both arm and
aarch64.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
[Thomas: move the BR2_USE_MMU dependency in
BR2_TARGET_GRUB2_ARCH_SUPPORTS]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-11-26 21:08:13 +01:00
..
afboot-stm32 afboot-stm32: use the Buildroot toolchain 2016-04-16 12:43:16 +02:00
arm-trusted-firmware arm-trusted-firmware: replace hard-coded arm64 with MKIMAGE_ARCH 2018-10-26 21:26:33 +02:00
at91bootstrap packages: use new $($PKG)_DL_DIR) variable 2018-04-02 15:53:53 +02:00
at91bootstrap3 boot/at91bootstrap3: add upstream URL in Config.in help text 2018-09-20 22:10:54 +02:00
at91dataflashboot boot/*/Config.in: fix attributes order 2018-04-01 08:06:37 +02:00
barebox barebox: bump to version 2018.10.0 2018-10-20 14:24:35 +02:00
binaries-marvell boot/binaries-marvell: bump version to marvell-armada-18.06 2018-10-11 09:28:44 +02:00
boot-wrapper-aarch64 boot-wrapper-aarch64: use SPDX identifier for 3 clause BSD 2018-08-08 16:24:34 +02:00
grub2 boot/grub2: enable support for arm and aarch64 targets 2018-11-26 21:08:13 +01:00
gummiboot boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+ 2017-04-01 15:18:10 +02:00
lpc32xxcdl boot/*/Config.in: fix attributes order 2018-04-01 08:06:37 +02:00
mv-ddr-marvell boot/mv-ddr-marvell: bump version to armada-18.09.2 2018-10-11 09:28:31 +02:00
mxs-bootlets boot/*/Config.in: fix attributes order 2018-04-01 08:06:37 +02:00
riscv-pk boot/riscv-pk: add bootloader for RISC-V architecture 2018-09-25 21:39:52 +02:00
s500-bootloader boot: add s500-bootloader package 2016-05-26 10:35:34 +02:00
syslinux syslinux: use the host compiler to build extlinux 2018-04-01 17:49:05 +02:00
ts4800-mbrboot boot, package: use SPDX short identifier for BSD-2c 2017-04-01 15:27:05 +02:00
uboot uboot: bump to version 2018.09 2018-11-03 15:54:19 +01:00
vexpress-firmware boot/vexpress-firmware: add upstream URL in Config.in help text 2018-09-20 21:40:03 +02:00
common.mk Fix build reproducibility in Make 3.82 2013-09-06 23:27:42 +02:00
Config.in boot/xloader: remove package 2018-10-26 16:59:05 +02:00