Versions Compared

Key

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

Hardware Information

Wi-Fi Extender Reference Targets

Serial Port Access

https://doc.turris.cz/doc/en/troubleshooting/serial_link#turris_omnia

...

NOTE:  Wouter Cloetens shared links and information on taking serial connection and flashing OpenWRT image

Setting up Bootloader:

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

...

  • 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
    themeDJango
    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

...

Code Block
themeDJango
env default -a
saveenv
reset


Flashing

The Omnia ships with TurrisOS preinstalled. This is an OpenWrt fork with the older Linux 4.4 kernel. It uses btrfs to manage the eMMC flash.

...

It is strongly recommend to keep the OpenWrt partition and kernel. If boot fails, it is easy to change the U-boot environment and boot back into OpenWrt.


Flashing RDKB image (A Yocto Project based Distro)

Follow instruction from wiki page(https://wiki.rdkcentral.com/display/RDK/Wifi-Extender+Yocto+Build+Instructions) to make yocto's RDK-B image from yocto workspace in your PC.

Boot into openwrt based linux system in turris omnia board. Its downlink interface will have 192.168.1.1 IP address and have it connected to your PC.

Create one primary partition for zImage. Create another extended partition for holding logical partitions for rootfs and /nvram.

...


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

RDK Firmware(Image) upgrade:

Approach 1:

RDK firmware upgrade with XConf server: Firmware upgrade through XCONF server - Turris-Omnia - User Manual - 2020 - M6

Approach 2(Quick):

Copy zImage and rootfs files(not *dbg* rootfs file) from PC or VM to /tmp/ directory of Turris Omnia which is currently running RDK Image.

...

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


Approach 3:

Go back to OpenWrt OS (please refer Fallback to OpenWrt OS section above ).

...

Turris Omnia will now run upgraded version of Yocto based RDK image.

Fallback to OpenWrt OS(Failsafe):

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

...