第5章 起動と終了

5.1. 起動

Armadillo-IoT G3Lに電源を接続するときUSBシリアル変換アダプタのスライドスイッチによって起動モードが変わります。 詳しくは「スライドスイッチの設定について」を参照してください。 本節では、保守モードに設定しているときの例を示します。 オートブートモードを選択した場合は、途中でコマンドを入力することなく起動が完了します。 USBシリアル変換アダプタを接続せずにArmadillo-IoT G3Lに電源を接続した場合、オートブートモードで起動します。

U-Boot SPL 2016.07-at24 (Feb 27 2024 - 15:19:49)
Trying to boot from SPI


U-Boot 2016.07-at24 (Feb 27 2024 - 15:19:49 +0900)

CPU:   Freescale i.MX7D rev1.3 at 996MHz
CPU:   Extended Commercial temperature grade (-20C to 105C) at 30C
Reset cause: POR
       Watchdog enabled
I2C:   ready
DRAM:  1 GiB
Boot Source: QSPI Flash
Board Type: Armadillo-IoT G3L(0a200000)
Revision: 0003
S/N: 212
DRAM: 00001e05
XTAL: 00
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from SPI Flash... SF: Detected N25Q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Failed (-5)
Loading Environment from SPI Flash... SF: Detected N25Q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Failed (-5)
In:    serial
Out:   serial
Err:   serial
Found PFUZE300! deviceid 0x30, revid 0x11
Net:   FEC0
=>

図5.1 電源投入直後のログ


Linuxシステムを起動するには、次のように "boot"コマンドを実行してください。コマンドを実行するとブートローダーがLinuxシステムを起動させます。シリアル通信ソフトウェアにはLinuxの起動ログが表示されます。

