Versions Compared

Key

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

...

  • Install a tftp server (eg. tftpd-hpa) on your computer and place the attached uboot-turris-omnia-spl.kwb file into your computer's tftp directory(eg. /srv/tftp/).
  • View file
    nameuboot-turris-omnia-spl.kwb
    height250
  • In PC, keep/configure your Ethernet interface in "Shared to other computers" mode. Tap the interface to bring the change into effect
  • Connect an Ethernet cable from your PC(where uboot-turris-omnia-spl.kwb file is hosted on tftp server) to WAN port of Turris Omnia
  • Then, run the following commands at the u-boot prompt on Turris Omnia


    Code Block
    dhcp
    tftpboot 0x1000000 uboot-turris-omnia-spl.kwb
    sf probe
    sf update 0x1000000 0 $filesize


Setting default U-boot environment

In serial console, press "Enter" key to get into u-boot prompt

...


Now, Turris Omnia will boot with Yocto based RDKB image.




Fallback to OpenWrt OS(Failsafe):

To fallback to openwrt OS, enter following u-boot commands.

=> env set mmcboot run openwrt_mmcload \|\| run factory_mmcload\; bootz 0x01000000 - 0x02000000
=> saveenv
=> reset


RDK Firmware(Image) upgrade:

Approach 1:

Copy zImage and rootfs files from PC to /tmp/ folder of Turris Omnia running RDK Image


Execute /lib/rdk/TurrisFwUpgrade.sh  to flash upgraded RDK image in /tmp folder

Code Block
# sh /lib/rdk/TurrisFwUpgrade.sh


Approach 2:

Yocto image upgrade procedure from inside OpenWrt OS: (Better approach is welcome)Go back to OpenWrt OS (please refer Fallback to OpenWrt OS section above ).

...