summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-05-11 13:41:15 +0930
committerJoel Stanley <joel@jms.id.au>2018-05-17 11:48:05 +0930
commit0194df7244bbb2e6131e719f886c07222471fc54 (patch)
tree273b4f9d7a0a35a898a0514d24d33849fb6dc38d
parent42ed6de4105b0e1bf859d3a640c55c4ee703154d (diff)
downloadtalos-openbmc-0194df7244bbb2e6131e719f886c07222471fc54.tar.gz
talos-openbmc-0194df7244bbb2e6131e719f886c07222471fc54.zip
meta-openpower: Add hostboot-boot-settings unit
This runs the hb_settings script at boot time in order to configure the SIO registers. It only needs to be done once at boot, as the registers stick and are not changed in normal operation of the BMC. Change-Id: I1b24836f2c7e6dfee0a665ea77b6ca7b810553ef Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/hostboot-settings/hostboot-settings.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/hostboot-settings/hostboot-settings.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/hostboot-settings/hostboot-settings.service
new file mode 100644
index 000000000..60e3ee998
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/hostboot-settings/hostboot-settings.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Hostboot Boot Settings
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/hb_settings --uart vuart
+
+[Install]
+WantedBy=obmc-standby.target
OpenPOWER on IntegriCloud