gnss-fw-update: Remove lines demanding to connect safeboot pin

The safeboot pin is not required: the tool is automaticaly
requesting the module to reboot in safeboot mode.

BugzID:54544
This commit is contained in:
Alexandre Bard 2019-10-30 14:58:31 +01:00
parent 044bba17d0
commit d87135fa32
1 changed files with 5 additions and 7 deletions

View File

@ -1,15 +1,13 @@
#!/usr/bin/env sh #!/usr/bin/env sh
echo
echo "Make sure the module is ready for update :"
echo "Safeboot pin connected to gnd before boot (use test adapter board)"
read
systemctl stop gpsd systemctl stop gpsd
systemctl stop gpsd.socket systemctl stop gpsd.socket
killall gpsd killall gpsd
killall ser2net killall ser2net
fwupdate -p /dev/ttyS3 -F /lib/firmware/ubx-fw-flash.xml /lib/firmware/UBX_M8_301_ADR_421_NEO_M8L.bin fwupdate -p /dev/ttyS3 -F /lib/firmware/ubx-fw-flash.xml /lib/firmware/UBX_M8_301_ADR_421_NEO_M8L.bin
echo if [ $? -eq 0 ]; then
echo "Now you need to remove the connection on the safeboot pin and completely poweroff the system" echo "Firmware update was successful, please do a full power cycle of the device"
else
echo "Firmware update failed"
fi