On 4/16/23 04:01, Diederik de Haas wrote:
On Sunday, 16 April 2023 04:47:37 CEST Rick Thomas wrote:
I've got a Raspberry Pi 4B (4GB) with a DS3231 RTC module. I can make the
combo work with Ubuntu and RaspberryPI-OS. I'd like to try it with the
plain-vanilla Debian from <https://raspi.debian.net/tested-images/> but I
can't find instructions for activating the I2C and RTC hardware in that OS.
Documentation/devicetree/bindings/rtc/rtc-ds1307.yaml in the kernel source
describes how one could use it ('compatible = "maxim,ds3231"' for DS3231).
I think you should make a DeviceTree Overlay, but I don't know how to do that.
The last time I made a realtime preempt kernel for an armhf, the
makefile did that. Std output from a make menuconfig, an rpi4b runs it
just as if it doesn't know any better, has been since Feb 20, 2020.
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>