Message ID | 6763c4bf-8103-1a66-2e16-ca98d7217fe3@tmweb.at |
---|---|
State | Deferred |
Headers | show |
Series | [U-Boot] Bootcount on raspberry pi 0 w | expand |
diff --git a/configs/rpi_0_w_defconfig b/configs/rpi_0_w_defconfig index 39da54c3e7..5e5afe0dd6 100644 --- a/configs/rpi_0_w_defconfig +++ b/configs/rpi_0_w_defconfig @@ -20,6 +20,12 @@ CONFIG_ENV_FAT_INTERFACE="mmc" CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y CONFIG_DM_KEYBOARD=y +CONFIG_BOOTDELAY=-2 +CONFIG_BOOTCOUNT=y +CONFIG_BOOTCOUNT_LIMIT=y +CONFIG_BOOTCOUNT_ENV=y +CONFIG_BOOTCOUNT_BOOTLIMIT=3 +CONFIG_EXTRA_ENV_SETTINGS="altbootcmd=if test $rpipart -eq 2; then setenv rpipart 3; else; setenv rpipart 2; fi; saveenv;boot\0" CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y