[PATCH skeleton v5 2/5] Initial fan LED status
OpenBMC Patches
openbmc-patches at stwcx.xyz
Mon Jan 18 13:40:32 AEDT 2016
From: Ken <ken.sk.lai at mail.foxconn.com>
---
bin/startup_hacks.sh | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/bin/startup_hacks.sh b/bin/startup_hacks.sh
index 18582ae..02fd3a8 100755
--- a/bin/startup_hacks.sh
+++ b/bin/startup_hacks.sh
@@ -2,3 +2,10 @@
systemctl stop serial-getty at ttyS0
+# Set to output pin
+i2cset -y 0x06 0x20 0x06 0x00
+i2cset -y 0x06 0x20 0x07 0x00
+
+# Turn on all fan LED to BLUE
+i2cset -y 0x06 0x20 0x03 0x55
+i2cset -y 0x06 0x20 0x02 0xaa
--
2.6.4
More information about the openbmc
mailing list