...
- Flash the RDKB 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)
- Device auto-reboots and verify there are 2 more additional partitions are created (ex. mmcblk0p3, mmcblk0p4).
- Open /etc/include.properties file and verify the CLOUDURL parameter where XConf Server URL is configured
- Verify the image version ( cat /version.txt) displays the flashed image version
- Open /rdklogs/logs/swupdate.log to verify the communication from RPI board with XConf Server and the download status
- Verify the tftp download is happening by noticing the change of file size using below command:cd /extblock/tftpimage/imagedwnldls -lh (use this command frequently to verify the file size change) if tftp protocol was selected in XCONF UI
- Verify the http download is happening by noticing the change of file size using below command : cd /extblock/httpimage/imagedwnldls -lh(use this command frequently to verify the file size change)if http protocol was selected in XCONF UI
- Once image download completed, the Rpi board will auto reboot and come up with downloaded image
- Verify the version of booted image which shows the downloaded image version
TroubleShooting
- If output.json will not be generated in /nvram folder. Please check the network connection in RPI Device.
- Also, check the status of swupdate service by using the below command,
- systemctl status swupdate.service
- Check the swupdate logs in below path,
- cat /rdklogs/logs/swupdate.log
Conclusion
Please find the summary on firmware upgrade explained above
...