Re-flash router fails

Hello Guys,
if I want to re-falsh my omnia wit the latest medkit file from here https://repo.turris.cz/omnia/medkit/omnia-medkit-latest.tar.gz

Now i get the following error from serial and have no idea what i should do now.

Searching for /srcmnt/omnia-medkit*.tar.gz on sda1
Found medkit file /srcmnt/omnia-medkit-latest.tar.gz on device sda1
1+0 records in
1+0 records out
512 bytes (512B) copied, 0.001518 seconds, 329.4KB/s

Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be carefu[    9.658837]  mmcblk0: p1
l before using the write command[    9.664399]  mmcblk0: p1
.


Command (m for help): All space for primary partitions is in use.

Command (m for help): Disk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x665e5ce8

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       2048 15269887 15267840  7.3G 83 Linux

Command (m for help): 1: unknown command

Command (m for help): 

Command (m for help): 

Command (m for help): 
Disk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x665e5ce8

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       2048 15269887 15267840  7.3G 83 Linux

Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

btrfs-progs v4.11
See http://btrfs.wiki.kernel.org for more information.

Performing full device TRIM /dev/mmcblk0p1 (7.28GiB) ...
[   13.310978] random: nonblocking pool is initialized
Label:              (null)
UUID:               1d67ed74-25e8-4473-ad80-c7084bce1cce
Node size:          4096
Sector size:        4096
Filesystem size:    7.28GiB
Block group profiles:
  Data+Metadata:    single            8.00MiB
  System:           single            4.00MiB
SSD detected:       yes
Incompat features:  mixed-bg, extref, skinny-metadata
Number of devices:  1
Devices:
   ID        SIZE  PATH
    1     7.28GiB  /dev/mmcblk0p1

ERROR: device scan failed on '/dev/mmcblk0p1': Invalid argument
mount_fs /dev/mmcblk0p[   42.092819] [EXFAT] trying to mount...
1 /mnt
mount: mounting /dev/mmcblk0p1 on /mnt failed: Invalid argument
Error: Mount /dev/mmcblk0p1 on /mnt failed.
ERROR: not a btrfs filesystem: /mnt
Rootdir is /mnt/@
/bin/rescue.sh: cd: line 262: can't cd to /mnt/@
mdev: applet not found
ERROR: Could not statfs: No such file or directory
umount_fs /mnt
umount: can't unmount /mnt: Invalid argument
umount_fs /srcmnt
Current time Mon May 20 16:07:22 GMT 2019 seems to be OK. Keeping it.
Reflash succeeded.
Doing sysrq rebo[   46.917566] sysrq: SysRq : ot as busybox onChanging Loglevel
e doesn't work
[   46.924292] sysrq: Loglevel set to 0
[   46.929315] sysrq: SysRq : Resetting

U-Boot SPL 2015.10-rc2 (Apr 11 2019 - 17:00:15)
High speed PHY - Version: 2.0
SERDES0 card detect: PEX

Initialize Turris board topology
Detected Device ID 6820
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  5   |  PCIe0	|
 |   1    |  5   |  USB3 HOST0	|
 |   2    |  5   |  PCIe1	|
 |   3    |  5   |  USB3 HOST1	|
 |   4    |  5   |  PCIe2	|
 |   5    |  0   |  SGMII2	|
 --------------------------------
poll_op_execute: TIMEOUT
:** Link is Gen1, check the EP capability
PCIe, Idx 0: remains Gen1
:** Link is Gen1, check the EP capability
PCIe, Idx 1: remains Gen1
PCIe, Idx 2: detected no link
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.29.0
Memory config in EEPROM: 0x01
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
DDR3 Training Sequence - Ended Successfully


U-Boot 2015.10-rc2 (Apr 11 2019 - 17:00:15 +0200), Build: jenkins-omnia-stable-377
                                                                                  
SoC:   MV88F6820-A0
       Watchdog enabled
I2C:   ready           
SPI:   ready
DRAM:  1 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
PCI:                                                                           
  00:01.0     - 168c:002e - Network controller
PCI:                                          
  01:00.0     - 11ab:6820 - Memory controller
  01:01.0     - 168c:003c - Network controller
Model: Marvell Armada 385 GP                  
Board: Turris Omnia SN: 0000000B00011BB9
Regdomain set to **                     
SCSI:  MVEBU SATA INIT
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                 
BOOT eMMC FS    
btrfs probe failed
** Unrecognized filesystem type **
btrfs probe failed                
** Unrecognized filesystem type **
Kernel image @ 0x1000000 [ 0x000000 - 0x6ef1e0 ]
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree

Thanks for your help
Stefan

Did you search the forum for Did not find a cmdline Flattened Device Tree or Could not find a valid device tree and read the post pertaining to each result from that search?

Hello,

Did you have LXC containers?

I search in Forum for the errors but was not sure what it means for me.
I use LXC containers on an external device.