Skip to contentSkip to conversation

meson64: add kernel compression vars

PATCH In review Artem Lapkin 2 participants 3 messages May 27, 2021 – Jul 27, 2021 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meson64: add kernel compression vars

make possible to load simple compressed linux kernel for meson64

---
 include/configs/meson64.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/meson64.h +2 -0
index e3d25493..552a08c2 100644
@@ -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" \
Signature · 1 line
2.25.1
#1 lore raw
Quoted 13 lines · Artem Lapkin

make possible to load simple compressed linux kernel for meson64

---
 include/configs/meson64.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/meson64.h +0 -0
index e3d25493..552a08c2 100644

include/configs/meson64.h line 120

Quoted 8 lines
include/configs/meson64.h +2 -0
@@ -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

#2 lore raw
In reply to Artem Lapkin
Quoted 13 lines · Artem Lapkin

make possible to load simple compressed linux kernel for meson64

---
 include/configs/meson64.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/meson64.h +0 -0
index e3d25493..552a08c2 100644

include/configs/meson64.h line 120

Quoted 8 lines
include/configs/meson64.h +2 -0
@@ -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