[PATCH v1] RFC: rtc: rv8803: avoid bootloop on low voltage of button cell

Oliver Graute oliver.graute at kococonnector.com
Wed Feb 8 12:29:59 CET 2023


> Am 08.02.2023 um 09:32 schrieb Michael Walle <michael at walle.cc>:
> 
> Am 2023-02-08 08:38, schrieb Oliver Graute:
>> if the rtc button cell is on low voltage this can result in a permanent
>> bootloop in u-boot because V2F Register is permanent set.
>> ### Warning: temperature compensation has stopped
>> ### Warning: Voltage low, data is invalid
>> resetting ...
>> With this patch the bootloop is prevented
>> Signed-off-by: Oliver Graute <oliver.graute at kococonnector.com>
> 
> I'm curious, how is the call tree here? I don't see the dm_rtc_get()
> being called during boot. Basically, you are now just ignoring the error.

I use dm_rtc_get() in a modified boot/bootm.c to check for a End-Off Live
booting date. Just to prevent that testers uses devices with out-dated images.

So if this only affects me so this patch can be ignored.

Best regards,

Oliver

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: Message signed with OpenPGP
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230208/7eb1b7ee/attachment.sig>


More information about the U-Boot mailing list