Turris MOX - Debian as main OS


#1

Has anyone experienced how to install Debian as a primary OS on Turris MOX. I do not mean Debian in the LXC container.

Turris MOX has one advantage, MicroSD card slot, so it could simply change the OS as needed by simply replacing the MicroSD card.

Any help or instruction how to achieve it would be very welcome.


#2

#3

I don’t expect these Omnia scripts will work on MOX without modification. It’s even a different architecture.


#4

I have some confusion in the architecture. It is sometimes referred to as aarch64 or arm64. What does that apply?


#5

Which OS should I use to test this script?


#6

Different places use different names. Debian uses arm64 for it; they also use amd64 for the most common arch (i.e. another name that’s not so popular elsewhere anymore).


#7

I’m trying to use these scripts, but I’m struggling with this error. So far, I have not changed anything, just testing the functionality of my build environment.

script ./create-kernel.sh

  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/sortextable
  HOSTCC  scripts/extract-cert
scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
 #include <openssl/bio.h>
          ^~~~~~~~~~~~~~~
compilation terminated.
scripts/Makefile.host:91: recipe for target 'scripts/extract-cert' failed
make[2]: *** [scripts/extract-cert] Error 1
Makefile:545: recipe for target 'scripts' failed
make[1]: *** [scripts] Error 2
make[1]: Leaving directory '/data/mox/turris-debian/linux'
debian/ruleset/targets/common.mk:295: recipe for target 'debian/stamp/build/kernel' failed
make: *** [debian/stamp/build/kernel] Error 2

#8

Ignore those scripts. They are intended to bootstrap Debian for Turris Omnia not Mox. For Turris Omnia it has to compile additional tools and primarily kernel. For Mox it should be for basic functionality enough to use upstream kernel. It uses u-boot and it contains distro-boot environment so it can chainboot bootloader such as syslinux (https://github.com/u-boot/u-boot/blob/master/doc/README.distro). Turris MOX also has device tree in flash on board so you do not have to worry about that either.

Another options is to use u-boot directly and boot your distribution that way.

We have plans to create documentation on how to boot standard ditribution (probably specific one such as OpenSUSE) but currently we are occupied with Turris OS and MOX in general.

In general Mox is same as any aarch64 processor board and so if you have experience on how to boot system on those then you should not have any trouble.

If you are using UART then note that you need 1.8V serial convertor on MOX. Using 5V is going to end up in smoke…


#9

What about ARMBIAN build for MOX? https://www.armbian.com/


#10

sry op, no support here.

i just noticed some mox-commits in the repo and thought it might be relevant.


#11

I tested a clean Debian stretch arm64, but I can not get started. The default Debian kernel probably does not have MMC support. It stays stuck while waiting for the root device.

But, I managed to get started Debian with the kernel from MOX mediakit.


#12

Bootlog:

   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:
  ECDSA Public Key:
  SD/eMMC version: SD

Hit any key to stop autoboot:  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 479 ms (19.8 MiB/s)
19292 bytes read in 62 ms (303.7 KiB/s)
## Flattened Device Tree blob at 04f00000
   Booting using the fdt blob at 0x4f00000
   Loading Device Tree to 000000003bf14000, end 000000003bf1bb5b ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.99 (beast@slave10) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 e54203ce5b)) #0 SMP Wed Feb 20 09:40:22 2019
