Pull request: SoCFPGA changes for u-boot-socfpga-next-20251201

Chee, Tien Fong trini at konsulko.com
Mon Dec 1 12:05:09 CET 2025


Dear Tom,

SoCFPGA updates for v2026.01-rc cycle

This pull request delivers a broad set of improvements across the
SoCFPGA family, including Agilex5, Cyclone V, SoC64, and common code.
Key updates include refined boot flows, new driver enablement,
handoff tooling enhancements, and several stability fixes.

Highlights:

* Agilex5:
  - Enable FAT-based environment storage
  - MMC driver restores legacy clkmgr-based clock lookup
  - Cleanup of MMC raw mode enablement logic

* Cyclone V:
  - SPL FAT boot support and updated bootcmd sequence
  - Disable SPL SPI to prevent contention with FAT-based boot
  - New board handoff script and BSP generator tooling
  - Optimized Makefile support for SoCFPGA handoff workflows

* New drivers:
  - Cadence xSPI driver with full protocol and command support
  - SPL enablement for DW APB GPIO controller

* Networking:
  - xgmac MDIO now supports Clause 45 read/write operations

* NAND / SoC64:
  - Enable ONFI detection in Denali NAND controller for SoC64 devices

* DTS and board updates:
  - Sync common SoCFPGA U-Boot DTS with kernel sources
  - Fixes for FPGA2SDRAM configuration and SoCFPGA boot stall behavior
  - Vining_FPGA migrated to the modern LED framework
  - Device tree relocation no longer forced off for Vining FPGA

* Tooling:
  - Introduces a new Python-based Cyclone V BSP generator
    covering EMIF, IOCSR, HPS, XML parsing, rendering, and documentation
    to simplify board enablement and handoff regeneration workflows

Overall, this series improves boot robustness, enhances xSPI and MDIO
capabilities, modernizes board support, and introduces new tooling to
streamline SoCFPGA handoff generation.

Pipelines test passing https://source.denx.de/u-boot/custodians/u-boot-socfpga/-/pipelines/28569

Thanks.

Best regards,
Tien Fong

The following changes since commit 31bf4a1c308773895a8e7ea047b3cea037e4c922:

  Merge tag 'rpi-2026.01-rc3' of https://source.denx.de/u-boot/custodians/u-boot-raspberrypi (2025-11-28 08:26:44 -0600)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-socfpga.git tags/u-boot-socfpga-next-20251201

for you to fetch changes up to 87cb318344250ac7d598284c0a1928df6bcd1f4e:

  Add optimized Makefile support for SoCFPGA handoff (2025-12-01 17:26:52 +0800)

----------------------------------------------------------------
Alif Zakuan Yuslaimi (7):
      configs: agilex5: Enable FAT-based environment storage in defconfig
      configs: cyclone5: Disable mkeficapsule tool build
      mmc: socfpga_dw_mmc: Restore legacy clkmgr address retrieval
      spl: Remove ARCH_SOCFPGA from MMC raw mode enablement
      configs: cyclone5: Enable SPL FAT support
      configs: cyclone5: Update boot command for CycloneV
      configs: cyclone5: Disable SPI in SPL

Boon Khai Ng (1):
      spi: cadence: Add driver for xSPI

Brian Sune (5):
      FPGA2SDRAM setup fix
      Cyclone V Board handsoff script
      sync socfpga common u-boot dts
      Altera SoCFpga Boot Stall Fix
      Add optimized Makefile support for SoCFPGA handoff

Dinesh Maniyam (1):
      nand: denali: enable ONFI detection for SoCFPGA SoC64

Nikunj Kela (1):
      net: xgmac: Augment mdio read/write with cl-45 format support

Quentin Schulz (1):
      board: softing: vining: migrate to modern LED framework

Tanmay Kathpalia (1):
      gpio: dwapb: Enable SPL support for DWAPB GPIO driver

Tom Rini (1):
      socfpga_vining_fpga: Stop disabling device tree relocation

 arch/arm/dts/socfpga-common-u-boot.dtsi               |   8 +++
 arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi |  26 ++++++++++
 arch/arm/mach-socfpga/config.mk                       |  48 ++++++++++++++++++
 arch/arm/mach-socfpga/misc.c                          |  13 ++++-
 arch/arm/mach-socfpga/misc_gen5.c                     |  34 ++++++++++++-
 board/softing/vining_fpga/socfpga.c                   |  12 +++--
 common/spl/Kconfig                                    |   4 +-
 configs/socfpga_agilex5_defconfig                     |   2 +
 configs/socfpga_cyclone5_defconfig                    |   6 ++-
 configs/socfpga_vining_fpga_defconfig                 |  13 +----
 drivers/gpio/Kconfig                                  |   8 +++
 drivers/gpio/Makefile                                 |   2 +-
 drivers/mmc/socfpga_dw_mmc.c                          |  46 +++++++++++------
 drivers/mtd/nand/raw/Kconfig                          |   1 +
 drivers/net/dwc_eth_xgmac.c                           |  60 ++++++++++++++--------
 drivers/net/dwc_eth_xgmac.h                           |   1 +
 drivers/spi/Kconfig                                   |  15 ++++++
 drivers/spi/Makefile                                  |   1 +
 drivers/spi/cadence_xspi.c                            | 449 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/spi/cadence_xspi.h                            | 226 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 include/configs/socfpga_vining_fpga.h                 |   1 -
 tools/cv_bsp_generator/cv_bsp_generator.py            | 100 +++++++++++++++++++++++++++++++++++++
 tools/cv_bsp_generator/doc.py                         | 243 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tools/cv_bsp_generator/emif.py                        | 424 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tools/cv_bsp_generator/hps.py                         | 571 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tools/cv_bsp_generator/iocsr.py                       | 203 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tools/cv_bsp_generator/model.py                       | 114 ++++++++++++++++++++++++++++++++++++++++++
 tools/cv_bsp_generator/renderer.py                    | 196 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tools/cv_bsp_generator/requirements.txt               |   5 ++
 tools/cv_bsp_generator/streamer.py                    | 102 +++++++++++++++++++++++++++++++++++++
 tools/cv_bsp_generator/xmlgrok.py                     |  32 ++++++++++++
 31 files changed, 2908 insertions(+), 58 deletions(-)
 create mode 100644 arch/arm/mach-socfpga/config.mk
 create mode 100644 drivers/spi/cadence_xspi.c
 create mode 100644 drivers/spi/cadence_xspi.h
 create mode 100755 tools/cv_bsp_generator/cv_bsp_generator.py
 create mode 100755 tools/cv_bsp_generator/doc.py
 create mode 100755 tools/cv_bsp_generator/emif.py
 create mode 100755 tools/cv_bsp_generator/hps.py
 create mode 100755 tools/cv_bsp_generator/iocsr.py
 create mode 100755 tools/cv_bsp_generator/model.py
 create mode 100755 tools/cv_bsp_generator/renderer.py
 create mode 100644 tools/cv_bsp_generator/requirements.txt
 create mode 100755 tools/cv_bsp_generator/streamer.py
 create mode 100755 tools/cv_bsp_generator/xmlgrok.py


More information about the U-Boot mailing list