Using Ssh/Scp; Recovery Mode - Safran WR-Z16 User Manual

Hide thumbs Also See for WR-Z16:
Table of Contents

Advertisement

8.2.3

Using SSH/SCP

A new firmware can be updated using SSH and SCP protocols. This method
allows a secure way to perform a batch firmware update to many devices at the
same time.
The first step of this method is to upload the corresponding firmware to the root
folder of the device using SCP:
scp
root@<deviceip>:~
Then login to the device with SSH:
ssh root@<deviceip>
And finally run the wrz_flashfw tool to handle updates with the reboot flag if no
errors were detected:
root@be- dist8- 684:~#
20210325-ZENv3.x_binaries.tar
If the uploaded version is lower than 5.0, a factory reset is mandatory. If this is the
case, the following message will prompt after executing the previous command:
Warning: The version to be flashed is older than the current one,
therefore the default password and user are going to be set. The
device will be automatically rebooted...
This will reset the device in its factory version and all your
modifications will be lost
Do you want to continue? [y/N] ?
8.3

Recovery Mode

If an error has occurred (e.g., power down, wrong firmware) during a firmware
update procedure the device might not be able to boot from the SD card and will
enter itself into a recovery mode.
This recovery mode consists of a minimal Linux stored into internal memory of
the equipment that allows to:
CHAPTER
8
WR-Z16 User Manual Rev. v5.0
If the hardware version is higher or equal to 5.0 and the software version is
lower than 3.4, flashing will not be possible and a warning will be given.
wr- zynq- os- v3.2- RC1- 20210325- ZENv3.x_ binaries.tar
Note:
Please check wrz_flashfw -h to get more information about
the various arguments accepted by this tool.
wrz_ flashfw
- r
8.3  Recovery Mode
~/
wr- zynq- os- v3.2- RC1-
147

Advertisement

Table of Contents
loading

Table of Contents