[    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.008399] Console: colour dummy device 80x25
[    0.012910] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.023556] pid_max: default: 32768 minimum: 301
[    0.028398] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.035231] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.043513] ASID allocator initialised with 32768 entries
[    0.049082] Hierarchical SRCU implementation.
[    0.053898] smp: Bringing up secondary CPUs ...
[    0.058813] Detected VIPT I-cache on CPU1
[    0.058843] GICv3: CPU1: found redistributor 1 region 0:0x00000000d1d60000
[    0.058874] CPU1: Booted secondary processor [410fd034]
[    0.058951] smp: Brought up 1 node, 2 CPUs
[    0.079657] SMP: Total of 2 processors activated.
[    0.084497] CPU features: detected feature: GIC system register CPU interface
[    0.091849] CPU features: detected feature: 32-bit EL0 Support
[    0.097846] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.107660] CPU: All CPU(s) started at EL2
[    0.111797] alternatives: patching kernel code
[    0.117021] devtmpfs: initialized
[    0.122271] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.132360] futex hash table entries: 512 (order: 4, 65536 bytes)
[    0.138732] xor: measuring software checksum speed
[    0.243634]    8regs     :  1918.800 MB/sec
[    0.343669]    8regs_prefetch:  1710.400 MB/sec
[    0.443704]    32regs    :  2358.800 MB/sec
[    0.543739]    32regs_prefetch:  1984.400 MB/sec
[    0.548406] xor: using function: 32regs (2358.800 MB/sec)
[    0.553973] pinctrl core: initialized pinctrl subsystem
[    0.560027] NET: Registered protocol family 16
[    0.565656] cpuidle: using governor ladder
[    0.569910] vdso: 2 pages (1 code @ ffffff8008744000, 1 data @ ffffff8008994000)
[    0.577669] DMA: preallocated 256 KiB pool for atomic allocations
[    0.585091] d0012000.serial: ttyMV0 at MMIO 0xd0012000 (irq = 9, base_baud = 0) is a mvebu-uart
[    0.594015] console [ttyMV0] enabled
[    0.594015] console [ttyMV0] enabled
[    0.601337] bootconsole [ar3700_uart0] disabled
[    0.601337] bootconsole [ar3700_uart0] disabled
[    0.790844] raid6: int64x1  gen()   319 MB/s
[    0.960895] raid6: int64x1  xor()   317 MB/s
[    1.131012] raid6: int64x2  gen()   519 MB/s
[    1.301058] raid6: int64x2  xor()   449 MB/s
[    1.471117] raid6: int64x4  gen()   782 MB/s
[    1.641240] raid6: int64x4  xor()   550 MB/s
[    1.811266] raid6: int64x8  gen()   939 MB/s
[    1.981370] raid6: int64x8  xor()   562 MB/s
[    2.151503] raid6: neonx1   gen()   594 MB/s
[    2.321521] raid6: neonx1   xor()   625 MB/s
[    2.491560] raid6: neonx2   gen()   984 MB/s
[    2.661650] raid6: neonx2   xor()   942 MB/s
[    2.831722] raid6: neonx4   gen()  1312 MB/s
[    3.001799] raid6: neonx4   xor()  1166 MB/s
[    3.171869] raid6: neonx8   gen()  1296 MB/s
[    3.341949] raid6: neonx8   xor()  1131 MB/s
[    3.346180] raid6: using algorithm neonx4 gen() 1312 MB/s
[    3.351485] raid6: .... xor() 1166 MB/s, rmw enabled
[    3.357063] raid6: using neon recovery algorithm
[    3.362525] SCSI subsystem initialized
[    3.367397] usbcore: registered new interface driver usbfs
[    3.372971] usbcore: registered new interface driver hub
[    3.378666] usbcore: registered new device driver usb
[    3.383946] pxa2xx-i2c d0011000.i2c: could not find pctldev for node /soc/internal-regs@d0000000/pinctrl@13800/i2c1-pins, deferring probe
[    3.397349] clocksource: Switched to clocksource arch_sys_counter
[    3.410309] NET: Registered protocol family 2
[    3.415127] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    3.422423] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    3.428957] TCP: Hash tables configured (established 8192 bind 8192)
[    3.435893] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.442052] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.448615] NET: Registered protocol family 1
[    3.453395] RPC: Registered named UNIX socket transport module.
[    3.459555] RPC: Registered udp transport module.
[    3.464058] RPC: Registered tcp transport module.
[    3.468920] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.476819] Crashlog allocated RAM at address 0x3f00000
[    3.482420] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    3.493071] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.499189] NFS: Registering the id_resolver key type
[    3.504256] Key type id_resolver registered
[    3.508483] Key type id_legacy registered
[    3.512811] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    3.524861] io scheduler noop registered
[    3.528854] io scheduler deadline registered (default)
[    3.537771] mv_xor d0060900.xor: Marvell shared XOR driver
[    3.607908] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.687900] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.696035] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    3.704350] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.714122] loop: module loaded
[    3.722582] random: fast init done
[    3.731682] m25p80 spi0.0: w25q64dw (8192 Kbytes)
[    3.736585] 5 fixed-partitions partitions found on MTD device spi0.0
[    3.743169] Creating 5 MTD partitions on "spi0.0":
[    3.747775] 0x000000000000-0x000000020000 : "secure-firmware"
[    3.754723] 0x000000020000-0x000000180000 : "u-boot"
[    3.760338] 0x000000180000-0x000000190000 : "u-boot-env"
[    3.766017] 0x000000190000-0x0000007f0000 : "Rescue system"
[    3.772305] 0x0000007f0000-0x000000800000 : "dtb"
[    3.777697] moxtet spi0.1: Found SD Turris Mox CPU module
[    3.783675] libphy: Fixed MDIO Bus: probed
[    3.788468] libphy: orion_mdio_bus: probed
[    3.794455] mvneta d0030000.ethernet eth0: Using device tree mac address d8:58:d7:00:b6:b8
[    3.803242] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.809749] ehci-pci: EHCI PCI platform driver
[    3.814548] ehci-platform: EHCI generic platform driver
[    3.820021] ehci-orion: EHCI orion driver
[    3.824057] orion-ehci d005e000.usb: EHCI Host Controller
[    3.829773] orion-ehci d005e000.usb: new USB bus registered, assigned bus number 1
[    3.837348] orion-ehci d005e000.usb: irq 12, io mem 0xd005e000
[    3.877340] orion-ehci d005e000.usb: USB 2.0 started, EHCI 1.00
[    3.883814] hub 1-0:1.0: USB hub found
[    3.887729] hub 1-0:1.0: 1 port detected
[    3.891965] uhci_hcd: USB Universal Host Controller Interface driver
[    3.899217] usbcore: registered new interface driver usb-storage
[    3.905493] i2c /dev entries driver
[    3.909709] armada_37xx_wdt d0008300.watchdog: Initial timeout 120 sec, nowayout
[    3.917747] sdhci: Secure Digital Host Controller Interface driver
[    3.923874] sdhci: Copyright(c) Pierre Ossman
[    3.928304] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.934344] xenon-sdhci d00d0000.sdhci: allocated mmc-pwrseq
[    3.940289] xenon-sdhci d00d8000.sdhci: Got CD GPIO
[    3.948741] NET: Registered protocol family 10
[    3.954385] Segment Routing with IPv6
[    3.957802] NET: Registered protocol family 17
[    3.962630] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.976202] 8021q: 802.1Q VLAN Support v1.8
[    3.980213] Key type dns_resolver registered
[    3.986481] Btrfs loaded, crc32c=crc32c-generic
[    3.995688] rtc-ds1307 0-006f: registered as rtc0
[    4.000547] i2c i2c-0:  PXA I2C adapter
[    4.004830] xhci-hcd d0058000.usb: xHCI Host Controller
[    4.009906] xhci-hcd d0058000.usb: new USB bus registered, assigned bus number 2
[    4.017858] xhci-hcd d0058000.usb: hcc params 0x0a000998 hci version 0x100 quirks 0x0000000000010010
[    4.027007] xhci-hcd d0058000.usb: irq 11, io mem 0xd0058000
[    4.033451] hub 2-0:1.0: USB hub found
[    4.037092] hub 2-0:1.0: 1 port detected
[    4.041335] xhci-hcd d0058000.usb: xHCI Host Controller
[    4.046425] xhci-hcd d0058000.usb: new USB bus registered, assigned bus number 3
[    4.054271] xhci-hcd d0058000.usb: Host supports USB 3.0  SuperSpeed
[    4.061053] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.069548] hub 3-0:1.0: USB hub found
[    4.073012] hub 3-0:1.0: 1 port detected
[    4.078143] xenon-sdhci d00d0000.sdhci: allocated mmc-pwrseq
[    4.157350] mmc0: SDHCI controller on d00d0000.sdhci [d00d0000.sdhci] using ADMA
[    4.165244] xenon-sdhci d00d8000.sdhci: Got CD GPIO
[    4.227513] mmc1: SDHCI controller on d00d8000.sdhci [d00d8000.sdhci] using ADMA
[    4.245228] armada-37xx-rwtm-mailbox d00b0000.mailbox: Trust Status: 00000000
[    4.375211] Turris Mox serial number
[    4.380262]            board version 22
[    4.383941]            burned RAM size 1024 MiB
[    4.685288] random: crng init done
[    4.688386] rtc-ds1307 0-006f: setting system clock to 2019-02-28 14:26:53 UTC (1551364013)
[    4.956379] Waiting for root device /dev/mmcblk1p1...
[    4.975146] mmc1: new ultra high speed SDR104 SDHC card at address 0001
[    4.982533] mmcblk1: mmc1:0001 SD 29.8 GiB
[    4.988449]  mmcblk1: p1
[    5.021478] BTRFS: device fsid 7a6543cb-bc81-48e7-a48b-6a443fe1e9e3 devid 1 transid 15 /dev/root
[    5.035845] BTRFS info (device mmcblk1p1): disk space caching is enabled
[    5.043023] BTRFS info (device mmcblk1p1): has skinny extents
[    5.060655] BTRFS info (device mmcblk1p1): enabling ssd optimizations
[    5.081921] VFS: Mounted root (btrfs filesystem) readonly on device 0:13.
[    5.091343] devtmpfs: mounted
[    5.094713] Freeing unused kernel memory: 320K
[    5.486455] systemd[1]: Failed to insert module 'autofs4': No such file or directory
[    5.507244] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    5.526507] systemd[1]: Detected architecture arm64.

