起動と終了

5.1. 起動

電源入力インターフェースに電源を接続すると Armadillo-IoT ゲートウェイ G4 が起動します。起動すると CON6 (USB コンソールインターフェース) から起動ログが表示されます。

[注記]

Armadillo-IoT ゲートウェイ G4 の電源投入時点でのジャンパ JP1 の状態によって起動モードが変化します。 詳しくは 「JP1(起動デバイス設定ジャンパ)」 を参照してください。

以下に起動ログの例を示します。

U-Boot SPL 2020.04-at1 (Dec 02 2021 - 01:42:08 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 4000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from BOOTROM
image offset 0x0, pagesize 0x200, ivt offset 0x0
NOTICE:  BL31: v2.4(release):lf-5.10.y-1.0.0-0-gba76d337e
NOTICE:  BL31: Built : 08:25:30, Jun  9 2021


U-Boot 2020.04-at1 (Dec 02 2021 - 01:42:08 +0000)

CPU:   i.MX8MP[8] rev1.1 1600 MHz (running at 1200 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 26C
Model: Atmark-Techno Armadillo X2 Series
DRAM:    Hold key pressed for tests: t (fast) / T (slow)
2 GiB
WDT:   Started with servicing (10s timeout)
MMC:   FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF ba76d33
  - U-Boot 2020.04-at1

first boot since power on
switch to partitions #0, OK
mmc2(part 0) is current device
flash target is MMC:2
Net:   eth0: ethernet@30be0000 [PRIME], eth1: ethernet@30bf0000
Fastboot: Normal
Saving Environment to MMC... Writing to redundant MMC(2)... OK
Normal Boot
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc2(part 0) is current device
31051784 bytes read in 675 ms (43.9 MiB/s)
Booting from mmc ...

## Checking Image at 40480000 ...
Unknown image format!
60012 bytes read in 5 ms (11.4 MiB/s)
## Flattened Device Tree blob at 45000000
   Booting using the fdt blob at 0x45000000
   Using Device Tree in place at 0000000045000000, end 0000000045011a6b

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.10.52-1-at (builder@98b643f88a21) (gcc (Alpine1
[    0.000000] Machine model: Atmark-Techno Armadillo-IoT Gateway G4 Board
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000062000000B
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shl
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000094300000B
[    0.000000] OF: reserved mem: initialized node vdev0buffer@94300000, compal
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000055ffffff]
[    0.000000]   node   0: [mem 0x0000000058000000-0x00000000923fffff]
[    0.000000]   node   0: [mem 0x0000000092400000-0x00000000a43fffff]
[    0.000000]   node   0: [mem 0x00000000a4400000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bffffff]
[    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: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 22 pages/cpu s51728 r8192 d30192 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 507904
[    0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/mmcblk2po
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 byt)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 byte)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 912664K/2064384K available (19326K kernel code, 1588K )
[    0.000000] random: get_random_u64 called from __kmem_cache_create+0x28/0x0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 .
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 160 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycls
[    0.000003] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 21s
[    0.000351] Console: colour dummy device 80x25
[    0.000382] Calibrating delay loop (skipped), value calculated using timer)
[    0.000397] pid_max: default: 32768 minimum: 301
[    0.000506] LSM: Security Framework initializing
[    0.000571] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, l)
[    0.000583] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 byt)
[    0.001724] rcu: Hierarchical SRCU implementation.
[    0.002984] smp: Bringing up secondary CPUs ...
[    0.003331] Detected VIPT I-cache on CPU1
[    0.003356] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[    0.003389] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.003778] Detected VIPT I-cache on CPU2
[    0.003797] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[    0.003817] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.004235] Detected VIPT I-cache on CPU3
[    0.004253] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[    0.004272] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.004328] smp: Brought up 1 node, 4 CPUs
[    0.004342] SMP: Total of 4 processors activated.
[    0.004349] CPU features: detected: 32-bit EL0 Support
[    0.004356] CPU features: detected: CRC32 instructions
[    0.004601] CPU: All CPU(s) started at EL2
[    0.004620] alternatives: patching kernel code
[    0.005296] devtmpfs: initialized
[    0.013072] KASLR disabled due to lack of seed
[    0.013221] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,s
[    0.013234] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.031459] pinctrl core: initialized pinctrl subsystem
[    0.032122] NET: Registered protocol family 16
[    0.038565] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocatios
[    0.039388] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic as
[    0.040199] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomics
[    0.040256] audit: initializing netlink subsys (disabled)
[    0.040448] audit: type=2000 audit(0.040:1): state=initialized audit_enabl1
[    0.040844] thermal_sys: Registered thermal governor 'step_wise'
[    0.041137] cpuidle: using governor ladder
[    0.041157] cpuidle: using governor menu
[    0.041399] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.041471] ASID allocator initialised with 65536 entries
[    0.042530] Serial: AMBA PL011 UART driver
[    0.042588] imx mu driver is registered.
[    0.042611] imx rpmsg driver is registered.
[    0.077103] imx8mp-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[    0.094048] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.094063] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.094069] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.094077] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.095599] cryptd: max_cpu_qlen set to 1000
[    0.164236] raid6: neonx8   gen()  2150 MB/s
[    0.232284] raid6: neonx8   xor()  1604 MB/s
[    0.300362] raid6: neonx4   gen()  2200 MB/s
[    0.368398] raid6: neonx4   xor()  1567 MB/s
[    0.436455] raid6: neonx2   gen()  2098 MB/s
[    0.504512] raid6: neonx2   xor()  1443 MB/s
[    0.572561] raid6: neonx1   gen()  1798 MB/s
[    0.640615] raid6: neonx1   xor()  1222 MB/s
[    0.708677] raid6: int64x8  gen()  1438 MB/s
[    0.776717] raid6: int64x8  xor()   771 MB/s
[    0.844764] raid6: int64x4  gen()  1601 MB/s
[    0.912817] raid6: int64x4  xor()   822 MB/s
[    0.980863] raid6: int64x2  gen()  1399 MB/s
[    1.048914] raid6: int64x2  xor()   748 MB/s
[    1.116954] raid6: int64x1  gen()  1033 MB/s
[    1.185017] raid6: int64x1  xor()   517 MB/s
[    1.185024] raid6: using algorithm neonx4 gen() 2200 MB/s
[    1.185031] raid6: .... xor() 1567 MB/s, rmw enabled
[    1.185038] raid6: using neon recovery algorithm
[    1.187393] iommu: Default domain type: Translated
[    1.187536] vgaarb: loaded
[    1.187760] SCSI subsystem initialized
[    1.188012] usbcore: registered new interface driver usbfs
[    1.188047] usbcore: registered new interface driver hub
[    1.188073] usbcore: registered new device driver usb
[    1.189560] mc: Linux media interface: v0.10
[    1.189586] videodev: Linux video capture interface: v2.00
[    1.189653] pps_core: LinuxPPS API ver. 1 registered
[    1.189660] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Gi>
[    1.189674] PTP clock support registered
[    1.189706] EDAC MC: Ver: 3.0.0
[    1.190705] Advanced Linux Sound Architecture Driver Initialized.
[    1.191058] Bluetooth: Core ver 2.22
[    1.191079] NET: Registered protocol family 31
[    1.191086] Bluetooth: HCI device and connection manager initialized
[    1.191096] Bluetooth: HCI socket layer initialized
[    1.191105] Bluetooth: L2CAP socket layer initialized
[    1.191113] Bluetooth: SCO socket layer initialized
[    1.191319] nfc: nfc_init: NFC Core ver 0.1
[    1.191363] NET: Registered protocol family 39
[    1.192109] clocksource: Switched to clocksource arch_sys_counter
[    1.192260] VFS: Disk quotas dquot_6.6.0
[    1.192309] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.198319] NET: Registered protocol family 2
[    1.198427] IP idents hash table entries: 32768 (order: 6, 262144 bytes, l)
[    1.199407] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 1)
[    1.199436] TCP established hash table entries: 16384 (order: 5, 131072 by)
[    1.199546] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, li)
[    1.199762] TCP: Hash tables configured (established 16384 bind 16384)
[    1.199836] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    1.199879] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, line)
[    1.200027] NET: Registered protocol family 1
[    1.200330] RPC: Registered named UNIX socket transport module.
[    1.200336] RPC: Registered udp transport module.
[    1.200343] RPC: Registered tcp transport module.
[    1.200350] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.201003] PCI: CLS 0 bytes, default 64
[    1.201724] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counterse
[    1.206710] Initialise system trusted keyrings
[    1.206795] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    1.211625] DLM installed
[    1.212333] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.212845] NFS: Registering the id_resolver key type
[    1.212865] Key type id_resolver registered
[    1.212872] Key type id_legacy registered
[    1.212944] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.212955] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Register.
[    1.212978] ntfs: driver 2.1.32 [Flags: R/W].
[    1.213113] jffs2: version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, In.
[    1.213448] fuse: init (API version 7.32)
[    1.213771] SGI XFS with ACLs, security attributes, realtime, quota, no ded
[    1.252232] xor: measuring software checksum speed
[    1.256418]    8regs           :  2365 MB/sec
[    1.259935]    32regs          :  2802 MB/sec
[    1.264084]    arm64_neon      :  2380 MB/sec
[    1.264090] xor: using function: 32regs (2802 MB/sec)
[    1.264111] Key type asymmetric registered
[    1.264117] Asymmetric key parser 'x509' registered
[    1.264150] Block layer SCSI generic (bsg) driver version 0.4 loaded (majo)
[    1.264159] io scheduler mq-deadline registered
[    1.266122] samsung-hdmi-phy 32fdff00.hdmiphy: failed to get phy apb clk: 7
[    1.266262] imx8-pcie-phy 32f00000.pcie-phy: failed to get imx pcie phy clk
[    1.272711] i.MX clk 324: register failed with -2
[    1.272720] i.MX clk 325: register failed with -2
[    1.272727] i.MX clk 326: register failed with -2
[    1.272734] i.MX clk 328: register failed with -2
[    1.272742] i.MX clk 329: register failed with -2
[    1.272749] i.MX clk 330: register failed with -2
[    1.278254] imx-sdma 30bd0000.dma-controller: firmware found.
[    1.278409] imx-sdma 30bd0000.dma-controller: loaded firmware 4.5
[    1.280171] Bus freq driver module loaded
[    1.284867] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.287139] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 30, base_baX
[    1.287798] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 31, base_baX
[    2.385364] printk: console [ttymxc1] enabled
[    2.392506] imx-lcdifv3 32e90000.lcd-controller: No pix clock get: -517
[    2.399421] imx-lcdifv3 32fc6000.lcd-controller: No irq get, ret=-517
[    2.409510] imx-hdmi-pavi 32fc4000.hdmi-pai-pvi: No pvi clock get
[    2.424356] loop: module loaded
[    2.427787] zram: Added device: zram0
[    2.431933] usbcore: registered new interface driver pn533_usb
[    2.438015] nfcsim 0.2 initialized
[    2.441452] usbcore: registered new interface driver port100
[    2.447934] imx ahci driver is registered.
[    2.454193] libphy: Fixed MDIO Bus: probed
[    2.458794] tun: Universal TUN/TAP device driver, 1.6
[    2.463983] CAN device driver interface
[    2.470522] imx-dwmac 30bf0000.ethernet: IRQ eth_lpi not found
[    2.476456] imx-dwmac 30bf0000.ethernet: no reset control found
[    2.482520] imx-dwmac 30bf0000.ethernet: User ID: 0x10, Synopsys ID: 0x51
[    2.489322] imx-dwmac 30bf0000.ethernet:     DWMAC4/5
[    2.494143] imx-dwmac 30bf0000.ethernet: DMA HW capability register suppord
[    2.501292] imx-dwmac 30bf0000.ethernet: RX Checksum Offload Engine suppord
[    2.508439] imx-dwmac 30bf0000.ethernet: TX Checksum insertion supported
[    2.515147] imx-dwmac 30bf0000.ethernet: Wake-Up On Lan supported
[    2.521298] imx-dwmac 30bf0000.ethernet: Enable RX Mitigation via HW Watchr
[    2.528965] imx-dwmac 30bf0000.ethernet: Enabled Flow TC (entries=8)
[    2.535329] imx-dwmac 30bf0000.ethernet: Enabling HW TC (entries=256, max_)
[    2.542907] imx-dwmac 30bf0000.ethernet: Using 34 bits DMA width
[    2.549637] imx-dwmac 30bf0000.ethernet: Cannot register the MDIO bus
[    2.556098] imx-dwmac 30bf0000.ethernet: stmmac_dvr_probe: MDIO bus (id: 1d
[    2.565202] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet r
[    2.572658] usbcore: registered new interface driver pegasus
[    2.578352] usbcore: registered new interface driver rtl8150
[    2.584044] usbcore: registered new interface driver r8152
[    2.589573] usbcore: registered new interface driver lan78xx
[    2.595275] usbcore: registered new interface driver asix
[    2.600712] usbcore: registered new interface driver ax88179_178a
[    2.606840] usbcore: registered new interface driver cdc_ether
[    2.612702] usbcore: registered new interface driver dm9601
[    2.618309] usbcore: registered new interface driver CoreChips
[    2.624182] usbcore: registered new interface driver smsc75xx
[    2.629966] usbcore: registered new interface driver smsc95xx
[    2.635752] usbcore: registered new interface driver net1080
[    2.641444] usbcore: registered new interface driver plusb
[    2.646965] usbcore: registered new interface driver cdc_subset
[    2.652917] usbcore: registered new interface driver zaurus
[    2.658521] usbcore: registered new interface driver MOSCHIP usb-ethernet r
[    2.665953] usbcore: registered new interface driver cdc_ncm
[    2.671826] VFIO - User Level meta-driver version: 0.3
[    2.682647] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.689194] ehci-pci: EHCI PCI platform driver
[    2.693685] ehci-platform: EHCI generic platform driver
[    2.699118] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.705309] ohci-pci: OHCI PCI platform driver
[    2.709785] ohci-platform: OHCI generic platform driver
[    2.715698] usbcore: registered new interface driver cdc_acm
[    2.721366] cdc_acm: USB Abstract Control Model driver for USB modems and s
[    2.729527] usbcore: registered new interface driver uas
[    2.734891] usbcore: registered new interface driver usb-storage
[    2.740961] usbcore: registered new interface driver usbserial_generic
[    2.747513] usbserial: USB Serial support registered for generic
[    2.753554] usbcore: registered new interface driver ftdi_sio
[    2.759325] usbserial: USB Serial support registered for FTDI USB Serial De
[    2.766666] usbcore: registered new interface driver usb_serial_simple
[    2.773216] usbserial: USB Serial support registered for carelink
[    2.779328] usbserial: USB Serial support registered for zio
[    2.785007] usbserial: USB Serial support registered for funsoft
[    2.791031] usbserial: USB Serial support registered for flashloader
[    2.797403] usbserial: USB Serial support registered for google
[    2.803343] usbserial: USB Serial support registered for libtransistor
[    2.809890] usbserial: USB Serial support registered for vivopay
[    2.815919] usbserial: USB Serial support registered for moto_modem
[    2.822206] usbserial: USB Serial support registered for motorola_tetra
[    2.828840] usbserial: USB Serial support registered for novatel_gps
[    2.835214] usbserial: USB Serial support registered for hp4x
[    2.840980] usbserial: USB Serial support registered for suunto
[    2.846917] usbserial: USB Serial support registered for siemens_mpi
[    2.853305] usbcore: registered new interface driver usb_ehset_test
[    2.861517] udc-core: couldn't find an available UDC - added [g_multi] to s
[    2.871861] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc1
[    2.878267] i2c /dev entries driver
[    2.882133] IR NEC protocol handler initialized
[    2.886676] IR RC5(x/sz) protocol handler initialized
[    2.891733] IR RC6 protocol handler initialized
[    2.896268] IR JVC protocol handler initialized
[    2.900804] IR Sony protocol handler initialized
[    2.905429] IR SANYO protocol handler initialized
[    2.910138] IR Sharp protocol handler initialized
[    2.914846] IR MCE Keyboard/mouse protocol handler initialized
[    2.920684] IR XMP protocol handler initialized
[    2.925218] ir_imon_decoder: IR iMON protocol handler initialized
[    2.931316] IR RCMM protocol handler initialized
[    2.936718] usbcore: registered new interface driver uvcvideo
[    2.942472] USB Video Class driver (1.1.1)
[    2.949120] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm
[    2.957646] Bluetooth: HCI UART driver ver 2.3
[    2.962104] Bluetooth: HCI UART protocol H4 registered
[    2.967250] Bluetooth: HCI UART protocol BCSP registered
[    2.972588] Bluetooth: HCI UART protocol LL registered
[    2.977733] Bluetooth: HCI UART protocol ATH3K registered
[    2.983151] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.989499] Bluetooth: HCI UART protocol Intel registered
[    2.994984] Bluetooth: HCI UART protocol Broadcom registered
[    3.000665] Bluetooth: HCI UART protocol QCA registered
[    3.005906] Bluetooth: HCI UART protocol AG6XX registered
[    3.011326] Bluetooth: HCI UART protocol Marvell registered
[    3.016946] usbcore: registered new interface driver bcm203x
[    3.022649] usbcore: registered new interface driver bpa10x
[    3.028264] usbcore: registered new interface driver bfusb
[    3.033786] usbcore: registered new interface driver btusb
[    3.039319] usbcore: registered new interface driver ath3k
[    3.045073] EDAC MC: ECC not enabled
[    3.049735] sdhci: Secure Digital Host Controller Interface driver
[    3.055926] sdhci: Copyright(c) Pierre Ossman
[    3.060418] Synopsys Designware Multimedia Card Interface Driver
[    3.067077] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.074834] ledtrig-cpu: registered to indicate activity on CPUs
[    3.081336] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    3.088544] caam-snvs 30370000.caam-snvs: violation handlers armed - init e
[    3.096958] usbcore: registered new interface driver usbhid
[    3.102542] usbhid: USB HID core driver
[    3.106306] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADA
[    3.106838] mxc-mipi-csi2-sam 32e40000.csi: supply mipi-phy not found, usir
[    3.122897] mxc-md 32c00000.bus:camera: deferring cap_device registration
[    3.133168] optee: probing for conduit method.
[    3.137644] optee: revision 3.13 (2c1092df)
[    3.138454] optee: dynamic shared memory is enabled
[    3.147834] optee: initialized driver
[    3.154457] Galcore version 6.4.3.p2.336687
[    3.232442] mmc2: new HS400 MMC card at address 0001
[    3.238935] mmcblk2: mmc2:0001 S0J56X 7.30 GiB
[    3.243670] mmcblk2boot0: mmc2:0001 S0J56X partition 1 31.5 MiB
[    3.249753] mmcblk2boot1: mmc2:0001 S0J56X partition 2 31.5 MiB
[    3.255823] mmcblk2gp0: mmc2:0001 S0J56X partition 4 8.00 MiB
[    3.261721] mmcblk2gp1: mmc2:0001 S0J56X partition 5 8.00 MiB
[    3.267631] mmcblk2gp2: mmc2:0001 S0J56X partition 6 8.00 MiB
[    3.269745] [drm] Initialized vivante 1.0.0 20170808 for 40000000.mix_gpu_0
[    3.273559] mmcblk2gp3: mmc2:0001 S0J56X partition 7 8.00 MiB
[    3.282741] hantrodec 0 : module inserted. Major = 237
[    3.287841] mmcblk2rpmb: mmc2:0001 S0J56X partition 3 4.00 MiB, chardev (2)
[    3.292956] hantrodec 1 : module inserted. Major = 237
[    3.306236] hantroenc: HW at base < 0000000038320000 > with ID <0x80006200>
[    3.313214] hx280enc: module inserted. Major < 236 >
[    3.320369] usbcore: registered new interface driver snd-usb-audio
[    3.327391]  mmcblk2: p1 p2 p3 p4 p5
[    3.330540] fsl-aud2htx 30cb0000.aud2htx: failed to get mem clock
[    3.338973] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[    3.345703] Mirror/redirect action on
[    3.349490] u32 classifier
[    3.352256]     Performance counters on
[    3.356111]     input device check on
[    3.359780]     Actions configured
[    3.363230]  mmcblk2gp1:
[    3.365602] xt_time: kernel timezone is -0000
[    3.370462] Initializing XFRM netlink socket
[    3.375232] NET: Registered protocol family 10
[    3.381554] Segment Routing with IPv6
[    3.385303] mip6: Mobile IPv6
[    3.388440] NET: Registered protocol family 17
[    3.392945] Bridge firewalling registered
[    3.396981] can: controller area network core
[    3.401387] NET: Registered protocol family 29
[    3.405838] can: raw protocol
[    3.408815] can: broadcast manager protocol
[    3.413011] can: netlink gateway - max_hops=1
[    3.417537] Bluetooth: RFCOMM TTY layer initialized
[    3.422433] Bluetooth: RFCOMM socket layer initialized
[    3.427614] Bluetooth: RFCOMM ver 1.11
[    3.431372] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.436690] Bluetooth: BNEP filters: protocol multicast
[    3.441939] Bluetooth: BNEP socket layer initialized
[    3.446912] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.452847] Bluetooth: HIDP socket layer initialized
[    3.459682] NET: Registered protocol family 33
[    3.464146] Key type rxrpc registered
[    3.467808] Key type rxrpc_s registered
[    3.471672] 8021q: 802.1Q VLAN Support v1.8
[    3.480632] DCCP: Activated CCID 2 (TCP-like)
[    3.485026] DCCP: Activated CCID 3 (TCP-Friendly Rate Control)
[    3.491248] sctp: Hash tables configured (bind 256/256)
[    3.497420] NET: Registered protocol family 21
[    3.501991] Registered RDS/tcp transport
[    3.505938] lib80211: common routines for IEEE802.11 drivers
[    3.511698] 9pnet: Installing 9P2000 support
[    3.516004] tsn generic netlink module v1 init...
[    3.520906] NET: Registered protocol family 36
[    3.525386] Key type dns_resolver registered
[    3.529669] Key type ceph registered
[    3.534057] libceph: loaded (mon/osd proto 15/24)
[    3.538794] mpls_gso: MPLS GSO support
[    3.542860] registered taskstats version 1
[    3.546967] Loading compiled-in X.509 certificates
[    3.557254] Loaded X.509 cert 'Build time autogenerated kernel key: f706f5'
[    3.567223] Key type ._fscrypt registered
[    3.571241] Key type .fscrypt registered
[    3.575172] Key type fscrypt-provisioning registered
[    3.581092] Btrfs loaded, crc32c=crc32c-generic
[    3.594254] M2_3P3V: supplied by VEXT_3P3V
[    3.608568] nxp-pca9450 0-0025: pca9450bc probed.
[    3.613440] i2c i2c-0: IMX I2C adapter registered
[    3.621476] rtc-rv8803 1-0032: Voltage low, temperature compensation stopp.
[    3.628635] rtc-rv8803 1-0032: Voltage low, data loss detected.
[    3.637310] rtc-rv8803 1-0032: Voltage low, data is invalid.
[    3.643687] rtc-rv8803 1-0032: registered as rtc0
[    3.649321] rtc-rv8803 1-0032: Voltage low, data is invalid.
[    3.655012] rtc-rv8803 1-0032: hctosys: unable to read the hardware clock
[    3.662507] usb251xb 1-002c: supply vdd not found, using dummy regulator
[    3.675466] random: fast init done
[    3.710279] usb251xb 1-002c: Hub configuration was successful.
[    3.716125] usb251xb 1-002c: Hub probed successfully
[    3.731942] i2c i2c-1: IMX I2C adapter registered
[    3.740570] i2c i2c-2: IMX I2C adapter registered
[    3.746184] i2c i2c-3: IMX I2C adapter registered
[    3.752265] imx8mq-usb-phy 381f0040.usb-phy: supply vbus not found, using r
[    3.760759] imx8mq-usb-phy 382f0040.usb-phy: supply vbus not found, using r
[    3.769162] samsung-hdmi-phy 32fdff00.hdmiphy: failed to get phy apb clk: 7
[    3.780992] imx6q-pcie 33800000.pcie: supply epdev_on not found, using dumr
[    3.791994] imx6q-pcie 33800000.pcie: PLL REF_CLK is used!.
[    3.792181] SoC: i.MX8MP revision 1.1
[    3.798166] imx6q-pcie 33800000.pcie: PCIe PHY PLL clock is locked.
[    3.801518] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 7 mkt segment 24
[    3.818776] imx-lcdifv3 32fc6000.lcd-controller: No irq get, ret=-517
[    3.826599] imx-sdma 30e10000.dma-controller: firmware found.
[    3.846798] imx6q-pcie 33800000.pcie: PCIe PLL locked after 0 us.
[    3.852965] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ran:
[    3.860235] imx6q-pcie 33800000.pcie:   No bus range found for /soc@0/pcie]
[    3.869588] imx6q-pcie 33800000.pcie:       IO 0x001ff80000..0x001ff8ffff 0
[    3.877795] imx6q-pcie 33800000.pcie:      MEM 0x0018000000..0x001fefffff 0
[    3.886057] imx6q-pcie 33800000.pcie: invalid resource
[    4.109250] pps pps0: new PPS source ptp0
[    4.118961] libphy: fec_enet_mii_bus: probed
[    4.125458] fec 30be0000.ethernet eth0: registered PHC device 0
[    4.132187] imx-dwmac 30bf0000.ethernet: IRQ eth_lpi not found
[    4.138100] imx-dwmac 30bf0000.ethernet: no reset control found
[    4.144415] imx-dwmac 30bf0000.ethernet: User ID: 0x10, Synopsys ID: 0x51
[    4.151216] imx-dwmac 30bf0000.ethernet:     DWMAC4/5
[    4.156015] imx-dwmac 30bf0000.ethernet: DMA HW capability register suppord
[    4.163158] imx-dwmac 30bf0000.ethernet: RX Checksum Offload Engine suppord
[    4.170296] imx-dwmac 30bf0000.ethernet: TX Checksum insertion supported
[    4.177002] imx-dwmac 30bf0000.ethernet: Wake-Up On Lan supported
[    4.183098] imx-dwmac 30bf0000.ethernet: Enable RX Mitigation via HW Watchr
[    4.190759] imx-dwmac 30bf0000.ethernet: Enabled Flow TC (entries=8)
[    4.197135] imx-dwmac 30bf0000.ethernet: Enabling HW TC (entries=256, max_)
[    4.204713] imx-dwmac 30bf0000.ethernet: Using 34 bits DMA width
[    4.392439] libphy: stmmac: probed
[    4.399725] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.405256] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus1
[    4.413275] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe6c hci version 0x0
[    4.422703] xhci-hcd xhci-hcd.1.auto: irq 69, io mem 0x38100000
[    4.429295] hub 1-0:1.0: USB hub found
[    4.433064] hub 1-0:1.0: 1 port detected
[    4.437166] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.442663] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus2
[    4.450332] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    4.456895] usb usb2: We don't know the algorithms for LPM for this host, .
[    4.465909] hub 2-0:1.0: USB hub found
[    4.469685] hub 2-0:1.0: 1 port detected
[    4.474619] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    4.480127] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus3
[    4.488119] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220fe6c hci version 0x0
[    4.497550] xhci-hcd xhci-hcd.2.auto: irq 70, io mem 0x38200000
[    4.504474] hub 3-0:1.0: USB hub found
[    4.508245] hub 3-0:1.0: 1 port detected
[    4.512351] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    4.517853] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus4
[    4.525520] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[    4.532089] usb usb4: We don't know the algorithms for LPM for this host, .
[    4.541033] hub 4-0:1.0: USB hub found
[    4.544821] hub 4-0:1.0: 1 port detected
[    4.551355] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[    4.551484] caam 30900000.crypto: device ID = 0x0a16040100000100 (Era 9)
[    4.563168] caam 30900000.crypto: job rings = 2, qi = 0
[    4.587229] caam algorithms registered in /proc/crypto
[    4.588548] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADA
[    4.593246] caam 30900000.crypto: caam pkc algorithms registered in /proc/o
[    4.606926] caam 30900000.crypto: registering rng-caam
[    4.613314] Device caam-keygen registered
[    4.618810] mxc-mipi-csi2-sam 32e40000.csi: supply mipi-phy not found, usir
[    4.627543] mxc-mipi-csi2-sam 32e40000.csi: lanes: 2, hs_settle: 13, clk_s0
[    4.638726] isi-capture 32e00000.isi:cap_device: deferring 32e00000.isi:can
[    4.648753] mxc-isi 32e00000.isi: mxc_isi.0 registered successfully
[    4.655368] random: crng init done
[    4.655708] mxc-md 32c00000.bus:camera: deferring cap_device registration
[    4.666802] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)
[    4.675665] imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops 0xfff)
[    4.683811] imx-drm display-subsystem: bound imx-lcdifv3-crtc.1 (ops 0xfff)
[    4.692062] imx-drm display-subsystem: bound 32c00000.bus:ldb@32ec005c (op)
[    4.701030] dwhdmi-imx 32fd8000.hdmi: Detected HDMI TX controller v2.13a w)
[    4.711333] dwhdmi-imx 32fd8000.hdmi: registered DesignWare HDMI I2C bus dr
[    4.720196] imx-drm display-subsystem: bound 32fd8000.hdmi (ops 0xffff8000)
[    4.728772] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem1
[    4.780434] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[    4.781256] Console: switching to colour frame buffer device 128x48
[    4.792591] mmc1: host does not support reading read-only switch, assuminge
[    4.814004] imx-drm display-subsystem: [drm] fb0: imx-drmdrmfb frame buffee
[    4.823157] mx8-img-md: Registered mxc_isi.0.capture as /dev/video2
[    4.829509] mx8-img-md: Registered sensor subdevice: imx219 1-0010 (1)
[    4.836081] mx8-img-md: created link [mxc_isi.0] => [mxc_isi.0.capture]
[    4.842700] mx8-img-md: created link [mxc-mipi-csi2.0] => [mxc_isi.0]
[    4.849146] mx8-img-md: created link [imx219 1-0010] => [mxc-mipi-csi2.0]
[    4.855937] mxc-md 32c00000.bus:camera: mxc_md_create_links
[    4.865370] input: audio-hdmi HDMI Jack as /devices/platform/sound-hdmi/so0
[    4.875042] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    4.878953] imx6q-pcie 33800000.pcie: Phy link never came up
[    4.882773] isi-m2m 32e00000.isi:m2m_device: Register m2m success for ISI.0
[    4.890186] imx6q-pcie 33800000.pcie: failed to initialize host
[    4.894476] cfg80211: Loading compiled-in X.509 certificates for regulatore
[    4.900315] imx6q-pcie 33800000.pcie: unable to add pcie port.
[    4.910491] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.921546] ALSA device list:
[    4.924579]   #0: audio-hdmi
[    4.934273] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode)
[    4.942461] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    4.950212] devtmpfs: mounted
[    4.953782] Freeing unused kernel memory: 2432K
[    4.972764] Run /sbin/init as init process
[    4.980292] hub 3-1:1.0: USB hub found
[    4.984090] mmc1: new ultra high speed SDR104 SDHC card at address 0007
[    4.984115] hub 3-1:1.0: 2 ports detected
[    4.995176] mmcblk1: mmc1:0007 SD16G 14.9 GiB

   OpenRC 0.43.3.bf57debcde is [    5.008424]  mmcblk1: p1 p2 p3 p4 p5
