remote firmware request
This commit is contained in:
parent
ea569d5a84
commit
16ee95b3b9
|
@ -6,12 +6,12 @@ do
|
|||
echo Exit code: ${exit_status}
|
||||
# in java code that's UPDATE_SBC_EXIT_CODE magic number
|
||||
if [ $exit_status -eq 15 ]; then
|
||||
echo Software update was requested
|
||||
echo Connector software update was requested
|
||||
bin/update_bundle.sh
|
||||
fi
|
||||
# in java code that's UPDATE_FIRMWARE_EXIT_CODE magic number
|
||||
if [ $exit_status -eq 16 ]; then
|
||||
echo Software update was requested
|
||||
echo Firmware update was requested
|
||||
bin/update_bundle.sh
|
||||
# todo: we need to start validating that SBC software matches board type, maybe update bundle type based on existing controller?
|
||||
bin/dfu_switch_and_program.sh
|
||||
|
|
|
@ -199,6 +199,7 @@ public class RemoteTab {
|
|||
requestUpdate(publicSession, updateFirmware, UpdateType.FIRMWARE);
|
||||
}
|
||||
});
|
||||
bottomPanel.add(updateFirmware);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue