Skip to content

RTC Pi Plus does not work on RBPI2 FreeBSD 11 #1

Closed
@sparvu

Description

@sparvu

I cant make the following device, RTC Pi Plus work on FreeBSD 11 using RBPI2. I compiled your ds1307.c on my FreeBSD 11 arm and tried to run it:

root@rpi2:/usr/home/raspberry # ./ds -s -f /dev/iic0
I2CRDWR: Input/output error
I2CRDWR: Input/output error
I2CRDWR: Input/output error
I2CRDWR: Input/output error
I2CRDWR: Input/output error
I2CRDWR: Input/output error
I2CRDWR: Input/output error

root@rpi2:/usr/home/raspberry # ./ds -s -f /dev/iic1
root@rpi2:/usr/home/raspberry # 

Here more info from my system:

FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r288098: Thu Aug 20 04:00:38 UTC 2015     root@rpi2:/usr/obj/usr/src/sys/KPI2  arm

root@rpi2:/usr/home/raspberry # dmesg | grep iic
iichb0: <BCM2708/2835 BSC controller> mem 0x205000-0x20501f irq 61 on simplebus0
iicbus0: <OFW I2C bus> on iichb0
iic0: <I2C generic I/O> on iicbus0
iichb1: <BCM2708/2835 BSC controller> mem 0x804000-0x80401f irq 61 on simplebus0
iicbus1: <OFW I2C bus> on iichb1
iic1: <I2C generic I/O> on iicbus1

Any ideas how can I make this device work with FreeBSD 11 ?

https://www.abelectronics.co.uk/products/17/Raspberry-Pi--Raspberry-Pi-2-Model-B/52/RTC-Pi-Plus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions