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: Yan Liu <yan-liu@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
parent
85d17be374
commit
437bc42e7f
@ -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"
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user