RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
S.NO | DM | Value | Description |
---|---|---|---|
1 | Device.DeviceInfo.X_RDKCENTRAL-COM_FirmwareDownloadURL | http://192.168.0.8 | Value should be local/public http server url |
2 | Device.DeviceInfo.X_RDKCENTRAL-COM_FirmwareDownloadProtocol | http | Value should be auto-generated based on above parameter Input |
3 | Device.DeviceInfo.X_RDKCENTRAL-COM_FirmwareToDownload | rdkb-generic-broadband-image_rdk-next_20210525055548.rootfs.wic | Value should be Firmware Image Name . Note: This API does not reboot the device. |
4 | Device.DeviceInfo.X_RDKCENTRAL-COM_FirmwareDownloadStatus | Completed | Returns the current state of the Firmware Download operation. |
5 | Device.DeviceInfo.X_RDKCENTRAL-COM_FirmwareDownloadNow | True | Downloads and upgrades the firmware. The firmware is updated in the passive bank and marks it as active. Reboots the device and the device boots up with the active bank and updated firmware. |
Info | ||
---|---|---|
| ||
It is must to have minimal size of 8GB SD-Card for Firmware upgrade support |
...
Generated image has to be flashed to an SD card using this command in local PC:
|
Ex:
|
dd
if
=
|
|
bs=4M
The SD card is inserted to the Raspberry Pi board and booted to check for containers created.
The Raspberry Pi board is connected to the PC via a USB to serial converter and the logs can be checked in console or can be connected via HDMI cable to a TV and logs will be shown in the terminal
It is necessary to flash the stable image during upgrade. So checksum file has to be created for the image to be uploaded using below command
Info | ||
---|---|---|
| ||
md5sum "<imagefile_name>.rootfs.rpi-sdimg" > imagefile_name.txt |
After checksum file is created, place this file in tftp location along with actual image file which is expected by firmware upgrade script. Without which firmware upgrade wont be allowed by scripts
...
This resize can be achieved using gpartedui gparted ui tool which should be available in host pc
...
8. After applying close size increased to 2 GB can be seen
RPI Target :
...
Note : Every reboot, You need to add the above three steps if it's local http server.
Verify that
...
rpi image file is present in the http folder
...
. Here , document root directory as "/var/www/html"
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
keerthana@keerthana-INVALID:/var/www/html$ pwd
/var/www/html
keerthana@keerthana |
...
-INVALID:/var/www/html$ ls |
...
-lh rdkb-generic-broadband-image_ |
...
rdk-next_ |
...
20210813104338.rootfs. |
...
wic -rw-r--r-- 1 root root 316M Aug 13 17:29 rdkb-generic-broadband-image_ |
...
rdk-next_20210813104338.rootfs.wic
keerthana@keerthana-INVALID:/var/www/html$
|
...