All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xilinx: Define kernel_comp_addr_r, kernel_comp_size env variables
@ 2021-07-14  7:09 Michal Simek
  2021-07-26  7:21 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2021-07-14  7:09 UTC (permalink / raw)
  To: u-boot, git; +Cc: Raju Kumar Pothuraju

From: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>

Add kernel_comp_addr_r, kernel_comp_size env variables for zynqmp and
versal to be able to use the compressed kernel Image(.gz,.bz2,.lzma,.lzo)
using booti command.

Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 include/configs/xilinx_versal.h | 2 ++
 include/configs/xilinx_zynqmp.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/include/configs/xilinx_versal.h b/include/configs/xilinx_versal.h
index e0c78cbd11c2..99d58835887e 100644
--- a/include/configs/xilinx_versal.h
+++ b/include/configs/xilinx_versal.h
@@ -66,6 +66,8 @@
 	"pxefile_addr_r=0x10000000\0" \
 	"kernel_addr_r=0x18000000\0" \
 	"kernel_size_r=0x10000000\0" \
+	"kernel_comp_addr_r=0x30000000\0" \
+	"kernel_comp_size=0x3C00000\0" \
 	"scriptaddr=0x20000000\0" \
 	"ramdisk_addr_r=0x02100000\0" \
 	"script_size_f=0x80000\0"
diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
index bfe8a204279b..262154cdffdc 100644
--- a/include/configs/xilinx_zynqmp.h
+++ b/include/configs/xilinx_zynqmp.h
@@ -89,6 +89,8 @@
 	"pxefile_addr_r=0x10000000\0" \
 	"kernel_addr_r=0x18000000\0" \
 	"kernel_size_r=0x10000000\0" \
+	"kernel_comp_addr_r=0x30000000\0" \
+	"kernel_comp_size=0x3C00000\0" \
 	"scriptaddr=0x20000000\0" \
 	"ramdisk_addr_r=0x02100000\0" \
 	"script_size_f=0x80000\0" \
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] xilinx: Define kernel_comp_addr_r, kernel_comp_size env variables
  2021-07-14  7:09 [PATCH] xilinx: Define kernel_comp_addr_r, kernel_comp_size env variables Michal Simek
@ 2021-07-26  7:21 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2021-07-26  7:21 UTC (permalink / raw)
  To: U-Boot, git; +Cc: Raju Kumar Pothuraju

st 14. 7. 2021 v 9:09 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> From: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
>
> Add kernel_comp_addr_r, kernel_comp_size env variables for zynqmp and
> versal to be able to use the compressed kernel Image(.gz,.bz2,.lzma,.lzo)
> using booti command.
>
> Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  include/configs/xilinx_versal.h | 2 ++
>  include/configs/xilinx_zynqmp.h | 2 ++
>  2 files changed, 4 insertions(+)
>
> diff --git a/include/configs/xilinx_versal.h b/include/configs/xilinx_versal.h
> index e0c78cbd11c2..99d58835887e 100644
> --- a/include/configs/xilinx_versal.h
> +++ b/include/configs/xilinx_versal.h
> @@ -66,6 +66,8 @@
>         "pxefile_addr_r=0x10000000\0" \
>         "kernel_addr_r=0x18000000\0" \
>         "kernel_size_r=0x10000000\0" \
> +       "kernel_comp_addr_r=0x30000000\0" \
> +       "kernel_comp_size=0x3C00000\0" \
>         "scriptaddr=0x20000000\0" \
>         "ramdisk_addr_r=0x02100000\0" \
>         "script_size_f=0x80000\0"
> diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
> index bfe8a204279b..262154cdffdc 100644
> --- a/include/configs/xilinx_zynqmp.h
> +++ b/include/configs/xilinx_zynqmp.h
> @@ -89,6 +89,8 @@
>         "pxefile_addr_r=0x10000000\0" \
>         "kernel_addr_r=0x18000000\0" \
>         "kernel_size_r=0x10000000\0" \
> +       "kernel_comp_addr_r=0x30000000\0" \
> +       "kernel_comp_size=0x3C00000\0" \
>         "scriptaddr=0x20000000\0" \
>         "ramdisk_addr_r=0x02100000\0" \
>         "script_size_f=0x80000\0" \
> --
> 2.32.0
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-26  7:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14  7:09 [PATCH] xilinx: Define kernel_comp_addr_r, kernel_comp_size env variables Michal Simek
2021-07-26  7:21 ` Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.