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

Caution:  Do not connect Vcc!

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


PREREQUISITE: Following flashing instructions works well with U-Boot 2015.10-rc2 bootloader version. If bootloader version found to be U-Boot SPL 2019.07  in your Turris Omnia, then please follow steps in Bootloader Downgrade section below in this page.

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.

...


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




Fallback to OpenWrt OS:

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

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




Yocto image upgrade procedure from OpenWrt OS: (Better approach is welcome)

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

Have Ethernet connection from your PC to LAN port of Turris Omnia.

Run following commands from inside OpenWrt OS.

Code Block
root@OpenWrt:/# scp manigandan@192.168.2.83:BOX/*$1* /tmp/
root@OpenWrt:/# mount /dev/mmcblk0p3 /mnt
root@OpenWrt:/# mv /tmp/zImage-* /mnt/zImage
root@OpenWrt:/# umount /mnt
root@OpenWrt:/# mount /dev/mmcblk0p5 /mnt
root@OpenWrt:/# rm -rf /mnt/*
root@OpenWrt:/# tar -xzf /tmp/rdkb-* -C /mnt/
root@OpenWrt:/# umount /mnt
root@OpenWrt:/# reboot


Press enter while turris omnia reboots to get into u-boot prompt. Then type following u-boot commands to get back to Yocto based RDKB image.

=> env set yocto_bootargs earlyprintk console=ttyS0,115200 root=/dev/mmcblk0p5 rootfstype=ext2 rw rootwait
=> env set yocto_mmcload setenv bootargs \"\$yocto_bootargs cfg80211.freg=\$regdomain\"\; ext2load mmc 0:3 0x01000000 zImage\; ext2load mmc 0:3 0x02000000 armada-385-turris-omnia.dtb
=> env set mmcboot run yocto_mmcload \|\| run openwrt_mmcload \|\| run factory_mmcload\; bootz 0x01000000 - 0x02000000
=> saveenv
=> reset

Turris Omnia is now running upgraded version of Yocto based RDKB image.




Bootloader Downgrade:

(Following steps are derived from https://wiki.debian.org/InstallingDebianOn/TurrisOmnia#Bootloader_update)

...