This Page is under Development


Introduction

      This document covers the design of FirmwareControl plugin  for RPI board. 

Limitations

        1. RPI box will reboot after booted for first time which will create more partition, if the  partition table is not more than two. 

Design Approach

       Upon receiving firmware upgrade request, we initially validate the parameters. Execution is proceeded only if parameters are validated

       URL and given parameters are validated

       Package tar file mentioned in request, Pkg.tar.gz file  from  given HTTP server is copied to a file in /tmp of active memory bank

        

       The tar package is unzipped to find rootfs tarball.

        create new thread to handle rest of the operations.

         rootfs tar ball is copied to passive memory bank

       

          


Future Enhancements

   1.  Validate requested firmware version with currently implemented firmware version. Firmware upgrade happens only if the versions are different.

    2. Triggering firmwareUpgrade automatically without user intervention.