summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerard Salvatella <gerard.salvatella@toradex.com>2019-05-09 17:01:26 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-03-05 19:22:19 +0100
commit50bf240e3d328d318c3db6ec0e27c912296335f4 (patch)
tree41ec8545803b3bd856c68075da9f5e5b84a06a13
parent912a867e46040ddb128c1f0442945ad67b5e1b1c (diff)
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 <gerard.salvatella@toradex.com>
-rw-r--r--include/configs/apalis-imx8.h1
1 files changed, 1 insertions, 0 deletions
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" \