Versions Compared

Key

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

...

...

...

...

Table of Contents

Introduction

  • The Firmware upgrade will upgrade higher or lower version of the current image for Turris-Omnia with the help of Xconf server and Local TFTP/HTTP server.

  • This page dedicated to bringing up and validation of Firmware upgrade in Turris-Omnia. 

...

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 a .tar file and place the image files.

...

  • zImage--4.14.22-r0-turris-20200521120313.bin
  • rdkb-generic-broadband-image_default_20200521120313.rootfs.tar.gz

tar -cvf <imagefile_name>.tar <path-of-rdkb*.rootfs.tar.gz> <path-of-zImage*.bin>

For Ex:
tarr -cvf rdkb-generic-broadband-image_default_20200521120313.tar /home/kaviya/tftp/rdkb-generic-broadband-image_default_20200521120313.rootfs.tar.gz /home/kaviya/tftp/zImage--4.14.22-r0-turris-20200521120313.bin


STEP 3:

Create checksum file for the upgrading image.
md5sum checksum creation

md5sum "<imagefile_name>.tar" > imagefile_name.txt
 
For Ex:
md5sum "rdkb-generic-broadband-image_default_20200521120313.tar" > rdkb-generic-broadband-image_default_20200521120313.txt

Create new folder for example "tftp" in your PC home directory and place the checksum file and upgrading image file (the .tar file generated).

...

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/tftp ( upgrading file and checksum file  maintained in this directory )
disable         = no
}


STEP 5:

Verify /etc/default/tftpd-hpa file content

vi /etc/default/tftpd-hpa

# /etc/default/tftpd-hpa
 
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/home/xyz/tftp" ( upgrading file and checksum file  maintained in this directory )
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure"


STEP 6:

Start tftp server and xinetd server

sudo service tftpd-hpa restart
/etc/init.d/xinetd restart

XCONF Server Setup

XConf URL

http://35.155.171.121:9093/admin/ux

STEP 1:

Create Environment

...