> -----Original Message----- > From: Yuslaimi, Alif Zakuan <alif.zakuan.yusla...@altera.com> > Sent: Monday, August 4, 2025 9:24 AM > To: u-boot@lists.denx.de > Cc: Chee, Tien Fong <tien.fong.c...@altera.com>; Tom Rini > <tr...@konsulko.com>; Marek Vasut <ma...@denx.de>; Simon Goldschmidt > <simon.k.r.goldschm...@gmail.com>; Ng, Boon Khai > <boon.khai...@altera.com>; Maniyam, Dinesh > <dinesh.mani...@altera.com>; Ravulapalli, Naresh Kumar > <naresh.kumar.ravulapa...@altera.com>; Yuslaimi, Alif Zakuan > <alif.zakuan.yusla...@altera.com> > Subject: [PATCH v1 00/34] SoCFPGA: Update Boot Support for Agilex7/7M in > U-Boot > > From: Alif Zakuan Yuslaimi <alif.zakuan.yusla...@altera.com> > > This patch set updates the boot support for the Altera SoCFPGA Agilex7/7M > platform in U-Boot. The changes include: > 1. Board-specific configurations and setup required to enable > Agilex7/7M > multiboot operation in U-Boot. > 2. Integration of cache coherency unit (CCU) initialization routine, > including CCU conguration in DT. > 3. Clock, firewall (configured in DT), SMMU, low level initialization > specific to Agilex7/7M. > 4. Integration of memory initialization routine, including DDR updates. > > This patch set has been tested on Agilex7/7M devkit with QSPI boot > (UBI/UBIFS), SDMMC boot and RAM boot (TFTP & ARM DS debugger). > > Alif Zakuan Yuslaimi (18): > drivers: clk: agilex: Use real clock source frequency > configs: agilex: Combine defconfig for all boot flashes > arch: arm: dts: agilex: Update Agilex device tree > arm: socfpga: agilex: Probe DT for firewall setup > arm: socfpga: Update Agilex SPL data save and restore implementation > arm: socfpga: Enable ASYNC interrupts in Agilex SPL > drivers: watchdog: Enable watchdog support in SPL for Agilex > drivers: clk: agilex: Replace status polling with wait_for_bit_le32() > arm: socfpga: agilex5: Refactor system manager driver initialization > arm: socfpga: agilex: Enable system manager driver for Agilex > ddr: altera: soc64: Add secure region support for ATF flow > ddr: altera: agilex: Remove code redundancy > arm: socfpga: Define the usage of boot scratch cold reg 8 > ddr: altera: agilex: Get ACF from boot scratch register > include: configs: socfpga: Add environment variables for distro boot > arm: socfpga: misc: Exclude Agilex from clock manager base address > retrieval > sysreset: socfpga: soc64: Enable L2 reset > arm: socfpga: soc64: Perform warm reset after L2 reset in SPL > > Tingting Meng (16): > arch: arm: agilex: Clean up DT settings in U-Boot dtsi files > arch: arm: dts: agilex: Switch to using upstream Linux DT config > arch: arm: dts: Basic device tree support added for Agilex7 M-series > arch: arm: mach-socfpga: Add Agilex7 M-series mach-socfgpa enablement > arch: arm: mach-socfpga: Improve help info. > arch: arm: mach-socfpga: Update handoff settings for Agilex7 M-series > include: configs: Add config header file for Agilex7 M-series > include: configs: soc64: Use CONFIG_SPL_ATF to differentiate bootfile > clk: altera: Add clock support for Agilex7 M-series > ddr: altera: Add uibssm mailbox support for Agilex7 M-series with HBM > ddr: altera: Add DDR driver for Agilex7 M-series > ddr: altera: soc64: Clean up bit-shift by zero bit > ddr: altera: soc64: Fix dram size calculation in clamshell mode > arch: arm: mach-socfpga: Update kconfig for new platform Agilex7 > M-series > arch: arm: dts: Update Makefile for new platform Agilex7 M-series > configs: Add defconfig for Agilex7 M-series > > MAINTAINERS | 6 +- > arch/arm/Kconfig | 7 +- > arch/arm/dts/Makefile | 1 - > arch/arm/dts/socfpga_agilex-u-boot.dtsi | 178 ++++- > arch/arm/dts/socfpga_agilex.dtsi | 624 ------------------ > arch/arm/dts/socfpga_agilex5.dtsi | 4 + > arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi | 170 ++++- > arch/arm/dts/socfpga_agilex_socdk.dts | 141 ---- > arch/arm/dts/socfpga_soc64_u-boot.dtsi | 163 +++++ > arch/arm/mach-socfpga/Kconfig | 19 + > arch/arm/mach-socfpga/Makefile | 20 + > .../include/mach/base_addr_soc64.h | 6 +- > .../mach-socfpga/include/mach/clock_manager.h | 4 +- > .../mach-socfpga/include/mach/handoff_soc64.h | 14 +- > arch/arm/mach-socfpga/include/mach/misc.h | 5 +- > .../include/mach/system_manager_soc64.h | 21 + > arch/arm/mach-socfpga/lowlevel_init_soc64.S | 95 +++ > arch/arm/mach-socfpga/misc.c | 27 +- > arch/arm/mach-socfpga/spl_agilex.c | 45 +- > arch/arm/mach-socfpga/spl_agilex5.c | 2 +- > arch/arm/mach-socfpga/spl_agilex7m.c | 106 +++ > board/intel/agilex-socdk/Makefile | 7 + > board/intel/agilex-socdk/socfpga.c | 12 + > board/intel/agilex5-socdk/socfpga.c | 2 +- > board/intel/agilex7m-socdk/MAINTAINERS | 10 + > board/intel/agilex7m-socdk/Makefile | 7 + > board/intel/agilex7m-socdk/socfpga.c | 12 + > configs/socfpga_agilex7m_defconfig | 19 + > configs/socfpga_agilex_atf_defconfig | 93 --- > configs/socfpga_agilex_defconfig | 68 +- > drivers/clk/altera/Makefile | 1 + > drivers/clk/altera/clk-agilex.c | 37 +- > drivers/clk/altera/clk-agilex.h | 2 + > drivers/ddr/altera/Makefile | 1 + > drivers/ddr/altera/sdram_agilex.c | 34 +- > drivers/ddr/altera/sdram_agilex7m.c | 500 ++++++++++++++ > drivers/ddr/altera/sdram_soc64.c | 21 +- > drivers/ddr/altera/sdram_soc64.h | 82 ++- > drivers/ddr/altera/uibssm_mailbox.c | 321 +++++++++ > drivers/ddr/altera/uibssm_mailbox.h | 116 ++++ > drivers/sysreset/Makefile | 2 +- > drivers/sysreset/sysreset_socfpga_soc64.c | 63 +- > drivers/watchdog/Kconfig | 2 +- > include/configs/socfpga_agilex7m_socdk.h | 12 + > include/configs/socfpga_soc64_common.h | 46 +- > 45 files changed, 2129 insertions(+), 999 deletions(-) delete mode 100644 > arch/arm/dts/socfpga_agilex.dtsi delete mode 100644 > arch/arm/dts/socfpga_agilex_socdk.dts > create mode 100644 arch/arm/dts/socfpga_soc64_u-boot.dtsi > create mode 100644 arch/arm/mach-socfpga/spl_agilex7m.c > create mode 100644 board/intel/agilex-socdk/Makefile create mode 100644 > board/intel/agilex-socdk/socfpga.c > create mode 100644 board/intel/agilex7m-socdk/MAINTAINERS > create mode 100644 board/intel/agilex7m-socdk/Makefile > create mode 100644 board/intel/agilex7m-socdk/socfpga.c > create mode 100644 configs/socfpga_agilex7m_defconfig > delete mode 100644 configs/socfpga_agilex_atf_defconfig > create mode 100644 drivers/ddr/altera/sdram_agilex7m.c > create mode 100644 drivers/ddr/altera/uibssm_mailbox.c > create mode 100644 drivers/ddr/altera/uibssm_mailbox.h > create mode 100644 include/configs/socfpga_agilex7m_socdk.h > > -- > 2.35.3
Reviewed-by: Tien Fong Chee <tien.fong.c...@altera.com> Best regards, Tien Fong