Skip to contentSkip to conversation

riscv: boot: add zstd support

PATCH Applied Jisheng Zhang 3 participants 3 messages Nov 23, 2022 – Dec 9, 2022 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: boot: add zstd support

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.

---
 arch/riscv/boot/Makefile | 3 +++
 1 file changed, 3 insertions(+)
arch/riscv/boot/Makefile +3 -0
index d1a49adcb1d7..c72de7232abb 100644
@@ -56,6 +56,9 @@ $(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)
+
 $(obj)/loader.bin: $(obj)/loader FORCE
 	$(call if_changed,objcopy)
 
Signature · 1 line
2.37.2
#1 lore raw
Quoted 6 lines · Jisheng Zhang

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, thanks!

[1/1] riscv: boot: add zstd support

      https://git.kernel.org/palmer/c/de59b6ed0618

Best regards,

Signature · 6 lines
Palmer Dabbelt <[email protected]>

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
#2 lore raw
In reply to Jisheng Zhang
This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:

Hello:

This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:

Quoted 8 lines · On Wed, 23 Nov 2022 23:02:57 +0800 you 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.

[...]

Here is the summary with links:
- riscv: boot: add zstd support

    https://git.kernel.org/riscv/c/de59b6ed0618

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html