starting up Linux 5.10.52-1-at (aarch64)

 * Mounting /proc ... [ ok ]
 * Mounting /run ... * /run/openrc: creating directory
 * /run/lock: creating directory
 * /run/lock: correcting owner
 * Caching service dependencies ... [ ok ]
 * Clock skew detected with `(null)'
 * Adjusting mtime of `/run/openrc/deptree' to Thu Nov 25 19:26:50 2021

 * WARNING: clock skew detected!
 * Mounting /sys ... * Remounting devtmpfs on /dev ... [ ok ]
 [ ok ]
 * Mounting security filesystem ... [ ok ]
 * Mounting config filesystem ... [ ok ]
 * Mounting fuse control filesystem ... * Mounting /dev/mqueue ... [ ok ]
 [ ok ]
 * Mounting /dev/pts ... [ ok ]
 * Mounting /dev/shm ... [ ok ]
 * Mounting cgroup filesystem ... [ ok ]
udev             | * Starting udev ...overlayfs        | * Preparing overlay c
 [ ok ]
overlayfs        | * Preparing overlay for /var
overlayfs        | * Preparing overlay for /root
[    5.707199] udevd[706]: starting version 3.2.10
overlayfs        | * Preparing overlay for /home
fsck_atlog       |fsck.fat 4.2 (2021-01-31)
fsck_atlog       |/dev/mmcblk2gp1: 2 files, 1/4081 clusters
fsck             | * Checking local filesystems  ... [ ok ]
[    5.765935] udevd[706]: starting eudev-3.2.10
root             | * Remounting filesystems ... [ ok ]
localmount       | * Mounting local filesystems ...[    5.923330] EXT4-fs (mme
[    5.928821] EXT4-fs (mmcblk2p3): mounted filesystem with ordered data mode)
[    5.937874] BTRFS: device label app devid 1 transid 4752 /dev/mmcblk2p5 sc)
[    5.947458] BTRFS info (device mmcblk2p5): use zstd compression, level 3
[    5.954305] BTRFS info (device mmcblk2p5): turning on async discard
[    5.960585] BTRFS info (device mmcblk2p5): using free space tree
[    5.966595] BTRFS info (device mmcblk2p5): has skinny extents
[    5.981704] BTRFS info (device mmcblk2p5): enabling ssd optimizations
 [ ok ]
