All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] board: toradex: *-imx95: add support for Quickboot autosave in SPL
@ 2026-08-07 11:41 Stefan Eichenberger
  2026-08-07 11:41 ` [PATCH v1 1/3] board: toradex: verdin-imx95: add SPL quick boot autosave support Stefan Eichenberger
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stefan Eichenberger @ 2026-08-07 11:41 UTC (permalink / raw)
  To: francesco.dolcini, sbabic, festevam, uboot-imx, trini,
	franz.schnyder, emanuele.ghidoli, stefan.eichenberger
  Cc: u-boot

Add support for Quickboot autosave in the SPL for the Aquila, Verdin, and
Smarc boards from Toradex. Quickboot itself is enabled by default.

Stefan Eichenberger (3):
  board: toradex: verdin-imx95: add SPL quick boot autosave support
  board: toradex: smarc-imx95: add SPL quick boot autosave support
  board: toradex: aquila-imx95: add SPL quick boot autosave support

 board/toradex/aquila-imx95/spl.c      | 4 ++++
 board/toradex/smarc-imx95/spl.c       | 4 ++++
 board/toradex/verdin-imx95/spl.c      | 4 ++++
 configs/aquila-imx95_defconfig        | 2 ++
 configs/toradex-smarc-imx95_defconfig | 2 ++
 configs/verdin-imx95_defconfig        | 2 ++
 6 files changed, 18 insertions(+)

-- 
2.55.0


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

* [PATCH v1 1/3] board: toradex: verdin-imx95: add SPL quick boot autosave support
  2026-08-07 11:41 [PATCH v1 0/3] board: toradex: *-imx95: add support for Quickboot autosave in SPL Stefan Eichenberger
@ 2026-08-07 11:41 ` Stefan Eichenberger
  2026-08-07 11:41 ` [PATCH v1 2/3] board: toradex: smarc-imx95: " Stefan Eichenberger
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Stefan Eichenberger @ 2026-08-07 11:41 UTC (permalink / raw)
  To: francesco.dolcini, sbabic, festevam, uboot-imx, trini,
	franz.schnyder, emanuele.ghidoli, stefan.eichenberger
  Cc: u-boot

From: Stefan Eichenberger <stefan.eichenberger@toradex.com>

Add support for the QuickBoot save feature in the SPL for Verdin iMX95
modules to speed up boot time by skipping DDR training if a valid
QuickBoot save is found. When CONFIG_SPL_IMX_QB is enabled, the settings
will be stored automatically from the SPL. Otherwise, the command 'qb
save mmc 0:1' must be used.

Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
---
 board/toradex/verdin-imx95/spl.c | 4 ++++
 configs/verdin-imx95_defconfig   | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/board/toradex/verdin-imx95/spl.c b/board/toradex/verdin-imx95/spl.c
index 9f501c11c1d..93e76be6145 100644
--- a/board/toradex/verdin-imx95/spl.c
+++ b/board/toradex/verdin-imx95/spl.c
@@ -6,6 +6,7 @@
 #include <asm/arch/sys_proto.h>
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/mach-imx/ele_api.h>
+#include <asm/mach-imx/qb.h>
 #include <asm/sections.h>
 #include <asm/global_data.h>
 #include <clk.h>
@@ -40,6 +41,9 @@ void spl_board_init(void)
 	ret = ele_start_rng();
 	if (ret)
 		printf("Fail to start RNG: %d\n", ret);
+
+	if (IS_ENABLED(CONFIG_SPL_IMX_QB))
+		spl_imx_qb_save();
 }
 
 void board_init_f(ulong dummy)
diff --git a/configs/verdin-imx95_defconfig b/configs/verdin-imx95_defconfig
index daf41a8b830..d7076231bbe 100644
--- a/configs/verdin-imx95_defconfig
+++ b/configs/verdin-imx95_defconfig
@@ -26,6 +26,7 @@ CONFIG_SYS_LOAD_ADDR=0x90400000
 CONFIG_WATCHDOG_TIMEOUT_MSECS=30000
 CONFIG_SPL=y
 CONFIG_SPL_RECOVER_DATA_SECTION=y
+CONFIG_SPL_IMX_QB=y
 CONFIG_PCI=y
 CONFIG_SYS_MEMTEST_START=0x90000000
 CONFIG_SYS_MEMTEST_END=0xA0000000
@@ -60,6 +61,7 @@ CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1040
 CONFIG_SPL_I2C=y
 CONFIG_SPL_DM_MAILBOX=y
+CONFIG_SPL_MMC_WRITE=y
 CONFIG_SPL_POWER_DOMAIN=y
 CONFIG_SPL_THERMAL=y
 CONFIG_SPL_WATCHDOG=y
-- 
2.55.0


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

* [PATCH v1 2/3] board: toradex: smarc-imx95: add SPL quick boot autosave support
  2026-08-07 11:41 [PATCH v1 0/3] board: toradex: *-imx95: add support for Quickboot autosave in SPL Stefan Eichenberger
  2026-08-07 11:41 ` [PATCH v1 1/3] board: toradex: verdin-imx95: add SPL quick boot autosave support Stefan Eichenberger
