Skip to contentSkip to conversation

arm: socfpga: increase QSPI kernel Image size for Stratix10 and Agilex

PATCH New Jit Loon Lim 1 participant 1 message Sep 11, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: socfpga: increase QSPI kernel Image size for Stratix10 and Agilex

From: Joyce Ooi <[email protected]>

This patch increases the allocated kernel Image size to 32MB for QSPI for Stratix10 and Agilex as the latest kernel size has increased.

---
 configs/socfpga_agilex_qspi_defconfig    | 2 +-
 configs/socfpga_stratix10_qspi_defconfig | 2 +-
 include/configs/socfpga_soc64_common.h   | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)
configs/socfpga_agilex_qspi_defconfig +1 -1
index f9d38f6887..8522e72cbc 100644
@@ -6,7 +6,7 @@ CONFIG_SYS_TEXT_BASE=0x1000
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_ENV_SIZE=0x1000
-CONFIG_ENV_OFFSET=0x02080000
+CONFIG_ENV_OFFSET=0x020C0000
 CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_SYS_SPI_U_BOOT_OFFS=0x02000000
 CONFIG_DM_GPIO=y
configs/socfpga_stratix10_qspi_defconfig +1 -1
index 161063f51d..6d41356fe0 100644
@@ -6,7 +6,7 @@ CONFIG_SYS_TEXT_BASE=0x1000
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_ENV_SIZE=0x1000
-CONFIG_ENV_OFFSET=0x02080000
+CONFIG_ENV_OFFSET=0x020C0000
 CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_SYS_SPI_U_BOOT_OFFS=0x02000000
 CONFIG_DM_GPIO=y
include/configs/socfpga_soc64_common.h +3 -3
index c966d31362..d83686209c 100644
@@ -37,9 +37,9 @@
  * Environment variable
  */
 #define CONFIG_EXTRA_ENV_SETTINGS \
-	"qspibootimageaddr=0x020B0000\0" \
-	"qspifdtaddr=0x02090000\0" \
-	"bootimagesize=0x01400000\0" \
+	"qspibootimageaddr=0x020E0000\0" \
+	"qspifdtaddr=0x020D0000\0" \
+	"bootimagesize=0x01F00000\0" \
 	"fdtimagesize=0x00010000\0" \
 	"qspiload=sf read ${loadaddr} ${qspibootimageaddr} ${bootimagesize};" \
 		"sf read ${fdt_addr} ${qspifdtaddr} ${fdtimagesize}\0" \
Signature · 1 line
2.26.2