MOX A Serial Console able to View output but not send commands


#1

I’m curious about my MOX A, it arrived and while I was playing with it I wanted to see some of its functions and so I first booted it into rescue mode 7 over a serial console.

I was able to perform this successfully, and the log output is as follows:

U-Boot 2018.11 (Dec 16 2018 - 12:50:19 +0000), Build: jenkins-turris-os-packages-kittens-mox-90

DRAM:  1 GiB
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: 1024 MiB
  Serial Number: 0000000D300013C9
  ECDSA Public Key: 02015b22a7bb431c29ace8120e8d77735ac356d58a7fb884b5a7b5ba58bb08cd1606f668e8fa1ea5cd2b2bc7e7d7af1cef7d0ae23f18a6fa5cc18afd0743f73f653bfd
  SD/eMMC version: SD

Hit any key to stop autoboot:  2  1  0 
gpio: pin GPIO221 (gpio 57) value is 0
gpio: pin GPIO220 (gpio 56) value is 1
SF: Detected w25q64dw with page size 256 Bytes, erase size 4 KiB, total 8 MiB
device 0 offset 0x7f0000, size 0x10000
SF: 65536 bytes @ 0x7f0000 Read: OK
Card did not respond to voltage select!
starting USB...
USB0:   Register 2000104 NbrPorts 2
Starting the controller
USB XHCI 1.00
USB1:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
neta@30000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
neta@30000: No link.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-d8-58-d7-00-b6-ba
neta@30000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
neta@30000: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
neta@30000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
neta@30000: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
neta@30000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
neta@30000: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
neta@30000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
neta@30000: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
neta@30000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
neta@30000: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
neta@30000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
neta@30000: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
neta@30000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
neta@30000: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
neta@30000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
neta@30000: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
neta@30000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
neta@30000: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-mvebu-turris_mox
neta@30000 Waiting for PHY auto negotiation to complete......

U-Boot 2018.11 (Dec 16 2018 - 12:50:19 +0000), Build: jenkins-turris-os-packages-kittens-mox-90

DRAM:  1 GiB
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: 1024 MiB
  Serial Number: 0000000D300013C9
  ECDSA Public Key: 02015b22a7bb431c29ace8120e8d77735ac356d58a7fb884b5a7b5ba58bb08cd1606f668e8fa1ea5cd2b2bc7e7d7af1cef7d0ae23f18a6fa5cc18afd0743f73f653bfd
  SD/eMMC version: SD

