mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
boot/uboot: add qspi.bin file support
u-boot has introduced a new file called qspi.bin for users who boot from a
qspi flash device. It combines the spl/boot.bin and u-boot.itb files into a
single binary that can be written to the qspi flash.
Here is an example of how binman generates the qspi.bin:
a4c9811910
At the moment, the qspi.bin is only used for the zynqmp platform, but other
platforms may adopt it, so the buildroot support has been made in a generic
way.
This patch adds the necessary support for buildroot to install this binary.
[Tested on Kria KV260 starter kit]
Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Neal Frager <neal.frager@amd.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
00039d7059
commit
9f52cc8c0a
@@ -470,6 +470,14 @@ config BR2_TARGET_UBOOT_FORMAT_SD
|
||||
|
||||
See doc/README.mxs (or doc/README.mx28_common before 2013.07)
|
||||
|
||||
config BR2_TARGET_UBOOT_FORMAT_QSPI_BIN
|
||||
bool "qspi.bin"
|
||||
depends on BR2_TARGET_UBOOT_ZYNQMP
|
||||
help
|
||||
When booting from qspi flash, u-boot can generate a single
|
||||
file for flashing by combining the spl/boot.bin and
|
||||
u-boot.itb files into a unified binary.
|
||||
|
||||
config BR2_TARGET_UBOOT_FORMAT_STM32
|
||||
bool "u-boot.stm32"
|
||||
depends on BR2_arm
|
||||
|
||||
@@ -108,6 +108,10 @@ UBOOT_MAKE_TARGET += u-boot.itb
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_FORMAT_QSPI_BIN),y)
|
||||
UBOOT_BINS += qspi.bin
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMX),y)
|
||||
UBOOT_BINS += u-boot.imx
|
||||
UBOOT_MAKE_TARGET += u-boot.imx
|
||||
|
||||
Reference in New Issue
Block a user