linuxboot/mainboards/tyan7106/bin.reset
Ronald G. Minnich 6991d733f5 rename tyan7102 to correct name: tyan7106
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00

10 lines
244 B
Bash

#!/bin/bash
# this is the reset script for the BMC so we don't have to deal with awful
# curl scripts.
sleep 1
echo 0 > /sys/class/gpio/gpio315/value
sleep 1
echo 1 > /sys/class/gpio/gpio315/value
sleep 5
echo 0 > /sys/class/gpio/gpio315/value