Versions Compared

Key

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


Table of Contents
    

Introduction

  • This document covers the design approach used for upgrading firmware for RPI RDK Broadband devices using XCONF server & TFTP/HTTP protocol.
  • Downloaded firmware from local/public http server with support of http protocol.
  • Also modified the firmware script with support of both protocols. If user configured http protocol support in xconf UI, On that time firmware will be downloaded by http protocol else firmware will be downloaded by tftp protocol(By default,tftp protocol will be selected).

Environment Setup

  •   Firmware scripts and systemd service files are available in RPI build by default. Also, by default systemd firmware service file was enabled.
  •   Need to configure our RPI device configuration in XCONF Server.
  •   Using systemd command to re-start the firmware service .

Build procedure to generate R-Pi image with Firmware upgrade

...

Creating Multi-Boot compatible SD-CARD if RDKB is Flashed for first time


If RDKV is flashed for the first time, please ignore below procedure in current section
If firmware upgrade is intended for multi-boot, it is necessary to have partizion size matching to both RDKV and to  RDKB image size ( especially rootfs ). 
But size of RDKB image is around 300 MB approx, but RDKV is more than 1 GB. So it is necessary to have RDKB image flashed SD card should have partition compatible to RDKB.

To make compatible, size of RDKB rootfs partition should be increased to 2 GB ( 2098 MB) from 300MB default

...

8. After applying close size increased to 2 GB can be seen

Test Setup Block Diagram for RPI RDKB/V Firmware upgrade

...

 Executing System

           Using the below command to re-start the firmware service.                           

                                                                    systemctl restart swupdate.service

          Firmware logs generation path.

                                                                   cat /rdklogs/logs/swupdate.log


Setting up XCONF Server  

...