On 8/29/2014 10:38 AM, Alan Cudmore wrote:
> I was able to get the ds1307 i2c part working on the Pi. The tod.c
> driver shell was calling setRealTimeToRTEMS() but it was failing in
> rtems_clock_set because my driver was not returning the correct
> rtems_tod format.
> Now when I boot the Pi, t
I was able to get the ds1307 i2c part working on the Pi. The tod.c
driver shell was calling setRealTimeToRTEMS() but it was failing in
rtems_clock_set because my driver was not returning the correct
rtems_tod format.
Now when I boot the Pi, the rtems time is synced to the battery backed RTC.
On 8/28/2014 12:16 PM, Alan Cudmore wrote:
> I am testing out the Raspberry Pi I2C interface by implementing a
> DS1307 RTC driver.
>
> I started with the libchip/rtc/ds1375.c driver, since it is very close
> to the 1307.
>
> In the Raspberry Pi BSP, I added code to i2c_init.c to create a raw
>
I am testing out the Raspberry Pi I2C interface by implementing a DS1307
RTC driver.
I started with the libchip/rtc/ds1375.c driver, since it is very close to
the 1307.
In the Raspberry Pi BSP, I added code to i2c_init.c to create a raw device
node for the RTC device, then I added the tod/todcfg.