rngd             | * Starting rngd ... [ ok ]
 * WARNING: clock skew detected!
hostname         | * Setting hostname ...udev-trigger     | * Generating a ru]
 [ ok ]
udev-trigger     | * Populating /dev with existing devices through uevents ..]
 [ ok ]
bootmisc         | * Migrating /var/lock to /run/lock ... [ ok ]
bootmisc         | * / is not writable; unable to clean up underlying /run
bootmisc         | * Creating user login records ... [ ok ]
bootmisc         | * Wiping /var/tmp directory ... [ ok ]
syslog           | * Starting busybox syslog ... [ ok ]
dbus             | * Starting System Message Bus ... [ ok ]
[    7.098505] BTRFS: device label app devid 1 transid 62 /dev/mmcblk1p5 scan)
networkmanager   | * Starting networkmanager ... [ ok ]
 * WARNING: clock skew detected!
reset_bootcount  |Environment OK, copy 1
podman-atmark    | * Starting Start podman containers ...chronyd          | *]
[    7.758482] Microchip KSZ9131 Gigabit PHY 30be0000.ethernet-1:03: attached)
[    7.824606] imx-dwmac 30bf0000.ethernet eth1: PHY [stmmac-1:03] driver [Mi)
[    7.852130] imx-dwmac 30bf0000.ethernet eth1: No Safety Features support fd
[    7.859381] imx-dwmac 30bf0000.ethernet eth1: IEEE 1588-2008 Advanced Timed
[    7.872271] imx-dwmac 30bf0000.ethernet eth1: registered PTP clock
[    7.878773] imx-dwmac 30bf0000.ethernet eth1: configuring for phy/rgmii-ide
[    7.894988] 8021q: adding VLAN 0 to HW filter on device eth1
 [ ok ]

