AAU Student Projects - visit Aalborg University's student projects portal
A master's thesis from Aalborg University
Book cover


Improving Efficiency of Firmware Updates for Resource-Limited Devices in a User-Friendy Manner: Flexiware

Term

4. semester

Publication year

2025

Submitted on

Pages

54

Abstract

The number of IoT devices continues to grow, including those deployed in remote, resource-constrained environments. Maintaining these devices requires regular firmware updates, which must be energy-efficient to preserve battery life. This project focuses on improving the firmware updates for low-energy devices by minimizing update file size through memory management and delta encoding techniques. The improvement is based on the assumption of a direct correlation between the file size and the energy spent on the update. The proposed solution involves a Custom Linker Script that leverages dynamic linking to produce smaller, memory-aware update files. Several test scenarios were used to evaluate the effectiveness of the tool, with results showing reduced firmware sizes in most cases. While the usability of the tool remains an area for improvement, the findings demonstrate that memory-aware linking can significantly reduce update size and, by extension, energy consumption during firmware updates. Thus improving the lifetime operation of the devices.

The number of IoT devices continues to grow, including those deployed in remote, resource-constrained environments. Maintaining these devices requires regular firmware updates, which must be energy-efficient to preserve battery life. This project focuses on improving the firmware updates for low-energy devices by minimizing update file size through memory management and delta encoding techniques. The improvement is based on the assumption of a direct correlation between the file size and the energy spent on the update. The proposed solution involves a Custom Linker Script that leverages dynamic linking to produce smaller, memory-aware update files. Several test scenarios were used to evaluate the effectiveness of the tool, with results showing reduced firmware sizes in most cases. While the usability of the tool remains an area for improvement, the findings demonstrate that memory-aware linking can significantly reduce update size and, by extension, energy consumption during firmware updates. Thus improving the lifetime operation of the devices.