Skip to content
Snippets Groups Projects
Commit 437bc42e authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Tom Rini
Browse files

ti_armv7_common: env: Use partuuid for detecting mmc root fs


Linux kernel can enumerate mmc sd as either mmcblk0 or mmcblk1.
But u-boot default environment assumes that sd always populates
as mmcblk0. With this the root fs is not being mounted when
mmc sd is enumerated as mmcblk1.
So use partuuid to update root= option in default environment.

Reported-by: default avatarYan Liu <yan-liu@ti.com>
Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent 85d17be3
No related branches found
No related tags found
No related merge requests found
......@@ -61,9 +61,10 @@
#define DEFAULT_MMC_TI_ARGS \
"mmcdev=0\0" \
"mmcrootfstype=ext4 rootwait\0" \
"args_mmc=setenv bootargs console=${console} " \
"finduuid=part uuid mmc 0:2 uuid\0" \
"args_mmc=run finduuid;setenv bootargs console=${console} " \
"${optargs} " \
"root=${mmcroot} " \
"root=PARTUUID=${uuid} rw " \
"rootfstype=${mmcrootfstype}\0"
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment