* [ptxdist] [PATCH] kernel: add Image.gz as RISC-V KERNEL_IMAGE
@ 2021-11-29 5:48 Ahmad Fatoum
2021-12-10 13:06 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2021-11-29 5:48 UTC (permalink / raw)
To: ptxdist; +Cc: Ahmad Fatoum
Linux RISC-V images (both 32-bit and 64-bit) are very similar to ARM64.
They share the same header and both never ship with a decompressor
and instead rely on the bootloader for unpacking. When using GZIP
compression, the name is also Image.gz, so note that in the Kconfig.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
platforms/kernel.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/platforms/kernel.in b/platforms/kernel.in
index 06b6e24a6756..9976436ce0a2 100644
--- a/platforms/kernel.in
+++ b/platforms/kernel.in
@@ -164,7 +164,7 @@ endif
config KERNEL_IMAGE
string
default "bzImage" if KERNEL_IMAGE_BZ
- default "Image.gz" if KERNEL_IMAGE_Z && ARCH_ARM64
+ default "Image.gz" if KERNEL_IMAGE_Z && (ARCH_ARM64 || ARCH_RISCV)
default "zImage" if KERNEL_IMAGE_Z
default "xipImage" if KERNEL_IMAGE_XIP
default "uImage" if KERNEL_IMAGE_U
--
2.30.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] kernel: add Image.gz as RISC-V KERNEL_IMAGE
2021-11-29 5:48 [ptxdist] [PATCH] kernel: add Image.gz as RISC-V KERNEL_IMAGE Ahmad Fatoum
@ 2021-12-10 13:06 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-12-10 13:06 UTC (permalink / raw)
To: ptxdist; +Cc: Ahmad Fatoum
Thanks, applied as eab63b6b9a4ffcd10d0d8762c39d595f89880f67.
Michael
[sent from post-receive hook]
On Fri, 10 Dec 2021 14:06:57 +0100, Ahmad Fatoum <a.fatoum@pengutronix.de> wrote:
> Linux RISC-V images (both 32-bit and 64-bit) are very similar to ARM64.
> They share the same header and both never ship with a decompressor
> and instead rely on the bootloader for unpacking. When using GZIP
> compression, the name is also Image.gz, so note that in the Kconfig.
>
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> Message-Id: <20211129054808.2910586-1-a.fatoum@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/platforms/kernel.in b/platforms/kernel.in
> index 06b6e24a6756..9976436ce0a2 100644
> --- a/platforms/kernel.in
> +++ b/platforms/kernel.in
> @@ -164,7 +164,7 @@ endif
> config KERNEL_IMAGE
> string
> default "bzImage" if KERNEL_IMAGE_BZ
> - default "Image.gz" if KERNEL_IMAGE_Z && ARCH_ARM64
> + default "Image.gz" if KERNEL_IMAGE_Z && (ARCH_ARM64 || ARCH_RISCV)
> default "zImage" if KERNEL_IMAGE_Z
> default "xipImage" if KERNEL_IMAGE_XIP
> default "uImage" if KERNEL_IMAGE_U
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-10 13:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 5:48 [ptxdist] [PATCH] kernel: add Image.gz as RISC-V KERNEL_IMAGE Ahmad Fatoum
2021-12-10 13:06 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox