[PATCH v3 2/2] board: imx8mm: add boot.cmd for distro boot on iMX8MM

sbabic at denx.de sbabic at denx.de
Sat Jan 23 16:49:42 CET 2021

> From: Alice Guo <alice.guo at nxp.com>
> Distro Boot requires a U-Boot-specific script named boot.scr or
> boot.scr.uimg which contains boot commands to boot the system. The
> boot.cmd is such a file. Use mkimage to generate boot.scr or
> boot.scr.uimg from boot.cmd, and the command is:
> mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Distro Boot Script" -d boot.cmd boot.scr.uimg
> The boot.cmd file is an example script and can be modified based on
> needs. bootargs is set in this script and root uses the default value "
> /dev/mmcblk1p2 rootwait rw" which can be changed by overriding mmcroot.
> Reviewed-by: Peng Fan <peng.fan at nxp.com>
> Signed-off-by: Alice Guo <alice.guo at nxp.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de

More information about the U-Boot mailing list