[PATCH 0/2] Add support for customizable find_distro_rootpart
Kory Maincent (TI.com)
kory.maincent at bootlin.com
Fri Oct 31 17:36:02 CET 2025
Add a customizable find_distro_rootpart command to allow each board to
define its own logic for locating the rootfs partition inside the
config_distro_bootcmd logic.
Convert am335x_evm board to this new find_distro_rootpart customizable
environment variable to locate the rootfs partition dynamically, instead
of finduuid which hardcodes the rootfs partition location (mmc 0:2).
Signed-off-by: Kory Maincent (TI.com) <kory.maincent at bootlin.com>
---
Kory Maincent (TI.com) (2):
distro_bootcmd: Add support for customizable find_distro_rootpart
include: configs: am335x_evm: Replace findduid with find_distro_rootpart
configs/am335x_evm_defconfig | 3 +--
configs/am335x_evm_spiboot_defconfig | 3 +--
configs/am335x_hs_evm_defconfig | 2 +-
configs/am335x_hs_evm_spi_defconfig | 1 -
configs/am335x_hs_evm_uart_defconfig | 3 +--
doc/develop/distro.rst | 11 +++++++++++
include/config_distro_bootcmd.h | 10 +++++++---
include/configs/am335x_evm.h | 4 +++-
8 files changed, 25 insertions(+), 12 deletions(-)
---
base-commit: 4e4a9de31de2a5f395ee25c59e4026422fbcb27e
change-id: 20251031-feature_distro_rootpart-58887b655c1f
Best regards,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
More information about the U-Boot
mailing list