I’d like to get bootcount support for the AM62 RTCSS. The RTCSS on the AM62 is very similar to the AM33. In fact, I’m pretty sure the bootcount_davinci driver would work for AM62, with just the register address/ offset and KICK_WE constants redefined for the correct AM62 values. A while back I tested the AM62 scratch register from userspace [1] and confirmed it works the same as the AM33.
I’ve never contributed to u-boot but I believe I could get a working PR that modifies the davinci_bootcount driver, if this would be acceptable. Alternately I don’t know if there’s any near-term plan for any of the AM62 maintainers to port the rtc driver so that bootcount/rtc could be used. I think doing this would be beyond my capabilities. Thanks in advance. Thom Nichols 1. https://github.com/VoltServer/uboot-bootcount/pull/15/files This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.