arm: socfpga: agilex: restore Multi-DTB support for NAND boot
PATCH 1/1 arm: socfpga: agilex: restore Multi-DTB support for NAND boot
From: Dinesh Maniyam <[email protected]>
From v2025.10 onward, Agilex platforms use the upstream Linux device tree sources instead of local copies.
To continue using a single defconfig while supporting NAND boot, restore Multi-DTB support and update the DT paths to the upstream intel directory.
NAND boot is configured to use FDT-1, while other boot flows continue to use the default device tree.
No functional change is intended for non-NAND boot paths.
--- arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi | 38 +++++++++++++++++++ configs/socfpga_agilex_defconfig | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-)
arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi +38 -0
@@ -181,3 +181,41 @@ }; }; }; + +#if !defined(CONFIG_SOCFPGA_SECURE_VAB_AUTH) +&fdt_0_blob { + filename = "dts/upstream/src/arm64/intel/socfpga_agilex_socdk.dtb"; +}; + +&images { + fdt-1 { + description = "socfpga_socdk_nand"; + type = "flat_dt"; + compression = "none"; + fdt_1_blob: blob-ext { + filename = "dts/upstream/src/arm64/intel/socfpga_agilex_socdk_nand.dtb"; + }; + hash { + algo = "crc32"; + }; + }; +}; + +&board_config { + board-1 { + description = "board_1"; + firmware = "atf"; + loadables = "uboot"; + fdt = "fdt-1"; + signature { + algo = "crc32"; + key-name-hint = "dev"; + sign-images = "atf", "uboot", "fdt-1"; + }; + }; +}; + +&binman { + /delete-node/ kernel; +}; +#endif
configs/socfpga_agilex_defconfig +1 -1
@@ -58,7 +58,7 @@ CONFIG_CMD_CACHE=y CONFIG_CMD_SMC=y CONFIG_CMD_UBI=y CONFIG_OF_UPSTREAM=y -CONFIG_OF_LIST="" +CONFIG_OF_LIST="intel/socfpga_agilex_socdk intel/socfpga_agilex_socdk_nand" CONFIG_ENV_IS_IN_FAT=y CONFIG_ENV_IS_IN_UBI=y CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
Signature · 1 line
2.43.7
Quoted 69 lines · On 3/2/2026 3:55 pm, [email protected] wrote:
From: Dinesh Maniyam <[email protected]>
From v2025.10 onward, Agilex platforms use the upstream Linux device
tree sources instead of local copies.
To continue using a single defconfig while supporting NAND boot, restore Multi-DTB support and update the DT paths to the upstream intel directory.NAND boot is configured to use FDT-1, while other boot flows continue to use the default device tree.
No functional change is intended for non-NAND boot paths.Signed-off-by Dinesh Maniyam <[email protected]>--- arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi | 38 +++++++++++++++++++ configs/socfpga_agilex_defconfig | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-)arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi +38
-0@@ -181,3 +181,41 @@ }; }; }; + +#if !defined(CONFIG_SOCFPGA_SECURE_VAB_AUTH) +&fdt_0_blob { + filename = "dts/upstream/src/arm64/intel/socfpga_agilex_socdk.dtb"; +}; + +&images { + fdt-1 { + description = "socfpga_socdk_nand"; + type = "flat_dt"; + compression = "none"; + fdt_1_blob: blob-ext { + filename = "dts/upstream/src/arm64/intel/socfpga_agilex_socdk_nand.dtb"; + }; + hash { + algo = "crc32"; + }; + }; +}; + +&board_config { + board-1 { + description = "board_1"; + firmware = "atf"; + loadables = "uboot"; + fdt = "fdt-1"; + signature { + algo = "crc32"; + key-name-hint = "dev"; + sign-images = "atf", "uboot", "fdt-1"; + }; + }; +}; + +&binman { + /delete-node/ kernel; +}; +#endifconfigs/socfpga_agilex_defconfig +0
-0
configs/socfpga_agilex_defconfig CONFIG_CMD_CACHE=y · line 64
Quoted 8 lines
configs/socfpga_agilex_defconfig +1
-1@@ -58,7 +58,7 @@ CONFIG_CMD_CACHE=y CONFIG_CMD_SMC=y CONFIG_CMD_UBI=y CONFIG_OF_UPSTREAM=y -CONFIG_OF_LIST="" +CONFIG_OF_LIST="intel/socfpga_agilex_socdk intel/socfpga_agilex_socdk_nand" CONFIG_ENV_IS_IN_FAT=y CONFIG_ENV_IS_IN_UBI=y CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
Best regards,
Tien Fong