It took me a while to figure out but I think I was able to boot from serial and later also write new uboot to NOR ( Omnia - Turris Documentation). I hope, I understand it correctly.
Now I am little stuck and not sure how to make it to boot from internal SSD I have installed or external USB. Any suggestions please?
This is what I get now:
BootROM - 1.73
Booting from SPI flash
U-Boot SPL 2024.10-rc3-OpenWrt-r20343+127-4e1d1b7df0 (Sep 13 2024 - 01:38:50 +00 00)
High speed PHY - Version: 2.0
MiniPCIe/mSATA card detection... mSATA
WWAN slot configuration... PCIe+USB2.0
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 |
--------------------------------
High speed PHY - Ended Successfully
mv_ddr: 14.0.0
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
mv_ddr: completed successfully
Trying to boot from SPI
U-Boot 2024.10-rc3-OpenWrt-r20343+127-4e1d1b7df0 (Sep 13 2024 - 01:38:50 +0000), Build: jenkins-TurrisOS-packages-hbk-omnia-1216
SoC: MV88F6820-A0 at 1600 MHz
DRAM: 2 GiB (800 MHz, 32-bit, 2T, ECC not enabled)
Core: 89 devices, 31 uclasses, devicetree: separate
WDT: Started watchdog@20300 with servicing every 1000ms (60s timeout)
MMC: mv_sdh: 0
Loading Environment from SPIFlash... SF: Detected s25fl164k with page size 256 B ytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment
Model: Turris Omnia
MCU type: STM32
MCU version: b5a8a24e007eb72be16aeb3fff6f03ec647023e4
RAM size: 2048 MiB
Board version: unknown
Serial Number: 0000000C0000211D
Disabling MCU watchdog... disabled
Regdomain set to **
pcie1.0: Link up
pcie2.0: Link up
Net: eth0: ethernet@70000, eth1: ethernet@30000, eth2: ethernet@34000 [PRIME], eth3: lan0, eth4: lan1, eth5: lan2, eth6: lan3, eth7: lan4
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
No EFI system partition
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
Missing RNG device for EFI_RNG_PROTOCOL
Loading Boot0000 'mmc 0' failed
EFI boot manager: Cannot load any image
Device 0: unknown device
scanning bus for devices...
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
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
Device 0: (0:0) Vendor: ATA Prod.: Samsung SSD 860 Rev: RVT4
Type: Hard Disk
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
Device 0: (0:0) Vendor: ATA Prod.: Samsung SSD 860 Rev: RVT4
Type: Hard Disk
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
... is now current device
** No partition table - scsi 0 **
Couldn't find partition scsi 0:1
starting USB...
Bus usb@58000: USB EHCI 1.00
Bus usb3@f0000: MVEBU XHCI INIT controller @ 0xf10f4000
Register 2000120 NbrPorts 2
Starting the controller
USB XHCI 1.00
Bus usb3@f8000: MVEBU XHCI INIT controller @ 0xf10fc000
Register 2000120 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@58000 for devices... 1 USB Device(s) found
scanning bus usb3@f0000 for devices... 1 USB Device(s) found
scanning bus usb3@f8000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Device 0: unknown device
ethernet@34000 Waiting for PHY auto negotiation to complete................. TIMEOUT !
ethernet@34000: No link.
lan0 Waiting for PHY auto negotiation to complete................. TIMEOUT !
lan1 Waiting for PHY auto negotiation to complete................. TIMEOUT !
lan2 Waiting for PHY auto negotiation to complete................. TIMEOUT !
lan3 Waiting for PHY auto negotiation to complete................. TIMEOUT !
lan4 Waiting for PHY auto negotiation to complete................. TIMEOUT !
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
Abort
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-d8-58-d7-00-81-56
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/00000000
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/0000000
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/000000
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/00000
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/0000
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/000
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/00
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/0
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default-arm-mvebu-turris_omnia
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default-arm-mvebu
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default-arm
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default
*** ERROR: `serverip' not set
Config file not found