summaryrefslogtreecommitdiffstats
path: root/arch/mips/Makefile
diff options
context:
space:
mode:
authorAlexander Lobakin <alobakin@pm.me>2020-11-01 15:13:01 +0000
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-11-12 23:47:22 +0100
commita3fb655027c33a9281d3b813798b15bdf1e75d43 (patch)
tree88e8a6dab1a076d93e494d85ef5cacdbf27a3947 /arch/mips/Makefile
parent9d63bcb87157c90899525d9db25b37106cd0afe3 (diff)
downloadlinux-a3fb655027c33a9281d3b813798b15bdf1e75d43.tar.bz2
mips: boot: add support for self-extracting FIT images (vmlinuz.itb)
Commit c3e2ee657418 ("MIPS: generic: Add support for zboot") added support for self-extracting images to Generic MIPS. However, the intended way to boot Generic MIPS kernels is using FIT Images and UHI boot protocol, but currently there's no way to make self-extracting FIT Image (only legacy uzImages). Add a target for this named "vmlinuz.itb", which will consist of vmlinuz.bin and selected DT blobs. It will allow to have the advantages of both UHI and self-extracting images. Signed-off-by: Alexander Lobakin <alobakin@pm.me> Acked-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r--arch/mips/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 622ee83dbb9b..cd4343edeb11 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -347,6 +347,7 @@ bootz-y += vmlinuz.srec
ifeq ($(shell expr $(zload-y) \< 0xffffffff80000000 2> /dev/null), 0)
bootz-y += uzImage.bin
endif
+bootz-y += vmlinuz.itb
#
# Some machines like the Indy need 32-bit ELF binaries for booting purposes.