summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerard Salvatella <gerard.salvatella@toradex.com>2019-05-09 17:01:26 +0200
committerGerard Salvatella <gerard.salvatella@toradex.com>2019-05-10 17:08:24 +0200
commitb0fa4d275bd93524ff1ce3c26651a5c5c1f8e5eb (patch)
tree1447cc437f5caf821e0834a1e4db5a0f499f72e0
parenta244648589533a4a7b7f2b4f1d251e700a491d60 (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" \