public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Fixes for CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION* and for SOCFPGA
@ 2025-12-01  7:32 Jan Kiszka
  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
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Jan Kiszka @ 2025-12-01  7:32 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Peng Fan, Jaehoon Chung, Marek Vasut, Simon Goldschmidt,
	Tien Fong Chee, Simon Glass, Sune Brian

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


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

end of thread, other threads:[~2025-12-11 16:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-01  7:32 [PATCH v2 0/5] Fixes for CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION* and for SOCFPGA Jan Kiszka
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox