From d87135fa32a8a1c1eb2a254e3ac461fd34062fb0 Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Wed, 30 Oct 2019 14:58:31 +0100 Subject: [PATCH] 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 --- .../ublox-gnss-fw-update/files/gnss-fw-update | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/recipes-connectivity/ublox-gnss-fw-update/files/gnss-fw-update b/recipes-connectivity/ublox-gnss-fw-update/files/gnss-fw-update index 54202a6..53a8946 100755 --- a/recipes-connectivity/ublox-gnss-fw-update/files/gnss-fw-update +++ b/recipes-connectivity/ublox-gnss-fw-update/files/gnss-fw-update @@ -1,15 +1,13 @@ #!/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.socket killall gpsd killall ser2net fwupdate -p /dev/ttyS3 -F /lib/firmware/ubx-fw-flash.xml /lib/firmware/UBX_M8_301_ADR_421_NEO_M8L.bin -echo -echo "Now you need to remove the connection on the safeboot pin and completely poweroff the system" +if [ $? -eq 0 ]; then + echo "Firmware update was successful, please do a full power cycle of the device" +else + echo "Firmware update failed" +fi