Skip to contentSkip to conversation

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

PATCH New Ooi 1 participant 2 messages Mar 9, 2020 – Mar 24, 2020

lore
Share & tools
lore

Ooi

#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.

---
 include/configs/socfpga_agilex_socdk.h    |    8 ++++----
 include/configs/socfpga_stratix10_socdk.h |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
include/configs/socfpga_agilex_socdk.h +4 -4
index 6a90ce6..4bb2e8f 100644
@@ -78,7 +78,7 @@
 #ifdef CONFIG_ENV_IS_IN_SPI_FLASH
 #undef CONFIG_ENV_OFFSET
 #undef CONFIG_ENV_SIZE
-#define CONFIG_ENV_OFFSET		0x02080000
+#define CONFIG_ENV_OFFSET		0x020C0000
 #define CONFIG_ENV_SIZE			(64 * 1024)
 #define CONFIG_ENV_SECT_SIZE		(64 * 1024)
 #endif /* CONFIG_ENV_IS_IN_SPI_FLASH */
@@ -120,9 +120,9 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
 #define CONFIG_BOOTARGS "earlycon"
 
 #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" \
include/configs/socfpga_stratix10_socdk.h +4 -4
index 28fb546..1c41fc4 100644
@@ -78,7 +78,7 @@
 #ifdef CONFIG_ENV_IS_IN_SPI_FLASH
 #undef CONFIG_ENV_OFFSET
 #undef CONFIG_ENV_SIZE
-#define CONFIG_ENV_OFFSET		0x02080000
+#define CONFIG_ENV_OFFSET		0x020C0000
 #define CONFIG_ENV_SIZE			(64 * 1024)
 #define CONFIG_ENV_SECT_SIZE		(64 * 1024)
 #endif /* CONFIG_ENV_IS_IN_SPI_FLASH */
@@ -116,9 +116,9 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
 #endif
 
 #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
1.7.1
#1 lore raw

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

Quoted 12 lines

-----Original Message-----
From: Ooi, Joyce <[email protected]>
Sent: Monday, March 9, 2020 11:38 AM
To: Tan, Ley Foon <[email protected]>; Ang, Chee Hong <[email protected]>; See, Chin Liang <[email protected]>; Nguyen, Dinh <[email protected]>
Cc: u-boot at lists.denx.de; Ooi, Joyce <[email protected]>
Subject: [PATCH] arm: socfpga: increase QSPI kernel Image size for Stratix10 and Agilex

Quoted 6 lines

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.