Op 28 apr. 2014, om 17:48 heeft Lennart Poettering <lenn...@poettering.net> het volgende geschreven:
> On Mon, 28.04.14 12:22, Manuel Reimer (manuel.s...@nurfuerspam.de) wrote: > >> >> Lukasz Skalski <l.skalski <at> samsung.com> writes: >>> You can define which RTC (/dev/rtcX) should be read - >>> "(rtc1) RTC used to set the system time" option in kernel menuconfig. >> >> Yes, this is possible. But my RTC does not exist until I do the following on >> shell: >> >> echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device >> >> Is there some other config option to tell the kernel to auto-initialize the >> I2C clock module? > > Isn't this something devicetree can solve? (not that i knew anything > about devicetree or embedded hardware...) Devicetree can handle that, but the following under the i2c node: rtc@68 { compatible = "dallas,ds1307"; reg = <0x68>; }; While I haven't tried it, you might be able to use aliases to make the ds1307 rtc0, but if not, do a 'status=disabled' in the on-chip rtc node. regards, Koen _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel