#
c9a43a30 |
| 31-Jan-2025 |
John Wedig <johnwedig@google.com> |
bare-metal-host-monitor: Use service type notify
We want to be able to start other services after this daemon has finished its startup code. So, this commit updates the host-gpio-monitor code to not
bare-metal-host-monitor: Use service type notify
We want to be able to start other services after this daemon has finished its startup code. So, this commit updates the host-gpio-monitor code to notify systemd when the initialization is done.
Tested: Set the bare metal flag /var/google/config-package/enable-bm.flag Did a power cycle, and confirmed the services started in the expected order.
Change-Id: I51d1aed7509795852f5873f71ae6ba57401ae6b9 Signed-off-by: John Wedig <johnwedig@google.com>
show more ...
|
#
351d3cbe |
| 21-Feb-2025 |
John Wedig <johnwedig@google.com> |
bare-metal-host-monitor: Start after x86-power-control
We need to ensure that the host-gpio-monitor starts after xyz.openbmc_project.Chassis.Control.Power@.service, so the dbus objects are ready.
T
bare-metal-host-monitor: Start after x86-power-control
We need to ensure that the host-gpio-monitor starts after xyz.openbmc_project.Chassis.Control.Power@.service, so the dbus objects are ready.
Tested: Set the bare metal flag /var/google/config-package/enable-bm.flag Power cycled the machine. Ensured the host-gpio-monitor could query the dbus property at startup. Also confirmed the expected systemd service ordering at startup: xyz.openbmc_project.Chassis.Control.Power@.service, followed by host-gpio-monitor@.service.
Change-Id: Ibfbac32586981a14ca276f40080a6e698f342aac Signed-off-by: John Wedig <johnwedig@google.com>
show more ...
|
#
376d781c |
| 11-Nov-2024 |
John Wedig <johnwedig@google.com> |
host-gpio-monitor: Use systemd template
The systemd target gbmc-bare-metal-active.target is being changed to a template, in order to support multi-host systems. The commit updates the host-gpio-moni
host-gpio-monitor: Use systemd template
The systemd target gbmc-bare-metal-active.target is being changed to a template, in order to support multi-host systems. The commit updates the host-gpio-monitor functionality accordingly. The host number now gets passed in as an argument.
Tested: Set the bare metal flag /var/google/config-package/enable-bm.flag on the BMC. Started host-gpio-monitor@0.service, which then started gbmc-bare-metal-active@0.target. Then rebooted the host, at which point, the host-gpio-monitor@0.service disabled gbmc-bare-metal-active@0.target.
Change-Id: I02a0b11996aa2ee168e682fbf61f3f1a8cf01771 Signed-off-by: John Wedig <johnwedig@google.com>
show more ...
|