Package: fake-hwclock
Version: 0.14
Severity: wishlist

Dear Maintainer,

I am using fake-hwclock to ensure the system clock is properly initialized 
during a boot on a Radxa Rock 3C single board computer. 
The board does have a real time clock, but no buffer battery.
The solution is working great when the board is properly shutdown or rebooted, 
but when the board faces a power loss, the system clock will not be properly 
setup.

I do see in the journal logs that fake-hwclock is run, but it only sets the 
system clock and not the hardware clock as well. After the run the system clock 
seems to be synchronized again with the hardware clock. Because fake-hwclock 
only sets the system clock, this values will be overwritten again.

My question now, why does fake-hwclock only sets the system clock and not also 
sets the hardware clock as well? That would solve such issues or race 
conditions during boot.
Maybe this feature can be handled like the FORCE configuration option with a 
flag.

-- System Information:
Debian Release: 12.10
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'testing'), (500, 'oldstable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.12.15-current-rockchip64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

fake-hwclock depends on no packages.

fake-hwclock recommends no packages.

Versions of packages fake-hwclock suggests:
ii  cron [cron-daemon]  3.0pl1-162
pn  ntp                 <none>

-- no debconf information

thank you for your efforts

Reply via email to