Versions Compared

Key

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

...

Create checksum file for your upgrading image.

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
md5sum "<imagefile_name>.rootfs.wic.bz2" > imagefile_name.txt

for Ex:
upgrading image file is rdk-generic-camera-image_default_2020112710560620201125081842.rootfs.wic.bz2

md5sum "rdk-generic-camera-image_default_2020112710560620201125081842.rootfs.wic.bz2" > rdk-generic-camera-image_default_2020112710560620201125081842.txt


STEP 3:

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

...

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

...

For Ex: http://35.155.171.121:9092/xconf/swu/stb?eStbMac=B8:27:EB:2E:72:2B

Image RemovedImage Added

RPI-Board

  1. Flash the RDKC image supported for Firmware upgrade feature in the Rpi and verify the 2 partitions(ex. mmcblk0p1, mmcblk0p2) present under dev folder (use command ls /dev)
  2. Device auto-reboots and verify there are 2 more additional partitions are created (ex. mmcblk0p3, mmcblk0p4).
  3. Open /etc/include.properties file and verify the CLOUDURL parameter where XConf Server URL is configured
  4. Verify the image version ( cat /version.txt) displays the flashed image version
  5. Open /rdklogs/logs/swupdate.log to verify the communication from RPI board with XConf Server and the download status
  6. Verify the tftp download is happening by noticing the change of file size using below command: ls /extblock/tftpimage/imagedwnldls  -sh  (use this command frequently to verify the file size change)
  7. Once image download completed, the Rpi board will auto reboot and come up with downloaded image
  8.  Verify the version of booted image which shows the downloaded image version

...