I2C RTC DS-1307 Package for Arch Linux

Since the internal RTC on VisionFive2 gets reset to a past time on every reboot or shutdown, I have created a package for Arch Linux on VisionFive2 that allows you to use I2C RTC DS-1307 as your default RTC. You can find it here: GitHub - cwt/visionfive2-i2c-rtc-ds1307: VisionFive2 Clock on I2C RTC-DS1307

Please note that DS-1307 requires a 5V Vcc and normally the RTC module will have two pull-up resistors on SDA and SCL which you must remove before connecting the module to VF2 because VF2 GPIO is 3.3V.

5 Likes