From b0fa4d275bd93524ff1ce3c26651a5c5c1f8e5eb Mon Sep 17 00:00:00 2001 From: Gerard Salvatella Date: Thu, 9 May 2019 17:01:26 +0200 Subject: apalis-imx8: configure automatic booting on recovery When booting U-Boot in recovery mode the default boot command for automatic boots is substituted by bootcmd_mfg. For tezi we want this command to source the boot script inside the boot container that the uuu utility loads. The precise load address of this script is the one used in the mkimage_imx8 utility to generate the boot container. NOTE: this change affects both tezi U-Boot as well as BSP U-Boot. Since currently only tezi is supporting recovery mode, this shouldn't be a problem. Otherwise, consider adding preprocessor safeguards. Signed-off-by: Gerard Salvatella --- include/configs/apalis-imx8.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h index 67721bd23c..ace5f172bd 100644 --- a/include/configs/apalis-imx8.h +++ b/include/configs/apalis-imx8.h @@ -102,6 +102,7 @@ BOOTENV \ M4_BOOT_ENV \ MEM_LAYOUT_ENV_SETTINGS \ + "bootcmd_mfg=source 0x82e00000\0" \ "script=boot.scr\0" \ "image=Image\0" \ "panel=NULL\0" \ -- cgit v1.2.3