[PATCH 1/2] configs: add env. variable to support compressed kernel in qspiboot

Jit Loon Lim jit.loon.lim at intel.com
Sun Dec 11 16:46:53 CET 2022


From: Kah Jing Lee <kah.jing.lee at intel.com>

Fix qspiboot issue which uncompressed kernel(5.16) overflows to rootfs
Add 2 env. variables to support compressed kernel in legacy qspiboot:
setenv kernel_comp_addr_r 0x9000000
setenv kernel_comp_size 0x01000000

Signed-off-by: Kah Jing Lee <kah.jing.lee at intel.com>
Signed-off-by: Jit Loon Lim <jit.loon.lim at intel.com>
---
 include/configs/socfpga_soc64_common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h
index f7f3bc1f13..7fe9dced88 100644
--- a/include/configs/socfpga_soc64_common.h
+++ b/include/configs/socfpga_soc64_common.h
@@ -133,6 +133,8 @@
 #else
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
+	"kernel_comp_addr_r=0x9000000\0" \
+	"kernel_comp_size=0x01000000\0" \
 	"qspibootimageaddr=0x020E0000\0" \
 	"qspifdtaddr=0x020D0000\0" \
 	"bootimagesize=0x01F00000\0" \
-- 
2.26.2



More information about the U-Boot mailing list