U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: dinesh.maniyam@altera.com
To: u-boot@lists.denx.de
Cc: Marek Vasut <marex@denx.de>,
	Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>,
	Tien Fong Chee <tien.fong.chee@altera.com>,
	Dinh Nguyen <dinguyen@kernel.org>, Tom Rini <trini@konsulko.com>,
	Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>,
	Chen Huei Lok <chen.huei.lok@altera.com>,
	Kok Kiang <kok.kiang.hea@altera.com>,
	Boon Khai <boon.khai.ng@altera.com>,
	Dinesh Maniyam <dinesh.maniyam@altera.com>
Subject: [PATCH 0/4] arm: socfpga: Add Arria 10 SoCDK QSPI and NAND board variants
Date: Fri, 26 Jun 2026 02:08:22 +0800	[thread overview]
Message-ID: <cover.1782410782.git.dinesh.maniyam@altera.com> (raw)

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


             reply	other threads:[~2026-06-25 18:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-25 18:08 dinesh.maniyam [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1782410782.git.dinesh.maniyam@altera.com \
    --to=dinesh.maniyam@altera.com \
    --cc=alif.zakuan.yuslaimi@altera.com \
    --cc=boon.khai.ng@altera.com \
    --cc=chen.huei.lok@altera.com \
    --cc=dinguyen@kernel.org \
    --cc=kok.kiang.hea@altera.com \
    --cc=marex@denx.de \
    --cc=simon.k.r.goldschmidt@gmail.com \
    --cc=tien.fong.chee@altera.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox