SOFTWARE UPDATES
_________________________________________________________________________________________________________
8-1
COM-00-21-03 OCTOBER 2021
Version No.: A
SECTION 8
SOFTWARE UPDATES
8
SOFTWARE UPDATES
Software updates to the radio are made using the following methods:
Apollo can upgrade the software and should be used whenever possible.
Complete reflash of the radio – this is a 25 – 30 Mbyte file and should be done locally
at the radio. There are two partitions in the radio, a primary and a backup partition.
Each partition needs to be separately reflashed depending on the customer's
requirements. After reflashing a partition, the configuration files will need to be
updated.
To reflash a partition, use the following procedure:
Before flashing the image check for the active partition using “activepart”
command.
# activepart
The active file system is in mtdblock6
The offline file system is in mtdblock5
Copy the new flash image file (e.g.: Mercury_Release_1.0.0c.ubi) to the
/tmp directory in the radio using WinSCP or scp.
NOTE
The /tmp directory is erased on a reboot
Erase the inactive partition (in this example the inactive partition is
mtdblock5)
# flash_eraseall /dev/mtd5
Flash the release image to the inactive partition
# ubiformat /dev/mtd5 -f Mercury_Release_1.0.0c.ubi -s 512 -O 512
# sync
flashoff <filename> (e.g. flashoff /tmp/Mercury_Release_1.0.0c.ubi
To reboot the radio to use the newly installed image, enter the following commands
# boot1
# reboot
Radio will reboot and switch the active partition to mtdblock5.
# activepart
The active file system is in mtdblock5
The offline file system is in mtdblock6