Hit any key to stop autoboot:  2  1  0 
gpio: pin GPIO221 (gpio 57) value is 0
gpio: pin GPIO220 (gpio 56) value is 0
gpio: pin GPIO220 (gpio 56) value is 0
gpio: pin GPIO221 (gpio 57) value is 1
SF: Detected w25q64dw with page size 256 Bytes, erase size 4 KiB, total 8 MiB
device 0 offset 0x190000, size 0x670000
SF: 6750208 bytes @ 0x190000 Read: OK
Uncompressed size: 15717072 = 0XEFD2D0
## Loading kernel from FIT Image at 08000000 ...
   Using 'conf@1' configuration
   Trying 'kernel@1' kernel subimage
     Description:  Linux kernel with initramfs included
     Created:      2018-12-16  12:50:19 UTC
     Type:         Kernel Image (no loading done)
     Compression:  uncompressed
     Data Start:   0x080000fc
     Data Size:    15695880 Bytes = 15 MiB
     Hash algo:    crc32
     Hash value:   ebd8c2e0
     Hash algo:    sha1
     Hash value:   bcdba3d5254917115643551f2eca24379e7ddb4a
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 08000000 ...
   Using 'conf@1' configuration
   Trying 'fdt@1' fdt subimage
     Description:  Flattened Device Tree blob
     Created:      2018-12-16  12:50:19 UTC
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x08ef8238
     Data Size:    19292 Bytes = 18.8 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   d2d271e7
     Hash algo:    sha1
     Hash value:   71a1b91456959620837fa45cb168dd06825b6c60
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x8ef8238
   Loading Kernel Image ... OK
   Loading Device Tree to 000000003bf16000, end 000000003bf1db5b ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.88 (beast@slave10) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 775ba4083e)) #0 SMP Sun Dec 16 12:50:19 2018
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: CZ.NIC Turris Mox Board
[    0.000000] earlycon: ar3700_uart0 at MMIO 0x00000000d0012000 (options '')
[    0.000000] bootconsole [ar3700_uart0] enabled
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 16 pages/cpu @ffffffc03ffc4000 s27800 r8192 d29544 u65536
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 1014724K/1048576K available (5182K kernel code, 352K rwdata, 1656K rodata, 8128K init, 285K bss, 33852K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008590000   (  5184 KB)
[    0.000000]     .rodata : 0xffffff8008590000 - 0xffffff8008730000   (  1664 KB)
[    0.000000]       .init : 0xffffff8008730000 - 0xffffff8008f20000   (  8128 KB)
[    0.000000]       .data : 0xffffff8008f20000 - 0xffffff8008f78008   (   353 KB)
[    0.000000]        .bss : 0xffffff8008f78008 - 0xffffff8008fbf528   (   286 KB)
[    0.000000]     fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf01000000   (    16 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc040000000   (  1024 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000d1d40000
[    0.000000] arch_timer: cp15 timer(s) running at 12.50MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
[    0.000004] sched_clock: 56 bits at 12MHz, resolution 80ns, wraps every 4398046511080ns
[    0.008405] Console: colour dummy device 80x25
[    0.012915] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.023562] pid_max: default: 32768 minimum: 301
[    0.028379] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.035217] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.043324] ASID allocator initialised with 65536 entries
[    0.048877] Hierarchical SRCU implementation.
[    0.053683] smp: Bringing up secondary CPUs ...
[    0.058564] Detected VIPT I-cache on CPU1
[    0.058594] GICv3: CPU1: found redistributor 1 region 0:0x00000000d1d60000
[    0.058623] CPU1: Booted secondary processor [410fd034]
[    0.058690] smp: Brought up 1 node, 2 CPUs
[    0.079396] SMP: Total of 2 processors activated.
[    0.084237] CPU features: detected feature: GIC system register CPU interface
[    0.091587] CPU features: detected feature: 32-bit EL0 Support
[    0.097590] CPU: All CPU(s) started at EL2
[    0.102338] devtmpfs: initialized
[    0.107213] random: get_random_u32 called from bucket_table_alloc+0x1ac/0x214 with crng_init=0
[    0.116149] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.126212] futex hash table entries: 512 (order: 4, 65536 bytes)
[    0.132553] xor: measuring software checksum speed
[    0.237444]    8regs     :  1808.000 MB/sec
[    0.337472]    8regs_prefetch:  1621.200 MB/sec
[    0.437502]    32regs    :  2448.000 MB/sec
[    0.537534]    32regs_prefetch:  2052.400 MB/sec
[    0.542201] xor: using function: 32regs (2448.000 MB/sec)
[    0.547767] pinctrl core: initialized pinctrl subsystem
[    0.553649] NET: Registered protocol family 16
[    0.558839] vdso: 2 pages (1 code @ ffffff8008594000, 1 data @ ffffff8008f24000)
[    0.566571] DMA: preallocated 256 KiB pool for atomic allocations
[    0.573982] d0012000.serial: ttyMV0 at MMIO 0xd0012000 (irq = 9, base_baud = 0) is a mvebu-uart
[    0.582909] console [ttyMV0] enabled
[    0.582909] console [ttyMV0] enabled
[    0.590226] bootconsole [ar3700_uart0] disabled
[    0.590226] bootconsole [ar3700_uart0] disabled
[    0.779694] raid6: int64x1  gen()   364 MB/s
[    0.949820] raid6: int64x1  xor()   306 MB/s
[    1.119822] raid6: int64x2  gen()   578 MB/s
[    1.289944] raid6: int64x2  xor()   424 MB/s
[    1.459992] raid6: int64x4  gen()   835 MB/s
[    1.630083] raid6: int64x4  xor()   564 MB/s
[    1.800189] raid6: int64x8  gen()   644 MB/s
[    1.970239] raid6: int64x8  xor()   517 MB/s
[    2.140311] raid6: neonx1   gen()   637 MB/s
[    2.310361] raid6: neonx1   xor()   681 MB/s
[    2.480455] raid6: neonx2   gen()   968 MB/s
[    2.650489] raid6: neonx2   xor()   961 MB/s
[    2.820545] raid6: neonx4   gen()  1303 MB/s
[    2.990620] raid6: neonx4   xor()  1187 MB/s
[    3.160709] raid6: neonx8   gen()  1340 MB/s
[    3.330760] raid6: neonx8   xor()  1213 MB/s
[    3.334903] raid6: using algorithm neonx8 gen() 1340 MB/s
[    3.340386] raid6: .... xor() 1213 MB/s, rmw enabled
[    3.345516] raid6: using neon recovery algorithm
[    3.351245] SCSI subsystem initialized
[    3.355214] usbcore: registered new interface driver usbfs
[    3.360792] usbcore: registered new interface driver hub
[    3.366071] usbcore: registered new device driver usb
[    3.371850] pxa2xx-i2c d0011000.i2c: could not find pctldev for node /soc/internal-regs@d0000000/pinctrl@13800/i2c1-pins, deferring probe
[    3.386108] clocksource: Switched to clocksource arch_sys_counter
[    3.397091] NET: Registered protocol family 2
[    3.401638] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    3.409022] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    3.415844] TCP: Hash tables configured (established 8192 bind 8192)
[    3.422554] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.428705] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.435408] NET: Registered protocol family 1
[    3.460564] Crashlog allocated RAM at address 0x3f00000
[    3.466332] workingset: timestamp_bits=62 max_order=18 bucket_order=0
[    3.476312] ntfs: driver 2.1.32 [Flags: R/O].
[    3.482601] io scheduler noop registered
[    3.486787] io scheduler deadline registered (default)
[    3.496338] mv_xor d0060900.xor: Marvell shared XOR driver
[    3.556769] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.626692] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.634390] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    3.642766] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.651637] loop: module loaded
[    3.660266] random: fast init done
[    3.669306] m25p80 spi0.0: w25q64dw (8192 Kbytes)
[    3.674017] 5 fixed-partitions partitions found on MTD device spi0.0
[    3.680745] Creating 5 MTD partitions on "spi0.0":
[    3.685253] 0x000000000000-0x000000020000 : "secure-firmware"
[    3.691967] 0x000000020000-0x000000180000 : "u-boot"
[    3.697568] 0x000000180000-0x000000190000 : "u-boot-env"
[    3.703243] 0x000000190000-0x0000007f0000 : "Rescue system"
[    3.709438] 0x0000007f0000-0x000000800000 : "dtb"
[    3.714753] moxtet spi0.1: Found SD Turris Mox CPU module
[    3.720835] libphy: Fixed MDIO Bus: probed
[    3.725494] libphy: orion_mdio_bus: probed
[    3.747965] mvneta d0030000.ethernet eth0: Using device tree mac address d8:58:d7:00:b6:ba
[    3.756770] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.763436] ehci-pci: EHCI PCI platform driver
[    3.768181] ehci-platform: EHCI generic platform driver
[    3.773599] ehci-orion: EHCI orion driver
[    3.777554] orion-ehci d005e000.usb: EHCI Host Controller
[    3.783246] orion-ehci d005e000.usb: new USB bus registered, assigned bus number 1
[    3.791155] orion-ehci d005e000.usb: irq 12, io mem 0xd005e000
[    3.826109] orion-ehci d005e000.usb: USB 2.0 started, EHCI 1.00
[    3.832628] hub 1-0:1.0: USB hub found
[    3.836542] hub 1-0:1.0: 1 port detected
[    3.840868] uhci_hcd: USB Universal Host Controller Interface driver
[    3.847719] usbcore: registered new interface driver usb-storage
[    3.854156] i2c /dev entries driver
[    3.858224] armada_37xx_wdt d0008300.watchdog: Initial timeout 120 sec, nowayout
[    3.865913] sdhci: Secure Digital Host Controller Interface driver
[    3.871884] sdhci: Copyright(c) Pierre Ossman
[    3.876545] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.882768] xenon-sdhci d00d0000.sdhci: allocated mmc-pwrseq
[    3.888655] xenon-sdhci d00d8000.sdhci: Got CD GPIO
[    3.894782] NET: Registered protocol family 10
[    3.900024] Segment Routing with IPv6
[    3.903682] NET: Registered protocol family 17
[    3.908458] 8021q: 802.1Q VLAN Support v1.8
[    3.914385] Btrfs loaded, crc32c=crc32c-generic
[    3.923006] rtc-ds1307 0-006f: registered as rtc0
[    3.927758] i2c i2c-0:  PXA I2C adapter
[    3.931849] xhci-hcd d0058000.usb: xHCI Host Controller
[    3.937016] xhci-hcd d0058000.usb: new USB bus registered, assigned bus number 2
[    3.944577] xhci-hcd d0058000.usb: hcc params 0x0a000998 hci version 0x100 quirks 0x0000000000010010
[    3.954120] xhci-hcd d0058000.usb: irq 11, io mem 0xd0058000
[    3.960508] hub 2-0:1.0: USB hub found
[    3.963958] hub 2-0:1.0: 1 port detected
[    3.968558] xhci-hcd d0058000.usb: xHCI Host Controller
[    3.973610] xhci-hcd d0058000.usb: new USB bus registered, assigned bus number 3
[    3.981540] xhci-hcd d0058000.usb: Host supports USB 3.0  SuperSpeed
[    3.988236] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.996678] hub 3-0:1.0: USB hub found
[    4.000307] hub 3-0:1.0: 1 port detected
[    4.005233] xenon-sdhci d00d0000.sdhci: allocated mmc-pwrseq
[    4.086109] mmc0: SDHCI controller on d00d0000.sdhci [d00d0000.sdhci] using ADMA
[    4.094101] xenon-sdhci d00d8000.sdhci: Got CD GPIO
[    4.166253] mmc1: SDHCI controller on d00d8000.sdhci [d00d8000.sdhci] using ADMA
[    4.175354] rtc-ds1307 0-006f: setting system clock to 2019-02-16 01:25:09 UTC (1550280309)
[    4.189605] Freeing unused kernel memory: 8128K
sed: /proc/cmdline: No such file or directory
Initializing the system
Now is your chance to change a mode from 1 to something else, press the button to do so
[    5.299914] watchdog: watchdog0: nowayout prevents watchdog being stopped!
[    5.306877] watchdog: watchdog0: watchdog did not stop!
expr: syntax error
Waiting for s ...
6s left
Mode changed to 2
Btrfs rollback
6s left
Mode changed to 3
Factory reset
6s left
Mode changed to 4
USB flash
6s left
Mode changed to 5
Unsecure SSH on 192.168.1.1
6s left
Mode changed to 6
Flash from the Cloud :-)
6s left
Mode changed to 7
Serial console
6s left
5s left
4s left
3s left
2s left
1s left
0s left
Mode 7 selected!
Running shell