@ 2026-08-07 11:41 ` Stefan Eichenberger
  2026-08-07 11:41 ` [PATCH v1 3/3] board: toradex: aquila-imx95: " Stefan Eichenberger
  2026-08-10 15:57 ` [PATCH v1 0/3] board: toradex: *-imx95: add support for Quickboot autosave in SPL Francesco Dolcini
  3 siblings, 0 replies; 5+ messages in thread
From: Stefan Eichenberger @ 2026-08-07 11:41 UTC (permalink / raw)
  To: francesco.dolcini, sbabic, festevam, uboot-imx, trini,
	franz.schnyder, emanuele.ghidoli, stefan.eichenberger
  Cc: u-boot

From: Stefan Eichenberger <stefan.eichenberger@toradex.com>

Add support for the QuickBoot save feature in the SPL for Toradex SMARC
iMX95 modules to speed up boot time by skipping DDR training if a
valid QuickBoot save is found. When CONFIG_SPL_IMX_QB is enabled, the
settings will be stored automatically from the SPL. Otherwise, the
command 'qb save mmc 0:1' must be used.

Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
---
 board/toradex/smarc-imx95/spl.c       | 4 ++++
 configs/toradex-smarc-imx95_defconfig | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/board/toradex/smarc-imx95/spl.c b/board/toradex/smarc-imx95/spl.c
index ce8da89410b..aebb4a2f0b6 100644
--- a/board/toradex/smarc-imx95/spl.c
+++ b/board/toradex/smarc-imx95/spl.c
@@ -6,6 +6,7 @@
 #include <asm/arch/sys_proto.h>
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/mach-imx/ele_api.h>
+#include <asm/mach-imx/qb.h>
 #include <asm/sections.h>
 #include <asm/global_data.h>
 #include <clk.h>
@@ -81,6 +82,9 @@ void spl_board_init(void)
 	ret = ele_start_rng();
 	if (ret)
 		printf("Fail to start RNG: %d\n", ret);
+
+	if (IS_ENABLED(CONFIG_SPL_IMX_QB))
+		spl_imx_qb_save();
 }
 
 void board_init_f(ulong dummy)
diff --git a/configs/toradex-smarc-imx95_defconfig b/configs/toradex-smarc-imx95_defconfig
index 9abadb0ed1a..b76d1fb3cd7 100644
--- a/configs/toradex-smarc-imx95_defconfig
+++ b/configs/toradex-smarc-imx95_defconfig
@@ -26,6 +26,7 @@ CONFIG_SYS_LOAD_ADDR=0x90400000
 CONFIG_WATCHDOG_TIMEOUT_MSECS=30000
 CONFIG_SPL=y
 CONFIG_SPL_RECOVER_DATA_SECTION=y
+CONFIG_SPL_IMX_QB=y
 CONFIG_PCI=y
 CONFIG_SYS_MEMTEST_START=0x90000000
 CONFIG_SYS_MEMTEST_END=0xA0000000
@@ -59,6 +60,7 @@ CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1040
 CONFIG_SPL_I2C=y
 CONFIG_SPL_DM_MAILBOX=y
+CONFIG_SPL_MMC_WRITE=y
 CONFIG_SPL_POWER_DOMAIN=y
 CONFIG_SPL_THERMAL=y
 CONFIG_SPL_WATCHDOG=y
-- 
2.55.0


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

* [PATCH v1 3/3] board: toradex: aquila-imx95: add SPL quick boot autosave support
  2026-08-07 11:41 [PATCH v1 0/3] board: toradex: *-imx95: add support for Quickboot autosave in SPL Stefan Eichenberger
  2026-08-07 11:41 ` [PATCH v1 1/3] board: toradex: verdin-imx95: add SPL quick boot autosave support Stefan Eichenberger
  2026-08-07 11:41 ` [PATCH v1 2/3] board: toradex: smarc-imx95: " Stefan Eichenberger
@ 2026-08-07 11:41 ` Stefan Eichenberger
  2026-08-10 15:57 ` [PATCH v1 0/3] board: toradex: *-imx95: add support for Quickboot autosave in SPL Francesco Dolcini
  3 siblings, 0 replies; 5+ messages in thread
From: Stefan Eichenberger @ 2026-08-07 11:41 UTC (permalink / raw)
  To: francesco.dolcini, sbabic, festevam, uboot-imx, trini,
	franz.schnyder, emanuele.ghidoli, stefan.eichenberger
  Cc: u-boot

From: Stefan Eichenberger <stefan.eichenberger@toradex.com>

Add support for the QuickBoot save feature in the SPL for Aquila iMX95
modules to speed up boot time by skipping DDR training if a valid
QuickBoot save is found. When CONFIG_SPL_IMX_QB is enabled, the settings
will be stored automatically from the SPL. Otherwise, the command 'qb save
mmc 0:1' must be used.

Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
---
 board/toradex/aquila-imx95/spl.c | 4 ++++
 configs/aquila-imx95_defconfig   | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/board/toradex/aquila-imx95/spl.c b/board/toradex/aquila-imx95/spl.c
index 9f501c11c1d..93e76be6145 100644
--- a/board/toradex/aquila-imx95/spl.c
+++ b/board/toradex/aquila-imx95/spl.c
@@ -6,6 +6,7 @@
 #include <asm/arch/sys_proto.h>
 #include <asm/mach-imx/boot_mode.h>
 #include <asm/mach-imx/ele_api.h>
+#include <asm/mach-imx/qb.h>
 #include <asm/sections.h>
 #include <asm/global_data.h>
 #include <clk.h>
@@ -40,6 +41,9 @@ void spl_board_init(void)
 	ret = ele_start_rng();
 	if (ret)
 		printf("Fail to start RNG: %d\n", ret);
+
+	if (IS_ENABLED(CONFIG_SPL_IMX_QB))
+		spl_imx_qb_save();
 }
 
 void board_init_f(ulong dummy)
diff --git a/configs/aquila-imx95_defconfig b/configs/aquila-imx95_defconfig
index bb3d475ef4d..ee66cebfa4f 100644
--- a/configs/aquila-imx95_defconfig
+++ b/configs/aquila-imx95_defconfig
@@ -26,6 +26,7 @@ CONFIG_SYS_LOAD_ADDR=0x90400000
 CONFIG_WATCHDOG_TIMEOUT_MSECS=30000
 CONFIG_SPL=y
 CONFIG_SPL_RECOVER_DATA_SECTION=y
+CONFIG_SPL_IMX_QB=y
 CONFIG_PCI=y
 CONFIG_SYS_MEMTEST_START=0x90000000
 CONFIG_SYS_MEMTEST_END=0xA0000000
@@ -59,6 +60,7 @@ CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1040
 CONFIG_SPL_I2C=y
 CONFIG_SPL_DM_MAILBOX=y
+CONFIG_SPL_MMC_WRITE=y
 CONFIG_SPL_POWER_DOMAIN=y
 CONFIG_SPL_THERMAL=y
 CONFIG_SPL_WATCHDOG=y
-- 
2.55.0


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

* Re: [PATCH v1 0/3] board: toradex: *-imx95: add support for Quickboot autosave in SPL
  2026-08-07 11:41 [PATCH v1 0/3] board: toradex: *-imx95: add support for Quickboot autosave in SPL Stefan Eichenberger
                   ` (2 preceding siblings ...)
  2026-08-07 11:41 ` [PATCH v1 3/3] board: toradex: aquila-imx95: " Stefan Eichenberger
@ 2026-08-10 15:57 ` Francesco Dolcini
  3 siblings, 0 replies; 5+ messages in thread
