To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Due to server maintenance gitlab.ethz.ch-users might experience availability-problems on 6/21, between 9:00am and 9.30am.

Commit 64e0ac3e authored by Reto Da Forno's avatar Reto Da Forno

workaround for bootloop issue with USB1 port

parent 19084867
......@@ -532,6 +532,12 @@ if [ ! "$2" = "-sdsetuponly" ]; then
ssh root@$GUMSTIX "chmod +x /usr/bin/remount_rootfs_rw.sh"
fi
if [ ! "$2" = "-sdsetuponly" ]; then
scp $VARIOUSPATH/enable-usb-ports.sh root@$GUMSTIX:/etc/init.d/
#ssh root@$GUMSTIX "chmod +x /usr/bin/remount_rootfs_rw.sh" -> should already be executable
fi
########################################################
#
# Test target slots
......
#!/bin/sh
modprobe proc_gpio
USB1_POWER=/proc/gpio/GPIO72
USB2_POWER=/proc/gpio/GPIO66
USB3_POWER=/proc/gpio/GPIO73
ENABLE_USB_POWER='echo GPIO out set'
DISABLE_USB_POWER='echo GPIO in'
$ENABLE_USB_POWER > $USB2_POWER
$ENABLE_USB_POWER > $USB3_POWER
sleep 1
if [ -d '/sys/devices/platform/flockboard' ] || [ -d '/sys/devices/platform/baseboard_old' ]; then
$ENABLE_USB_POWER > $USB1_POWER
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment