How to update Omnia firmware?

What files should i download from ?

  1. medkit/omnia-medkit-latest.tar.gz ?
  2. openwrt-mvebu-Turris-Omnia-rootfs.tar.gz ?

What is nor_fw/* for ?

why would you like to medkit your Turris Omnia?

The router itself should update it to the latest version, but you’re looking for answers, which are in documentation.

my router can’t connect to internet because of non-standard L2TP (dhcp + l2tp) of my ISP

also curios what each of those represet
@Pepe got a minute to explain?

medkit/omnia-medkit-latest.tar.gz is the latest medkit built for that release - something to flash via USB
openwrt-mvebu-Turris-Omnia-rootfs.tar.gz is a leftover of some build that wasn’t deleted by accident
nor_fw contains u-boot and rescue system that are in NOR

some “accident”
thx anyways :slight_smile:

so I accidentally wrote to the /dev/mtd0 and /dev/mtd1 partitions. How can I restore the rescue flash layer? I was able to get uboot back by kwboot the uboot-turris-omnia-spl.kwb over serial and the tftp the kernel and used mtd to write the kwb file and got uboot back, but now I can’t use the medkit to start from scratch because I believe it relies on the rescue partition, do I need to flash uboot-turris-omnia-uart-spl.kwb to that partition?

This is where I am at with the medkit file

U-Boot 2015.10-rc2 (Aug 01 2019 - 00:43:54 +0200), Build: jenkins-omnia-stable-423

SoC: MV88F6820-A0
Watchdog enabled
I2C: ready
SPI: ready
DRAM: 2 GiB (ECC not enabled)
Enabling Armada 385 watchdog.
Disabling MCU startup watchdog.
Regdomain set to **
MMC: mv_sdh: 0
SF: Detected S25FL164K with page size 256 Bytes, erase size 64 KiB, total 8 MiB
00:01.0 - 168c:002e - Network controller
01:00.0 - 11ab:6820 - Memory controller
01:01.0 - 168c:003c - Network controller
Model: Marvell Armada 385 GP
Board: Turris Omnia SN: 0000000B00008F63
Regdomain set to **
SATA link 0 timeout.
SATA link 1 timeout.
AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
flags: 64bit ncq led only pmp fbss pio slum part sxs
Net: neta2
Hit any key to stop autoboot: 0
Setting bus to 1
SF: Detected S25FL164K with page size 256 Bytes, erase size 64 KiB, total 8 MiB
device 0 offset 0x100000, size 0x700000
SF: 7340032 bytes @ 0x100000 Read: OK
Bad Linux ARM zImage magic!

Ok Looks like I had to flash omnia-initramfs-zimage to the mtd1 and medkit worked just fine then. Thanks for the insights!