From: Francesco Dolcini @ 2026-08-10 15:57 UTC (permalink / raw)
  To: Stefan Eichenberger
  Cc: francesco.dolcini, sbabic, festevam, uboot-imx, trini,
	franz.schnyder, emanuele.ghidoli, stefan.eichenberger, u-boot

On Fri, Aug 07, 2026 at 01:41:51PM +0200, Stefan Eichenberger wrote:
> Add support for Quickboot autosave in the SPL for the Aquila, Verdin, and
> Smarc boards from Toradex. Quickboot itself is enabled by default.
> 
> Stefan Eichenberger (3):
>   board: toradex: verdin-imx95: add SPL quick boot autosave support
>   board: toradex: smarc-imx95: add SPL quick boot autosave support
>   board: toradex: aquila-imx95: add SPL quick boot autosave support

Acked-by: Francesco Dolcini <francesco.dolcini@toradex.com>


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

end of thread, other threads:[~2026-08-10 16:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-07 11:41 [PATCH v1 0/3] board: toradex: *-imx95: add support for Quickboot autosave in SPL Stefan Eichenberger
2026-08-07 11:41 ` [PATCH v1 1/3] board: toradex: verdin-imx95: add SPL quick boot autosave support Stefan Eichenberger
2026-08-07 11:41 ` [PATCH v1 2/3] board: toradex: smarc-imx95: " Stefan Eichenberger
2026-08-07 11:41 ` [PATCH v1 3/3] board: toradex: aquila-imx95: " Stefan Eichenberger
2026-08-10 15:57 ` [PATCH v1 0/3] board: toradex: *-imx95: add support for Quickboot autosave in SPL Francesco Dolcini

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.