2015-09-09 22:56:21 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
2015-12-08 22:08:13 -05:00
|
|
|
TOOL=./tools/gcn64ctl
|
2015-09-09 22:56:21 -04:00
|
|
|
|
|
|
|
if [ -x $TOOL ]; then
|
|
|
|
$TOOL -f --bootloader
|
2015-12-08 22:08:13 -05:00
|
|
|
exit 0 # The tool fails, but we should continue anyway in case the chip is already in bootloader
|
2015-09-09 22:56:21 -04:00
|
|
|
else
|
|
|
|
echo $TOOL not found. Please compile it to enter bootloader automatically.
|
|
|
|
fi
|