diff options
author | Roland Hieber <rhi@pengutronix.de> | 2023-10-20 11:05:16 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2023-10-20 12:54:11 +0200 |
commit | e0ca556db7983a99acc3330dc32cdae395e84003 (patch) | |
tree | a1720646675ff121dd6cc4c09a633d1b08d89c10 /configs/platform-v7a/barebox-at91.config.diff | |
parent | 1286893d608b0ea6dce88da0c3afdadf926ffa3c (diff) | |
download | DistroKit-e0ca556db7983a99acc3330dc32cdae395e84003.tar.gz DistroKit-e0ca556db7983a99acc3330dc32cdae395e84003.tar.xz |
v7a: barebox: pass root=mmcblkXpN instead of root=PARTUUID=… to kernel
Kernels prior to v5.10-rc1 could not ensure deterministic ordering for
MMC devices. For this reason, the default 'append-root' behaviour of
barebox for MMC block devices is to append a 'root=PARTUUID=XYZ' option
to the kernel command line. The PARTUUID is derived from the partition
table and is expected to be unique system-wide. This is however
susceptible to breakage if the exact same image is written to different
boot media in the system, e.g. SD and eMMC, so the PARTUUID will no
longer uniquely refer to a single partition.
Newer kernel versions honor the numbering used for 'mmc' aliases,
which makes 'root=mmcblkXpN' deterministic as long as barebox and
kernel aliases are identical. Since we're using kernel 6.4, enable this
option in barebox.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20231020090519.3320460-3-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/barebox-at91.config.diff')
-rw-r--r-- | configs/platform-v7a/barebox-at91.config.diff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/platform-v7a/barebox-at91.config.diff b/configs/platform-v7a/barebox-at91.config.diff index 0eca8ce..35b055a 100644 --- a/configs/platform-v7a/barebox-at91.config.diff +++ b/configs/platform-v7a/barebox-at91.config.diff @@ -1,4 +1,4 @@ -00cfb07a044814b94b716078e86d3d9b +da4e754ab156cc4c96aeadfc6c19b73f CONFIG_ARCH_AT91=y # CONFIG_ARCH_BCM283X is not set # CONFIG_ARCH_IMX is undefined |