BusyBox v1.29.3 (2018-12-16 14:59:37 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # 

Once it was booted (this is with no SD card or Turris OS) I was unable to send any commands to the board over UART. I also noted that it shows

[ 0.590226] bootconsole [ar3700_uart0] disabled
[ 0.590226] bootconsole [ar3700_uart0] disabled

Is this why I could not send commands to the MOX? Or did I merely do something incorrectly, perhaps, while using moserial to connect to MOX A.

I tried typing ‘help’ once MOX had loaded the shell and received no response.

I thought this may be interesting to some as well, here is console output loading MOX A from rescue mode 4 :slight_smile:


U-Boot 2018.11 (Dec 16 2018 - 12:50:19 +0000), Build: jenkins-turris-os-packages-kittens-mox-90

DRAM:  1 GiB
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: 1024 MiB
  Serial Number: 0000000D300013C9
  ECDSA Public Key: 02015b22a7bb431c29ace8120e8d77735ac356d58a7fb884b5a7b5ba58bb08cd1606f668e8fa1ea5cd2b2bc7e7d7af1cef7d0ae23f18a6fa5cc18afd0743f73f653bfd
  SD/eMMC version: SD

Hit any key to stop autoboot:  2  1  0 
gpio: pin GPIO221 (gpio 57) value is 0
gpio: pin GPIO220 (gpio 56) value is 0
gpio: pin GPIO220 (gpio 56) value is 0
gpio: pin GPIO221 (gpio 57) value is 1
SF: Detected w25q64dw with page size 256 Bytes, erase size 4 KiB, total 8 MiB
device 0 offset 0x190000, size 0x670000
SF: 6750208 bytes @ 0x190000 Read: OK
Uncompressed size: 15717072 = 0XEFD2D0
## Loading kernel from FIT Image at 08000000 ...
   Using 'conf@1' configuration
   Trying 'kernel@1' kernel subimage
     Description:  Linux kernel with initramfs included
     Created:      2018-12-16  12:50:19 UTC
     Type:         Kernel Image (no loading done)
     Compression:  uncompressed
     Data Start:   0x080000fc
     Data Size:    15695880 Bytes = 15 MiB
     Hash algo:    crc32
     Hash value:   ebd8c2e0
     Hash algo:    sha1
     Hash value:   bcdba3d5254917115643551f2eca24379e7ddb4a
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 08000000 ...
   Using 'conf@1' configuration
   Trying 'fdt@1' fdt subimage
     Description:  Flattened Device Tree blob
     Created:      2018-12-16  12:50:19 UTC
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x08ef8238
     Data Size:    19292 Bytes = 18.8 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   d2d271e7
     Hash algo:    sha1
     Hash value:   71a1b91456959620837fa45cb168dd06825b6c60
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x8ef8238
   Loading Kernel Image ... OK
   Loading Device Tree to 000000003bf16000, end 000000003bf1db5b ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.88 (beast@slave10) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 775ba4083e)) #0 SMP Sun Dec 16 12:50:19 2018
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: CZ.NIC Turris Mox Board
[    0.000000] earlycon: ar3700_uart0 at MMIO 0x00000000d0012000 (options '')
[    0.000000] bootconsole [ar3700_uart0] enabled
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 16 pages/cpu @ffffffc03ffc4000 s27800 r8192 d29544 u65536
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 1014724K/1048576K available (5182K kernel code, 352K rwdata, 1656K rodata, 8128K init, 285K bss, 33852K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008590000   (  5184 KB)
[    0.000000]     .rodata : 0xffffff8008590000 - 0xffffff8008730000   (  1664 KB)
[    0.000000]       .init : 0xffffff8008730000 - 0xffffff8008f20000   (  8128 KB)
[    0.000000]       .data : 0xffffff8008f20000 - 0xffffff8008f78008   (   353 KB)
[    0.000000]        .bss : 0xffffff8008f78008 - 0xffffff8008fbf528   (   286 KB)
[    0.000000]     fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf01000000   (    16 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc040000000   (  1024 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000d1d40000
[    0.000000] arch_timer: cp15 timer(s) running at 12.50MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
[    0.000004] sched_clock: 56 bits at 12MHz, resolution 80ns, wraps every 4398046511080ns
[    0.008405] Console: colour dummy device 80x25
[    0.012917] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.023563] pid_max: default: 32768 minimum: 301
[    0.028381] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.035219] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.043329] ASID allocator initialised with 65536 entries
[    0.048883] Hierarchical SRCU implementation.
[    0.053684] smp: Bringing up secondary CPUs ...
[    0.058560] Detected VIPT I-cache on CPU1
[    0.058591] GICv3: CPU1: found redistributor 1 region 0:0x00000000d1d60000
[    0.058620] CPU1: Booted secondary processor [410fd034]
[    0.058690] smp: Brought up 1 node, 2 CPUs
[    0.079396] SMP: Total of 2 processors activated.
[    0.084236] CPU features: detected feature: GIC system register CPU interface
[    0.091586] CPU features: detected feature: 32-bit EL0 Support
[    0.097589] CPU: All CPU(s) started at EL2
[    0.102341] devtmpfs: initialized
[    0.107216] random: get_random_u32 called from bucket_table_alloc+0x1ac/0x214 with crng_init=0
[    0.116150] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.126215] futex hash table entries: 512 (order: 4, 65536 bytes)
[    0.132554] xor: measuring software checksum speed
[    0.237444]    8regs     :  1808.000 MB/sec
[    0.337472]    8regs_prefetch:  1621.200 MB/sec
[    0.437503]    32regs    :  2448.000 MB/sec
[    0.537534]    32regs_prefetch:  2052.400 MB/sec
[    0.542201] xor: using function: 32regs (2448.000 MB/sec)
[    0.547767] pinctrl core: initialized pinctrl subsystem
[    0.553654] NET: Registered protocol family 16
[    0.558840] vdso: 2 pages (1 code @ ffffff8008594000, 1 data @ ffffff8008f24000)
[    0.566573] DMA: preallocated 256 KiB pool for atomic allocations
[    0.573981] d0012000.serial: ttyMV0 at MMIO 0xd0012000 (irq = 9, base_baud = 0) is a mvebu-uart
[    0.582909] console [ttyMV0] enabled
[    0.582909] console [ttyMV0] enabled
[    0.590226] bootconsole [ar3700_uart0] disabled
[    0.590226] bootconsole [ar3700_uart0] disabled
[    0.779699] raid6: int64x1  gen()   364 MB/s
[    0.949807] raid6: int64x1  xor()   305 MB/s
[    1.119833] raid6: int64x2  gen()   578 MB/s
[    1.289899] raid6: int64x2  xor()   424 MB/s
[    1.459992] raid6: int64x4  gen()   835 MB/s
[    1.630034] raid6: int64x4  xor()   565 MB/s
[    1.800191] raid6: int64x8  gen()   644 MB/s
[    1.970210] raid6: int64x8  xor()   517 MB/s
[    2.140272] raid6: neonx1   gen()   637 MB/s
[    2.310325] raid6: neonx1   xor()   681 MB/s
[    2.480417] raid6: neonx2   gen()   967 MB/s
[    2.650492] raid6: neonx2   xor()   961 MB/s
[    2.820543] raid6: neonx4   gen()  1303 MB/s
[    2.990618] raid6: neonx4   xor()  1187 MB/s
[    3.160703] raid6: neonx8   gen()  1339 MB/s
[    3.330753] raid6: neonx8   xor()  1213 MB/s
[    3.334985] raid6: using algorithm neonx8 gen() 1339 MB/s
[    3.340290] raid6: .... xor() 1213 MB/s, rmw enabled
[    3.345420] raid6: using neon recovery algorithm
[    3.351217] SCSI subsystem initialized
[    3.355096] usbcore: registered new interface driver usbfs
[    3.360585] usbcore: registered new interface driver hub
[    3.366040] usbcore: registered new device driver usb
[    3.371816] pxa2xx-i2c d0011000.i2c: could not find pctldev for node /soc/internal-regs@d0000000/pinctrl@13800/i2c1-pins, deferring probe
[    3.386051] clocksource: Switched to clocksource arch_sys_counter
[    3.397199] NET: Registered protocol family 2
[    3.401979] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    3.409094] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    3.416087] TCP: Hash tables configured (established 8192 bind 8192)
[    3.422792] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.428943] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.435571] NET: Registered protocol family 1
[    3.461204] Crashlog allocated RAM at address 0x3f00000
[    3.466862] workingset: timestamp_bits=62 max_order=18 bucket_order=0
[    3.477246] ntfs: driver 2.1.32 [Flags: R/O].
[    3.482938] io scheduler noop registered
[    3.486870] io scheduler deadline registered (default)
[    3.495890] mv_xor d0060900.xor: Marvell shared XOR driver
[    3.556644] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.626634] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.634696] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    3.643112] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.652869] loop: module loaded
[    3.661957] random: fast init done
[    3.671159] m25p80 spi0.0: w25q64dw (8192 Kbytes)
[    3.675865] 5 fixed-partitions partitions found on MTD device spi0.0
[    3.682509] Creating 5 MTD partitions on "spi0.0":
[    3.687184] 0x000000000000-0x000000020000 : "secure-firmware"
[    3.693937] 0x000000020000-0x000000180000 : "u-boot"
[    3.699589] 0x000000180000-0x000000190000 : "u-boot-env"
[    3.705528] 0x000000190000-0x0000007f0000 : "Rescue system"
[    3.711475] 0x0000007f0000-0x000000800000 : "dtb"
[    3.716867] moxtet spi0.1: Found SD Turris Mox CPU module
[    3.722912] libphy: Fixed MDIO Bus: probed
[    3.727804] libphy: orion_mdio_bus: probed
[    3.747938] mvneta d0030000.ethernet eth0: Using device tree mac address d8:58:d7:00:b6:ba
[    3.756474] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.763150] ehci-pci: EHCI PCI platform driver
[    3.767444] ehci-platform: EHCI generic platform driver
[    3.773052] ehci-orion: EHCI orion driver
[    3.777525] orion-ehci d005e000.usb: EHCI Host Controller
[    3.783034] orion-ehci d005e000.usb: new USB bus registered, assigned bus number 1
[    3.790763] orion-ehci d005e000.usb: irq 12, io mem 0xd005e000
[    3.826048] orion-ehci d005e000.usb: USB 2.0 started, EHCI 1.00
[    3.832206] hub 1-0:1.0: USB hub found
[    3.835655] hub 1-0:1.0: 1 port detected
[    3.839958] uhci_hcd: USB Universal Host Controller Interface driver
[    3.847317] usbcore: registered new interface driver usb-storage
[    3.853401] i2c /dev entries driver
[    3.857748] armada_37xx_wdt d0008300.watchdog: Initial timeout 120 sec, nowayout
[    3.865788] sdhci: Secure Digital Host Controller Interface driver
[    3.872212] sdhci: Copyright(c) Pierre Ossman
[    3.876814] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.882967] xenon-sdhci d00d0000.sdhci: allocated mmc-pwrseq
[    3.888853] xenon-sdhci d00d8000.sdhci: Got CD GPIO
[    3.894974] NET: Registered protocol family 10
[    3.899944] Segment Routing with IPv6
[    3.903598] NET: Registered protocol family 17
[    3.908289] 8021q: 802.1Q VLAN Support v1.8
[    3.914226] Btrfs loaded, crc32c=crc32c-generic
[    3.922809] rtc-ds1307 0-006f: registered as rtc0
[    3.927751] i2c i2c-0:  PXA I2C adapter
[    3.931746] xhci-hcd d0058000.usb: xHCI Host Controller
[    3.937010] xhci-hcd d0058000.usb: new USB bus registered, assigned bus number 2
[    3.944823] xhci-hcd d0058000.usb: hcc params 0x0a000998 hci version 0x100 quirks 0x0000000000010010
[    3.953884] xhci-hcd d0058000.usb: irq 11, io mem 0xd0058000
[    3.960446] hub 2-0:1.0: USB hub found
[    3.964345] hub 2-0:1.0: 1 port detected
[    3.968612] xhci-hcd d0058000.usb: xHCI Host Controller
[    3.973753] xhci-hcd d0058000.usb: new USB bus registered, assigned bus number 3
[    3.981688] xhci-hcd d0058000.usb: Host supports USB 3.0  SuperSpeed
[    3.988141] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.996787] hub 3-0:1.0: USB hub found
[    4.000415] hub 3-0:1.0: 1 port detected
[    4.005334] xenon-sdhci d00d0000.sdhci: allocated mmc-pwrseq
[    4.086052] mmc0: SDHCI controller on d00d0000.sdhci [d00d0000.sdhci] using ADMA
[    4.093952] xenon-sdhci d00d8000.sdhci: Got CD GPIO
[    4.166221] mmc1: SDHCI controller on d00d8000.sdhci [d00d8000.sdhci] using ADMA
[    4.174669] rtc-ds1307 0-006f: setting system clock to 2019-02-16 01:38:25 UTC (1550281105)
[    4.188823] Freeing unused kernel memory: 8128K
sed: /proc/cmdline: No such file or directory
Initializing the system
[    4.496293] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    4.533087] usb-storage 3-1:1.0: USB Mass Storage device detected
[    4.539350] scsi host0: usb-storage 3-1:1.0
[    4.614315] mmc1: new ultra high speed SDR104 SDHC card at address 59b4
[    4.621231] mmcblk1: mmc1:59b4 SMI   14.8 GiB 
Now is your chance to change a mode from 1 to something else, press the button to do so
[    5.320957] watchdog: watchdog0: nowayout prevents watchdog being stopped!
[    5.327916] watchdog: watchdog0: watchdog did not stop!
[    5.738814] scsi 0:0:0:0: Direct-Access     Samsung  Flash Drive FIT  1100 PQ: 0 ANSI: 6
[    5.747911] sd 0:0:0:0: [sda] 62668800 512-byte logical blocks: (32.1 GB/29.9 GiB)
[    5.755917] sd 0:0:0:0: [sda] Write Protect is off
[    5.761058] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.780313]  sda: sda1
[    5.784469] sd 0:0:0:0: [sda] Attached SCSI removable disk
expr: syntax error
Waiting for s ...
6s left
5s left
Mode changed to 2
Btrfs rollback
6s left
5s left
Mode changed to 3
Factory reset
Mode changed to 4
USB flash
6s left
5s left
4s left
3s left
2s left
1s left
0s left
Mode 4 selected!
Running USB flash
Searching for medkit
mount: mounting /dev/mmcblk1p1 on /mnt/src failed: No such device or address
mount: mounting /dev/sda on /mnt/src failed: Invalid argument
[   30.046065] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Trying device /dev/sda1
ls: medkit-mox.tar.gz: No such file or directory
ls: medkit-mox-*.tar.gz: No such file or directory
Found mox-medkit-201812071641.tar.gz on device /dev/sda1
Nothing wrong with it
1
And its our newest one!
[   30.221710] random: crng init done
[   30.595977] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Repartitioning the drive...
[   33.816906]  mmcblk1: p1
Formatting the drive...
[   40.933987] BTRFS: device fsid 797e9d9b-0e70-4970-b9b4-e255e870b0f6 devid 1 transid 5 /dev/mmcblk1p1
[   42.257942] BTRFS info (device mmcblk1p1): disk space caching is enabled
[   42.264883] BTRFS info (device mmcblk1p1): has skinny extents
[   42.270483] BTRFS info (device mmcblk1p1): flagging fs with big metadata feature
[   42.284003] BTRFS info (device mmcblk1p1): enabling ssd optimizations
[   42.292208] BTRFS info (device mmcblk1p1): creating UUID tree
[   42.762118] ntfs: (device mmcblk1p1): parse_options(): Unrecognized mount option subvol.
[   42.772176] BTRFS info (device mmcblk1p1): disk space caching is enabled
[   42.778718] BTRFS info (device mmcblk1p1): has skinny extents
[   42.791910] BTRFS info (device mmcblk1p1): enabling ssd optimizations
Unpacking rootfs to the target directory
Rootfs should be ready
Backing up the current image as new factory
[   80.778622] BTRFS info (device mmcblk1p1): disk space caching is enabled
[   80.785204] BTRFS info (device mmcblk1p1): has skinny extents
[   80.800039] BTRFS info (device mmcblk1p1): enabling ssd optimizations
Create a snapshot of '/mnt/tmp/@' in '/mnt/tmp/@factory'
Rebooting!
Debug info:
10240+0 records in
10240+0 records out
10485760 bytes (10.0MB) copied, 2.187217 seconds, 4.6M[   83.543653] watchdog: watchdog0: nowayout prevents watchdog being stopped!
B/s
Device contains neither[   83.552394] sd 0:0:0:0: [sda] Synchronizing SCSI cach\FF

