Versions Compared

Key

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

...

This page dedicated to bringing up and validation of Firmware upgrade in R-Pi Zero. 

Environment Setup

Refer below link for RPI-0 Environment setupRDK-C Environment Setupand RPI-3 B+. 

Yocto Build Steps

Refer below link to build camera image

Morty:

RDK-C Build Instruction for RPI-0

Image Flash Procedure

Refer below link for Image flash Procedure.

Image Flash Procedure

RDK-C Build Instruction for RPI-3


Dunfell:

RDK-C rdk-next Yocto 3.1 dunfell build for Raspberrypi

Test Setup Block Diagram for RPI RDK-C Firmware Upgrade

...

Create checksum file for your upgrading image.

Dunfell:

Before creating checksum file, need to decompress the .wic.bz2 camera image with the below command

$ bzip2 -dk camera_image

Example:

$ bzip2 -dk rdk-generic-camera-image_default_20201125081842.rootfs.wic.bz2

After decompression, we may get "rdk-generic-camera-image_default_20201125081842.rootfs.wic" this image.use this image to create checksum file and firmware upgrade.


Code Block
languagebash
titlemd5sum checksum creation
Morty:
md5sum "<imagefile_name>.rootfs.rpi-sdimg" > imagefile_name.txt

for Ex:
upgrading image file is rdk-generic-camera-image_default_20200329074421.rootfs.rpi-sdimg
md5sum "rdk-generic-camera-image_default_20200329074421.rootfs.rpi-sdimg" > rdk-generic-camera-image_default_20200329074421.txt

Dunfell:
md5sum "<imagefile_name>.rootfs.wic" > imagefile_name.txt
 
for Ex:
upgrading image file is rdk-generic-camera-image_default_20201125081842.rootfs.wic
 
md5sum "rdk-generic-camera-image_default_20201125081842.rootfs.wic" > rdk-generic-camera-image_default_20201125081842.tx


STEP 3:

Create new folder for example "tfphome" in your PC home direcotry to maintain checksum file and upgrading image file.

Keep upgrading image file and checksum file in your created folder.

For Ex:

Morty:

Keep rdk-generic-camera-image_default_20200329074421.rootfs.rpi-sdimg and rdk-generic-camera-image_default_20200329074421.txt files in your tftphome folder.

Dunfell:

Keep rdk-generic-camera-image_default_20201125081842.rootfs.wic and rdk-generic-camera-image_default_20201125081842.txt files in your tftphome folder.

...