Welcome to Alpine Linux 3.14
Kernel 5.10.52-1-at on an aarch64 (/dev/ttymxc1)

armadillo login:

U-Boot プロンプト

USB コンソールインターフェース に"Hit any key to stop autoboot:" が出力されている間に何かしらのキー入力を行うと U-Boot のプロンプトが表示されます。この間にキー入力がなければ自動的に起動します。

: (省略)
 BuildInfo:
  - ATF ba76d33
  - U-Boot 2020.04-at1

first boot since power on
switch to partitions #0, OK
mmc2(part 0) is current device
flash target is MMC:2
Net:   eth0: ethernet@30be0000 [PRIME], eth1: ethernet@30bf0000
Fastboot: Normal
Saving Environment to MMC... Writing to redundant MMC(2)... OK
Normal Boot
Hit any key to stop autoboot:  0
u-boot=>

5.2. ログイン

起動が完了するとログインプロンプトが表示されます。表5.1「シリアルコンソールログイン時のユーザ名とパスワード」に示すユーザでログインすることができます。

表5.1 シリアルコンソールログイン時のユーザ名とパスワード

ユーザ名パスワード権限

root

root

root ユーザ

atmark

atmark

一般ユーザ


初めてログインしたときは、パスワードの変更を促されます。事前に新しいパスワードを用意してください。

