ds3231 on RPI-2

David Cornejo dave at dogwood.com
Fri Jun 5 00:54:25 UTC 2015


I saw the thread on attaching a chronodot from March - however, I'm
using a Raspberry Pi 2 with a random DS3231 breakout board.

I can access the ds3231 using the modified i2scan from Luiz  Otavio O
Souza and followed directions in the thread to bring in the ds3231
driver.

I tried to modify the DTS file and compiled it - I get the following:

Warning (reg_format): "reg" property in /axi/bsc1/rtc has invalid
length (4 bytes) (#address-cells == 2, #size-cells == 1)

Warning (avoid_default_addr_size): Relying on default #address-cells
value for /axi/bsc1/rtc

Warning (avoid_default_addr_size): Relying on default #size-cells
value for /axi/bsc1/rtc


I'm quite sure I don't know what I'm doing in modifying the DTS file,
but I'm getting good at burning the image after breaking it, so I
copied the resultant dtb file to /boot/msdos and it boots, but doesn't
detect the ds3231.

Can anyone offer clues on how to proceed please?

thanks,
dave c


More information about the freebsd-arm mailing list