[PATCH v2 2/2] board: imx8mp: add boot.cmd for distro boot on iMX8MP

Fabio Estevam festevam at gmail.com
Fri Dec 18 12:03:04 CET 2020


Hi Alice,

On Fri, Dec 18, 2020 at 4:20 AM Alice Guo (OSS) <alice.guo at oss.nxp.com> wrote:

> +++ b/board/freescale/imx8mp_evk/boot.cmd
> @@ -0,0 +1,25 @@
> +setenv bootargs console=${console} root=${mmcroot};
> +
> +for boot_target in ${boot_targets};

This is not how distro boot support works.

boot.scr or extlinux.conf scripts should be provided by the distro
itself (Yocto, Buildroot, Debian, etc), and not from U-Boot.

Each distro has its own partitioning mechanism and may store the
kernel, dtb in different locations.


More information about the U-Boot mailing list