Versions Compared

Key

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




Firmware upgrade Xconf  server Setup

Firmware Upgrade validation in RPI-3 target

RDK Services RPi Build Instructions - Morty

...

Image Flash Procedure

Image Flash step

$ sudo dd if="Image Name" of="Device Name" bs=4M
 
Example:
sudo dd if=rdk-generic-hybrid-wpe-image_default_20201221142654.rootfs.rpi-sdimg of=/dev/sdb bs=4M

...


Firmware Upgrade Validation Procedure

TFTP Server Setup

STEP 1:

Install xinetd and tftpd-hpa application in your local PC to setup tftp server by using below command
TFTP Server Installation Step

sudo apt-get install xinetd
sudo apt-get install tftpd-hpa


STEP 2:

Create checksum file for your upgrading image.
md5sum checksum creation

md5sum "<imagefile_name>.rootfs.rpi-sdimg" > imagefile_name.txt
 
for Ex:
upgrading image file is rdk-generic-hybrid-wpe-image_default_20201221142654.rootfs.rpi-sdimg
md5sum "rdk-generic-hybrid-wpe-image_default_20201221142654.rootfs.rpi-sdimg" > rdk-generic-hybrid-wpe-image_default_20201221142654.txt


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:

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


STEP 4:

Check tftp file is there or not in /etc/xinetd.d/ directory. if it is not there then create tftp file under this /etc/xinetd.d/ direcotry and add below content.

vi /etc/xinetd.d/tftp
TFTP File Content

service tftp
{
protocol        = udp
port            = 69
socket_type     = dgram
wait            = yes
user            = nobody
server          = /usr/sbin/in.tftpd
server_args     = -c -v -s /home/xyz/tftphome ( Give upgrading file and checksum file maintained directory )
disable         = no
}