Reflash routeru Turris Omnia s mSATA SSD 4.xx

Při změnách nastavení (změny přidělování fixních IP) se první poškodilo uložené nastavení vazeb IP na MAC a nezobrazilo se to co jsem uložil a potom mi router přestal přidělovat IP adresy … tzn. byl nedostupný pro terminál a schnapps. Použití záchrany tlačítkem 1-4 LED se systémem na SSD disku není možné …

Dnes jsem se odhodlal k reflash systému pomocí seriové linky na poslední medkit 4.xx

Operace proběhla poměrně hladce … tzn. rescueboot jsem spustil a postupoval podle návodu https://wiki.turris.cz/doc/cs/howto/omnia_booting_from_external_storage … ALE příkaz boot nevedl ke spuštění systému routeru.

Zkusil znovu vstoupit do rescueboot a proces opakovat. Rescueboot přejde do startu routeru (pokud to čtu dobře) ale ten je zacyklovaný.

run rescueboot

Error writing the chip: 21504024
Error writing the chip: 21504024
Error writing the chip: 21504024
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
Kernel image @ 0x1000000 [ 0x000000 - 0x689b30 ]
Souhrn
Starting kernel ...

<00>
U-Boot SPL 2015.10-rc2 (Aug 18 2016 - 20:43:35)
High speed PHY - Version: 2.0
SERDES0 card detect: SATA
Initialize Turris board topology
Detected Device ID 6820
board SerDes lanes topology details:

 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  6   |  SATA0	|
 |   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 1: remains Gen1
:** Link is Gen1, check the EP capability
PCIe, Idx 2: remains Gen1
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 (Aug 18 2016 - 20:43:35 +0200), Build: jenkins-omnia-master-23

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:003c - Network controller
PCI:
  01:00.0     - 11ab:6820 - Memory controller
  01:01.0     - 168c:002e - Network controller
Model: Marvell Armada 385 GP
Board: Turris Omnia SN: 0000000B00006219

Regdomain set to **
SCSI:  MVEBU SATA INIT
Target spinup took 0 ms.
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
scanning bus for devices...
  Device 0: (0:0) Vendor: ATA Prod.: KINGSTON SUV500M Rev: 0030
            Type: Hard Disk
            Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)
Found 1 device(s).
BtrFS init: Max node or leaf size 16384
3351944 bytes read in 134 ms (23.9 MiB/s)
BtrFS init: Max node or leaf size 16384
18773 bytes read in 108 ms (168.9 KiB/s)
Kernel image @ 0x1000000 [ 0x000000 - 0x332588 ]
## Flattened Device Tree blob at 02000000
   Booting using the fdt blob at 0x2000000
   Loading Device Tree to 0fff8000, end 0ffff954 ... OK

Starting kernel ...

<00>
U-Boot SPL 2015.10-rc2 (Aug 18 2016 - 20:43:35)
High speed PHY - Version: 2.0
SERDES0 card detect: SATA

Spuštení samotného routeru probíhá stejně tzn. je zacyklené.

<00><00>
U-Boot SPL 2015.10-rc2 (Aug 18 2016 - 20:43:35)
High speed PHY - Version: 2.0
SERDES0 card detect: SATA

Initialize Turris board topology
Detected Device ID 6820
board SerDes lanes topology details:
Souhrn
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  6   |  SATA0	|
 |   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 1: remains Gen1
:** Link is Gen1, check the EP capability
PCIe, Idx 2: remains Gen1
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 (Aug 18 2016 - 20:43:35 +0200), Build: jenkins-omnia-master-23
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:003c - Network controller
PCI:
  01:00.0     - 11ab:6820 - Memory controller
  01:01.0     - 168c:002e - Network controller
Model: Marvell Armada 385 GP
Board: Turris Omnia SN: 0000000B00006219
Regdomain set to **
SCSI:  MVEBU SATA INIT
Target spinup took 0 ms.
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
scanning bus for devices...
  Device 0: (0:0) Vendor: ATA Prod.: KINGSTON SUV500M Rev: 0030
            Type: Hard Disk
            Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)
Found 1 device(s).
BtrFS init: Max node or leaf size 16384
3351944 bytes read in 157 ms (20.4 MiB/s)
BtrFS init: Max node or leaf size 16384
18773 bytes read in 108 ms (168.9 KiB/s)
Kernel image @ 0x1000000 [ 0x000000 - 0x332588 ]
## Flattened Device Tree blob at 02000000
   Booting using the fdt blob at 0x2000000
   Loading Device Tree to 0fff8000, end 0ffff954 ... OK

Starting kernel ...

<00>
U-Boot SPL 2015.10-rc2 (Aug 18 2016 - 20:43:35)
High speed PHY - Version: 2.0
SERDES0 card detect: SATA

Občas … ale ne vždy ohlásí:

=> run rescueboot 
Error writing the chip: 21504024
Error writing the chip: 21504024
Error writing the chip: 21504024
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
Kernel image @ 0x1000000 [ 0x000000 - 0x689b30 ]

Starting kernel ...

Mám dojem, že přístroj (květen 2016) definitivně zemřel … mohu s klidným svědomím prohlásit R.I.P. ?

Kdo mi odsouhlasí, že si mohu koupit nový router ? :upside_down_face: :unamused:

Na to nepotřebujete souhlas od nikoho, je to čistě vaše vlastní rozhodnutí :wink:

Nicméně, že by odešla jak eMMC, tak SSD? Asi by to chtělo otestovat SSD jinde… Navíc je možnost zkusit systém na USB :wink:

Držím palce!

to by chcelo turris support, skusali ste?

2 Likes

Potřebuji jasně prohlásit, že chyba paměti při spouštění run rescueboot je neřešitelná. Snad si toho postu admini neb oněkdo moudrý všimne, přeci jen 7 tisíc na nový router není úplný pakatel.

SSD problém nebude, tam jsem viděl, že v tu chvíli instalace proběhla bez chybové hlášky.
Současný stav je takový, že systém se nyní nespustí, proces opakovaně restartuje.

viz sekce

Starting kernel ...
<00>
U-Boot SPL 2015.10-rc2 (Aug 18 2016 - 20:43:35)
High speed PHY - Version: 2.0
SERDES0 card detect: SATA 

Ale hlavní problém je, že vadou rescueboot již nikdy systém na SSD nenainstaluji.

to by chcelo turris support, skusali ste?

Ano, dostal jsem odpověď , že jim to mám poslat k posouzení … a tak se stane

Dnes doručeno do CZ.NIC na posouzení problému, zda se jedná o router v silikonovém nebi :slight_smile:

EDIT 13.4.2021: tak router se vrací domů - a z popisu řešení nejsem nijak chytrý. V zásadě se problémy zdokumentované doma neprojevily a přisuzují to špatnému chlazení. Origo jsem nahradil před více než rokem thermalpadem z Alzy a teplota proti originálu klesla o 7 stupňů.

Zřejmě při instalaci systemu ze seriové linky a odkrytovaném routeru došlo postupně k přehřátí a pak už se start systému ani rescueboot nedařil. Tak uvidím co jsem vyvedl, až to přijde. :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.