=> boot
switch to partitions #0, OK
mmc1(part 0) is current device
switch to partitions #0, OK
mmc1(part 0) is current device
reading boot.scr
** Unable to read file boot.scr **
reading boot.scr
** Unable to read file boot.scr **
reading uImage
15954552 bytes read in 499 ms (30.5 MiB/s)
Booting from mmc ...
reading armadillo_iotg_g3l.dtb
51852 bytes read in 16 ms (3.1 MiB/s)
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-6.1.55-at1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    15954488 Bytes = 15.2 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 84800000
   Booting using the fdt blob at 0x84800000
   Loading Kernel Image ... OK
   Using Device Tree in place at 84800000, end 8480fa8b

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.1.55-at1 (atmark@atde10) (arm-linux-gnueabihf-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Tue Feb 27 15:55:35 JST 2024
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Atmark-Techno Armadillo-X1L Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 64 MiB at 0xbc000000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s19988 r8192 d20972 u49152
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259840
[    0.000000] Kernel command line: console=ttymxc4,115200 root=/dev/mmcblk2p2 rootwait rw
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Memory: 942904K/1048576K available (16384K kernel code, 1555K rwdata, 6476K rodata, 4096K init, 502K bss, 40136K reserved, 65536K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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=4 to nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[    0.000001] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[    0.000015] Switching to timer-based delay loop, resolution 125ns
[    0.000288] Ignoring duplicate/late registration of read_current_timer delay
[    0.000308] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.001437] arch_timer: multiple nodes in dt, skipping
[    0.001788] Console: colour dummy device 80x30
[    0.001830] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=80000)
[    0.001848] CPU: Testing write buffer coherency: ok
[    0.001907] pid_max: default: 32768 minimum: 301
[    0.002099] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002119] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003311] CPU0: update cpu_capacity 1024
[    0.003328] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004310] cblist_init_generic: Setting adjustable number of callback queues.
[    0.004321] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.004448] cblist_init_generic: Setting adjustable number of callback queues.
[    0.004454] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.004599] Setting up static identity map for 0x80100000 - 0x80100078
[    0.004764] rcu: Hierarchical SRCU implementation.
[    0.004770] rcu:     Max phase no-delay instances is 1000.
[    0.005412] smp: Bringing up secondary CPUs ...
[    0.006330] CPU1: update cpu_capacity 1024
[    0.006342] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.006498] smp: Brought up 1 node, 2 CPUs
[    0.006509] SMP: Total of 2 processors activated (32.00 BogoMIPS).
[    0.006518] CPU: All CPU(s) started in SVC mode.
[    0.007163] devtmpfs: initialized
[    0.018461] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.018736] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.018761] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.021305] pinctrl core: initialized pinctrl subsystem
[    0.023009] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.030682] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.032226] thermal_sys: Registered thermal governor 'step_wise'
[    0.032315] cpuidle: using governor ladder
[    0.032347] cpuidle: using governor menu
[    0.039716] platform soc: Fixed dependency cycle(s) with /soc/bus@30000000/gpc@303a0000
[    0.040552] amba 3007c000.etm: Fixed dependency cycle(s) with /soc/funnel@30041000/in-ports/port/endpoint
[    0.040922] amba 30083000.funnel: Fixed dependency cycle(s) with /soc/funnel@30041000/out-ports/port/endpoint
[    0.041124] amba 30084000.etf: Fixed dependency cycle(s) with /replicator/in-ports/port/endpoint
[    0.041166] amba 30084000.etf: Fixed dependency cycle(s) with /soc/funnel@30083000/out-ports/port/endpoint
[    0.041379] amba 30086000.etr: Fixed dependency cycle(s) with /replicator/out-ports/port@1/endpoint
[    0.041586] amba 30087000.tpiu: Fixed dependency cycle(s) with /replicator/out-ports/port@0/endpoint
[    0.043649] platform 302c0000.pinctrl: Fixed dependency cycle(s) with /soc/bus@30000000/pinctrl@302c0000/armadillo-x1l/hoggrp-2
[    0.044069] platform 30330000.pinctrl: Fixed dependency cycle(s) with /soc/bus@30000000/pinctrl@30330000/armadillo-x1l/hoggrp
[    0.047878] DDR type is DDR3!
[    0.053482] amba 3007d000.etm: Fixed dependency cycle(s) with /soc/funnel@30041000/in-ports/port@1/endpoint
[    0.056513] No ATAGs?
[    0.056636] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.056647] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.058009] imx7d-pinctrl 302c0000.pinctrl: initialized IMX pinctrl driver
[    0.058731] imx7d-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[    0.060873] imx mu driver is registered.
[    0.061206] imx rpmsg driver is registered.
[    0.062577] MU is ready for cross core communication!
[    0.091088] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.092844] gpio-13 (MCU_INTB): hogged as input
[    0.094700] gpio-43 (SVEN): hogged as output/high
[    0.096411] gpio-68 (RX_GATE): hogged as output/low
[    0.107929] SCSI subsystem initialized
[    0.108567] usbcore: registered new interface driver usbfs
[    0.108621] usbcore: registered new interface driver hub
[    0.108669] usbcore: registered new device driver usb
[    0.108830] usb_phy_generic usbphynop1: supply vcc not found, using dummy regulator
[    0.109016] usb_phy_generic usbphynop1: dummy supplies not allowed for exclusive requests
[    0.109338] usb_phy_generic usbphynop2: supply vcc not found, using dummy regulator
[    0.109491] usb_phy_generic usbphynop2: dummy supplies not allowed for exclusive requests
[    0.125583] gpio_bmic 3-0014: version: 2.0
[    0.145567] bmic_regulator 3-0016: version: 1.0
[    0.168156] i2c i2c-3: IMX I2C adapter registered
[    0.175022] mc: Linux media interface: v0.10
[    0.175097] videodev: Linux video capture interface: v2.00
[    0.175156] pps_core: LinuxPPS API ver. 1 registered
[    0.175162] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.175184] PTP clock support registered
[    0.176399] MIPI CSI2 driver module loaded
[    0.176452] Advanced Linux Sound Architecture Driver Initialized.
[    0.177274] Bluetooth: Core ver 2.22
[    0.177330] NET: Registered PF_BLUETOOTH protocol family
[    0.177336] Bluetooth: HCI device and connection manager initialized
[    0.177350] Bluetooth: HCI socket layer initialized
[    0.177360] Bluetooth: L2CAP socket layer initialized
[    0.177380] Bluetooth: SCO socket layer initialized
[    1.458019] armadillo_x1l_extboard extboard: Atmark Techno ExtBoard01 board detected  (Rev 4, SerialNumber=13536).
[    1.488157] vgaarb: loaded
[    1.490326] clocksource: Switched to clocksource arch_sys_counter
[    1.490609] VFS: Disk quotas dquot_6.6.0
[    1.490668] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.501890] NET: Registered PF_INET protocol family
[    1.502176] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.504885] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.504918] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.504941] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.505013] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.505271] TCP: Hash tables configured (established 8192 bind 8192)
[    1.505398] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.505456] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.505679] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.506275] RPC: Registered named UNIX socket transport module.
[    1.506286] RPC: Registered udp transport module.
[    1.506291] RPC: Registered tcp transport module.
[    1.506295] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.507356] PCI: CLS 0 bytes, default 64
[    1.511402] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    1.512488] Bus freq driver module loaded
[    1.513650] Initialise system trusted keyrings
[    1.514018] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    1.521289] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.522311] NFS: Registering the id_resolver key type
[    1.522369] Key type id_resolver registered
[    1.522376] Key type id_legacy registered
[    1.522478] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.522487] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.522528] jffs2: version 2.2. (NAND) c 2001-2006 Red Hat, Inc.
[    1.523081] fuse: init (API version 7.37)
[    1.616967] NET: Registered PF_ALG protocol family
[    1.617001] Key type asymmetric registered
[    1.617008] Asymmetric key parser 'x509' registered
[    1.617201] io scheduler mq-deadline registered
[    1.617211] io scheduler kyber registered
[    1.629911] imx-sdma 30bd0000.dma-controller: firmware found.
[    1.630421] imx-sdma 30bd0000.dma-controller: loaded firmware 4.5
[    1.632562] mxs-dma 33000000.dma-apbh: initialized
[    1.646636] pfuze100-regulator 3-0009: Full layer: 1, Metal layer: 1
[    1.651216] pfuze100-regulator 3-0009: FAB: 0, FIN: 0
[    1.651234] pfuze100-regulator 3-0009: pfuze3000 found.
[    1.744110] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 272, base_baud = 5000000) is a IMX
[    1.745040] 30a70000.serial: ttymxc4 at MMIO 0x30a70000 (irq = 273, base_baud = 15000000) is a IMX
[    2.750527] printk: console [ttymxc4] enabled
[    2.755959] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 274, base_baud = 1500000) is a IMX
[    2.765766] 30a90000.serial: ttymxc6 at MMIO 0x30a90000 (irq = 275, base_baud = 1500000) is a IMX
[    2.775585] 30a60000.serial: ttymxc3 at MMIO 0x30a60000 (irq = 276, base_baud = 5000000) is a IMX
[    2.784689] serial serial0: tty port ttymxc3 registered
[    2.791229] imx sema4 driver is registered.
[    2.809608] brd: module loaded
[    2.819510] loop: module loaded
[    2.823327] (stk) :sysfs entries created
[    2.831517] spi-nor spi4.0: found n25q128a13, expected n25q064
[    2.837648] spi-nor spi4.0: n25q128a13 (16384 Kbytes)
[    2.842935] 3 fixed-partitions partitions found on MTD device 30bb0000.spi
[    2.849819] Creating 3 MTD partitions on "30bb0000.spi":
[    2.855170] 0x000000000000-0x000000100000 : "bootloader"
[    2.862180] 0x000000100000-0x000000140000 : "license"
[    2.868732] 0x000000140000-0x000000800000 : "reserved"
[    2.878484] tun: Universal TUN/TAP device driver, 1.6
[    2.883852] CAN device driver interface
[    2.891844] pps pps0: new PPS source ptp0
[    2.904266] fec 30bf0000.ethernet eth0: registered PHC device 0
[    2.911113] PPP generic driver version 2.4.2
[    2.915918] usbcore: registered new interface driver kaweth
[    2.921543] pegasus: Pegasus/Pegasus II USB Ethernet driver
[    2.927178] usbcore: registered new interface driver pegasus
[    2.932944] usbcore: registered new interface driver rtl8150
[    2.938659] usbcore: registered new interface driver r8152
[    2.944228] usbcore: registered new interface driver asix
[    2.949673] usbcore: registered new interface driver ax88179_178a
[    2.955835] usbcore: registered new interface driver cdc_ether
[    2.961753] usbcore: registered new interface driver cdc_eem
[    2.967468] usbcore: registered new interface driver smsc95xx
[    2.973277] usbcore: registered new interface driver net1080
[    2.978988] usbcore: registered new interface driver cdc_subset
[    2.984969] usbcore: registered new interface driver zaurus
[    2.990603] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    2.998069] usbcore: registered new interface driver sierra_net
[    3.004072] usbcore: registered new interface driver cdc_ncm
[    3.009777] usbcore: registered new interface driver qmi_wwan
[    3.015588] usbcore: registered new interface driver r8153_ecm
[    3.021543] usbcore: registered new interface driver cdc_acm
[    3.027208] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    3.035328] usbcore: registered new interface driver cdc_wdm
[    3.041077] usbcore: registered new interface driver usb-storage
[    3.047195] usbcore: registered new interface driver usbserial_generic
[    3.053821] usbserial: USB Serial support registered for generic
[    3.059873] usbcore: registered new interface driver cp210x
[    3.065494] usbserial: USB Serial support registered for cp210x
[    3.071488] usbcore: registered new interface driver ftdi_sio
[    3.077264] usbserial: USB Serial support registered for FTDI USB Serial Device
[    3.084640] usbcore: registered new interface driver option
[    3.090240] usbserial: USB Serial support registered for GSM modem (1-port)
[    3.097259] usbcore: registered new interface driver sierra
[    3.102876] usbserial: USB Serial support registered for Sierra USB modem
[    3.109708] usbcore: registered new interface driver usb_serial_simple
[    3.116281] usbserial: USB Serial support registered for carelink
[    3.122426] usbserial: USB Serial support registered for flashloader
[    3.128806] usbserial: USB Serial support registered for funsoft
[    3.134859] usbserial: USB Serial support registered for google
[    3.140830] usbserial: USB Serial support registered for hp4x
[    3.146603] usbserial: USB Serial support registered for kaufmann
[    3.152739] usbserial: USB Serial support registered for libtransistor
[    3.159293] usbserial: USB Serial support registered for moto_modem
[    3.165603] usbserial: USB Serial support registered for motorola_tetra
[    3.172260] usbserial: USB Serial support registered for nokia
[    3.178118] usbserial: USB Serial support registered for novatel_gps
[    3.184515] usbserial: USB Serial support registered for siemens_mpi
[    3.190911] usbserial: USB Serial support registered for suunto
[    3.196856] usbserial: USB Serial support registered for vivopay
[    3.202941] usbserial: USB Serial support registered for zio
[    3.208659] usbcore: registered new interface driver usb_ehset_test
[    3.217822] UDC core: g_cdc: couldn't find an available UDC
[    3.224426] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc/30000000.bus/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
[    3.237650] SPI driver ads7846 has no spi_device_id for ti,tsc2046
[    3.243882] SPI driver ads7846 has no spi_device_id for ti,ads7843
[    3.250067] SPI driver ads7846 has no spi_device_id for ti,ads7845
[    3.256272] SPI driver ads7846 has no spi_device_id for ti,ads7873
[    3.269541] bmic_rtc 3-0011: version: 1.1
[    3.301304] bmic_rtc 3-0011: registered as rtc1
[    3.307772] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc0
[    3.314029] snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    3.323288] i2c_dev: i2c /dev entries driver
[    3.330132] usbcore: registered new interface driver uvcvideo
[    3.342995] bmic_thermal 3-0013: version: 1.0
[    3.349830] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    3.358338] softdog:              soft_reboot_cmd=<not set> soft_active_on_boot=0
[    3.365993] Bluetooth: HCI UART driver ver 2.3
[    3.370461] Bluetooth: HCI UART protocol H4 registered
[    3.375604] Bluetooth: HCI UART protocol BCSP registered
[    3.381464] Bluetooth: HCI UART protocol LL registered
[    3.387003] Bluetooth: HCI UART protocol ATH3K registered
[    3.392479] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    3.398782] Bluetooth: HCI UART protocol Marvell registered
[    3.404452] usbcore: registered new interface driver bcm203x
[    3.410170] usbcore: registered new interface driver btusb
[    3.415732] usbcore: registered new interface driver ath3k
[    3.422613] sdhci: Secure Digital Host Controller Interface driver
[    3.428805] sdhci: Copyright(c) Pierre Ossman
[    3.433194] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.440492] sdhci-esdhc-imx 30b40000.mmc: Got CD GPIO
[    3.445575] sdhci-esdhc-imx 30b40000.mmc: Got WP GPIO
[    3.453373] caam 30900000.crypto: Entropy delay = 3200
[    3.470755] caam 30900000.crypto: Instantiated RNG4 SH0
[    3.481274] sdhci-esdhc-imx 30b60000.mmc: allocated mmc-pwrseq
[    3.482958] caam 30900000.crypto: Instantiated RNG4 SH1
[    3.492762] caam 30900000.crypto: device ID = 0x0a16030000000000 (Era 8)
[    3.499481] caam 30900000.crypto: job rings = 3, qi = 0
[    3.517797] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[    3.525407] Bluetooth: hci0: change remote baud rate command in firmware
[    3.532835] caam algorithms registered in /proc/crypto
[    3.538161] caam 30900000.crypto: caam pkc algorithms registered in /proc/crypto
[    3.545683] caam 30900000.crypto: rng crypto API alg registered prng-caam
[    3.548686] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADMA
[    3.552569] caam 30900000.crypto: registering rng-caam
[    3.566322] Device caam-keygen registered
[    3.594110] caam-snvs 30370000.caam-snvs: ipid matched - 0x3e
[    3.599931] caam-snvs 30370000.caam-snvs: violation handlers armed - non-secure state
[    3.607883] random: crng init done
[    3.612304] usbcore: registered new interface driver usbhid
[    3.617938] usbhid: USB HID core driver
[    3.621961] usbcore: registered new interface driver r8712u
[    3.634063] bmic_adc 3-0012: version: 1.0
[    3.639945]  cs_system_cfg: CoreSight Configuration manager initialised
[    3.642020] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[    3.654576] coresight etm0: ETM 3.5 initialized
[    3.659629] sdhci-esdhc-imx 30b50000.mmc: card claims to support voltages below defined range
[    3.660058] coresight etm1: ETM 3.5 initialized
[    3.676668] usbcore: registered new interface driver snd-usb-audio
[    3.683718] mmc1: new high speed SDIO card at address 0001
[    3.689514] NET: Registered PF_LLC protocol family
[    3.695922] xt_time: kernel timezone is -0000
[    3.700363] IPVS: Registered protocols ()
[    3.704417] IPVS: Connection hash table configured (size=4096, memory=16Kbytes)
[    3.711969] IPVS: ipvs loaded.
[    3.715209] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    3.721290] gre: GRE over IPv4 demultiplexor driver
[    3.726187] ip_gre: GRE over IPv4 tunneling driver
[    3.732531] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    3.739204] Initializing XFRM netlink socket
[    3.744047] NET: Registered PF_INET6 protocol family
[    3.750840] Segment Routing with IPv6
[    3.754543] In-situ OAM (IOAM) with IPv6
[    3.758614] mip6: Mobile IPv6
[    3.762501] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.769681] ip6_gre: GRE over IPv6 tunneling driver
[    3.775245] NET: Registered PF_PACKET protocol family
[    3.779750] mmc2: new DDR MMC card at address 0001
[    3.780342] NET: Registered PF_KEY protocol family
[    3.790180] Bridge firewalling registered
[    3.790537] mmcblk2: mmc2:0001 MMC8GB 3.65 GiB
[    3.794265] can: controller area network core
[    3.803485] NET: Registered PF_CAN protocol family
[    3.805947]  mmcblk2: p1 p2 p3
[    3.808301] can: raw protocol
[    3.808325] can: broadcast manager protocol
[    3.808344] can: netlink gateway - max_hops=1
[    3.821312] mmcblk2boot0: mmc2:0001 MMC8GB 4.00 MiB
[    3.823337] Bluetooth: RFCOMM TTY layer initialized
[    3.829720] mmcblk2boot1: mmc2:0001 MMC8GB 4.00 MiB
[    3.832962] Bluetooth: RFCOMM socket layer initialized
[    3.839742] mmcblk2rpmb: mmc2:0001 MMC8GB 4.00 MiB, chardev (244:0)
[    3.843081] Bluetooth: RFCOMM ver 1.11
[    3.843107] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.843114] Bluetooth: BNEP filters: protocol multicast
[    3.863707] Bluetooth: BNEP socket layer initialized
[    3.868678] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.874623] Bluetooth: HIDP socket layer initialized
[    3.879960] 8021q: 802.1Q VLAN Support v1.8
[    3.884228] lib80211: common routines for IEEE802.11 drivers
[    3.889968] Key type dns_resolver registered
[    3.901167] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 2 mkt segment 1 supported-hw 0x4 0x2
[    3.911074] ThumbEE CPU extension supported.
[    3.915371] Registering SWP/SWPB emulation handler
[    3.920619] Loading compiled-in X.509 certificates
[    3.984430] usb_phy_generic usbphynop3: supply vcc not found, using dummy regulator
[    3.992773] usb_phy_generic usbphynop3: dummy supplies not allowed for exclusive requests
[    4.005006] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    4.009925] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    4.040350] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    4.046160] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    4.054475] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.061726] usb usb1: Product: EHCI Host Controller
[    4.066610] usb usb1: Manufacturer: Linux 6.1.55-at1 ehci_hcd
[    4.072541] usb usb1: SerialNumber: ci_hdrc.0
[    4.077646] hub 1-0:1.0: USB hub found
[    4.081512] hub 1-0:1.0: 1 port detected
[    4.087196] imx_usb 30b20000.usb: No over current polarity defined
[    4.096619] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    4.101611] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    4.130350] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    4.135958] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    4.144427] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.151677] usb usb2: Product: EHCI Host Controller
[    4.156561] usb usb2: Manufacturer: Linux 6.1.55-at1 ehci_hcd
[    4.162327] usb usb2: SerialNumber: ci_hdrc.1
[    4.167411] hub 2-0:1.0: USB hub found
[    4.171450] hub 2-0:1.0: 1 port detected
[    4.177597] imx_thermal 30360000.anatop:tempmon: Extended Commercial CPU temperature grade - max:105C critical:100C passive:95C
[    4.190947] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    4.198536] input: gpio-wakeup as /devices/platform/gpio-wakeup/input/input2
[    4.211976] bmic_poweroff 3-0018: version: 1.0
[    4.222798] bmic_poweroff 3-0018: overrided pm_power_off function
[    4.229410] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.247160] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.256693] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[    4.269750] [dhd] _dhd_module_init: in Dongle Host Driver, version 101.10.361.37_S6 (wlan=r892223-20240110-2)
[    4.269750] ./drivers/net/wireless/bcmdhd compiled on Feb 27 2024 at 15:55:01
[    4.269750]
[    4.289319] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[    4.290351] [dhd] STATIC-MSG) dhd_static_buf_init : 101.10.361.36 (wlan=r892223-20231107-1)
[    4.304071] wlcore: WARNING Detected unconfigured mac address in nvs, derive from fuse instead.
[    4.304223] [dhd] STATIC-MSG) dhd_init_wlan_mem : prealloc ok for index 0: 2351104(2296K)
[    4.313056] wlcore: WARNING This default nvs file can be removed from the file system
[    4.321225] [dhd] STATIC-MSG) dhd_static_buf_exit : Enter
[    4.331785] wlcore: loaded
[    4.335021] ALSA device list:
[    4.339923]   No soundcards found.
[    4.343432] Warning: unable to open an initial console.
[    4.354377] Freeing unused kernel image (initmem) memory: 4096K
[    4.380715] Run /init as init process
[    4.398788] process '/bin/mount' started with executable stack
[    4.468406] systemd-udevd[212]: starting version 215
[    5.643335] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Quota mode: none.
[    5.692050] /dev/mmcblk2p2: Can't open blockdev
[    6.010044] systemd[1]: System time before build time, advancing clock.
[    6.059496] systemd[1]: systemd 252.22-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    6.092526] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 12 (bookworm)!

