1. Overview[edit | edit source]
This step explains how to connect your host Linux® terminal to your host computer through the ST-LINK/V2-1.
It then describes how to execute basic commands with the Linux command line interface in order to order to get familiar with the Linux console.
2. Serial terminal[edit | edit source]
The serial terminal allows communicating with the board through an UART serial interface.
- Install minicom
sudo apt-get install minicom
- Get the ttyACM device instance that needs to be used to access the ST-LINK/V2-1
ls /dev/ttyACM* /dev/ttyACM0
- Connect the minicom to the /dev/ttyACM0 device
minicom -D /dev/ttyACM0 Welcome to minicom 2.7 OPTIONS: I18n Compiled on Nov 15 2018, 20:18:47. Port /dev/ttyACM0, 15:56:03 Press CTRL-A Z for help on special keys
- Press the reset button to reset the board. The boot log should be displayed on the minicom window:
NOTICE: CPU: STM32MP157FAA Rev.Z NOTICE: Model: STMicroelectronics STM32MP157F eval daughter on eval mother NOTICE: Board: MB1263 Var4.0 Rev.C-05 INFO: PMIC version = 0x21 NOTICE: Reset reason (0x14): INFO: Pad Reset from NRST INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe2000 INFO: FCONF: Reading firmware configuration information for: stm32mp_fuse INFO: FCONF: Reading firmware configuration information for: stm32mp_io INFO: Using SDMMC INFO: Instance 1 INFO: Boot used partition fsbl1 NOTICE: BL2: v2.10-stm32mp1-r2.0(debug):lts-v2.10.13-dirty(b1f57509) NOTICE: BL2: Built : 17:10:59, Feb 14 2025 INFO: BL2: Doing platform setup INFO: RAM: DDR3-DDR3L 32bits 533000kHz INFO: Memory size = 0x40000000 (1024 MB) INFO: BL2: Loading image id 1 INFO: Loading image id=1 at address 0x2ffff000 INFO: Image id=1 loaded: 0x2ffff000 - 0x2ffff1ea INFO: FCONF: Reading FW_CONFIG firmware configuration file from: 0x2ffff000 INFO: FCONF: Reading firmware configuration information for: dyn_cfg INFO: FCONF: Reading firmware configuration information for: stm32mp1_firewall INFO: BL2: Loading image id 4 INFO: Loading image id=4 at address 0x2ffc0000 INFO: Image id=4 loaded: 0x2ffc0000 - 0x2ffc002c INFO: OPTEE ep=0x2ffc0000 INFO: OPTEE header info: INFO: magic=0x4554504f INFO: version=0x2 INFO: arch=0x0 INFO: flags=0x0 INFO: nb_images=0x2 INFO: BL2: Loading image id 8 INFO: Loading image id=8 at address 0x2ffc0000 INFO: Image id=8 loaded: 0x2ffc0000 - 0x2ffd2b00 INFO: BL2: Loading image id 9 INFO: Loading image id=9 at address 0xfe000000 INFO: Image id=9 loaded: 0xfe000000 - 0xfe06e000 INFO: BL2: Loading image id 2 INFO: Loading image id=2 at address 0xc0500000 INFO: Image id=2 loaded: 0xc0500000 - 0xc0523750 INFO: BL2: Skip loading image id 16 INFO: BL2: Loading image id 5 INFO: Loading image id=5 at address 0xc0100000 INFO: Image id=5 loaded: 0xc0100000 - 0xc021e570 NOTICE: BL2: Booting BL32 INFO: Entry point address = 0x2ffc0000 INFO: SPSR = 0x1d3 I/TC: Early console on UART#4 I/TC: I/TC: Pager is enabled. Hashes: 3616 bytes I/TC: Pager pool size: 96kB I/TC: Embedded DTB found I/TC: OP-TEE version: 4.0.0-dev (gcc version 13.3.0 (GCC)) #1 Fri Oct 20 18:29:31 UTC 2023 arm I/TC: WARNING: This OP-TEE configuration might be insecure! I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html I/TC: Primary CPU initializing I/TC: Override the OTP 18: 0x7c000000 to 0x7c0001e0 I/TC: WARNING: Embeds insecure stm32mp_provisioning driver I/TC: Platform stm32mp1: flavor PLATFORM_FLAVOR - DT stm32mp157f-ev1.dts I/TC: OP-TEE ST profile: secure_and_system_services I/TC: HUK unlocked I/TC: Primary CPU switching to normal world boot I/TC: Reserved shared memory is disabled I/TC: Dynamic shared memory is enabled I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled optee optee: OP-TEE: revision 4.0 (2a5b1d12) U-Boot 2023.10-stm32mp-r2 (Oct 02 2023 - 14:39:59 +0000) CPU: STM32MP157FAA Rev.Z Model: STMicroelectronics STM32MP157F eval daughter on eval mother Board: stm32mp1 in trusted mode (st,stm32mp157f-ev1) Board: MB1263 Var4.0 Rev.C-05 DRAM: 1 GiB optee optee: OP-TEE: revision 4.0 (2a5b1d12) I/TC: Reserved shared memory is disabled I/TC: Dynamic shared memory is enabled I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled Clocks: - MPU : 650 MHz - MCU : 208.878 MHz - AXI : 266.500 MHz - PER : 24 MHz - DDR : 533 MHz Core: 398 devices, 47 uclasses, devicetree: board WDT: Started watchdog with servicing every 1000ms (32s timeout) NAND: 1024 MiB MMC: STM32 SD/MMC: 0, STM32 SD/MMC: 1 Loading Environment from MMC... OK In: serial Out: serial Err: serial stmfx stmfx@42: STMFX id: 0x7b, fw version: 3.03 Net: eth0: ethernet@5800a000 No EFI system partition No EFI system partition Failed to persist EFI variables Hit any key to stop autoboot: 0 Boot over mmc0! switch to partitions #0, OK mmc0 is current device Scanning mmc 0:8... Found /mmc0_extlinux/stm32mp157f-ev1_extlinux.conf Retrieving file: /mmc0_extlinux/stm32mp157f-ev1_extlinux.conf Retrieving file: /splash_portrait.bmp Select the boot mode 1: OpenSTLinux 2: stm32mp157f-ev1-a7-examples 3: stm32mp157f-ev1-m4-examples Enter choice: 1: OpenSTLinux Retrieving file: /uImage Retrieving file: /st-image-resize-initrd append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200 Retrieving file: /stm32mp157f-ev1.dtb ## Booting kernel from Legacy Image at c2000000 ... Image Name: Linux-6.6.78 Created: 2025-02-17 8:40:43 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 8788016 Bytes = 8.4 MiB Load Address: c2000040 Entry Point: c2000040 Verifying Checksum ... OK ## Flattened Device Tree blob at c6000000 Booting using the fdt blob at 0xc6000000 Working FDT set to c6000000 XIP Kernel Image Loading Ramdisk to cf9ce000, end cffff418 ... OK Loading Device Tree to cf9a8000, end cf9cd8bc ... OK Working FDT set to cf9a8000 Starting kernel ... I/TC: Secondary CI/TC: Secondary CPU 1 switching to normal world boot I/TC: Reserved shared memory is disabled I/TC: Dynamic shared memory is enabled I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 6.6.78 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Mon Feb 17 08:40:43 UTC 2025 [ 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: STMicroelectronics STM32MP157F eval daughter on eval mother [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Reserved memory: created CMA memory pool at 0xf5000000, size 128 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0xf5000000..0xfcffffff (131072 KiB) map reusable linux,cma [ 0.000000] Reserved memory: created DMA memory pool at 0x10000000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node mcuram2@10000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x10000000..0x1003ffff (256 KiB) nomap non-reusable mcuram2@10000000 [ 0.000000] Reserved memory: created DMA memory pool at 0x10040000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node vdev0vring0@10040000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x10040000..0x10040fff (4 KiB) nomap non-reusable vdev0vring0@10040000 [ 0.000000] Reserved memory: created DMA memory pool at 0x10041000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node vdev0vring1@10041000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x10041000..0x10041fff (4 KiB) nomap non-reusable vdev0vring1@10041000 [ 0.000000] Reserved memory: created DMA memory pool at 0x10042000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node vdev0buffer@10042000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x10042000..0x10045fff (16 KiB) nomap non-reusable vdev0buffer@10042000 [ 0.000000] Reserved memory: created DMA memory pool at 0x10048000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node mcu-rsc-table@10048000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x10048000..0x1004ffff (32 KiB) nomap non-reusable mcu-rsc-table@10048000 [ 0.000000] Reserved memory: created DMA memory pool at 0x30000000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node mcuram@30000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x30000000..0x3003ffff (256 KiB) nomap non-reusable mcuram@30000000 [ 0.000000] Reserved memory: created DMA memory pool at 0x38000000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node retram@38000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x38000000..0x3800ffff (64 KiB) nomap non-reusable retram@38000000 [ 0.000000] OF: reserved mem: 0xe8000000..0xefffffff (131072 KiB) nomap non-reusable gpu@e8000000 [ 0.000000] OF: reserved mem: 0xfdc00000..0xfdfeffff (4032 KiB) nomap non-reusable framebuffer@fdc00000 [ 0.000000] OF: reserved mem: 0xfe000000..0xffffffff (32768 KiB) nomap non-reusable optee@fe000000 [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000c0000000-0x00000000e7ffffff] [ 0.000000] HighMem [mem 0x00000000e8000000-0x00000000ffffefff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000c0000000-0x00000000e7ffffff] [ 0.000000] node 0: [mem 0x00000000e8000000-0x00000000efffffff] [ 0.000000] node 0: [mem 0x00000000f0000000-0x00000000fdbfffff] [ 0.000000] node 0: [mem 0x00000000fdc00000-0x00000000fdfeffff] [ 0.000000] node 0: [mem 0x00000000fdff0000-0x00000000fdffffff] [ 0.000000] node 0: [mem 0x00000000fe000000-0x00000000ffffefff] [ 0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000ffffefff] [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.1 [ 0.000000] percpu: Embedded 18 pages/cpu s42964 r8192 d22572 u73728 [ 0.000000] Kernel command line: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200 [ 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] Built 1 zonelists, mobility grouping on. Total pages: 260703 [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.000000] Memory: 711400K/1048572K available (13312K kernel code, 1453K rwdata, 4104K rodata, 1024K init, 233K bss, 206100K reserved, 131072K cma-reserved, 94272K 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] 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] 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 24.00MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000024] Switching to timer-based delay loop, resolution 41ns [ 0.003068] Console: colour dummy device 80x30 [ 0.003144] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.003170] CPU: Testing write buffer coherency: ok [ 0.003245] pid_max: default: 32768 minimum: 301 [ 0.003546] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.003576] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.005324] /cpus/cpu@0 missing clock-frequency property [ 0.005385] /cpus/cpu@1 missing clock-frequency property [ 0.005408] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.007804] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2. [ 0.008067] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2. [ 0.008364] Setting up static identity map for 0xc0100000 - 0xc0100060 [ 0.008670] rcu: Hierarchical SRCU implementation. [ 0.008682] rcu: Max phase no-delay instances is 1000. [ 0.010977] smp: Bringing up secondary CPUs ... [ 0.018836] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.019128] smp: Brought up 1 node, 2 CPUs [ 0.019150] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.019162] CPU: All CPU(s) started in SVC mode. [ 0.020413] devtmpfs: initialized [ 0.079035] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.079542] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.079661] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.086473] pinctrl core: initialized pinctrl subsystem [ 0.089431] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.094637] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.097056] thermal_sys: Registered thermal governor 'step_wise' [ 0.097213] cpuidle: using governor menu [ 0.097775] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.097802] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.098446] Serial: AMBA PL011 UART driver [ 0.103873] stm32-pm-domain pm_domain: domain core-ret-power-domain registered [ 0.103915] stm32-pm-domain pm_domain: subdomain core-power-domain registered [ 0.103929] stm32-pm-domain pm_domain: domains probed [ 0.142270] /soc/display-controller@5a001000: Fixed dependency cycle(s) with /soc/dsi@5a000000 [ 0.142617] /soc/bus@5c007000/i2c@40013000/wm8994@1b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024 [ 0.142690] /soc/bus@5c007000/i2c@40013000/wm8994@1b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004 [ 0.142806] /soc/bus@5c007000/i2c@40013000/camera@3c: Fixed dependency cycle(s) with /soc/bus@5c007000/dcmi@4c006000 [ 0.143109] /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/wm8994@1b [ 0.143208] /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/wm8994@1b [ 0.143293] /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004 [ 0.143655] /soc/bus@5c007000/dcmi@4c006000: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/camera@3c [ 0.144327] /soc/dsi@5a000000: Fixed dependency cycle(s) with /soc/dsi@5a000000/panel@0 [ 0.144373] /soc/dsi@5a000000: Fixed dependency cycle(s) with /soc/display-controller@5a001000 [ 0.144448] /soc/dsi@5a000000/panel@0: Fixed dependency cycle(s) with /soc/dsi@5a000000 [ 0.156297] /soc/display-controller@5a001000: Fixed dependency cycle(s) with /soc/dsi@5a000000 [ 0.159021] /soc/bus@5c007000/i2c@40013000/wm8994@1b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024 [ 0.159105] /soc/bus@5c007000/i2c@40013000/wm8994@1b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004 [ 0.159226] /soc/bus@5c007000/i2c@40013000/camera@3c: Fixed dependency cycle(s) with /soc/bus@5c007000/dcmi@4c006000 [ 0.159562] /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/wm8994@1b [ 0.159656] /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/wm8994@1b [ 0.159738] /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004 [ 0.160318] /soc/bus@5c007000/dcmi@4c006000: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/camera@3c [ 0.164083] /soc/bus@5c007000/i2c@40013000/wm8994@1b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024 [ 0.164167] /soc/bus@5c007000/i2c@40013000/wm8994@1b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004 [ 0.164287] /soc/bus@5c007000/i2c@40013000/camera@3c: Fixed dependency cycle(s) with /soc/bus@5c007000/dcmi@4c006000 [ 0.166707] /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/wm8994@1b [ 0.166862] /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/wm8994@1b [ 0.166996] /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004 [ 0.171058] /soc/bus@5c007000/i2c@40013000/camera@3c: Fixed dependency cycle(s) with /soc/bus@5c007000/dcmi@4c006000 [ 0.171315] /soc/bus@5c007000/dcmi@4c006000: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/camera@3c [ 0.179026] /soc/display-controller@5a001000: Fixed dependency cycle(s) with /soc/dsi@5a000000 [ 0.179268] /soc/dsi@5a000000: Fixed dependency cycle(s) with /soc/dsi@5a000000/panel@0 [ 0.179318] /soc/dsi@5a000000: Fixed dependency cycle(s) with /soc/display-controller@5a001000 [ 0.179805] /soc/dsi@5a000000/panel@0: Fixed dependency cycle(s) with /soc/dsi@5a000000 [ 0.183109] /soc/bus@5c007000/dfsdm@4400d000/filter@0/dfsdm-dai: Fixed dependency cycle(s) with /dmic-0 [ 0.183450] /dmic-0: Fixed dependency cycle(s) with /soc/bus@5c007000/dfsdm@4400d000/filter@0/dfsdm-dai [ 0.184032] /soc/bus@5c007000/dfsdm@4400d000/filter@1/dfsdm-dai: Fixed dependency cycle(s) with /dmic-1 [ 0.184384] /dmic-1: Fixed dependency cycle(s) with /soc/bus@5c007000/dfsdm@4400d000/filter@1/dfsdm-dai [ 0.184919] /soc/bus@5c007000/dfsdm@4400d000/filter@2/dfsdm-dai: Fixed dependency cycle(s) with /dmic-2 [ 0.185276] /dmic-2: Fixed dependency cycle(s) with /soc/bus@5c007000/dfsdm@4400d000/filter@2/dfsdm-dai [ 0.185812] /soc/bus@5c007000/dfsdm@4400d000/filter@3/dfsdm-dai: Fixed dependency cycle(s) with /dmic-3 [ 0.186137] /dmic-3: Fixed dependency cycle(s) with /soc/bus@5c007000/dfsdm@4400d000/filter@3/dfsdm-dai [ 0.188298] /soc/bus@5c007000/audio-controller@4000d000: Fixed dependency cycle(s) with /spdif-in [ 0.188525] /spdif-in: Fixed dependency cycle(s) with /soc/bus@5c007000/audio-controller@4000d000 [ 0.189162] /soc/bus@5c007000/sai@50027000/audio-controller@50027004: Fixed dependency cycle(s) with /spdif-out [ 0.189402] /spdif-out: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@50027000/audio-controller@50027004 [ 0.190467] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible. [ 0.199827] SCSI subsystem initialized [ 0.201628] usbcore: registered new interface driver usbfs [ 0.201794] usbcore: registered new interface driver hub [ 0.201886] usbcore: registered new device driver usb [ 0.202617] pps_core: LinuxPPS API ver. 1 registered [ 0.202631] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.202666] PTP clock support registered [ 0.203102] EDAC MC: Ver: 3.0.0 [ 0.204486] scmi_core: SCMI protocol bus registered [ 0.208552] clocksource: Switched to clocksource arch_sys_counter [ 2.242260] NET: Registered PF_INET protocol family [ 2.242759] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 2.246514] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 2.246571] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 2.246597] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 2.246842] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) [ 2.247161] TCP: Hash tables configured (established 8192 bind 8192) [ 2.247372] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 2.247461] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 2.247919] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 2.249097] RPC: Registered named UNIX socket transport module. [ 2.249120] RPC: Registered udp transport module. [ 2.249128] RPC: Registered tcp transport module. [ 2.249134] RPC: Registered tcp-with-tls transport module. [ 2.249141] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.249640] Trying to unpack rootfs image as initramfs... [ 2.258772] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available [ 2.262268] Initialise system trusted keyrings [ 2.262987] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [ 2.263643] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 2.264464] NFS: Registering the id_resolver key type [ 2.264596] Key type id_resolver registered [ 2.264607] Key type id_legacy registered [ 2.264670] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 2.264684] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 2.264779] ntfs: driver 2.1.32 [Flags: R/O]. [ 2.264847] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 2.265480] fuse: init (API version 7.39) [ 2.266357] NET: Registered PF_ALG protocol family [ 2.266388] Key type asymmetric registered [ 2.266398] Asymmetric key parser 'x509' registered [ 2.266582] bounce: pool size: 64 pages [ 2.266679] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 2.266696] io scheduler mq-deadline registered [ 2.266707] io scheduler kyber registered [ 2.266785] io scheduler bfq registered [ 2.267372] /soc/interrupt-controller@5000d000: bank0 [ 2.267418] /soc/interrupt-controller@5000d000: bank1 [ 2.267440] /soc/interrupt-controller@5000d000: bank2 [ 2.269145] Registering stm32-etzpc firewall controller [ 2.289465] STM32 USART driver initialized [ 2.322979] brd: module loaded [ 2.337066] loop: module loaded [ 2.350191] CAN device driver interface [ 2.353855] pegasus: Pegasus/Pegasus II USB Ethernet driver [ 2.353974] usbcore: registered new interface driver pegasus [ 2.354067] usbcore: registered new interface driver asix [ 2.354138] usbcore: registered new interface driver ax88179_178a [ 2.354209] usbcore: registered new interface driver cdc_ether [ 2.354276] usbcore: registered new interface driver smsc75xx [ 2.354345] usbcore: registered new interface driver smsc95xx [ 2.354413] usbcore: registered new interface driver net1080 [ 2.354496] usbcore: registered new interface driver cdc_subset [ 2.354565] usbcore: registered new interface driver zaurus [ 2.354665] usbcore: registered new interface driver cdc_ncm [ 2.357834] usbcore: registered new interface driver usb-storage [ 2.358302] usbcore: registered new device driver onboard-usb-hub [ 2.364709] i2c_dev: i2c /dev entries driver [ 2.371086] arm_smc_wdt watchdog: Watchdog registered (timeout=32 sec, nowayout=0) [ 2.374487] sdhci: Secure Digital Host Controller Interface driver [ 2.374511] sdhci: Copyright(c) Pierre Ossman [ 2.374519] Synopsys Designware Multimedia Card Interface Driver [ 2.375346] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.377121] ledtrig-cpu: registered to indicate activity on CPUs [ 2.378444] usbcore: registered new interface driver usbhid [ 2.378466] usbhid: USB HID core driver [ 2.384968] optee: probing for conduit method. [ 2.385004] optee: revision 4.0 (2a5b1d12) [ 2.401952] optee: dynamic shared memory is enabled [ 2.404158] random: crng init done [ 2.404720] optee: initialized driver [ 2.407766] NET: Registered PF_PACKET protocol family [ 2.407796] can: controller area network core [ 2.407917] NET: Registered PF_CAN protocol family [ 2.407935] can: raw protocol [ 2.407949] can: broadcast manager protocol [ 2.407967] can: netlink gateway - max_hops=1 [ 2.409413] Key type dns_resolver registered [ 2.409691] ThumbEE CPU extension supported. [ 2.409720] Registering SWP/SWPB emulation handler [ 2.432963] registered taskstats version 1 [ 2.433219] Loading compiled-in X.509 certificates [ 2.469853] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16 [ 2.470245] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled. [ 2.470765] arm-scmi firmware:scmi: SCMI Protocol v2.0 'ST:' Firmware version 0x0 [ 2.527868] stm32-dma 48000000.dma-controller: STM32 DMA driver registered [ 2.531529] stm32-dma 48001000.dma-controller: STM32 DMA driver registered [ 2.537175] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered [ 2.543669] [drm] Initialized simpledrm 1.0.0 20200625 for fdc00000.framebuffer on minor 0 [ 2.548824] stm32_rtc 5c004000.rtc: registered as rtc0 [ 2.548884] stm32_rtc 5c004000.rtc: setting system clock to 2000-01-01T00:18:56 UTC (946685936) [ 2.549470] stm32_rtc 5c004000.rtc: Date/Time must be initialized [ 2.549493] stm32_rtc 5c004000.rtc: registered rev:1.2 [ 2.554180] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfully [ 2.567959] stm32-ipcc 4c001000.mailbox: ipcc rev:1.0 enabled, 6 chans, proc 0 [ 2.571391] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOA bank added [ 2.572371] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOB bank added [ 2.573347] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOC bank added [ 2.574629] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOD bank added [ 2.575672] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOE bank added [ 2.577050] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOF bank added [ 2.578245] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOG bank added [ 2.579445] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOH bank added [ 2.580774] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOI bank added [ 2.581902] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOJ bank added [ 2.582978] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOK bank added [ 2.583514] stm32mp157-pinctrl soc:pinctrl@50002000: Pinctrl STM32 initialized [ 2.599211] stm32mp157-pinctrl soc:pinctrl@54004000: GPIOZ bank added [ 2.599269] stm32mp157-pinctrl soc:pinctrl@54004000: Pinctrl STM32 initialized [ 2.602460] stm32-usart 40010000.serial: interrupt mode for rx (no dma) [ 2.602488] stm32-usart 40010000.serial: interrupt mode for tx (no dma) [ 2.602999] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 52, base_baud = 4000000) is a stm32-usart [ 2.603073] printk: console [ttySTM0] enabled [ 2.933180] Freeing initrd memory: 6344K [ 2.973445] spi-nor spi0.0: mx66l51235f (65536 Kbytes) [ 4.488104] 8 fixed-partitions partitions found on MTD device spi0.0 [ 4.494285] Creating 8 MTD partitions on "spi0.0": [ 4.499125] 0x000000000000-0x000000040000 : "fsbl1" [ 4.507576] 0x000000040000-0x000000080000 : "fsbl2" [ 4.513994] 0x000000080000-0x0000000c0000 : "metadata1" [ 4.520793] 0x0000000c0000-0x000000100000 : "metadata2" [ 4.527407] 0x000000100000-0x000000500000 : "fip-a" [ 4.533740] 0x000000500000-0x000000900000 : "fip-b" [ 4.540116] 0x000000900000-0x000000980000 : "u-boot-env" [ 4.546935] 0x000000980000-0x000004000000 : "nor-user" [ 4.554829] spi-nor spi0.1: mx66l51235f (65536 Kbytes) [ 4.564671] m_can_platform 4400e000.can: m_can device registered (irq=54, version=32) [ 4.573742] stm32-dwmac 5800a000.ethernet: IRQ eth_lpi not found [ 4.579964] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42 [ 4.585565] stm32-dwmac 5800a000.ethernet: DWMAC4/5 [ 4.590568] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported [ 4.597834] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported [ 4.605124] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported [ 4.612005] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported [ 4.618417] stm32-dwmac 5800a000.ethernet: TSO supported [ 4.623598] stm32-dwmac 5800a000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 4.631392] stm32-dwmac 5800a000.ethernet: Enabled L3L4 Flow TC (entries=2) [ 4.638354] stm32-dwmac 5800a000.ethernet: Enabled RFS Flow TC (entries=10) [ 4.645250] stm32-dwmac 5800a000.ethernet: TSO feature enabled [ 4.651125] stm32-dwmac 5800a000.ethernet: Using 32/32 bits DMA host/device width [ 4.694395] /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/wm8994@1b [ 4.706101] /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/wm8994@1b [ 4.718493] /soc/bus@5c007000/i2c@40013000/wm8994@1b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024 [ 4.731213] /soc/bus@5c007000/i2c@40013000/wm8994@1b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004 [ 4.744509] /soc/bus@5c007000/dcmi@4c006000: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/camera@3c [ 4.754550] /soc/bus@5c007000/i2c@40013000/camera@3c: Fixed dependency cycle(s) with /soc/bus@5c007000/dcmi@4c006000 [ 4.766492] stm32f7-i2c 40013000.i2c: STM32F7 I2C-0 bus adapter [ 4.793647] stm32f7-i2c 40015000.i2c: STM32F7 I2C-1 bus adapter [ 4.825212] stpmic1 2-0033: PMIC Chip Version: 0x21 [ 4.831722] /soc/bus@5c007000/i2c@5c002000/stpmic@33/regulators: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@5c002000/stpmic@33/regulators/boost [ 4.844198] /soc/bus@5c007000/i2c@5c002000/stpmic@33/regulators: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@5c002000/stpmic@33/regulators/buck2 [ 4.857911] /soc/bus@5c007000/i2c@5c002000/stpmic@33/regulators: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@5c002000/stpmic@33/regulators/buck4 [ 4.874609] stm32f7-i2c 5c002000.i2c: STM32F7 I2C-2 bus adapter [ 4.889153] stm32-rproc 10000000.m4: wdg irq registered [ 4.893821] remoteproc remoteproc0: m4 is available [ 4.903195] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xd3 [ 4.908189] nand: Micron MT29F8G08ABACAH4 [ 4.912243] nand: 1024 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 224 [ 4.920687] Bad block table found at page 262080, version 0x01 [ 4.926413] Bad block table found at page 262016, version 0x01 [ 4.932375] 9 fixed-partitions partitions found on MTD device 80000000.nand-controller [ 4.939590] Creating 9 MTD partitions on "80000000.nand-controller": [ 4.945766] 0x000000000000-0x000000080000 : "fsbl1" [ 4.953406] 0x000000080000-0x000000100000 : "fsbl2" [ 4.960279] 0x000000100000-0x000000180000 : "metadata1" [ 4.967159] 0x000000180000-0x000000200000 : "metadata2" [ 4.973480] 0x000000200000-0x000000600000 : "fip-a1" [ 4.979438] 0x000000600000-0x000000a00000 : "fip-a2" [ 4.985413] 0x000000a00000-0x000000e00000 : "fip-b1" [ 4.991483] 0x000000e00000-0x000001200000 : "fip-b2" [ 4.997418] 0x000001200000-0x000040000000 : "UBI" [ 5.010710] stmfx-core 0-0042: STMFX id: 0x7b, fw version: 3.03 [ 5.041393] stmfx-pinctrl stmfx-pinctrl: DMA mask not set [ 5.049506] stmfx-core 0-0042: Can't set the affinity, set it for irq 74 instead [ 5.055490] genirq: irq_chip stmfx-core did not update eff. affinity mask of irq 75 [ 5.063660] stmfx-pinctrl stmfx-pinctrl: 24 GPIOs available [ 5.076290] input: pmic_onkey as /devices/platform/soc/5c007000.bus/5c002000.i2c/i2c-2/2-0033/5c002000.i2c:stpmic@33:onkey/input/input0 [ 5.095749] mmci-pl18x 58005000.mmc: Got CD GPIO [ 5.102334] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0 [ 5.104597] mmci-pl18x 58005000.mmc: mmc0: PL180 manf 53 rev2 at 0x58005000 irq 85,0 (pio) [ 5.108944] /soc/dsi@5a000000: Fixed dependency cycle(s) with /soc/dsi@5a000000/panel@0 [ 5.115387] mmci-pl18x 58007000.mmc: mmc1: PL180 manf 53 rev2 at 0x58007000 irq 86,0 (pio) [ 5.123599] /soc/dsi@5a000000/panel@0: Fixed dependency cycle(s) with /soc/dsi@5a000000 [ 5.234876] mmc0: new ultra high speed DDR50 SDHC card at address aaaa [ 5.241661] mmcblk0: mmc0:aaaa SC16G 14.8 GiB [ 5.256968] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 [ 5.285517] mmc1: new DDR MMC card at address 0001 [ 5.290662] mmcblk1: mmc1:0001 004GA0 3.69 GiB [ 5.300597] mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 [ 5.307459] mmcblk1boot0: mmc1:0001 004GA0 2.00 MiB [ 5.314081] mmcblk1boot1: mmc1:0001 004GA0 2.00 MiB [ 5.320239] mmcblk1rpmb: mmc1:0001 004GA0 512 KiB, chardev (244:0) [ 5.346610] [drm] Initialized stm 1.0.0 20170330 for 5a001000.display-controller on minor 0 [ 5.355570] dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regulator [ 5.362308] dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regulator [ 5.506145] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM [ 5.513382] dwc2 49000000.usb-otg: DWC OTG Controller [ 5.517288] dwc2 49000000.usb-otg: new USB bus registered, assigned bus number 1 [ 5.524994] dwc2 49000000.usb-otg: irq 90, io mem 0x49000000 [ 5.532088] hub 1-0:1.0: USB hub found [ 5.534506] hub 1-0:1.0: 1 port detected [ 5.610193] Goodix-TS 0-005d: ID 911, version: 1060 [ 5.631230] input: Goodix Capacitive TouchScreen as /devices/platform/soc/5c007000.bus/40013000.i2c/i2c-0/0-005d/input/input1 [ 5.642056] stmfx-pinctrl stmfx-pinctrl: Can't set the affinity, set it for irq 74 instead [ 5.659020] ehci-platform 5800d000.usb: EHCI Host Controller [ 5.663371] ehci-platform 5800d000.usb: new USB bus registered, assigned bus number 2 [ 5.671795] ehci-platform 5800d000.usb: irq 92, io mem 0x5800d000 [ 5.682490] input: joystick as /devices/platform/joystick/input/input3 [ 5.689564] clk: Disabling unused clocks [ 5.698621] ehci-platform 5800d000.usb: USB 2.0 started, EHCI 1.00 [ 5.705208] hub 2-0:1.0: USB hub found [ 5.707651] hub 2-0:1.0: 2 ports detected [ 5.716567] Freeing unused kernel image (initmem) memory: 1024K [ 5.721553] Run /init as init process [ 5.998699] usb 2-1: new high-speed USB device number 2 using ehci-platform Starting systemd-udevd version 255.17^ [ 6.210678] hub 2-1:1.0: USB hub found [ 6.213273] hub 2-1:1.0: 4 ports detected [ 7.714951] mtdblock: MTD device 'fsbl2' is NAND, please consider using UBI block devices instead. [ 7.741935] mtdblock: MTD device 'metadata1' is NAND, please consider using UBI block devices instead. [ 7.781815] mtdblock: MTD device 'fip-a1' is NAND, please consider using UBI block devices instead. [ 7.801948] mtdblock: MTD device 'metadata2' is NAND, please consider using UBI block devices instead. [ 7.822322] mtdblock: MTD device 'fip-a2' is NAND, please consider using UBI block devices instead. [ 7.831042] mtdblock: MTD device 'fip-b1' is NAND, please consider using UBI block devices instead. [ 7.861549] mtdblock: MTD device 'fip-b2' is NAND, please consider using UBI block devices instead. [ 7.889918] mtdblock: MTD device 'UBI' is NAND, please consider using UBI block devices instead. [ 7.901755] mtdblock: MTD device 'fsbl1' is NAND, please consider using UBI block devices instead. [ 7.982478] stm32-dwmac 5800a000.ethernet end0: renamed from eth0 [ 8.691319] EXT4-fs (mmcblk0p10): recovery complete [ 8.695169] EXT4-fs (mmcblk0p10): mounted filesystem 15b84ac4-de3f-4750-ae1c-fa1db0543f79 r/w with ordered data mode. Quota mode: disabled. ln: /etc/mtab: File exists [ 9.246211] systemd[1]: System time before build time, advancing clock. [ 9.341179] NET: Registered PF_INET6 protocol family [ 9.407236] Segment Routing with IPv6 [ 9.409764] In-situ OAM (IOAM) with IPv6 [ 9.459156] systemd[1]: systemd 255.17^ 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) [ 9.489847] systemd[1]: Detected architecture arm. Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 5.0.8-openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11 (scarthgap)! [ 9.544847] systemd[1]: Hostname set to <stm32mp1-e1-a5-10>. [ 9.626451] systemd[1]: Using hardware watchdog 'arm_smc_wdt', version 0, device /dev/watchdog0 [ 9.634079] systemd[1]: Watchdog running with a hardware timeout of 32s. [ 10.639476] systemd[1]: Queued start job for default target Multi-User System. [ 10.702483] systemd[1]: Created slice Slice /system/getty. [ OK ] Created slice Slice /system/getty. [ 10.743057] systemd[1]: Created slice Slice /system/modprobe. [ OK ] Created slice Slice /system/modprobe. [ 10.783056] systemd[1]: Created slice Slice /system/serial-getty. [ OK ] Created slice Slice /system/serial-getty. [ 10.821892] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 10.859545] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ 10.899453] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password Requests to Wall Directory Watch. [ 10.939158] systemd[1]: Expecting device /dev/dri/card0... Expecting device /dev/dri/card0... [ 10.968841] systemd[1]: Expecting device /dev/hwrng... Expecting device /dev/hwrng... [ 10.998823] systemd[1]: Expecting device /dev/tee0... Expecting device /dev/tee0... [ 11.029175] systemd[1]: Reached target Path Units. [ OK ] Reached target Path Units. [ 11.059031] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 11.099004] systemd[1]: Reached target Slice Units. [ OK ] Reached target Slice Units. [ 11.129092] systemd[1]: Reached target Swaps. [ OK ] Reached target Swaps. [ 11.257170] systemd[1]: Listening on RPCbind Server Activation Socket. [ OK ] Listening on RPCbind Server Activation Socket. [ 11.299160] systemd[1]: Reached target RPC Port Mapper. [ OK ] Reached target RPC Port Mapper. [ 11.340705] systemd[1]: Listening on Syslog Socket. [ OK ] Listening on Syslog Socket. [ 11.399130] systemd[1]: Listening on Process Core Dump Socket. [ OK ] Listening on Process Core Dump Socket. [ 11.439832] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ 11.492240] systemd[1]: Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit). [ 11.503321] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 11.540484] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 11.580773] systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. [ 11.620903] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 11.660318] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 11.700374] systemd[1]: Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages). [ 11.759158] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 11.806065] systemd[1]: Mounting Kernel Debug File System... Mounting Kernel Debug File System... [ 11.849484] systemd[1]: Mounting Kernel Trace File System... Mounting Kernel Trace File System... [ 11.909504] systemd[1]: Mounting Temporary Directory /tmp... Mounting Temporary Directory /tmp... [ 11.960560] systemd[1]: Starting Create List of Static Device Nodes... Starting Create List of Static Device Nodes... [ 12.069698] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module configfs... [ 12.097407] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module drm... [ 12.140127] systemd[1]: Starting Load Kernel Module fuse... Starting Load Kernel Module fuse... [ 12.219875] systemd[1]: Starting Mount partitions... Starting Mount partitions... [ 12.265799] systemd[1]: Starting RPC Bind... Starting RPC Bind... [ 12.278850] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/). [ 12.312444] systemd[1]: Starting Journal Service... Starting Journal Service... [ 12.331509] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met. [ 12.409997] systemd[1]: Starting Generate network units from Kernel command line... Starting Generate network units from Kernel command line... [ 12.475602] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 12.514739] systemd-journald[269]: Collecting audit messages is disabled. [ 12.600878] systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... [ 12.660288] systemd[1]: Starting Coldplug All udev Devices... Starting Coldplug All udev Devices... [ 12.743151] systemd[1]: Started RPC Bind. [ OK ] Started RPC Bind. [ 12.802268] systemd[1]: Mounted POSIX Message Queue File System. [ OK ] Mounted POSIX Message Queue File System. [ 12.848665] EXT4-fs (mmcblk0p10): re-mounted 15b84ac4-de3f-4750-ae1c-fa1db0543f79 r/w. Quota mode: disabled. [ 12.904438] systemd[1]: Mounted Kernel Debug File System. [ OK ] Mounted Kernel Debug File System. [ 12.921601] systemd[1]: Mounted Kernel Trace File System. [ OK ] Mounted Kernel Trace File System. [ 12.959829] systemd[1]: Mounted Temporary Directory /tmp. [ OK ] Mounted Temporary Directory /tmp. [ 12.979022] systemd[1]: Finished Create List of Static Device Nodes. [ OK ] Finished Create List of Static Device Nodes. [ 13.020055] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. [ OK ] Finished Load Kernel Module configfs. [ OK ] Finished Load Kernel Module drm. [ OK ] Finished Load Kernel Module fuse. [ 13.132077] EXT4-fs (mmcblk0p8): recovery complete [ 13.137317] EXT4-fs (mmcblk0p8): mounted filesystem b87ab84b-11e8-4e81-895b-d51ba5a22e93 r/w with ordered data mode. Quota mode: disabled. [ OK ] Finished Generate network units from Kernel command line. [ OK ] Finished Remount Root and Kernel File Systems. [ OK ] Finished Apply Kernel Variables. Mounting FUSE Control File System... Mounting Kernel Configuration File System... Starting Flush Journal to Persistent Storage... Starting Create Static Device Nodes in /dev gracefully... [ OK ] Mounted FUSE Control File System. [ 13.730150] systemd-journald[269]: Received client request to flush runtime journal. [ OK ] Mounted Kernel Configuration File System. [ OK ] Finished Flush Journal to Persistent Storage. [ 13.826544] EXT4-fs (mmcblk0p9): recovery complete [ 13.835917] EXT4-fs (mmcblk0p9): mounted filesystem 41e1ee78-8a39-4919-a487-99a501137600 r/w with ordered data mode. Quota mode: disabled. [ OK ] Finished Create Static Device Nodes in /dev gracefully. Starting Create Static Device Nodes in /dev... [ OK ] Finished Create Static Device Nodes in /dev. [ OK ] Reached target Preparation for Local File Systems. [ 14.224553] EXT4-fs (mmcblk0p11): recovery complete [ 14.230017] EXT4-fs (mmcblk0p11): mounted filesystem 5ed9302c-9029-4094-9b5b-612c1e1574ac r/w with ordered data mode. Quota mode: disabled. Mounting /var/volatile... Starting Rule-based Manager for Device Events and Files... [ OK ] Finished Mount partitions. [ OK ] Mounted /var/volatile. Starting Load/Save OS Random Seed... [ OK ] Reached target Local File Systems. Starting Create System Files and Directories... [ OK ] Finished Load/Save OS Random Seed. [ OK ] Started Rule-based Manager for Device Events and Files. [ OK ] Finished Create System Files and Directories. Starting Network Name Resolution... Starting Network Time Synchronization... Starting Record System Boot/Shutdown in UTMP... [ OK ] Finished Record System Boot/Shutdown in UTMP. [ OK ] Started Network Name Resolution. [ OK ] Reached target Host and Network Name Lookups. [ OK ] Started Network Time Synchronization. [ OK ] Finished Coldplug All udev Devices. [ 16.439975] mtdblock: MTD device 'metadata1' is NAND, please consider using UBI block devices instead. [ 16.458493] mtdblock: MTD device 'fsbl2' is NAND, please consider using UBI block devices instead. [ 16.506719] mtdblock: MTD device 'fip-a1' is NAND, please consider using UBI block devices instead. [ 16.510815] mtdblock: MTD device 'metadata2' is NAND, please consider using UBI block devices instead. [ 16.535240] mtdblock: MTD device 'fip-b1' is NAND, please consider using UBI block devices instead. [ 16.569566] mtdblock: MTD device 'fip-b2' is NAND, please consider using UBI block devices instead. [ 16.589846] mtdblock: MTD device 'fip-a2' is NAND, please consider using UBI block devices instead. [ 16.599318] mtdblock: MTD device 'UBI' is NAND, please consider using UBI block devices instead. [ 16.649257] mtdblock: MTD device 'fsbl1' is NAND, please consider using UBI block devices instead. [* ] (1 of 3) A start job is running for /dev/hwrng (7s / 1min 30s) [ 18.509967] galcore: loading out-of-tree module taints kernel. [ 18.531679] st,stm32-spdifrx 4000d000.audio-controller: No cache defaults, reading back from HW [ 18.541758] Galcore version 6.4.21.1.1058597 [ 18.551776] wm8994 0-001b: supply DCVDD not found, using dummy regulator [ 18.557455] wm8994 0-001b: supply AVDD1 not found, using dummy regulator [ 18.622915] stm32-crc32 58009000.crc: Initialized [ 18.672845] mc: Linux media interface: v0.10 [ 18.744375] /soc/bus@5c007000/i2c@40013000/wm8994@1b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004 [ 18.819229] /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/wm8994@1b [ 18.849816] videodev: Linux video capture interface: v2.00 [ 18.878950] stm32-dfsdm 4400d000.dfsdm: SPI clock not accurate [ 18.883431] stm32-dfsdm 4400d000.dfsdm: 24573875 = 2048000 * 12 + 2045875 [ 18.892328] /soc/bus@5c007000/i2c@40013000/wm8994@1b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024 [ 18.908066] /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/wm8994@1b [ 18.921409] /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004 [ 18.943424] /spdif-out: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@50027000/audio-controller@50027004 [ 18.943839] /soc/bus@5c007000/sai@50027000/audio-controller@50027004: Fixed dependency cycle(s) with /spdif-out [ 18.970467] wm8994 0-001b: WM8994 revision D CUST_ID 00 [** ] (1 of 3) A start job is running for /dev/hwrng (8s / 1min 30s) [ 19.105315] stm32-dcmi 4c006000.dcmi: SRAM pool: 32 KiB for DMA/MDMA chaining [ 19.113522] stm32-cryp 54001000.cryp: will run requests pump with realtime priority [ 19.122059] stm32-hash 54002000.hash: will run requests pump with realtime priority [ 19.146891] stm32-cryp 54001000.cryp: Initialized [ 19.153701] stm32-hash 54002000.hash: Init HASH done HW ver 23 DMA mode 1 [*** ] (1 of 3) A start job is running for /dev/hwrng (8s / 1min 30s) [ 19.920673] configfs-gadget.g1 gadget.0: HOST MAC 8c:1d:2f:08:32:17 [ 19.925592] configfs-gadget.g1 gadget.0: MAC 76:5d:de:42:32:9f [ *** ] (2 of 3) A start job is running for /dev/dri/card0 (9s / 1min 30s) [ 20.164604] dwc2 49000000.usb-otg: new device is high-speed [ 20.240627] dwc2 49000000.usb-otg: new device is high-speed [ ***] (2 of 3) A start job is running for /dev/dri/card0 (10s / 1min 30s) [ 21.233247] wm8994-codec wm8994-codec: Failed to request Mic1 detect IRQ: -22 [ 21.246172] wm8994-codec wm8994-codec: Failed to request Mic1 short IRQ: -22 [ 21.252085] wm8994-codec wm8994-codec: Failed to request Mic2 detect IRQ: -22 [ OK ] Found device /dev/dri/card0. [ OK ] Found device /dev/tee0. [ OK ] Found device /dev/hwrng. [ OK ] Created slice Slice /system/systemd-backlight. [ OK ] Reached target System Time Set. [ OK ] Reached target Hardware activated USB gadget. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Started Starts Psplash Boot screen. [ OK ] Started Hardware RNG Entropy Gatherer Daemon. Starting Load/Save Screen Backligh…ess of backlight:panel-backlight... Starting Wait for udev To Complete Device Initialization... Starting Virtual Console Setup... [ OK ] Finished Load/Save Screen Backligh…tness of backlight:panel-backlight. [ OK ] Finished Virtual Console Setup. [ OK ] Finished Wait for udev To Complete Device Initialization. [ OK ] Reached target System Initialization. [ OK ] Started Serves stm32mp clocks calibration.. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timer Units. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Listening on dropbear.socket. [ OK ] Reached target Socket Units. [ OK ] Reached target Basic System. Starting ST set alsa state configuration... Starting Avahi mDNS/DNS-SD Stack... [ OK ] Started Kernel Logging Service. [ OK ] Started System Logging Service. Starting D-Bus System Message Bus... Starting IPv6 Packet Filtering Framework... Starting IPv4 Packet Filtering Framework... [ OK ] Started Seat for Weston user. [ OK ] Started Calibrates HSI/CSI clocks. Starting Resets System Activity Logs... Starting User Login Management... Starting TEE Supplicant... Starting Check if the gpu are pres…the correct weston configuration... [ OK ] Started D-Bus System Message Bus. [ OK ] Finished IPv6 Packet Filtering Framework. [ OK ] Finished IPv4 Packet Filtering Framework. [ OK ] Finished Resets System Activity Logs. [ OK ] Started User Login Management. [ OK ] Finished ST set alsa state configuration. [ OK ] Reached target Preparation for Network. Starting Save/Restore Sound Card State... Starting Network Configuration... [ OK ] Started TEE Supplicant. [ OK ] Finished Save/Restore Sound Card State. [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Reached target Sound Card. [ OK ] Finished Check if the gpu are pres…t the correct weston configuration. [ 25.535630] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 25.567690] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 25.574570] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ OK ] Started Network Configuration. [ 25.695908] stm32-dwmac 5800a000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 25.704550] stm32-dwmac 5800a000.ethernet end0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet] (irq=POLL) [ 25.718829] dwmac4: Master AXI performs any burst length [ 25.722829] stm32-dwmac 5800a000.ethernet end0: No Safety Features support found [ 25.730286] stm32-dwmac 5800a000.ethernet end0: IEEE 1588-2008 Advanced Timestamp supported [ 25.740556] stm32-dwmac 5800a000.ethernet end0: registered PTP clock [ OK 25.756024] stm32-dwmac 5800a000.ethernet end0: configuring for phy/rgmii-id link mode m] Reached target Network. [ OK ] Started IIO Daemon. Starting Real time performance monitoring... Starting ST hostname... Starting Permit User Sessions... Starting Target Communication Framework agent... [ OK ] Finished Permit User Sessions. [ OK ] Finished ST hostname. [ OK ] Started Target Communication Framework agent. [ OK ] Started Real time performance monitoring. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttySTM0. [ OK ] Reached target Login Prompts. Starting Weston graphical session... [ OK ] Created slice User Slice of UID 1000. Starting User Runtime Directory /run/user/1000... [ OK ] Finished User Runtime Directory /run/user/1000. Starting User Manager for UID 1000... ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 5.0.8-openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11 stm32mp1-e1-a5-10 ttySTM0 stm32mp1-e1-a5-10 login: root (automatic login) root@stm32mp1-e1-a5-10:~# [ 40.491391] weston[1291]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
3. Basic commands[edit | edit source]
3.1. Printing distribution specific information[edit | edit source]
root@stm32mp1-e1-a5-10:~# cat /etc/build
-----------------------
Build Configuration: |
-----------------------
BB_VERSION = 2.8.0
BUILD_SYS = x86_64-linux
NATIVELSBSTRING = universal
TARGET_SYS = arm-ostl-linux-gnueabi
MACHINE = stm32mp1
DISTRO = openstlinux-weston
DISTRO_VERSION = 5.0.8-openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11
TUNE_FEATURES = arm vfp cortexa7 neon vfpv4 thumb callconvention-hard
TARGET_FPU = hard
MANIFESTVERSION = ostl-v25-06-11-4-g544d3bf223e7dcacf1cc6a0a18fa1173859206cd
DISTRO_CODENAME = scarthgap
ACCEPT_EULA_stm32mp1 = 1
GCCVERSION = 13.%
PREFERRED_PROVIDER_virtual/kernel = linux-stm32mp
MACHINE_FEATURES = usbhost usbgadget alsa screen ext2 pci splashscreen watchdog bluetooth wifi gpu m4copro usbg0 optee tpm2 initrd autoresize fip fw-update rtc qemu-usermode
-----------------------
Layer Revisions: |
-----------------------
meta-python = v6.1.xml:e92d0173a80ea7592c866618ef5293203c50544c
meta-oe = v6.1.xml:e92d0173a80ea7592c866618ef5293203c50544c
meta-gnome = v6.1.xml:e92d0173a80ea7592c866618ef5293203c50544c
meta-multimedia = v6.1.xml:e92d0173a80ea7592c866618ef5293203c50544c
meta-networking = v6.1.xml:e92d0173a80ea7592c866618ef5293203c50544c
meta-webserver = v6.1.xml:e92d0173a80ea7592c866618ef5293203c50544c
meta-st-stm32mp = v6.1.xml:8059a1b02e283d15eb27afce38b589f7a2592ffa
meta-st-openstlinux = v6.1.xml:36e7f5643abe7d02b110f300231296b485ffc51c
meta = v6.1.xml:cd2b6080a4c0f2ed2c9939ec0b87763aef595048
3.2. Printing system information[edit | edit source]
root@stm32mp1-e1-a5-10:~# uname -a Linux stm32mp1-e1-a5-10 6.6.78 #1 SMP PREEMPT Mon Feb 17 08:40:43 UTC 2025 armv7l GNU/Linux
3.3. Printing Linux kernel and GCC versions[edit | edit source]
root@stm32mp1-e1-a5-10:~# cat /proc/version Linux version 6.6.78 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Mon Feb 17 08:40:43 UTC 2025
3.4. Printing the amount of disk space available on all mounted file systems[edit | edit source]
root@stm32mp1-e1-a5-10:~# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 348M 0 348M 0% /dev /dev/mmcblk0p10 3.8G 502M 3.2G 14% / tmpfs 415M 0 415M 0% /dev/shm tmpfs 166M 9.1M 157M 6% /run tmpfs 415M 4.0K 415M 1% /tmp /dev/mmcblk0p8 55M 18M 33M 35% /boot /dev/mmcblk0p9 14M 6.7M 6.0M 53% /vendor /dev/mmcblk0p11 11G 47M 9.5G 1% /usr/local tmpfs 415M 16K 415M 1% /var/volatile tmpfs 83M 8.0K 83M 1% /run/user/1000 tmpfs 83M 4.0K 83M 1% /run/user/0
3.5. ssh connection (only if the Ethernet cable is connected)[edit | edit source]
- Get the IP address of your board
ip addr show end0 3: end0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff inet xx.xx.xx.xx/xx brd xx.xx.xx.xx scope global dynamic eth0 valid_lft 159045sec preferred_lft 159045sec inet6 xxxx::xx:xx:xx:xx/64 scope link valid_lft forever preferred_lft forever
- On the host computer, connect the terminal to the board using ssh
ssh root@xx.xx.xx.xx
root@stm32mp1-e1-a5-10:~#