Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Children Display

Table of Contents

Info

This Page is under Development

Introduction

     This document describes the firmware update of RPI board using FirmwareControl plugin.Plugin can be enabled via controller UI once image is booted. Based on the request given to board, tarred firmware image is downloaded to RPI board from the given HTTP server and the image is updated accordingly.

...

        For testing Firmware Control plugin , we need HTTP server that hosts the tarred image.

Gliffy Diagramdrawio
diagramName
macroId970e69da-b801-4e19-a973-8a4b54fb08fb
nameTest Setup.drawio
pagePinrevision1
   


Setting up a HTTP server:

...

  •  Auto reboot after firmware update is not happening currently. User has to reboot manually after completion of firmware update.
  •  RPI board will reboot before firmware update only for the first request for updating memory partition table, and user has to give request command once again for firmware update. This occurs only for the first request after board boot up.

TroubleShooting 

  • Verify /var/lib has enough free space to accommodate the image tar file before initiating the download. This can be done using df -h command.

   

root@raspberrypi-rdk-hybrid-thunder:~# df -h
Filesystem       Size      Used        Available Use% Mounted on
/dev/root      1.1G      607.4M     443.3M   58%      /
devtmpfs     300.5M   0            300.5M      0%       /dev
tmpfs           305.0M   4.0K       305.0M      0%      /dev/shm
tmpfs           305.0M   8.4M       296.6M     3%     /run
tmpfs           305.0M   0              305.0M    0%     /sys/fs/cgroup
tmpfs           305.0M   292.0K     304.7M    0%    /tmp
tmpfs           305.0M   292.0K     304.7M    0%    /etc/snmp/snmpd.conf
tmpfs           305.0M   28.0K       305.0M    0%    /var/volatile
/dev/root    1.1G        607.4M    443.3M   58%   /var/lib
root@raspberrypi-rdk-hybrid-thunder:~#