[    6.132668] systemd[1]: Hostname set to <armadillo>.
[    7.125362] systemd[1]: Queued start job for default target graphical.target.
[    7.186886] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[  OK  ] Created slice system-getty.slice - Slice /system/getty.
[    7.233536] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[  OK  ] Created slice system-modpr…lice - Slice /system/modprobe.
[    7.273324] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[  OK  ] Created slice system-seria… - Slice /system/serial-getty.
[    7.312411] systemd[1]: Created slice user.slice - User and Session Slice.
[  OK  ] Created slice user.slice - User and Session Slice.
[    7.351081] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started systemd-ask-passwo…quests to Console Directory Watch.
[    7.390950] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[  OK  ] Started systemd-ask-passwo… Requests to Wall Directory Watch.
[    7.431700] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount proc-sys-…rmats File System Automount Point.
[    7.470688] systemd[1]: Expecting device dev-license.device - /dev/license...
         Expecting device dev-license.device - /dev/license...
[    7.510571] systemd[1]: Expecting device dev-ttymxc4.device - /dev/ttymxc4...
         Expecting device dev-ttymxc4.device - /dev/ttymxc4...
[    7.550635] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[  OK  ] Reached target cryptsetup.…get - Local Encrypted Volumes.
[    7.590755] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[  OK  ] Reached target integrityse…Local Integrity Protected Volumes.
[    7.630819] systemd[1]: Reached target paths.target - Path Units.
[  OK  ] Reached target paths.target - Path Units.
[    7.670669] systemd[1]: Reached target remote-fs.target - Remote File Systems.
[  OK  ] Reached target remote-fs.target - Remote File Systems.
[    7.710544] systemd[1]: Reached target slices.target - Slice Units.
[  OK  ] Reached target slices.target - Slice Units.
[    7.750677] systemd[1]: Reached target swap.target - Swaps.
[  OK  ] Reached target swap.target - Swaps.
[    7.790795] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[  OK  ] Reached target veritysetup… - Local Verity Protected Volumes.
[    7.831709] systemd[1]: Listening on syslog.socket - Syslog Socket.
[  OK  ] Listening on syslog.socket - Syslog Socket.
[    7.871103] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[  OK  ] Listening on systemd-initc… initctl Compatibility Named Pipe.
[    7.924274] systemd[1]: systemd-journald-audit.socket - Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit).
[    7.939195] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[  OK  ] Listening on systemd-journ…t - Journal Socket (/dev/log).
[    7.981592] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[  OK  ] Listening on systemd-journald.socket - Journal Socket.
[    8.025358] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[  OK  ] Listening on systemd-udevd….socket - udev Control Socket.
[    8.061461] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[  OK  ] Listening on systemd-udevd…l.socket - udev Kernel Socket.
[    8.101550] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    8.170907] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
         Mounting dev-mqueue.mount…POSIX Message Queue File System...
