So, next attempt. This is how I prepared the USB Stick. It’s an old, 1GB usb 2.0 stick:
root@subi:/# mkfs.ext4 /dev/sdd
mke2fs 1.43.4 (31-Jan-2017)
/dev/sdd contains a vfat file system
Proceed anyway? (y,N) y
Creating filesystem with 252160 4k blocks and 63104 inodes
Filesystem UUID: 06c74fc7-4c5b-4534-a0a3-fc7c325d46ca
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
root@subi:/# mkdir /tmp/sdd
root@subi:/# mount /dev/sdd /tmp/sdd
root@subi:/# curl -o /tmp/sdd/omnia-medkit-latest.tar.gz https://repo.turris.cz/omnia/medkit/omnia-medkit-latest.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 42.5M 100 42.5M 0 0 42.5M 0 0:00:01 0:00:01 --:--:-- 38.7M
root@subi:/# curl -o /tmp/sdd/omnia-medkit-latest.tar.gz.sha256 https://repo.turris.cz/omnia/medkit/omnia-medkit-latest.tar.gz.sha256
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 99 100 99 0 0 99 0 0:00:01 --:--:-- 0:00:01 942
root@subi:/# sync
root@subi:/# sha256sum /tmp/sdd/omnia-medkit-latest.tar.gz
56dd92ec8414df25d1cdb882c7736921bf5a935d689b932882c0a654810c1366 /tmp/sdd/omnia-medkit-latest.tar.gz
root@subi:/# cat /tmp/sdd/omnia-medkit-latest.tar.gz.sha256
56dd92ec8414df25d1cdb882c7736921bf5a935d689b932882c0a654810c1366 omnia-medkit-201709202201.tar.gz
root@subi:/# umount /tmp/sdd
So, I did first create new ext4 system on the usb stick, then mounted it.
Then I used curl to download the latest mediakit and the sha256 checksum.
After downloading I issued a sync to make sure everythign was written.
I then verfified the sha256 checksum with the on in the file contained - they match.
Then I umounted the sick, put it into the TO.
I pressed the reset button on the back until 4 LEDs appeared.
The TO went out, came back to life, at some points all the LEDs were orange/red for a few seconds. During this period of time, the USB stick was also highlighted/glowing.
A little while further, it rebooted itself and is now ready for operations.
However, when I opened 192.168.1.1 I wasn’t greety by the install wizard but by login form. Once I logged in I check, it’s still running:
Device Turris Omnia - RTROM01
Serial number xxxx
Turris OS version 3.2.1
Kernel version 4.4.13-05df79f63527051ea0071350f86faf76-7
So question still remains:
How can I flash current firmware?