From: sbabic at denx.de Date: Sat, 23 Jan 2021 16:49:42 +0100 (CET) Subject: [PATCH v3 2/2] board: imx8mm: add boot.cmd for distro boot on iMX8MM In-Reply-To: <20201218065008.1350-2-alice.guo@oss.nxp.com> Message-ID: <20210123154942.34C30827DA@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > From: Alice Guo > 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 > Signed-off-by: Alice Guo 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 =====================================================================