[    8.217427] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
         Mounting sys-kernel-debug.… - Kernel Debug File System...
[    8.261264] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[    8.277909] systemd[1]: kmod-static-nodes.service - Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/6.1.55-at1/modules.devname).
[    8.341225] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
         Starting modprobe@configfs…m - Load Kernel Module configfs...
[    8.387665] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
         Starting modprobe@dm_mod.s…[0m - Load Kernel Module dm_mod...
[    8.481249] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
         Starting modprobe@drm.service - Load Kernel Module drm...
[    8.527765] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
         Starting modprobe@efi_psto…- Load Kernel Module efi_pstore...
[    8.577706] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
         Starting modprobe@fuse.ser…e - Load Kernel Module fuse...
[    8.627775] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
         Starting modprobe@loop.ser…e - Load Kernel Module loop...
[    8.681978] systemd[1]: Starting systemd-journald.service - Journal Service...
         Starting systemd-journald.service - Journal Service...
[    8.771268] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
         Starting systemd-modules-l…rvice - Load Kernel Modules...
[    8.797476] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
         Starting systemd-remount-f…nt Root and Kernel File Systems...
[    8.857473] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
         Starting systemd-udev-trig…[0m - Coldplug All udev Devices...
[    8.926935] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[  OK  ] Mounted dev-mqueue.mount…- POSIX Message Queue File System.
[    8.971517] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[  OK  ] Mounted sys-kernel-debug.m…nt - Kernel Debug File System.
[    8.993181] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    9.012716] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[  OK  ] Finished modprobe@configfs…[0m - Load Kernel Module configfs.
[    9.064725] systemd[1]: Started systemd-journald.service - Journal Service.
[  OK  ] Started systemd-journald.service - Journal Service.
[  OK  ] Finished modprobe@dm_mod.s…e - Load Kernel Module dm_mod.
[  OK  ] Finished modprobe@drm.service - Load Kernel Module drm.
[  OK  ] Finished modprobe@efi_psto…m - Load Kernel Module efi_pstore.
[  OK  ] Finished modprobe@fuse.service - Load Kernel Module fuse.
[  OK  ] Finished modprobe@loop.service - Load Kernel Module loop.
[  OK  ] Finished systemd-modules-l…service - Load Kernel Modules.
[  OK  ] Finished systemd-remount-f…ount Root and Kernel File Systems.
         Mounting sys-fs-fuse-conne… - FUSE Control File System...
[    9.420431] usb 2-1: new high-speed USB device number 2 using ci_hdrc
         Mounting sys-kernel-config…ernel Configuration File System...
         Starting systemd-journal-f…h Journal to Persistent Storage...
[    9.526192] systemd-journald[292]: Received client request to flush runtime journal.
         Starting systemd-random-se…ice - Load/Save Random Seed...
         Starting systemd-sysctl.se…ce - Apply Kernel Variables...
         Starting systemd-sysusers.…rvice - Creat[    9.631912] usb 2-1: New USB device found, idVendor=1e2d, idProduct=00a0, bcdDevice= 3.07
e System Users...
[    9.652613] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    9.691171] usb 2-1: Product: GTO
[    9.694537] usb 2-1: Manufacturer: Gemalto
[    9.698672] usb 2-1: SerialNumber: 904775768002
[  OK  ] Mounted sys-fs-fuse-connec…nt - FUSE Control File System.
[    9.734538] cdc_ether 2-1:1.0 usb0: register 'cdc_ether' at usb-ci_hdrc.1-1, CDC Ethernet Device, 02:80:76:75:47:90
[  OK  ] Mounted sys-kernel-config.… Kernel Configuration File System.
[  OK  ] Finished systemd-random-se…rvice - Load/Save Random Seed.
[    9.789133] cdc_acm 2-1:1.2: ttyACM0: USB ACM device
[  OK  ] Finished systemd-journal-f…ush Journal to Persistent Storage.
[  OK  ] Finished systemd-sysctl.service - Apply Kernel Variables.
[  OK  ] Finished systemd-sysusers.service - Create System Users.
         Starting systemd-tmpfiles-…ate Static Device Nodes in /dev...
[  OK  ] Finished systemd-tmpfiles-…reate Static Device Nodes in /dev.
[  OK  ] Reached target local-fs-pr…reparation for Local File Systems.
[  OK  ] Reached target local-fs.target - Local File Systems.
         Starting systemd-binfmt.se…et Up Additional Binary Formats...
         Starting systemd-tmpfiles-… Volatile Files and Directories...
         Starting systemd-udevd.ser…ger for Device Events and Files...
[  OK  ] Finished systemd-udev-trig…e - Coldplug All udev Devices.
[  OK  ] Finished systemd-tmpfiles-…te Volatile Files and Directories.
         Mounting proc-sys-fs-binfm…utable File Formats File System...
         Starting systemd-timesyncd… - Network Time Synchronization...
         Starting systemd-update-ut…rd System Boot/Shutdown in UTMP...
[  OK  ] Mounted proc-sys-fs-binfmt…ecutable File Formats File System.
[  OK  ] Finished systemd-binfmt.se… Set Up Additional Binary Formats.
[  OK  ] Started systemd-udevd.serv…nager for Device Events and Files.
[  OK  ] Finished systemd-update-ut…cord System Boot/Shutdown in UTMP.
[   11.039484] cdc_ether 2-1:1.0 usb1: renamed from usb0
[  OK  ] Started systemd-timesyncd.…0m - Network Time Synchronization.
[  OK  ] Found device dev-license.device - /dev/license.
[  OK  ] Found device dev-ttymxc4.device - /dev/ttymxc4.
[  OK  ] Reached target sysinit.target - System Initialization.
[  OK  ] Started systemd-tmpfiles-c… Cleanup of Temporary Directories.
[  OK  ] Reached target time-set.target - System Time Set.
[  OK  ] Started apt-daily.timer - Daily apt download activities.
[  OK  ] Started apt-daily-upgrade.… apt upgrade and clean activities.
[  OK  ] Started dpkg-db-backup.tim… Daily dpkg database backup timer.
[  OK  ] Started e2scrub_all.timer…etadata Check for All Filesystems.
[  OK  ] Started fstrim.timer - Discard unused blocks once a week.
[  OK  ] Started logrotate.timer - Daily rotation of log files.
[  OK  ] Started man-db.timer - Daily man-db regeneration.
[  OK  ] Reached target timers.target - Timer Units.
[  OK  ] Listening on avahi-daemon.…NS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on dbus.socket…- D-Bus System Message Bus Socket.
[  OK  ] Reached target sockets.target - Socket Units.
         Mounting opt-license.mount - /opt/license...
[  OK  ] Reached target basic.target - Basic System.
[   17.170427] Can't find a SQUASHFS superblock on mtdblock1
         Starting avahi-daemon.serv…e - Avahi mDNS/DNS-SD Stack...
         Starting dbus.service - D-Bus System Message Bus...
         Starting e2scrub_reap.serv…e ext4 Metadata Check Snapshots...
[  OK  ] Finished els31-safe-powero…vice - Power off ELS31 safely.
         Starting lighttpd.service - Lighttpd Daemon...
         Starting loadcpufreq.servi…eeded to enable cpufreq scaling...
         Starting polkit.service - Authorization Manager...
         Starting rsyslog.service - System Logging Service...
         Starting systemd-logind.se…ice - User Login Management...
         Starting ti-uim.service… User Mode Init manager daemons...
[  OK  ] Started dbus.service - D-Bus System Message Bus.
[  OK  ] Started rsyslog.service - System Logging Service.
[FAILED] Failed to mount opt-license.mount - /opt/license.
See 'systemctl status opt-license.mount' for details.
[  OK  ] Started avahi-daemon.service - Avahi mDNS/DNS-SD Stack.
         Starting NetworkManager.service - Network Manager...
         Starting bluetooth.service - Bluetooth service...
         Starting wpa_supplicant.service - WPA supplicant...
[  OK  ] Started polkit.service - Authorization Manager.
         Starting ModemManager.service - Modem Manager...
[  OK  ] Started systemd-logind.service - User Login Management.
[  OK  ] Started wpa_supplicant.service - WPA supplicant.
[  OK  ] Listening on systemd-rfkil…l Switch Status /dev/rfkill Watch.
[  OK  ] Started loadcpufreq.servic… needed to enable cpufreq scaling.
         Starting cpufrequtils.serv…: set CPUFreq kernel parameters...
         Starting systemd-rfkill.se…Load/Save RF Kill Switch Status...
[  OK  ] Started systemd-rfkill.ser…- Load/Save RF Kill Switch Status.
[  OK  ] Started cpufrequtils.servi…SB: set CPUFreq kernel parameters.
[  OK  ] Started NetworkManager.service - Network Manager.
[  OK  ] Reached target network.target - Network.
         Starting connection-recove…ervice - Connection Recover...
         Starting rc-local.service…m - /etc/rc.local Compatibility...
[   22.890529] Bluetooth: MGMT ver 1.22
         Starting systemd-user-sess…vice - Permit User Sessions...
[  OK  ] Started ti-uim.service - User Mode Init manager daemons.
[  OK  ] Started rc-local.service - /etc/rc.local Compatibility.
[  OK  ] Started bluetooth.service - Bluetooth service.
[  OK  ] Finished systemd-user-sess…ervice - Permit User Sessions.
[  OK  ] Started connection-recover.service - Connection Recover.
[  OK  ] Started ModemManager.service - Modem Manager.
[  OK  ] Finished e2scrub_reap.serv…ine ext4 Metadata Check Snapshots.
[  OK  ] Reached target bluetooth.target - Bluetooth Support.
[  OK  ] Started getty@tty1.service - Getty on tty1.
         Starting input-poweroffd.s…m - input event poweroff daemon...
[  OK  ] Started serial-getty@ttymx…ice - Serial Getty on ttymxc4.
[  OK  ] Reached target getty.target - Login Prompts.
         Starting statusled.service - change status LED...
         Starting systemd-hostnamed.service - Hostname Service...
[  OK  ] Started usb3503-reset.service - reset usb3503.
[  OK  ] Started input-poweroffd.se…[0m - input event poweroff daemon.
[  OK  ] Finished statusled.service - change status LED.
[  OK  ] Started systemd-hostnamed.service - Hostname Service.
         Starting NetworkManager-di…nager Script Dispatcher Service...
[  OK  ] Started    24.430642] SMSC LAN8710/LAN8720 30bf0000.ethernet-1:00: attached PHY driver (mii_bus:phy_addr=30bf0000.ethernet-1:00, irq=POLL)
;39mNetworkManager-dis…Manager Script Dispatcher Service.
[  OK  ] Started lighttpd.service - Lighttpd Daemon.
[  OK  ] Reached target multi-user.target - Multi-User System.
[  OK  ] Reached target graphical.target - Graphical Interface.
         Starting systemd-update-ut… Record Runlevel Change in UTMP...
[  OK  ] Finished systemd-update-ut… - Record Runlevel Change in UTMP.
[   25.260620] wlcore: PHY firmware version: Rev 8.2.0.0.245
[   25.383751] wlcore: firmware booted (Rev 8.9.0.0.88)

Debian GNU/Linux 12 armadillo ttymxc4

armadillo login:

図5.2 起動ログ


5.2. ログイン

5.2.1. 新しいパスワードの準備

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

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

表5.1 パスワードに設定可能な値

項目範囲
大文字のアルファベットA~Z
小文字のアルファベットa~z
数字0~9
その他(記号・句読点など)!"#$%&‘()*+,–./:;<=>?@[\]^_`{|}~

表5.1「パスワードに設定可能な値」の中から、4つの項目を全て含めた場合は、6文字以上でなければパスワードの安全性が低いためエラーとなります。 項目が3つの場合は7文字以上。項目が2つの場合は8文字以上。項目が1つの場合は9文字以上のパスワードを設定して下さい。 また、"ABCDEDCBA"など左右対称のパスワードはエラーとなるため使用しないで下さい。

[ティップ]

パスワードを自動生成するpwgenコマンドがあります。作業用 PCにpwgenをインストールして、9桁のパスワードを生成する例を次に示します。

[PC ~]$ sudo apt-get install pwgen
[PC ~]$ pwgen -y 9 1
********* # 9桁の値が生成されます。

5.2.2. 初回ログインと新しいパスワードの設定

初めてログインしたときは、パスワードを変更するようにメッセージが表示されます。以下の手順に従って、パスワードを変更してください。

  1. rootでログイン

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

    You are required to change your password immediately (root enforced)
    Changing password for root.
    (current) UNIX password: root # 初期パスワード"root"を入力
    Enter new UNIX password: # 新しいパスワードを入力
    Retype new UNIX password: # 新しいパスワードを再入力
  2. atmarkでログイン

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

    You are required to change your password immediately (root enforced)
    Changing password for atmark.
    (current) UNIX password: atmark # 初期パスワード"atmark"を入力
    Enter new UNIX password: # 新しいパスワードを入力
    Retype new UNIX password: # 新しいパスワードを再入力

Armadillo-IoT G3Lはネットワークに接続されることを前提としている機器です。 セキュリティ強度の高いパスワードに変更され、その後も適切にパスワードを運用されることを強くお勧めします。

5.3. 時刻の設定

Linuxの時刻には、Linuxカーネルが管理するシステムクロックと、RTCが管理するハードウェアクロックの2種類があります。システムクロックが正しく設定されていない場合、SSL通信が行えないなどの問題が発生します。

システムクロックは、dateコマンドを用いて設定します。dateコマンドの引数には、設定する時刻を[MMDDhhmmYYYY.ss]というフォーマットで指定します。時刻フォーマットの各フィールドの意味を次に示します。

表5.2 時刻フォーマットのフィールド

フィールド意味
MM
DD日(月内通算)
hh
mm
YYYY年(省略可)
ss秒(省略可)

2015年6月2日12時34分56秒に設定する例を次に示します。

[armadillo ~]# date 1
Sat Jan  1 09:00:00 JST 2000
[armadillo ~]# date 060212342015.56 2
Tue Jun  2 12:34:56 JST 2015
[armadillo ~]# date 3
Tue Jun  2 12:34:57 JST 2015

1

現在のシステムクロックを表示します。

2

システムクロックを設定します。

3

システムクロックが正しく設定されていることを確認します。

図5.3 システムクロックを設定


[ティップ]

Armadillo-IoTが接続しているネットワーク内にタイムサーバーがある場合は、NTP(Network Time Protocol)クライアントを利用してシステムクロックを設定することができます。

[armadillo ~]# ntpdate [NTP SERVER]
2 Jun 12:34:56 ntpdate[742]: adjust time server x.x.x.x offset 0.004883
 sec
[armadillo ~]# date
Tue Jun  2 12:34:57 JST 2015

5.4. debianのユーザーを管理する

  1. ユーザーを作成

    例としてguestというユーザーを作成します。

    [armadillo ~]# adduser guest
    Adding user `[user_name]' ...
    Adding new group `guest' (1001) ...
    Adding new user `guest' (1001) with group `guest' ...
    Creating home directory `/home/guest' ...
    Copying files from `/etc/skel' ...
    Enter new UNIX password: # パスワードを入力
    Retype new UNIX password: # 再入力
    passwd: password updated successfully
    Changing the user information for guest
    Enter the new value, or press ENTER for the default
            Full Name []: # Enterを入力
            Room Number []: # Enterを入力
            Work Phone []: # Enterを入力
            Home Phone []: # Enterを入力
            Other []: # Enterを入力
    Is the information correct? [Y/n] # Enterを入力
  2. パスワードの変更

    例としてguestユーザーのパスワードを変更します。

    [armadillo ~]# passwd guest
    Enter new UNIX password: # 新しいパスワードを入力
    Retype new UNIX password: # 再入力
  3. sudoを許可する

    例としてguestユーザーにsudoを許可します。viの使い方については、「viエディタの使用方法」を参照にしてください。

    [armadillo ~]# visudo
    ...
    # User privilege specification
    root    ALL=(ALL:ALL) ALL
    guest   ALL=(ALL:ALL) ALL # この行を追加します
    ...
  4. ユーザーを削除

    例としてguestユーザーを削除します。

    [armadillo ~]# userdel guest
    [ティップ]

    ホームディレクトリも合わせて消したいときは、"r"オプションをつけます。

    [armadillo ~]# userdel -r guest

5.5. 終了方法

安全に終了させる場合は、次のようにコマンドを実行し、「Power down」と表示され、ユーザーLED3、ユーザーLED4、ユーザーLED5全てが消灯したことを確認してから電源を切断します。ユーザーLEDの位置については、図7.46「ユーザーLEDの位置」を参照してください

また、SW2を10秒間長押しすることで、終了することも可能です。

[armadillo ~]# poweroff
[  OK  ] Stopped target Graphi
         Stopping Session c1 of user root.
         Unmounting /opt/license...
         Stopping Authorization Manager...
[  OK  ] Stopped target Timers.
[  OK  ] Stopped Daily man-db regeneration.
[  OK  ] Stopped Daily rotation of log files.
[  OK  ] Stopped target Multi-User System.
         Stopping Avahi mDNS/DNS-SD Stack...
[  OK  ] Stopped target Login Prompts.
         Stopping Getty on tty1...
         Stopping Serial Getty on ttymxc4...
         Stopping LSB: exim Mail Transport Agent...
         Stopping Lighttpd Daemon...
(stc): remove_channel_from_table: id 3
(stc): remove_channel_from_table: id 2
(stc): remove_channel_from_table: id 4
(stc):  all chnl_ids unregistered 
         Stopping Bluetooth service...
(stk) :ldisc_install = 0
(stc): st_tty_close [  OK  ] Stopped Daily apt upgrade and clean activities.
[  OK  ] Stopped Daily apt download activities.
         Stopping Regular background program processing daemon...
[  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Stopping Modem Manager...
         Stopping input event poweroff daemon...
         Stopping Connection Recover...
         Stopping System Logging Service...
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
         Stopping LSB: set CPUFreq kernel parameters...
         Stopping User Mode Init manager daemons...
         Stopping Power off ELS31 safely...
[  OK  ] Stopped Regular background program processing daemon.
[  OK  ] Stopped Avahi mDNS/DNS-SD Stack.
[  OK  ] Stopped System Logging Service.
[  OK  ] Stopped Modem Manager.
[  OK  ] Stopped Authorization Manager.
[  OK  ] Stopped Bluetooth service.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped Serial Getty on ttymxc4.
[  OK  ] Stopped Lighttpd Daemon.
[  OK  ] Unmounted /opt/license.
[  OK  ] Stopped input event poweroff daemon.
[  OK  ] Stopped Connection Recover.
[  OK  ] Stopped User Mode Init manager daemons.
[  OK  ] Stopped Session c1 of user root.
[  OK  ] Stopped LSB: exim Mail Transport Agent.
[  OK  ] Stopped LSB: set CPUFreq kernel parameters.
         Stopping LSB: Load kernel …d to enable cpufreq scaling...
[  OK  ] Stopped target System Time Synchronized.
         Stopping User Manager for UID 0...
         Stopping Login Service...
[  OK  ] Removed slice system-serial\x2dgetty.slice.
[  OK  ] Removed slice system-getty.slice.
[  OK  ] Stopped /etc/rc.local Compatibility.
[  OK  ] Stopped target Network is Online.
[  OK  ] Stopped Login Service.
[  OK  ] Stopped User Manager for UID 0.
         Stopping User Runtime Directory /run/user/0...
[  OK  ] Stopped LSB: Load kernel m…ded to enable cpufreq scaling.
[  OK  ] Unmounted /run/user/0.
[  OK  ] Stopped User Runtime Directory /run/user/0.
[  OK  ] Removed slice User Slice of UID 0.
         Stopping Permit User Sessions...
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Network.
         Stopping Network Manager...
         Stopping WPA supplicant...
wlcore: down
[  OK  ] Stopped Network Manager.
[  OK  ] Stopped WPA supplicant.
         Stopping D-Bus System Message Bus...
[  OK  ] Stopped D-Bus System Message Bus.
usb 2-1: USB disconnect, device number 2
cdc_ether 2-1:1.0 usb1: unregister 'cdc_ether' usb-ci_hdrc.1-1, CDC Ethernet Device
[  OK  ] Stopped Power off ELS31 safely.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Slices.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Sockets.
[  OK  ] Closed Syslog Socket.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Stopped target Paths.
[  OK  ] Stopped target System Initialization.
         Stopping Update UTMP about System Boot/Shutdown...
[  OK  ] Stopped target Local Encrypted Volumes.
[  OK  ] Stopped Dispatch Password …ts to Console Directory Watch.
[  OK  ] Stopped Forward Password R…uests to Wall Directory Watch.
[  OK  ] Stopped target Swap.
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Stopped Load Kernel Modules.
         Stopping Network Time Synchronization...
         Stopping Load/Save Random Seed...
[  OK  ] Stopped Network Time Synchronization.
[  OK  ] Stopped Update UTMP about System Boot/Shutdown.
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped target Local File Systems.
[  OK  ] Stopped target Local File Systems (Pre).
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Create System Users.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target Shutdown.
[  OK  ] Reached target Final Step.
         Starting Halt...
systemd-shutdow: 35 output lines suppressed due to ratelimiting
systemd-shutdown[1]: Syncing filesystems and block devices.
systemd-shutdown[1]: Sending SIGTERM to remaining processes...
systemd-journald[288]: Received SIGTERM from PID 1 (systemd-shutdow).
systemd-shutdown[1]: Sending SIGKILL to remaining processes...
systemd-shutdown[1]: Unmounting file systems.
[3418]: Remounting '/' read-only in with options 'data=ordered'.
EXT4-fs (mmcblk2p2): re-mounted. Opts: data=ordered
systemd-shutdown[1]: All filesystems unmounted.
systemd-shutdown[1]: Deactivating swaps.
systemd-shutdown[1]: All swaps deactivated.
systemd-shutdown[1]: Detaching loop devices.
systemd-shutdown[1]: All loop devices detached.
systemd-shutdown[1]: Detaching DM devices.
ci_hdrc ci_hdrc.1: remove, state 4
usb usb2: USB disconnect, device number 1
ci_hdrc ci_hdrc.1: USB bus 2 deregistered
ci_hdrc ci_hdrc.0: remove, state 4
usb usb1: USB disconnect, device number 1
ci_hdrc ci_hdrc.0: USB bus 1 deregistered
imx2-wdt 30280000.wdog: Device shutdown: Expect reboot!
reboot: System halted

図5.4 終了方法


[警告]

ストレージにデータを書き込んでいる途中に電源を切断した場合、ファイルシステム、及び、データが破損する恐れがあります。ストレージをアンマウントしてから電源を切断するようにご注意ください。