Skip to content

Update Mechanisms

The kernel and file system can be updated by two methods:

  • USB drive

  • Permanent storage

All update methods require two files:

  • rootfs.tar.gz: compressed file system

  • rootfs.tar.gz.md5: checksum of the compressed file system

USB drive

During the boot process, the secondary bootloader will search for a USB drive with a FAT32 partition and mount it. If the USB drive contains the required update files with its matching checksum, the bootloader will begin updating the file system.

Permanent storage

If there is no USB drive, the secondary bootloader will check whether there is a new update file in the permanent storage partition. The update files should be located in the following folder: /mnt/storage

When booting, the secondary bootloader will look in the location of the update file and if the file exists with its corresponding checksum, the bootloader will start the filesystem update.

Info

When using the permanent storage method, make sure to keep a copy of the update files since the files (rootfs.tar.gz and rootfs.tar.gz.md5) will be deleted from the target. The files on the USB key will not be deleted to allow the update of multiple devices.

Reset configurations to factory defaults

To revert the device configurations to factory defaults, delete the file /mnt/storage/.defaultStorageCopied and reboot the device.

Info

This does not reset the device to a factory state, this only reverts the settings such as the access point password to factory defaults.