pocketbeagle 2 rtc-ds1307 driver

@RobertCNelson
can you add the rtc-ds1307 driver to the next PB2 build
also, where is the kernel source and defconfig file for PB2 ?

Thanks,

It’s enabled:

CONFIG_RTC_DRV_DS1307=y
# CONFIG_RTC_DRV_DS1307_CENTURY is not set

Kernel Builds are generated off these scripts:

Build scripts: https://openbeagle.org/RobertCNelson/ti-linux-kernel-dev/-/tree/ti-linux-arm64-6.12.y?ref_type=heads

config: https://openbeagle.org/RobertCNelson/ti-linux-kernel-dev/-/blob/ti-linux-arm64-6.12.y/patches/defconfig?ref_type=heads

Regards,

does not seem to be in the 1025-01-30 build, grep does not return a .ko file
i’ll give your scripts a try.

thanks

a .ko file isn’t generated when it’s built in (y)…

Regards,

1 Like

so i need to modify the dts to add the ds1307 to the i2c2 section.

Something like as root:

echo ds1307 0x68 > /sys/bus/i2c/devices/i2c-Z/new_device

Regards,

1 Like