From: Jan Kiszka <jan.kiszka@siemens.com>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Peng Fan <peng.fan@nxp.com>,
Jaehoon Chung <jh80.chung@samsung.com>,
Marek Vasut <marex@nabladev.com>,
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>,
Tien Fong Chee <tien.fong.chee@altera.com>,
Simon Glass <sjg@chromium.org>, Sune Brian <briansune@gmail.com>
Subject: [PATCH v2 0/5] Fixes for CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION* and for SOCFPGA
Date: Mon, 1 Dec 2025 08:32:44 +0100 [thread overview]
Message-ID: <cover.1764574369.git.jan.kiszka@siemens.com> (raw)
Changes in v2:
- split off "select SPL_LOAD_BLOCK" change
- address build breakage with CONFIG_SPL_SYS_MMCSD_RAW_MODE off
- fix build condition and add comment to mach-socfpga/board.c patch
Several fixes needed after the mmc raw-mode was consolidated a while
ago. Not all the fallouts can be blamed to that refactoring. It also
looks to me like booting from mmc just worked by chance before.
This series now permits U-Boot proper loading from SPL via partition
type, at least on the DE0-Nano-SoC (other boards not available for
testing).
Note that even if the socfpga specific changes should not be accepted
due to switching to fat mode booting, the first two patches are
generic fixes, affecting all RAW_MODE_U_BOOT_USE_PARTITION_TYPE user -
of which we have none in-tree, though.
Jan
Jan Kiszka (5):
spl: Kconfig: Add missing SPL_LOAD_BLOCK for
SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
spl: mmc: Account for SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
being a choice
spl: mmc: Respect sector value passed to mmc_load_image_raw_partition
arch: arm: mach-socfpga: Adjust a raw sectors for MMC loading of
U-Boot from SPL
configs: socfpga: Fix de0_nano_soc boot
arch/arm/mach-socfpga/board.c | 11 +++++++++++
common/spl/Kconfig | 1 +
common/spl/spl_mmc.c | 21 +++++++++------------
configs/socfpga_de0_nano_soc_defconfig | 1 +
include/part.h | 3 ++-
5 files changed, 24 insertions(+), 13 deletions(-)
--
2.51.0
next reply other threads:[~2025-12-01 7:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-01 7:32 Jan Kiszka [this message]
2025-12-01 7:32 ` [PATCH v2 1/5] spl: Kconfig: Add missing SPL_LOAD_BLOCK for SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE Jan Kiszka
2025-12-01 17:49 ` Tom Rini
2025-12-01 7:32 ` [PATCH v2 2/5] spl: mmc: Account for SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE being a choice Jan Kiszka
2025-12-01 17:55 ` Tom Rini
2025-12-01 19:59 ` Jan Kiszka
2025-12-01 20:01 ` Tom Rini
2025-12-01 7:32 ` [PATCH v2 3/5] spl: mmc: Respect sector value passed to mmc_load_image_raw_partition Jan Kiszka
2025-12-01 17:55 ` Tom Rini
2025-12-03 19:42 ` Ralph Siemsen
2025-12-03 20:32 ` Ralph Siemsen
2025-12-01 7:32 ` [PATCH v2 4/5] arch: arm: mach-socfpga: Adjust a raw sectors for MMC loading of U-Boot from SPL Jan Kiszka
2025-12-03 20:32 ` Ralph Siemsen
2025-12-11 16:17 ` Jan Kiszka
2025-12-01 7:32 ` [PATCH v2 5/5] configs: socfpga: Fix de0_nano_soc boot Jan Kiszka
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.1764574369.git.jan.kiszka@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=briansune@gmail.com \
--cc=jh80.chung@samsung.com \
--cc=marex@nabladev.com \
--cc=peng.fan@nxp.com \
--cc=simon.k.r.goldschmidt@gmail.com \
--cc=sjg@chromium.org \
--cc=tien.fong.chee@altera.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