設定するパスワードには大文字のアルファベット、小文字のアルファベット、0から9までの数字、その他(記号・句読点など)を含める事ができます。

  1. root でログイン

    初期パスワードを変更します。

    armadillo login: root
    You are required to change your password immediately (administrator enforced).
    New password: 1
    Retype new password: 2
    Welcome to Alpine!

    1

    新しいパスワードを入力します

    2

    新しいパスワードを再入力します

  2. atmark でログイン

    初期パスワードを変更します。root でログインと同様にパスワードを入力します。

    armadillo login: atmark
    You are required to change your password immediately (administrator enforced).
    New password:
    Retype new password:
    Welcome to Alpine!
[重要項目]

Armadillo BaseOS ではルートファイルシステムに overlayfs を採用しており、そのままではシステムが OFF すると内容は消えてしまいます。そのため persist_file コマンドが用意されています。このコマンドを利用することでファイル単位で変更を反映することができます。パスワードを設定した後には以下のコマンドを実行してください。

[armadillo ~]# persist_file /etc/shadow

5.3. 終了方法

安全に終了させる場合は、次のようにコマンドを実行し、「reboot: Power down」と表示されたのを確認してから電源を切断します。

[armadillo ~]# poweroff
* WARNING: clock skew detected!
urandom          | * Saving random seed ...chronyd          | * Stopping chronyd ...syslog           | * Stopping busybox syslog ... [ ok ]
overlayfs        | * Unmounting /etc ...rngd             | * Stopping rngd ...podman-atmark    | * Stopping Start podman containers ... [ ok ] [ ok ]

 * start-stop-daemon: no matching processes found