Welcome to Debian GNU/Linux 9 (stretch)!

[    5.571832] systemd[1]: Set hostname to <mox>.
[    5.623180] systemd-gpt-auto-generator[823]: Failed to determine block device of root file system: No such file or directory
[    5.678854] systemd[822]: /lib/systemd/system-generators/systemd-gpt-auto-generator failed with error code 1.
[    5.784833] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    5.818496] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    5.848887] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    5.887875] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[    5.918633] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    5.948205] systemd[1]: Starting of Arbitrary Executable File Formats File System Automount Point not supported.
[UNSUPP] Starting of Arbitrary Executable Fi…tem Automount Point not supported.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on Journal Socket.
         Starting Load Kernel Modules...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Reached target Paths.
         Mounting Debug File System...
[  OK  ] Created slice User and Session Sl[    6.303842] BTRFS info (device mmcblk1p1): disk space caching is enabled
ice.
[  OK  ] Reached target Slices.
[    6.377544] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[  OK  ] Reached target Swap.
         Mounting POSIX Message Queue File System...
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
[    6.566610] usb-storage 2-1:1.0: USB Mass Storage device detected
[    6.573706] scsi host0: usb-storage 2-1:1.0
         Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Journal Service.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
         Starting udev Coldplug all Devices...
[  OK  ] Reached target Local File Systems (Pre).
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Apply Kernel Variables...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Apply Kernel Variables.
[    7.255671] systemd-journald[843]: Received request to flush runtime journal from PID 1
         Starting Raise network interfaces...
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Found device /dev/ttyMV0.
[    7.589458] scsi 0:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4
[    7.601240] sd 0:0:0:0: [sda] 31457280 512-byte logical blocks: (16.1 GB/15.0 GiB)
[    7.625458] sd 0:0:0:0: [sda] Write Protect is off
[    7.649833] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
         Starting Network Time Synchronization...
[    7.676221]  sda: sda1
         Starting Update UTMP about System Boot/Shutdown...
[    7.695753] sd 0:0:0:0: [sda] Attached SCSI removable disk
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Started ifup for eth0.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Basic System.
[    8.208248] mvneta d0030000.ethernet eth0: PHY [d0032004.mdio-mii:01] driver [Marvell 88E1510]
[    8.220130] mvneta d0030000.ethernet eth0: configuring for phy/rgmii-id link mode
[    8.229470] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
         Starting Login Service...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Regular background program processing daemon.
         Starting Permit User Sessions...
[  OK  ] Started irqbalance daemon.
         Starting System Logging Service...
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[  OK  ] Started System Logging Service.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Login Service.
[  OK  ] Started Serial Getty on ttyMV0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Debian GNU/Linux 9 mox ttyMV0

mox login: [   11.508633] mvneta d0030000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   11.517268] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root
Password:
Linux mox 4.14.99 #0 SMP Wed Feb 20 09:40:22 2019 aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@mox:~# cat /proc/version
Linux version 4.14.99 (beast@slave10) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 e54203ce5b)) #0 SMP Wed Feb 20 09:40:22 2019
root@mox:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@mox:~#

#13

Where can I find .config for building MOX kernel?