Hi,
Our objective is to enable CONFIG_BOOTCOUNT for our SK-TDA4 J721 board, so that if during bootup the Linux or rootfs does not boot up properly then after a defined number of resets/reboots, we will be switching to a different partition. So in our yocto (Kirkstone) codebase, we found that inside the folder, arago-tmp-default-glibc/work/j721e_evm-oe-linux/u-boot-ti-staging/1_2021.01+gitAUTOINC+78a217ca9e-r33/git, j721e_evm_a72_defconfig has been defined. So we created a bbappend file in our sources folder and added the following properties:
CONFIG_BOOTCOUNT_LIMIT=y
CONFIG_BOOTCOUNT_BOOTLIMIT=4
CONFIG_BOOTCOUNT_ENV=y
Then if the bootlimit has ben reached, then we can try to execute the altbootcmd (not sure how, but we understand from reading several posts and blogs) and switch from the error rootfs partition or the last working rootfs partition.
But while trying to understand more, we came upon this post.
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1235518/tda4vm-does-tda4-uboot-support-bootcount
This states that this setup does not support CONFIG_BOOTCOUNT_LIMIT. Is there any other way to enable it? Won't defining the CONFIG_BOOTCOUNT_LIMIT property in defconfig file have any impact? Please requesting for assistance and help.