* [PATCH] arm64: boot: add zstd support
@ 2022-06-19 17:06 Jisheng Zhang
2022-06-23 19:31 ` Will Deacon
0 siblings, 1 reply; 2+ messages in thread
From: Jisheng Zhang @ 2022-06-19 17:06 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon, Nick Terrell; +Cc: linux-arm-kernel, linux-kernel
Support build the zstd compressed Image.zst. Similar as other
compressed formats, the Image.zst is not self-decompressing and
the bootloader still needs to handle decompression before
launching the kernel image.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
---
arch/arm64/boot/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/Makefile b/arch/arm64/boot/Makefile
index ebe80faab883..a0e3dedd2883 100644
--- a/arch/arm64/boot/Makefile
+++ b/arch/arm64/boot/Makefile
@@ -16,7 +16,7 @@
OBJCOPYFLAGS_Image :=-O binary -R .note -R .note.gnu.build-id -R .comment -S
-targets := Image Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo
+targets := Image Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo Image.zst
$(obj)/Image: vmlinux FORCE
$(call if_changed,objcopy)
@@ -35,3 +35,6 @@ $(obj)/Image.lzma: $(obj)/Image FORCE
$(obj)/Image.lzo: $(obj)/Image FORCE
$(call if_changed,lzo)
+
+$(obj)/Image.zst: $(obj)/Image FORCE
+ $(call if_changed,zstd)
--
2.34.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: boot: add zstd support
2022-06-19 17:06 [PATCH] arm64: boot: add zstd support Jisheng Zhang
@ 2022-06-23 19:31 ` Will Deacon
0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2022-06-23 19:31 UTC (permalink / raw)
To: Nick Terrell, Jisheng Zhang, Catalin Marinas
Cc: kernel-team, Will Deacon, linux-kernel, linux-arm-kernel
On Mon, 20 Jun 2022 01:06:57 +0800, Jisheng Zhang wrote:
> Support build the zstd compressed Image.zst. Similar as other
> compressed formats, the Image.zst is not self-decompressing and
> the bootloader still needs to handle decompression before
> launching the kernel image.
>
>
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: boot: add zstd support
https://git.kernel.org/arm64/c/9f6a503d5238
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-23 19:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-19 17:06 [PATCH] arm64: boot: add zstd support Jisheng Zhang
2022-06-23 19:31 ` Will Deacon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).