[PATCH] meson64: add kernel compression vars

make possible to load simple compressed linux kernel for meson64
Signed-off-by: Artem Lapkin art@khadas.com --- include/configs/meson64.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/configs/meson64.h b/include/configs/meson64.h index e3d25493..552a08c2 100644 --- a/include/configs/meson64.h +++ b/include/configs/meson64.h @@ -113,6 +113,8 @@ "stdin=" STDIN_CFG "\0" \ "stdout=" STDOUT_CFG "\0" \ "stderr=" STDOUT_CFG "\0" \ + "kernel_comp_addr_r=0x0d080000\0" \ + "kernel_comp_size=0x2000000\0" \ "fdt_addr_r=0x08008000\0" \ "loadaddr=0x01000000\0" \ "scriptaddr=0x08000000\0" \

On 27/05/2021 08:43, Artem Lapkin wrote:
make possible to load simple compressed linux kernel for meson64
Signed-off-by: Artem Lapkin art@khadas.com
include/configs/meson64.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/configs/meson64.h b/include/configs/meson64.h index e3d25493..552a08c2 100644 --- a/include/configs/meson64.h +++ b/include/configs/meson64.h @@ -113,6 +113,8 @@ "stdin=" STDIN_CFG "\0" \ "stdout=" STDOUT_CFG "\0" \ "stderr=" STDOUT_CFG "\0" \
- "kernel_comp_addr_r=0x0d080000\0" \
- "kernel_comp_size=0x2000000\0" \ "fdt_addr_r=0x08008000\0" \ "loadaddr=0x01000000\0" \ "scriptaddr=0x08000000\0" \
Looks fine, I'll let other comment on it and apply it if it's ok for everyone
Neil

On 27/05/2021 08:43, Artem Lapkin wrote:
make possible to load simple compressed linux kernel for meson64
Signed-off-by: Artem Lapkin art@khadas.com
include/configs/meson64.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/configs/meson64.h b/include/configs/meson64.h index e3d25493..552a08c2 100644 --- a/include/configs/meson64.h +++ b/include/configs/meson64.h @@ -113,6 +113,8 @@ "stdin=" STDIN_CFG "\0" \ "stdout=" STDOUT_CFG "\0" \ "stderr=" STDOUT_CFG "\0" \
- "kernel_comp_addr_r=0x0d080000\0" \
- "kernel_comp_size=0x2000000\0" \ "fdt_addr_r=0x08008000\0" \ "loadaddr=0x01000000\0" \ "scriptaddr=0x08000000\0" \
Applied to u-boot-amlogic,
Thanks, Neil
participants (2)
-
Artem Lapkin
-
Neil Armstrong