Hello All NXP Users,
I want to set boot count to 5 for iMX.6. I am using both Dual and Dual lite modules.
U-boot source code reference: Freescale's U-Boot 2014.04.
As I checked, CONFIG_BOOTCOUNT_LIMIT MACRO can be used to configure attempt counter, in case of failures at boot time. Then alternative booting command can be configured, if counter is exceeded.
I have enabled CONFIG_BOOTCOUNT_LIMIT MACRO in u-boot file include/configs/mx6_common.h.
I received error as mentioned below.
common/built-in.o: In function `process_boot_delay':
<path>/uboot/build_uboot/common/main.c:340: undefined reference to `bootcount_load'
<path>/uboot/build_uboot/common/main.c:342: undefined reference to `bootcount_store'
Can someone please guide me through expected procedure to configure / build u-boot with boot count?
Thanks in advance,