U-Boot 2018.11 (Dec 16 2018 - 12:50:19 +0000), Build: jenkins-turris-os-packages-kittens-mox-90

DRAM:  1 GiB
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: 1024 MiB
  Serial Number: 0000000D300013C9
  ECDSA Public Key: 02015b22a7bb431c29ace8120e8d77735ac356d58a7fb884b5a7b5ba58bb08cd1606f668e8fa1ea5cd2b2bc7e7d7af1cef7d0ae23f18a6fa5cc18afd0743f73f653bfd
  SD/eMMC version: SD

Hit any key to stop autoboot:  2  1  0 
## Resetting to default environment
Saving Environment to SPI Flash... SF: Detected w25q64dw with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Erasing SPI flash...Writing to SPI flash...done
OK
resetting ...


U-Boot 2018.11 (Dec 16 2018 - 12:50:19 +0000), Build: jenkins-turris-os-packages-kittens-mox-90

DRAM:  1 GiB
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: 1024 MiB
  Serial Number: 0000000D300013C9
  ECDSA Public Key: 02015b22a7bb431c29ace8120e8d77735ac356d58a7fb884b5a7b5ba58bb08cd1606f668e8fa1ea5cd2b2bc7e7d7af1cef7d0ae23f18a6fa5cc18afd0743f73f653bfd
  SD/eMMC version: SD

