[PATCH 1/2] mx6cuboxi: Fix the mmc device for the rootfs

Peter Robinson pbrobinson at gmail.com
Mon Jul 19 22:29:25 CEST 2021


On Mon, Jul 19, 2021 at 9:15 PM Fabio Estevam <festevam at gmail.com> wrote:
>
> After the conversion to DM_MMC, the rootfs becomes mmc 1, so
> adjust it accordingly.

Should this be fixed with an alias in the dts, what's now on mmc 0?

> Signed-off-by: Fabio Estevam <festevam at gmail.com>
> ---
>  include/configs/mx6cuboxi.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h
> index 55717c77ab38..1a06f29b8c17 100644
> --- a/include/configs/mx6cuboxi.h
> +++ b/include/configs/mx6cuboxi.h
> @@ -57,7 +57,7 @@
>         "console=" CONSOLE_DEV ",115200\0" \
>         "bootm_size=0x10000000\0" \
>         "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
> -       "finduuid=part uuid mmc 0:1 uuid\0" \
> +       "finduuid=part uuid mmc 1:1 uuid\0" \
>         "update_sd_firmware=" \
>                 "if test ${ip_dyn} = yes; then " \
>                         "setenv get_cmd dhcp; " \
> --
> 2.25.1
>


More information about the U-Boot mailing list