All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] arm: socfpga: Add Arria 10 SoCDK QSPI and NAND board variants
@ 2026-06-25 18:08 dinesh.maniyam
  2026-06-25 18:08 ` [PATCH 1/4] arm: dts: socfpga: Update Arria 10 SoCDK U-Boot handoff data dinesh.maniyam
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dinesh.maniyam @ 2026-06-25 18:08 UTC (permalink / raw)
  To: u-boot
  Cc: Marek Vasut, Simon Goldschmidt, Tien Fong Chee, Dinh Nguyen,
	Tom Rini, Alif Zakuan Yuslaimi, Chen Huei Lok, Kok Kiang,
	Boon Khai, Dinesh Maniyam

From: Dinesh Maniyam <dinesh.maniyam@altera.com>

This series adds U-Boot support for two new Arria 10 SoCDK boot
variants (Cadence QSPI and Denali NAND) and refreshes the matching
U-Boot handoff data so the existing Arria 10 boards keep building
cleanly:

  1/4  arm: dts: socfpga: Update Arria 10 SoCDK U-Boot handoff data
       Refresh the U-Boot-only handoff dtsi and the generated headers,
       and rename the CONFIG_IO_* macros to CFG_IO_* on both the
       producer (qts-filter-a10.sh) and consumer (handoff dtsi /
       Chameleon V3 270_3 and 480_2 headers) sides so the device tree
       compiler stops emitting "Unexpected 'CONFIG_IO_*'" lexical
       errors when building the Arria 10 SoCDK and Chameleon V3 DTBs.

  2/4  ARM: socfpga: Add default FIT images for Arria 10 SoCDK
       Add default FIT image templates for SPL/U-Boot and the Linux
       kernel under board/altera/arria10-socdk/ so the SoCDK can boot
       via a single mkimage-generated FIT.

  3/4  arm: socfpga: Add Arria 10 SoCDK QSPI and NAND boards
       Add the two new in-tree DTS files, the U-Boot dtsi overlays,
       handoff headers, defconfigs and shared board config bits for
       the QSPI (Cadence QSPI) and NAND (Denali NAND) boot variants.
       The boards intentionally stay on the in-tree DTS rather than
       CONFIG_OF_UPSTREAM because the upstream Linux Arria 10 device
       tree does not expose the clkmgr (and related) labels that
       arch/arm/dts/socfpga_arria10-u-boot.dtsi already references.

  4/4  doc: socfpga: Describe Arria 10 SoCDK QSPI U-Boot and SPL build
       flow
       Document how to build SPL + U-Boot, assemble the default FIT
       images and lay them out on QSPI flash.

Hardware tested
---------------
  - Intel Arria 10 SoCDK rev C, Cadence QSPI flash, SPL + U-Boot
  - Intel Arria 10 SoCDK rev C, Denali NAND flash,  SPL + U-Boot

Dependencies
------------
This series depends on three earlier U-Boot NAND prerequisite changes
already posted to the list:

  1) "mtd: nand: raw: Cadence NAND cleanup" series (2 patches)
     https://lore.kernel.org/u-boot/20260304032441.31558-1-dinesh.maniyam@altera.com/

  2) "mtd: rawnand: denali: add NAND_DENALI_SKIP_BBTSCAN_SPL Kconfig"
     https://lore.kernel.org/u-boot/20260625170153.2593-1-dinesh.maniyam@altera.com/

  3) "mtd: rawnand: allow SYS_NAND_BLOCK_SIZE when SPL_NAND_CADENCE
     is set"
     https://lore.kernel.org/u-boot/20260625170223.2963-1-dinesh.maniyam@altera.com/

Without (1) the SPL Cadence NAND build does not select the right MTD
header and Kconfig dependencies; without (2)/(3) the new Arria 10
NAND defconfig cannot disable the Denali BBT scan in SPL or pick its
own SYS_NAND_BLOCK_SIZE.

Dinesh Maniyam (4):
  arm: dts: socfpga: Update Arria 10 SoCDK U-Boot handoff data
  ARM: socfpga: Add default FIT images for Arria 10 SoCDK
  arm: socfpga: Add Arria 10 SoCDK QSPI and NAND boards
  doc: socfpga: Describe Arria 10 SoCDK QSPI U-Boot and SPL build flow

 arch/arm/dts/socfpga_arria10-handoff.dtsi     |  36 +--
 ...ocfpga_arria10_chameleonv3_270_3_handoff.h | 250 +++++++-------
 ...ocfpga_arria10_chameleonv3_480_2_handoff.h | 250 +++++++-------
 .../socfpga_arria10_socdk_nand-u-boot.dtsi    |  42 +++
 arch/arm/dts/socfpga_arria10_socdk_nand.dts   |  26 ++
 .../dts/socfpga_arria10_socdk_nand_handoff.h  | 305 ++++++++++++++++++
 .../socfpga_arria10_socdk_qspi-u-boot.dtsi    |  48 +++
 arch/arm/dts/socfpga_arria10_socdk_qspi.dts   |  11 +
 .../dts/socfpga_arria10_socdk_qspi_handoff.h  | 305 ++++++++++++++++++
 .../dts/socfpga_arria10_socdk_sdmmc_handoff.h | 262 +++++++--------
 arch/arm/mach-socfpga/qts-filter-a10.sh       |  22 +-
 .../altera/arria10-socdk/fit_kernel_nand.its  |  44 +++
 .../altera/arria10-socdk/fit_kernel_qspi.its  |  44 +++
 board/altera/arria10-socdk/fit_uboot.its      |  43 +++
 configs/socfpga_arria10_nand_defconfig        |  95 ++++++
 configs/socfpga_arria10_qspi_defconfig        |  86 +++++
 doc/README.socfpga_arria10_qspi_socdk         |  56 ++++
 include/configs/socfpga_arria10_socdk.h       |  27 ++
 18 files changed, 1542 insertions(+), 410 deletions(-)
 create mode 100644 arch/arm/dts/socfpga_arria10_socdk_nand-u-boot.dtsi
 create mode 100644 arch/arm/dts/socfpga_arria10_socdk_nand.dts
 create mode 100644 arch/arm/dts/socfpga_arria10_socdk_nand_handoff.h
 create mode 100644 arch/arm/dts/socfpga_arria10_socdk_qspi-u-boot.dtsi
 create mode 100644 arch/arm/dts/socfpga_arria10_socdk_qspi.dts
 create mode 100644 arch/arm/dts/socfpga_arria10_socdk_qspi_handoff.h
 create mode 100644 board/altera/arria10-socdk/fit_kernel_nand.its
 create mode 100644 board/altera/arria10-socdk/fit_kernel_qspi.its
 create mode 100644 board/altera/arria10-socdk/fit_uboot.its
 create mode 100644 configs/socfpga_arria10_nand_defconfig
 create mode 100644 configs/socfpga_arria10_qspi_defconfig
 create mode 100644 doc/README.socfpga_arria10_qspi_socdk

-- 
2.43.7


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-25 18:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-25 18:08 [PATCH 0/4] arm: socfpga: Add Arria 10 SoCDK QSPI and NAND board variants dinesh.maniyam
2026-06-25 18:08 ` [PATCH 1/4] arm: dts: socfpga: Update Arria 10 SoCDK U-Boot handoff data dinesh.maniyam
2026-06-25 18:08 ` [PATCH 2/4] ARM: socfpga: Add default FIT images for Arria 10 SoCDK dinesh.maniyam
2026-06-25 18:08 ` [PATCH 3/4] arm: socfpga: Add Arria 10 SoCDK QSPI and NAND boards dinesh.maniyam
2026-06-25 18:08 ` [PATCH 4/4] doc: socfpga: Describe Arria 10 SoCDK QSPI U-Boot and SPL build flow dinesh.maniyam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.