Hit any key to stop autoboot:  2  1  0 
gpio: pin GPIO221 (gpio 57) value is 0
gpio: pin GPIO220 (gpio 56) value is 1
SF: Detected w25q64dw with page size 256 Bytes, erase size 4 KiB, total 8 MiB
device 0 offset 0x7f0000, size 0x10000
SF: 65536 bytes @ 0x7f0000 Read: OK
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
403 bytes read in 67 ms (5.9 KiB/s)
## Executing script at 04d00000
9959432 bytes read in 473 ms (20.1 MiB/s)
19162 bytes read in 61 ms (306.6 KiB/s)
## Flattened Device Tree blob at 04f00000
   Booting using the fdt blob at 0x4f00000
   Loading Device Tree to 000000003bf14000, end 000000003bf1bad9 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.82 (beast@slave10) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 271973d916)) #0 SMP Fri Dec 7 11:37:22 2018
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: CZ.NIC Turris Mox Board
[    0.000000] earlycon: ar3700_uart0 at MMIO 0x00000000d0012000 (options '')
[    0.000000] bootconsole [ar3700_uart0] enabled
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] random: get_random_bytes called from start_kernel+0x80/0x458 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu @ffffffc03ffc2000 s28824 r8192 d32616 u69632
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 root=/dev/mmcblk1p1 rootwait rootflags=subvol=@,commit=5
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 1020288K/1048576K available (6910K kernel code, 446K rwdata, 2008K rodata, 320K init, 313K bss, 28288K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008740000   (  6912 KB)
[    0.000000]     .rodata : 0xffffff8008740000 - 0xffffff8008940000   (  2048 KB)
[    0.000000]       .init : 0xffffff8008940000 - 0xffffff8008990000   (   320 KB)
[    0.000000]       .data : 0xffffff8008990000 - 0xffffff80089ff808   (   447 KB)
[    0.000000]        .bss : 0xffffff80089ff808 - 0xffffff8008a4df08   (   314 KB)
[    0.000000]     fixed   : 0xffffffbefe7fb000 - 0xffffffbefec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf01000000   (    16 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc040000000   (  1024 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000d1d40000
[    0.000000] arch_timer: cp15 timer(s) running at 12.50MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
[    0.000004] sched_clock: 56 bits at 12MHz, resolution 80ns, wraps every 4398046511080ns
[    0.008401] Console: colour dummy device 80x25
[    0.012910] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.023558] pid_max: default: 32768 minimum: 301
[    0.028400] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.035233] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.043514] ASID allocator initialised with 32768 entries
[    0.049079] Hierarchical SRCU implementation.
[    0.053889] smp: Bringing up secondary CPUs ...
[    0.058803] Detected VIPT I-cache on CPU1
[    0.058833] GICv3: CPU1: found redistributor 1 region 0:0x00000000d1d60000
[    0.058865] CPU1: Booted secondary processor [410fd034]
[    0.058943] smp: Brought up 1 node, 2 CPUs
[    0.079649] SMP: Total of 2 processors activated.
[    0.084489] CPU features: detected feature: GIC system register CPU interface
[    0.091841] CPU features: detected feature: 32-bit EL0 Support
[    0.097839] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.107653] CPU: All CPU(s) started at EL2
[    0.111789] alternatives: patching kernel code
[    0.117014] devtmpfs: initialized
[    0.122285] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.132374] futex hash table entries: 512 (order: 4, 65536 bytes)
[    0.138749] xor: measuring software checksum speed
[    0.243651]    8regs     :  1918.800 MB/sec
[    0.343684]    8regs_prefetch:  1710.400 MB/sec
[    0.443717]    32regs    :  2358.800 MB/sec
[    0.543753]    32regs_prefetch:  1984.400 MB/sec
[    0.548420] xor: using function: 32regs (2358.800 MB/sec)
[    0.553987] pinctrl core: initialized pinctrl subsystem
[    0.560038] NET: Registered protocol family 16
[    0.565654] cpuidle: using governor ladder
[    0.569907] vdso: 2 pages (1 code @ ffffff8008744000, 1 data @ ffffff8008994000)
[    0.577664] DMA: preallocated 256 KiB pool for atomic allocations
[    0.585074] d0012000.serial: ttyMV0 at MMIO 0xd0012000 (irq = 9, base_baud = 0) is a mvebu-uart
[    0.593995] console [ttyMV0] enabled
[    0.593995] console [ttyMV0] enabled
[    0.601319] bootconsole [ar3700_uart0] disabled
[    0.601319] bootconsole [ar3700_uart0] disabled
[    0.790936] raid6: int64x1  gen()   320 MB/s
[    0.960905] raid6: int64x1  xor()   318 MB/s
[    1.130942] raid6: int64x2  gen()   518 MB/s
[    1.301058] raid6: int64x2  xor()   450 MB/s
[    1.471147] raid6: int64x4  gen()   781 MB/s
[    1.641170] raid6: int64x4  xor()   551 MB/s
[    1.811268] raid6: int64x8  gen()   938 MB/s
[    1.981319] raid6: int64x8  xor()   563 MB/s
[    2.151413] raid6: neonx1   gen()   593 MB/s
[    2.321464] raid6: neonx1   xor()   626 MB/s
[    2.491555] raid6: neonx2   gen()   984 MB/s
[    2.661631] raid6: neonx2   xor()   947 MB/s
[    2.831704] raid6: neonx4   gen()  1312 MB/s
[    3.001758] raid6: neonx4   xor()  1170 MB/s
[    3.171845] raid6: neonx8   gen()  1296 MB/s
[    3.341909] raid6: neonx8   xor()  1131 MB/s
[    3.346051] raid6: using algorithm neonx4 gen() 1312 MB/s
[    3.351446] raid6: .... xor() 1170 MB/s, rmw enabled
[    3.356665] raid6: using neon recovery algorithm
[    3.362558] SCSI subsystem initialized
[    3.367415] usbcore: registered new interface driver usbfs
[    3.372802] usbcore: registered new interface driver hub
[    3.378338] usbcore: registered new device driver usb
[    3.384114] pxa2xx-i2c d0011000.i2c: could not find pctldev for node /soc/internal-regs@d0000000/pinctrl@13800/i2c1-pins, deferring probe
[    3.397687] clocksource: Switched to clocksource arch_sys_counter
[    3.410490] NET: Registered protocol family 2
[    3.415328] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    3.422528] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    3.429445] TCP: Hash tables configured (established 8192 bind 8192)
[    3.435719] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.442167] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.448561] NET: Registered protocol family 1
[    3.453641] RPC: Registered named UNIX socket transport module.
[    3.459524] RPC: Registered udp transport module.
[    3.464260] RPC: Registered tcp transport module.
[    3.469035] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.476869] Crashlog allocated RAM at address 0x3f00000
[    3.482224] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    3.493073] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.499289] NFS: Registering the id_resolver key type
[    3.504446] Key type id_resolver registered
[    3.508593] Key type id_legacy registered
[    3.512820] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    3.524850] io scheduler noop registered
[    3.528588] io scheduler deadline registered (default)
[    3.538021] mv_xor d0060900.xor: Marvell shared XOR driver
[    3.598344] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.678247] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.686424] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    3.695600] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.704546] loop: module loaded
[    3.713329] random: fast init done
[    3.722530] m25p80 spi0.0: w25q64dw (8192 Kbytes)
[    3.727335] 5 fixed-partitions partitions found on MTD device spi0.0
[    3.733614] Creating 5 MTD partitions on "spi0.0":
[    3.738645] 0x000000000000-0x000000020000 : "secure-firmware"
[    3.745127] 0x000000020000-0x000000180000 : "u-boot"
[    3.750695] 0x000000180000-0x000000190000 : "u-boot-env"
[    3.756721] 0x000000190000-0x0000007f0000 : "Rescue system"
[    3.762744] 0x0000007f0000-0x000000800000 : "dtb"
[    3.768184] moxtet spi0.1: Found SD Turris Mox CPU module
[    3.774351] libphy: Fixed MDIO Bus: probed
[    3.778955] libphy: orion_mdio_bus: probed
[    3.785014] mvneta d0030000.ethernet eth0: Using device tree mac address d8:58:d7:00:b6:ba
[    3.793803] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.800579] ehci-pci: EHCI PCI platform driver
[    3.805132] ehci-platform: EHCI generic platform driver
[    3.810337] ehci-orion: EHCI orion driver
[    3.814771] orion-ehci d005e000.usb: EHCI Host Controller
[    3.820386] orion-ehci d005e000.usb: new USB bus registered, assigned bus number 1
[    3.828055] orion-ehci d005e000.usb: irq 12, io mem 0xd005e000
[    3.857686] orion-ehci d005e000.usb: USB 2.0 started, EHCI 1.00
[    3.864337] hub 1-0:1.0: USB hub found
[    3.867981] hub 1-0:1.0: 1 port detected
[    3.872443] uhci_hcd: USB Universal Host Controller Interface driver
[    3.879423] usbcore: registered new interface driver usb-storage
[    3.885514] i2c /dev entries driver
[    3.889934] armada_37xx_wdt d0008300.watchdog: Initial timeout 120 sec, nowayout
[    3.898128] sdhci: Secure Digital Host Controller Interface driver
[    3.904255] sdhci: Copyright(c) Pierre Ossman
[    3.908777] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.914992] xenon-sdhci d00d0000.sdhci: allocated mmc-pwrseq
[    3.920711] xenon-sdhci d00d8000.sdhci: Got CD GPIO
[    3.929252] NET: Registered protocol family 10
[    3.934680] Segment Routing with IPv6
[    3.938358] NET: Registered protocol family 17
[    3.943093] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.956627] 8021q: 802.1Q VLAN Support v1.8
[    3.960726] Key type dns_resolver registered
[    3.967013] Btrfs loaded, crc32c=crc32c-generic
[    3.975772] rtc-ds1307 0-006f: registered as rtc0
[    3.980536] i2c i2c-0:  PXA I2C adapter
[    3.984645] xhci-hcd d0058000.usb: xHCI Host Controller
[    3.989997] xhci-hcd d0058000.usb: new USB bus registered, assigned bus number 2
[    3.997850] xhci-hcd d0058000.usb: hcc params 0x0a000998 hci version 0x100 quirks 0x00010010
[    4.006445] xhci-hcd d0058000.usb: irq 11, io mem 0xd0058000
[    4.012648] hub 2-0:1.0: USB hub found
[    4.016373] hub 2-0:1.0: 1 port detected
[    4.020461] xhci-hcd d0058000.usb: xHCI Host Controller
[    4.025978] xhci-hcd d0058000.usb: new USB bus registered, assigned bus number 3
[    4.033650] xhci-hcd d0058000.usb: Host supports USB 3.0  SuperSpeed
[    4.040292] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.048674] hub 3-0:1.0: USB hub found
[    4.052396] hub 3-0:1.0: 1 port detected
[    4.057242] xenon-sdhci d00d0000.sdhci: allocated mmc-pwrseq
[    4.137685] mmc0: SDHCI controller on d00d0000.sdhci [d00d0000.sdhci] using ADMA
[    4.145764] xenon-sdhci d00d8000.sdhci: Got CD GPIO
[    4.207851] mmc1: SDHCI controller on d00d8000.sdhci [d00d8000.sdhci] using ADMA
[    4.218514] armada-37xx-rwtm-mailbox d00b0000.mailbox: Trust Status: 00000000
[    4.288502] Turris Mox serial number 0000000D300013C9
[    4.293459]            board version 22
[    4.297231]            burned RAM size 1024 MiB
[    4.489428] rtc-ds1307 0-006f: setting system clock to 2019-02-16 01:40:01 UTC (1550281201)
[    4.678951] random: crng init done
[    4.680362] Waiting for root device /dev/mmcblk1p1...
[    4.798794] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    4.866717] mmc1: new high speed SDHC card at address 59b4
[    4.872408] mmcblk1: mmc1:59b4 SMI   14.8 GiB 
[    4.879121]  mmcblk1: p1
[    4.895434] usb-storage 3-1:1.0: USB Mass Storage device detected
[    4.902182] scsi host0: usb-storage 3-1:1.0
[    4.910166] BTRFS: device fsid 797e9d9b-0e70-4970-b9b4-e255e870b0f6 devid 1 transid 14 /dev/root
[    4.921027] BTRFS info (device mmcblk1p1): disk space caching is enabled
[    4.927840] BTRFS info (device mmcblk1p1): has skinny extents
[    4.953494] BTRFS info (device mmcblk1p1): enabling ssd optimizations
[    4.969179] VFS: Mounted root (btrfs filesystem) readonly on device 0:13.
[    4.976414] devtmpfs: mounted
[    4.979804] Freeing unused kernel memory: 320K
[    5.150620] init: Console is alive
[    5.154298] init: - watchdog -
[    6.073049] scsi 0:0:0:0: Direct-Access     Samsung  Flash Drive FIT  1100 PQ: 0 ANSI: 6
[    6.085564] sd 0:0:0:0: [sda] 62668800 512-byte logical blocks: (32.1 GB/29.9 GiB)
[    6.093749] sd 0:0:0:0: [sda] Write Protect is off
[    6.099234] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.119534]  sda: sda1
[    6.124071] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    7.012220] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    7.076234] gpio_button_hotplug: no symbol version for module_layout
[    7.083064] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    7.095938] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.113177] init: - preinit -
[    7.688309] mvneta d0030000.ethernet eth0: PHY [d0032004.mdio-mii:01] driver [Marvell 88E1510]
[    7.697576] mvneta d0030000.ethernet eth0: configuring for phy/rgmii-id link mode
[    7.708406] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   10.833159] mount_root: mounting /dev/root
[   10.838667] BTRFS info (device mmcblk1p1): disk space caching is enabled
[   10.848253] mount_root: loading kmods from internal overlay
[   10.881266] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   10.889166] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   11.713449] block: attempting to load /etc/config/fstab
[   11.719557] block: unable to load configuration (fstab: Entry not found)
[   11.726687] block: no usable configuration
[   11.747072] urandom-seed: Seed file not found (/etc/urandom.seed)
[   11.788111] procd: - early -
[   11.791131] procd: - watchdog -
[   12.430810] procd: - watchdog -
[   12.434863] procd: - ubus -
[   12.495111] procd: - init -
Please press Enter to activate this console.
[   12.576340] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.586632] zram: Added device: zram0
[   12.596008] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.608418] Netfilter messages via NETLINK v0.30.
[   12.614697] ip_set: protocol 6
[   12.640360] Loading modules backported from Linux version v4.19-rc5-0-g6bf4ca7fbc85
[   12.648362] Backport generated by backports.git v4.19-rc5-1-0-g05571dcd
[   12.691104] u32 classifier
[   12.693557]     input device check on
[   12.697428]     Actions configured
[   12.703120] Mirror/redirect action on
[   12.708946] sch_cake: Unknown symbol nf_conntrack_find_get (err 0)
[   12.715570] sch_cake: Unknown symbol nf_ct_get_tuplepr (err 0)
[   12.758834] Ebtables v2.0 registered
[   12.764656] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.791949] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   12.804397] ctnetlink v0.93: registering with nfnetlink.
[   12.886378] xt_time: kernel timezone is -0000
[   12.910785] PPP generic driver version 2.4.2
[   12.916805] NET: Registered protocol family 24
[   12.935213] kmodloader: done loading kernel modules from /etc/modules.d/*
[   19.426747] watchdog: watchdog0: nowayout prevents watchdog being stopped!
[   19.433559] watchdog: watchdog0: watchdog did not stop!
[   19.443673] watchdog: watchdog0: nowayout prevents watchdog being stopped!
[   19.450443] watchdog: watchdog0: watchdog did not stop!
[   19.839184] mvneta d0030000.ethernet eth0: PHY [d0032004.mdio-mii:01] driver [Marvell 88E1510]
[   19.848564] mvneta d0030000.ethernet eth0: configuring for phy/rgmii-id link mode
[   19.856489] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
haveged: haveged starting up
[   20.062706] zram0: detected capacity change from 0 to 522190848
[   20.075577] Adding 509948k swap on /dev/zram0.  Priority:-2 extents:1 across:509948k SS
haveged: haveged: ver: 1.9.4; arch: generic; vend: ; build: (gcc 7.3.0 CV); collect: 128K
haveged: haveged: cpu: (); data: 32K (P); inst: 32K (P); idx: 17/40; sz: 32712/75040
haveged: haveged: fills: 0, generated: 0 
[   23.518722] mvneta d0030000.ethernet eth0: PHY [d0032004.mdio-mii:01] driver [Marvell 88E1510]
[   23.528544] mvneta d0030000.ethernet eth0: configuring for phy/rgmii-id link mode
[   23.541370] br-lan: port 1(eth0) entered blocking state
[   23.546443] br-lan: port 1(eth0) entered disabled state
[   23.552263] device eth0 entered promiscuous mode
[   23.558317] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   37.191520] device eth0 left promiscuous mode
[   37.195939] br-lan: port 1(eth0) entered disabled state
[   37.225274] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   39.368099] mvneta d0030000.ethernet eth0: PHY [d0032004.mdio-mii:01] driver [Marvell 88E1510]
[   39.376868] mvneta d0030000.ethernet eth0: configuring for phy/rgmii-id link mode
[   39.386515] br-lan: port 1(eth0) entered blocking state
[   39.392027] br-lan: port 1(eth0) entered disabled state
[   39.397938] device eth0 entered promiscuous mode
[   39.403850] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Router Turris successfully started.
Stopping router Turris.
[   97.129456] device eth0 left promiscuous mode
[   97.134126] br-lan: port 1(eth0) entered disabled state
[   97.178528] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   98.530669] BTRFS info (device mmcblk1p1): disk space caching is enabled
[   98.681876] watchdog: watchdog0: nowayout prevents watchdog being stopped!
[   98.688718] watchdog: watchdog0: watchdog did not stop!
[   98.701822] watchdog: watchdog0: nowayout prevents watchdog being stopped!
[   98.709030] watchdog: watchdog0: watchdog did not stop!
[  101.719925] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  101.767767] reboot: Restarting system

split this topic #2

A post was split to a new topic: Turris MOX: which pins are for UART