@gerograph
Quote:
but anyway, as I forwarded in another thread here, booting into linux on SAM does weired things to the clock... I did not investigate further.
By default Linux assumes the RTC is in UTC. If you are using Linux on a system together with another OS which uses local time for the RTC instead, no matter if it's AmigaOS, Windows or something else, you have to change Linux to use local time as well. In Debian the setting is in /etc/default/rcS (in other Linux distributions it can be in another file), change UTC from yes to no. Maybe you additionally have to use "hwclock --systohc --localtime" once to change /etc/adjtime from UTC to LOCAL as well.