podman-atmark    | [ ok ]
 [ ok ]
udev             | * Stopping udev ...hwclock          | * Setting hardware clock using the system clock [UTC] ... [ ok ]
 * in use but fuser finds nothing
overlayfs        | [ !! ]
overlayfs        | * Unmounting /dev/shm/overlay_etc_lower ... [ ok ]
networkmanager   | * Stopping networkmanager ...overlayfs        | * Unmounting /var ...nm-dispatcher: req:1 'connectivity-change': find-scripts: Cannot execute '/etc/Netw.
 [ ok ]
dbus             | * Stopping System Message Bus ...nm-dispatcher: System bus stopped. Exiting
 * in use but fuser finds nothing
overlayfs        | [ !! ]
 [ ok ]
overlayfs        | * Unmounting /dev/shm/overlay_var_lower ... [ ok ]
overlayfs        | * Unmounting /root ... [ ok ]
overlayfs        | * Unmounting /dev/shm/overlay_root_lower ... [ ok ]
localmount       | * Unmounting loop devices
overlayfs        | * Unmounting /home ...localmount       | * Unmounting filesystems
localmount       | *   Unmounting /var/tmp ... [ ok ]
localmount       | *   Unmounting /var/app/volumes ... [ ok ]
localmount       | *   Unmounting /var/app/rollback/volumes ... [ ok ]
localmount       | *   Unmounting /var/lib/containers/storage_readonly ... [ ok ]
localmount       | *   Unmounting /var/log ... [ ok ]
localmount       | *   Unmounting /tmp ... [ ok ]
localmount       | *   Unmounting /home ...
 *   in use but fuser finds nothing
localmount       | [ !! ]
localmount       | *   Unmounting /var ... [ ok ]
localmount       | *   Unmounting /etc ... *   in use but fuser finds nothing
localmount       | [ !! ]
 [ ok ]
overlayfs        | * Unmounting /dev/shm/overlay_home_lower ... [ ok ]
killprocs        | * Terminating remaining processes ...mount-ro         | * Remounting remaining filesystems read-only ... *   Remounting /etc read only ... [ ok ]
mount-ro         | *   Remounting / read only ... [ ok ]
mount-ro         | [ ok ]
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Requesting system poweroff
[   62.855146] imx2-wdt 30280000.watchdog: Device shutdown: Expect reboot!
[   62.862470] reboot: Power down
[警告]

haltコマンドで終了させた場合、「reboot: System halted」と表示されてから約128秒後、Armadilloは自動的に再起動します。確実に終了させるためにもpoweroffコマンドを利用してください。