[Buildroot] [RFC] board/mx6cubox: Switch to extlinux.conf

François Perrad francois.perrad at gadz.org
Mon Jul 12 20:43:12 UTC 2021


Le lun. 12 juil. 2021 à 22:03, Fabio Estevam <festevam at gmail.com> a écrit :

> Hi François,
>
> On Mon, Jul 12, 2021 at 4:55 PM François Perrad
> <francois.perrad at gadz.org> wrote:
>
> > Hi Fabio,
> >
> > Currently, I got a kernel panic after:
> > [    6.761962] VFS: Cannot open root device "PARTUUID=" or
> unknown-block(0,0): error -6
> > [    6.899508] Kernel panic - not syncing: VFS: Unable to mount root fs
> on unknown-block(0,0)
> >
> > looks like, ${uuid} was not correct.
> > boot.scr.txt starts with:
> >     setenv finduuid "part uuid mmc 1:1 uuid"
> >     run finduuid
>
> Thanks for testing.
>
> It seems that this change in U-Boot would fix it:
>
> --- 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; " \
>
> If possible, could you please manually change finduuid in the U-Boot
> prompt?
>
> => setenv finduuid 'part uuid mmc 1:1 uuid'
> => saveenv
> => reset
>
>
OK fixed within interactive mode.

after fully booted:
    # cat /boot/extlinux/extlinux.conf
    Label imx6qdl-cubox Buildroot
            kernel ../zImage
            fdtdir ../
            append root=PARTUUID=${uuid} rootwait rw
console=${console},${baudrate}

François

Thanks,
>
> Fabio Estevam
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210712/c60939d2/attachment-0002.html>


More information about the buildroot mailing list