summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorPascal Zimmermann <[email protected]>2025-03-27 15:38:43 +0100
committerPatrice Chotard <[email protected]>2025-05-05 15:51:46 +0200
commitd0d0b6a25ca73b36a916c63f5edbbd3638dc8dbf (patch)
treeda3c6d1777b02fe2171a0924acc42c69c5ad13b2 /configs
parentfd3202153a26c53529b5606094b6887a31426af5 (diff)
ARM: stm32: env: Enable scan and start for AB schema on STM32MP15 DHSOM
For the STM32MP15 DHSOM, change the default environment so an AB schema on a device can be detected. For this the define "SCAN_DEV_FOR_BOOT_PARTS" is overwritten and appended. The detection works by looking for the partitions with specific lables. The name of those partitions are in the variables and its defaults: * dh_ab_partname_primary=rootfs-a * dh_ab_partname_secondary=rootfs-b To prevent being hanging at bootcmd, enable "CONFIG_BOOT_RETRY" and "CONFIG_RESET_TO_RETRY", but the timer will only be activated, if the AB partitions are detected. Signed-off-by: Pascal Zimmermann <[email protected]> Reviewed-by: Patrice Chotard <[email protected]>
Diffstat (limited to 'configs')
-rw-r--r--configs/stm32mp15_dhsom.config3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/stm32mp15_dhsom.config b/configs/stm32mp15_dhsom.config
index 7e5b5aa67ef..c84116482f6 100644
--- a/configs/stm32mp15_dhsom.config
+++ b/configs/stm32mp15_dhsom.config
@@ -10,6 +10,9 @@ CONFIG_BOARD_EARLY_INIT_F=y
CONFIG_BOARD_SIZE_LIMIT=1441792
CONFIG_BOOTCOUNT_BOOTLIMIT=3
CONFIG_BOOTDELAY=1
+CONFIG_BOOTRETRY=y
+CONFIG_RESET_TO_RETRY=y
+CONFIG_BOOT_RETRY_TIME=-1
CONFIG_CMD_ADC=y
CONFIG_CMD_REMOTEPROC=y
CONFIG_CMD_STBOARD=y