Skip to main content

Preparing for Flashing

Backing Up Configuration and License Files​

If your modem has certain licensed features (JANUS, extended carrier range, etc.) it may be necessary to back up the license files.

On your development computer, create a folder to contain your backed-up files. Then, open a terminal in that location and use SCP to retreive the files:

Configuration

scp root@<ip-address>:/opt/popoto/config.json .

License

scp root@<ip-address>:/opt/popoto/license.json .

Keep these files safe so they can be reinstalled after flashing completes.

Extracting the Release Folder​

  1. Unzip or extract the folder that contains the software image.

For example:

unzip mereswin-os-release.zip
cd mereswin-os-release
  1. Confirm that the folder contains the bootloader file and compressed WIC image with the following command:
ls

You should see files similar to the following:

  • imx-boot-pmm-emmc.bin-flash_evk
  • pmm-image-pmm-[timestamp].rootfs.wic.lz4

Decompressing the WIC Image​

Before flashing, decompress the .wic.lz4 file:

lz4 -d pmm-image-pmm-*.rootfs.wic.lz4

This creates the decompressed .wic image with the same timestamped filename:

pmm-image-pmm-[timestamp].rootfs.wic