Skip to contentSkip to conversation

time control on wolfpass BMC

DISCUSSION Ivan Mikhaylov 3 participants 4 messages Sep 8, 2020 – Sep 9, 2020

lore
Share & tools
lore
#0 lore raw

Hey James, Ed, Is there any way to control RTC/PCH time inside BMC on wolfpass?In intel-bmc rep there is the pch-time-sync service which is doing sync.
The service just reads out date via i2c regs and do the sync with system time. I didn't find any other utilities or something which can help with time set from BMC.

Thanks.

#1 lore raw
Quoted 6 lines · Ivan Mikhaylov

Hey James, Ed, Is there any way to control RTC/PCH time inside BMC on wolfpass?In intel-bmc rep there is the pch-time-sync service which is doing sync.
The service just reads out date via i2c regs and do the sync with system time. I didn't find any other utilities or something which can help with time set from BMC.

We default to NTP and use pch-time-sync as a fallback. NTP is configured by systemd-timesyncd https://wiki.archlinux.org/index.php/Systemd-timesyncd.

Quoted 3 lines

Thanks.

#2 lore raw
Quoted 9 lines · James Feist
Quoted 6 lines · Ivan Mikhaylov

Hey James, Ed, Is there any way to control RTC/PCH time inside BMC on wolfpass?In intel-bmc rep there is the pch-time-sync service which is doing sync.
The service just reads out date via i2c regs and do the sync with system time. I didn't find any other utilities or something which can help with time set from BMC.

Quoted 3 lines

We default to NTP and use pch-time-sync as a fallback. NTP is configured by systemd-timesyncd https://wiki.archlinux.org/index.php/Systemd-timesyncd.

On our system, there is no i2c to pch, so we fetch the time from ME on BMC boot, and then uses NTP to sync time.

Signature · 2 lines
BRs,
Lei YU
#3 lore raw
In reply to James Feist
Quoted 10 lines · James Feist
Quoted 8 lines · Ivan Mikhaylov

Hey James, Ed, Is there any way to control RTC/PCH time inside BMC on wolfpass?In intel-bmc rep there is the pch-time-sync service which is doing sync.
The service just reads out date via i2c regs and do the sync with system time. I
didn't find any other utilities or something which can help with time set from
BMC.

Quoted 3 lines

We default to NTP and use pch-time-sync as a fallback. NTP is configured by systemd-timesyncd https://wiki.archlinux.org/index.php/Systemd-timesyncd.

James, do you know this PCH time sets on the host side as regular sync hwclock action? Are those i2c regs writable only from host side?

Thanks a lot for clarification.