[U-Boot] [PATCH] board: tbs2910: Add CMD_PART

There is no stable mmcblk device numbering over different linux versions. Enable CMD_PART to be able to query the UUID of the root filesystem partition. So we can pass root=PARTUUID=XXX instead of root=/dev/mmcblkXpY in bootargs. Leave the default environment as is for now to stay compatible with original TBS settings.
Signed-off-by: Soeren Moch smoch@web.de --- Cc: Stefano Babic sbabic@denx.de Cc: u-boot@lists.denx.de --- include/configs/tbs2910.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h index facd9cf..d877336 100644 --- a/include/configs/tbs2910.h +++ b/include/configs/tbs2910.h @@ -56,9 +56,11 @@
/* *** Command definition *** */ #define CONFIG_CMD_BMODE +#define CONFIG_CMD_PART
/* Filesystems / image support */ #define CONFIG_EFI_PARTITION +#define CONFIG_PARTITION_UUIDS
/* MMC */ #define CONFIG_SYS_FSL_USDHC_NUM 3

On 22/09/2016 20:29, Soeren Moch wrote:
There is no stable mmcblk device numbering over different linux versions. Enable CMD_PART to be able to query the UUID of the root filesystem partition. So we can pass root=PARTUUID=XXX instead of root=/dev/mmcblkXpY in bootargs. Leave the default environment as is for now to stay compatible with original TBS settings.
Signed-off-by: Soeren Moch smoch@web.de
Cc: Stefano Babic sbabic@denx.de Cc: u-boot@lists.denx.de
include/configs/tbs2910.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h index facd9cf..d877336 100644 --- a/include/configs/tbs2910.h +++ b/include/configs/tbs2910.h @@ -56,9 +56,11 @@
/* *** Command definition *** */ #define CONFIG_CMD_BMODE +#define CONFIG_CMD_PART
/* Filesystems / image support */ #define CONFIG_EFI_PARTITION +#define CONFIG_PARTITION_UUIDS
/* MMC */ #define CONFIG_SYS_FSL_USDHC_NUM 3
Applied to u-boot-imx, thanks !
Best regards, Stefano Babic
participants (2)
-
Soeren Moch
-
Stefano Babic