Add support for MikroTik RB5009UG

Something else to add here. I am noticing that when cold booting, the initial time is one of a range of values in the year 2020, 2065 or 2099. The values are repeatable, though not sure if other users will get the same or different values. Some examples:

[ 1.278655] armada38x-rtc f2284000.rtc: setting system clock to 2020-08-19T15:02:19 UTC (1597849339)

[ 1.278418] armada38x-rtc f2284000.rtc: setting system clock to 2065-11-29T09:25:22 UTC (3026712322)

[ 1.281120] armada38x-rtc f2284000.rtc: setting system clock to 2099-12-07T10:37:54 UTC (4100323074)

adron's initramfs:
[ 10.559771] armada38x-rtc f2284000.rtc: setting system clock to 2104-03-29T15:25:41 UTC (4236247541)

adron's sysupgrade:
[ 1.282628] armada38x-rtc f2284000.rtc: setting system clock to 2104-03-29T15:30:44 UTC (4236247844)

For values in the past its not a big deal. For values in the future it is causing problems, eg with collectd/rrdtool, once the time is corrected.

2 Likes