All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Simona Toaca (OSS)" <simona.toaca@oss.nxp.com>
To: uboot-imx@nxp.com, u-boot@lists.denx.de
Cc: Stefano Babic <sbabic@nabladev.com>,
	festevam@gmail.com, peng.fan@nxp.com, alice.guo@nxp.com,
	simona.toaca@nxp.com, ye.li@nxp.com, viorel.suman@nxp.com,
	ping.bai@nxp.com, marex@nabladev.com,
	sebastien.szymanski@armadeus.com, ravi@prevas.dk,
	joao.goncalves@toradex.com, ji.luo@nxp.com,
	tharvey@gateworks.com, qijian.guo@nxp.com
Subject: [PATCH v2 0/5] imx9{4,5}: Add Quickboot support
Date: Mon, 16 Mar 2026 10:15:51 +0200	[thread overview]
Message-ID: <cover.1773648510.git.simona.toaca@nxp.com> (raw)

From: Simona Toaca <simona.toaca@nxp.com>

This patch series adds support for saving DDR training
data to non-volatile memory on iMX94 and iMX95 platforms.
The purpose is running DDR Quickboot flow on next reboot.

The process is as follows:
- OEI runs Training flow for the DDRPHY
- OEI saves the data from training to volatile memory
- U-Boot can then save it to non-volatile memory (e.g. SD)
- OEI loads the data from NVM at cold reboot and runs Quickboot flow

By skipping training, a much lower boot time is achieved.

Changes for v2:
- Improved documentation to clarify the questions asked
- Detailed log messages for all commits
- Detailed Kconfig options for SPL_IMX_QB and CMD_IMX_QB
- Fixed the mentioned coding style issues

Simona Toaca (5):
  imx9: Add support for saving DDR training data to NVM
  arm: mach-imx: Add command to expose QB functionality
  imx9: Enable QB data saving for iMX9{4,5} EVK
  board: nxp: imx9{4,5}_evk: Add qb save option in SPL
  doc: board: nxp: Add Quickboot documentation

 arch/arm/include/asm/arch-imx9/ddr.h |  52 +++-
 arch/arm/include/asm/mach-imx/qb.h   |  15 +
 arch/arm/mach-imx/Kconfig            |  19 ++
 arch/arm/mach-imx/Makefile           |   1 +
 arch/arm/mach-imx/cmd_qb.c           | 132 ++++++++
 arch/arm/mach-imx/imx9/Makefile      |  12 +-
 arch/arm/mach-imx/imx9/qb.c          | 439 +++++++++++++++++++++++++++
 arch/arm/mach-imx/imx9/scmi/soc.c    |   9 +
 board/nxp/imx94_evk/spl.c            |   6 +-
 board/nxp/imx95_evk/spl.c            |   6 +-
 configs/imx943_evk_defconfig         |   1 +
 configs/imx95_15x15_evk_defconfig    |   1 +
 configs/imx95_evk.config             |   1 +
 doc/board/nxp/index.rst              |   1 +
 doc/board/nxp/qb.rst                 |  49 +++
 drivers/ddr/imx/imx9/Kconfig         |   8 +
 drivers/ddr/imx/phy/Kconfig          |   7 +
 17 files changed, 754 insertions(+), 5 deletions(-)
 create mode 100644 arch/arm/include/asm/mach-imx/qb.h
 create mode 100644 arch/arm/mach-imx/cmd_qb.c
 create mode 100644 arch/arm/mach-imx/imx9/qb.c
 create mode 100644 doc/board/nxp/qb.rst

-- 
2.43.0


             reply	other threads:[~2026-03-16  8:05 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-16  8:15 Simona Toaca (OSS) [this message]
2026-03-16  8:15 ` [PATCH v2 1/5] imx9: Add support for saving DDR training data to NVM Simona Toaca (OSS)
2026-03-16 12:13   ` Marek Vasut
2026-03-17 12:36     ` Simona Toaca
2026-03-17 12:45       ` Marek Vasut
2026-03-16  8:15 ` [PATCH v2 2/5] arm: mach-imx: Add command to expose QB functionality Simona Toaca (OSS)
2026-03-16 12:20   ` Marek Vasut
2026-03-17 15:28     ` Simona Toaca
2026-03-17 17:13       ` Marek Vasut
2026-03-16  8:15 ` [PATCH v2 3/5] imx9: Enable QB data saving for iMX9{4,5} EVK Simona Toaca (OSS)
2026-03-16  8:15 ` [PATCH v2 4/5] board: nxp: imx9{4,5}_evk: Add qb save option in SPL Simona Toaca (OSS)
2026-03-16 12:22   ` Marek Vasut
2026-03-17 12:40     ` Simona Toaca
2026-03-17 12:47       ` Marek Vasut
2026-03-16  8:15 ` [PATCH v2 5/5] doc: board: nxp: Add Quickboot documentation Simona Toaca (OSS)
2026-03-16 12:32   ` Marek Vasut
2026-03-17 12:53     ` Simona Toaca
2026-03-17 17:10       ` Marek Vasut
2026-03-18 14:20         ` Simona Toaca
2026-03-18 20:32           ` Marek Vasut
2026-03-19 15:17             ` Simona Toaca
2026-03-19 18:02               ` Marek Vasut
2026-03-20 15:29                 ` Simona Toaca
2026-03-20 16:29                   ` Marek Vasut

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.1773648510.git.simona.toaca@nxp.com \
    --to=simona.toaca@oss.nxp.com \
    --cc=alice.guo@nxp.com \
    --cc=festevam@gmail.com \
    --cc=ji.luo@nxp.com \
    --cc=joao.goncalves@toradex.com \
    --cc=marex@nabladev.com \
    --cc=peng.fan@nxp.com \
    --cc=ping.bai@nxp.com \
    --cc=qijian.guo@nxp.com \
    --cc=ravi@prevas.dk \
    --cc=sbabic@nabladev.com \
    --cc=sebastien.szymanski@armadeus.com \
    --cc=simona.toaca@nxp.com \
    --cc=tharvey@gateworks.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    --cc=viorel.suman@nxp.com \
    --cc=ye.li@nxp.com \
    /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 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.