Mox: rescue image is busted
sed: /proc/cmdline: No such file or directory
Initializing the system
[ 4.609253] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[ 4.790552] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 4.797114] scsi host0: usb-storage 2-1:1.0
[ 5.001538] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[ 5.008519] mmcblk1: mmc1:aaaa SA16G 14.8 GiB
[ 5.015645] mmcblk1: p1
Now is your chance to change a mode from 1 to something else, press the button to do so
[ 5.585971] watchdog: watchdog0: nowayout prevents watchdog being stopped!
[ 5.592777] watchdog: watchdog0: watchdog did not stop!
[ 5.840300] scsi 0:0:0:0: Direct-Access SanDisk Cruzer Glide 3.0 1.00 PQ: 0 ANSI: 6
[ 5.849321] sd 0:0:0:0: [sda] 124059648 512-byte logical blocks: (63.5 GB/59.2 GiB)
[ 5.858336] sd 0:0:0:0: [sda] Write Protect is off
[ 5.863588] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 5.893004] sda: sda1
[ 5.896587] sd 0:0:0:0: [sda] Attached SCSI removable disk
expr: syntax error
Waiting for s ...
6s left
5s left
4s left
3s left
2s left
1s left
0s left
Mode 1 selected!
Rebooting!
Debug info:
[ 15.117520] watchdog: watchdog0: nowayout prevents watchdog being stopped!
[ 15.124431] watchdog: watchdog0: watchdog did not stop!
[ 15.131755] reboot: Restarting syste▒
This happens either reading the image from onboard flash or USB: (I used the image at https://gitlab.nic.cz/turris/turris-os-packages/-/raw/master/hardware/mox/mox-support/files/rescue in case the one in flash was corrupt or old)
U-Boot 2018.11 (Dec 16 2018 - 12:50:19 +0000), Build: jenkins-turris-os-packages-kittens-mox-90
DRAM: 512 MiB
Enabling Armada 3720 wComphy-0: SGMII1 3.125 Gbps
Comphy-1: PEX0 5 Gbps
Comphy-2: USB3_HOST0 5 Gbps
MMC: sdhci@d8000: 0
Loading Environment from SPI Flash... SF: Detected w25q64dw with page size 256 Bytes, erase size 4 KiB, total 8 MiB
OK
Model: CZ.NIC Turris Mox Board
Net: eth0: neta@30000
Turris Mox:
Board version: 22
RAM size: 512 MiB
Serial Number: 0000000D30003B7D
ECDSA Public Key: 03018d42f0823fc2125fed2d975d19aee2113e9ae3f011ce9b419f5714ac40e1ec03849f9c6c25e91cfdd027b7383a9c550f1ca55d391dabc54cf2c006588457ea28ae
SD/eMMC version: SD
Hit any key to stop autoboot: 0
usb start
fatload usb 0 $kernel_addr_r rescue
lzmadec $kernel_addr_r $ramdisk_addr_r; bootm $ramdisk_addr_r