Skip to content

Commit

Permalink
A bit dirty updates to the factory testing scripts v2
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kukiela committed Sep 22, 2024
1 parent 2abe6bb commit 8bcfcfa
Show file tree
Hide file tree
Showing 3 changed files with 451 additions and 457 deletions.
42 changes: 18 additions & 24 deletions tp2bmc/board/tp2bmc/factory_overlay/upper/etc/init.d/S00nodeson
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
#!/bin/sh

# Turn on the node power as soosn as possible
# to speed up factory testing

case "$1" in
start|"")
gpioset 1 0=1
gpioset 1 1=1
gpioset 1 2=1
gpioset 1 3=1
gpioset 1 4=1

echo "enabled" > /sys/devices/platform/node1-power/state
echo "enabled" > /sys/devices/platform/node2-power/state
echo "enabled" > /sys/devices/platform/node3-power/state
echo "enabled" > /sys/devices/platform/node4-power/state
;;
*)
echo "Usage: $0 {start}"
exit 1
;;
esac

#!/bin/sh

# Turn on the node power as soosn as possible
# to speed up factory testing

case "$1" in
start|"")
echo "enabled" > /sys/devices/platform/node1-power/state
echo "enabled" > /sys/devices/platform/node2-power/state
echo "enabled" > /sys/devices/platform/node3-power/state
echo "enabled" > /sys/devices/platform/node4-power/state
;;
*)
echo "Usage: $0 {start}"
exit 1
;;
esac

Loading

0 comments on commit 8bcfcfa

Please sign in to comment.