Hi Lok,
On 28/4/2026 3:00 pm, Chen Huei Lok wrote:
Enable MTD command support and SPL SDRAM driver for the N5X platform.
- Enable CONFIG_CMD_MTD to allow MTD operations from the U-Boot shell
- Enable CONFIG_SPL_ALTERA_SDRAM to initialize SDRAM in SPL
These options align N5X configuration with other SoCFPGA platforms
that use the same SDRAM controller and MTD framework.
Signed-off-by: Tien Fong Chee <[email protected]>
Signed-off-by: Chen Huei Lok <[email protected]>
---
configs/socfpga_n5x_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/socfpga_n5x_defconfig b/configs/socfpga_n5x_defconfig
index aeeaa1636ae..b6df9946ef3 100644
--- a/configs/socfpga_n5x_defconfig
+++ b/configs/socfpga_n5x_defconfig
@@ -55,6 +55,7 @@ CONFIG_CMD_MMC=y
CONFIG_CMD_SPI=y
CONFIG_CMD_USB=y
CONFIG_CMD_WDT=y
+CONFIG_CMD_MTD=y
I suspect the sequence may not correct.
Did you run `make socfpga_n5x_vab_defconfig && make savedefconfig && cp
defconfig configs/socfpga_n5x_vab_defconfig ?
Best regards,
Tien Fong