]> git.baikalelectronics.ru Git - kernel.git/commit
mips: boot: add support for self-extracting FIT images (vmlinuz.itb)
authorAlexander Lobakin <alobakin@pm.me>
Sun, 1 Nov 2020 15:13:01 +0000 (15:13 +0000)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 12 Nov 2020 22:47:22 +0000 (23:47 +0100)
commit2813bb912012d37b3e367086c0e572c27e84b9e0
tree88e8a6dab1a076d93e494d85ef5cacdbf27a3947
parent20d154d7025921aa2378bcc8d164d07bd8006fcd
mips: boot: add support for self-extracting FIT images (vmlinuz.itb)

Commit 8fc3c9bc4987 ("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>
arch/mips/Makefile
arch/mips/boot/compressed/Makefile