summaryrefslogtreecommitdiffstats
path: root/boot/uboot/Config.in
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2018-07-25 16:35:36 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-07-28 16:32:07 +0200
commite865a1f03c7c68b711a2d754cf8ffa3a168082b2 (patch)
treede7ffef2925ccfbbefdfd35df8515abe3f5c4de4 /boot/uboot/Config.in
parent826981d45ddbb85a92c01869cb2eccc2fb260475 (diff)
downloadbuildroot-e865a1f03c7c68b711a2d754cf8ffa3a168082b2.tar.gz
buildroot-e865a1f03c7c68b711a2d754cf8ffa3a168082b2.zip
uboot: zynqmp: generate SPL image with PMUFW binary
In order to boot on the Xilinx ZynqMP SoCs, U-Boot SPL requires a recent PMU firmware loaded. Instruct U-Boot to add pmufw.bin to the boot.bin file together with U-Boot SPL, and the boot ROM will load both. For this to work properly, a patch to U-Boot is needed. However this patch must be applied by each defconfig that wishes to use BR2_TARGET_UBOOT_ZYNQMP_PMUFW. If it were in boot/uboot/ to be applied unconditionally, it would break the build for configs using a U-Boot version higher than 2018.7-rc1 where the patch is already applied. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Joel Carlson <joelsoncarl@gmail.com> Reviewed-by: Joel Carlson <JoelsonCarl@gmail.com> Tested-by: Joel Carlson <JoelsonCarl@gmail.com> [Thomas: - indicate that this feature requires U-Boot 2018.07, since commit c7df098a71e05dc81cee818747759e8060b59626 is needed. - define UBOOT_ZYNQMP_KCONFIG_PMUFW only once, and instead use a variable named UBOOT_ZYNQMP_PMUFW_PATH to store the path to the PMU firmware] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'boot/uboot/Config.in')
-rw-r--r--boot/uboot/Config.in31
1 files changed, 31 insertions, 0 deletions
diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index f0166e382b..124991d20b 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
@@ -368,6 +368,37 @@ config BR2_TARGET_UBOOT_ZYNQ_IMAGE
for u-boot-dtb.img file so this U-Boot format is required
to be set.
+config BR2_TARGET_UBOOT_ZYNQMP
+ bool "Boot on the Xilinx ZynqMP SoCs"
+ depends on BR2_aarch64
+ help
+ Enable options specific to the Xilinx ZynqMP family of SoCs.
+
+if BR2_TARGET_UBOOT_ZYNQMP
+
+config BR2_TARGET_UBOOT_ZYNQMP_PMUFW
+ string "PMU firmware location"
+ depends on BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG
+ help
+ Location of a PMU firmware binary.
+
+ If not empty, instructs the U-Boot build process to generate
+ a boot.bin (to be loaded by the ZynqMP boot ROM) containing
+ both the U-Boot SPL and the PMU firmware in the
+ Xilinx-specific boot format.
+
+ The value can be an absolute or relative path, and will be
+ used directly from where it is located, or an URI
+ (e.g. http://...), and it will be downloaded and used from
+ the download directory.
+
+ If empty, the generated boot.bin will not contain a PMU
+ firmware.
+
+ This feature requires U-Boot >= 2018.07.
+
+endif
+
config BR2_TARGET_UBOOT_ALTERA_SOCFPGA_IMAGE_CRC
bool "CRC image for Altera SoC FPGA (mkpimage)"
depends on BR2_arm
OpenPOWER on IntegriCloud