Applicable for STM32MP15x lines

STM32MP157C-EV1.png
Let's start Develop on Arm® Cortex®-A7
Step category in.png Unpack the board Step.png Populate the target and boot the image Step.png Execute basic commands Step.png Use the demo launcher Step category out.png


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.Y
NOTICE:  Model: STMicroelectronics STM32MP157F eval daughter on eval mother
INFO:    PMIC version = 0x10
INFO:    Reset reason (0x54):
INFO:      System reset generated by MPU (MPSYSRST)
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-r1.0(debug):lts-v2.10.5-dirty(7c229848)
NOTICE:  BL2: Built : 16:19:31, Jun 28 2024
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 - 0x2ffd0b08
INFO:    BL2: Loading image id 9
INFO:    Loading image id=9 at address 0xfe000000
INFO:    Image id=9 loaded: 0xfe000000 - 0xfe070000
INFO:    BL2: Loading image id 2
INFO:    Loading image id=2 at address 0xc0500000
INFO:    Image id=2 loaded: 0xc0500000 - 0xc05235a8
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 - 0xc021e500
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: 3680 bytes
I/TC: Pager pool size: 104kB
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: 0x7b6c0000 to 0x7b6c01e0
I/TC: WARNING: Embeds insecure stm32mp_provisioning driver
I/TC: UART console (non-secure)
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-r1 (Oct 02 2023 - 14:39:59 +0000)

CPU: STM32MP157FAA Rev.Y
Model: STMicroelectronics STM32MP157F eval daughter on eval mother
Board: stm32mp1 in trusted mode (st,stm32mp157f-ev1)
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 : 800 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:   
Error: ethernet@5800a000 address not set.
No ethernet found.

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.48
   Created:      2024-08-29  15:33:59 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    8730224 Bytes = 8.3 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 cf9d1000, end cfffff8c ... OK
   Loading Device Tree to cf9ab000, end cf9d0718 ... OK
Working FDT set to cf9ab000

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.48 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240716) #1 SMP PREEMPT Thu Aug 29 15:33:59 UTC 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: 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 s42836 r8192 d22700 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: 711472K/1048572K available (13312K kernel code, 1397K rwdata, 3996K rodata, 1024K init, 232K bss, 206028K reserved, 131072K cma-reserved, 94272K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] trace event string verifier disabled
[    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.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.001918] Console: colour dummy device 80x30
[    0.001988] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.002013] CPU: Testing write buffer coherency: ok
[    0.002080] pid_max: default: 32768 minimum: 301
[    0.002340] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002368] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003876] /cpus/cpu@0 missing clock-frequency property
[    0.003929] /cpus/cpu@1 missing clock-frequency property
[    0.003949] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005912] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.006133] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.006391] Setting up static identity map for 0xc0100000 - 0xc0100060
[    0.006655] rcu: Hierarchical SRCU implementation.
[    0.006665] rcu:     Max phase no-delay instances is 1000.
[    0.008493] smp: Bringing up secondary CPUs ...
[    0.016207] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.016461] smp: Brought up 1 node, 2 CPUs
[    0.016483] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.016495] CPU: All CPU(s) started in SVC mode.
[    0.017499] devtmpfs: initialized
[    0.066788] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.067248] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.067283] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.073424] pinctrl core: initialized pinctrl subsystem
[    0.075803] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.080644] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.082720] thermal_sys: Registered thermal governor 'step_wise'
[    0.082872] cpuidle: using governor menu
[    0.083311] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.083333] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.083899] Serial: AMBA PL011 UART driver
[    0.088380] stm32-pm-domain pm_domain: domain core-ret-power-domain registered
[    0.088418] stm32-pm-domain pm_domain: subdomain core-power-domain registered
[    0.088430] stm32-pm-domain pm_domain: domains probed
[    0.130514] platform 5a001000.display-controller: Fixed dependency cycle(s) with /soc/dsi@5a000000
[    0.140977] platform 4c006000.dcmi: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/camera@3c
[    0.146947] platform 5a001000.display-controller: Fixed dependency cycle(s) with /soc/dsi@5a000000
[    0.147120] platform 5a000000.dsi: Fixed dependency cycle(s) with /soc/dsi@5a000000/panel@0
[    0.147153] platform 5a000000.dsi: Fixed dependency cycle(s) with /soc/display-controller@5a001000
[    0.150357] platform dmic-0: Fixed dependency cycle(s) with /soc/bus@5c007000/dfsdm@4400d000/filter@0/dfsdm-dai
[    0.151140] platform dmic-1: Fixed dependency cycle(s) with /soc/bus@5c007000/dfsdm@4400d000/filter@1/dfsdm-dai
[    0.151850] platform dmic-2: Fixed dependency cycle(s) with /soc/bus@5c007000/dfsdm@4400d000/filter@2/dfsdm-dai
[    0.152523] platform dmic-3: Fixed dependency cycle(s) with /soc/bus@5c007000/dfsdm@4400d000/filter@3/dfsdm-dai
[    0.154239] platform 4000d000.audio-controller: Fixed dependency cycle(s) with /spdif-in
[    0.154417] platform spdif-in: Fixed dependency cycle(s) with /soc/bus@5c007000/audio-controller@4000d000
[    0.155116] platform spdif-out: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@50027000/audio-controller@50027004
[    0.156059] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.164050] SCSI subsystem initialized
[    0.165226] usbcore: registered new interface driver usbfs
[    0.165289] usbcore: registered new interface driver hub
[    0.165362] usbcore: registered new device driver usb
[    0.165969] pps_core: LinuxPPS API ver. 1 registered
[    0.165981] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.166012] PTP clock support registered
[    0.166539] EDAC MC: Ver: 3.0.0
[    0.171081] scmi_core: SCMI protocol bus registered
[    0.177365] clocksource: Switched to clocksource arch_sys_counter
[    1.804946] NET: Registered PF_INET protocol family
[    1.805352] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.808520] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.808571] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.808597] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.808815] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.809089] TCP: Hash tables configured (established 8192 bind 8192)
[    1.809292] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.809368] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.809744] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.810781] RPC: Registered named UNIX socket transport module.
[    1.810803] RPC: Registered udp transport module.
[    1.810808] RPC: Registered tcp transport module.
[    1.810814] RPC: Registered tcp-with-tls transport module.
[    1.810819] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.811266] Trying to unpack rootfs image as initramfs...
[    1.817579] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    1.820478] Initialise system trusted keyrings
[    1.827609] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    1.828287] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.829155] NFS: Registering the id_resolver key type
[    1.829251] Key type id_resolver registered
[    1.829261] Key type id_legacy registered
[    1.829326] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.829339] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.829413] ntfs: driver 2.1.32 [Flags: R/O].
[    1.829465] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    1.830130] fuse: init (API version 7.39)
[    1.830906] NET: Registered PF_ALG protocol family
[    1.830932] Key type asymmetric registered
[    1.830941] Asymmetric key parser 'x509' registered
[    1.831097] bounce: pool size: 64 pages
[    1.831210] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.831226] io scheduler mq-deadline registered
[    1.831236] io scheduler kyber registered
[    1.831311] io scheduler bfq registered
[    1.831853] /soc/interrupt-controller@5000d000: bank0
[    1.831895] /soc/interrupt-controller@5000d000: bank1
[    1.831916] /soc/interrupt-controller@5000d000: bank2
[    1.833453] Registering stm32-etzpc firewall controller
[    1.849477] STM32 USART driver initialized
[    1.879169] brd: module loaded
[    1.891574] loop: module loaded
[    1.902849] CAN device driver interface
[    1.905856] pegasus: Pegasus/Pegasus II USB Ethernet driver
[    1.905943] usbcore: registered new interface driver pegasus
[    1.906020] usbcore: registered new interface driver asix
[    1.906081] usbcore: registered new interface driver ax88179_178a
[    1.906138] usbcore: registered new interface driver cdc_ether
[    1.906194] usbcore: registered new interface driver smsc75xx
[    1.906250] usbcore: registered new interface driver smsc95xx
[    1.906315] usbcore: registered new interface driver net1080
[    1.906376] usbcore: registered new interface driver cdc_subset
[    1.906451] usbcore: registered new interface driver zaurus
[    1.906575] usbcore: registered new interface driver cdc_ncm
[    1.909515] usbcore: registered new interface driver usb-storage
[    1.909940] usbcore: registered new device driver onboard-usb-hub
[    1.915139] i2c_dev: i2c /dev entries driver
[    1.920834] arm_smc_wdt watchdog: Watchdog registered (timeout=32 sec, nowayout=0)
[    1.924231] sdhci: Secure Digital Host Controller Interface driver
[    1.924251] sdhci: Copyright(c) Pierre Ossman
[    1.924258] Synopsys Designware Multimedia Card Interface Driver
[    1.924937] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.926456] ledtrig-cpu: registered to indicate activity on CPUs
[    1.927847] usbcore: registered new interface driver usbhid
[    1.927868] usbhid: USB HID core driver
[    1.933387] optee: probing for conduit method.
[    1.933419] optee: revision 4.0 (2a5b1d12)
[    1.950394] optee: dynamic shared memory is enabled
[    1.952393] random: crng init done
[    1.952851] optee: initialized driver
[    1.955438] NET: Registered PF_PACKET protocol family
[    1.955465] can: controller area network core
[    1.955582] NET: Registered PF_CAN protocol family
[    1.955597] can: raw protocol
[    1.955611] can: broadcast manager protocol
[    1.955628] can: netlink gateway - max_hops=1
[    1.956700] Key type dns_resolver registered
[    1.956942] ThumbEE CPU extension supported.
[    1.956970] Registering SWP/SWPB emulation handler
[    1.976451] registered taskstats version 1
[    1.976679] Loading compiled-in X.509 certificates
[    2.007972] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16
[    2.008399] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
[    2.008872] arm-scmi firmware:scmi: SCMI Protocol v2.0 'ST:' Firmware version 0x0
[    2.054722] stm32-dma 48000000.dma-controller: STM32 DMA driver registered
[    2.057830] stm32-dma 48001000.dma-controller: STM32 DMA driver registered
[    2.062473] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered
[    2.069651] [drm] Initialized simpledrm 1.0.0 20200625 for fdc00000.framebuffer on minor 0
[    2.074775] stm32_rtc 5c004000.rtc: registered as rtc0
[    2.074835] stm32_rtc 5c004000.rtc: setting system clock to 2000-01-01T00:17:53 UTC (946685873)
[    2.075354] stm32_rtc 5c004000.rtc: Date/Time must be initialized
[    2.075373] stm32_rtc 5c004000.rtc: registered rev:1.2
[    2.079559] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfully
[    2.087635] stm32-ipcc 4c001000.mailbox: ipcc rev:1.0 enabled, 6 chans, proc 0
[    2.090468] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOA bank added
[    2.091285] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOB bank added
[    2.092090] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOC bank added
[    2.093212] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOD bank added
[    2.094135] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOE bank added
[    2.095264] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOF bank added
[    2.096325] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOG bank added
[    2.097236] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOH bank added
[    2.098388] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOI bank added
[    2.099331] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOJ bank added
[    2.100250] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOK bank added
[    2.100708] stm32mp157-pinctrl soc:pinctrl@50002000: Pinctrl STM32 initialized
[    2.106099] stm32mp157-pinctrl soc:pinctrl@54004000: GPIOZ bank added
[    2.106149] stm32mp157-pinctrl soc:pinctrl@54004000: Pinctrl STM32 initialized
[    2.110898] stm32-usart 40010000.serial: interrupt mode for rx (no dma)
[    2.110923] stm32-usart 40010000.serial: interrupt mode for tx (no dma)
[    2.111517] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 52, base_baud = 4000000) is a stm32-usart
[    2.111613] printk: console [ttySTM0] enabled
[    2.379035] Freeing initrd memory: 6332K
[    2.389856] spi-nor spi0.0: mx66l51235f (65536 Kbytes)
[    3.656472] 8 fixed-partitions partitions found on MTD device spi0.0
[    3.662695] Creating 8 MTD partitions on "spi0.0":
[    3.667467] 0x000000000000-0x000000040000 : "fsbl1"
[    3.674957] 0x000000040000-0x000000080000 : "fsbl2"
[    3.680919] 0x000000080000-0x0000000c0000 : "metadata1"
[    3.687167] 0x0000000c0000-0x000000100000 : "metadata2"
[    3.693476] 0x000000100000-0x000000500000 : "fip-a"
[    3.699422] 0x000000500000-0x000000900000 : "fip-b"
[    3.705216] 0x000000900000-0x000000980000 : "u-boot-env"
[    3.711663] 0x000000980000-0x000004000000 : "nor-user"
[    3.719128] spi-nor spi0.1: mx66l51235f (65536 Kbytes)
[    3.728186] m_can_platform 4400e000.can: m_can device registered (irq=54, version=32)
[    3.736720] stm32-dwmac 5800a000.ethernet: IRQ eth_lpi not found
[    3.742766] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42
[    3.748415] stm32-dwmac 5800a000.ethernet:   DWMAC4/5
[    3.753266] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported
[    3.760639] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported
[    3.767907] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported
[    3.774756] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported
[    3.781256] stm32-dwmac 5800a000.ethernet: TSO supported
[    3.786401] stm32-dwmac 5800a000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.794201] stm32-dwmac 5800a000.ethernet: device MAC address 02:29:f0:1c:e2:3f
[    3.801478] stm32-dwmac 5800a000.ethernet: Enabled L3L4 Flow TC (entries=2)
[    3.808447] stm32-dwmac 5800a000.ethernet: Enabled RFS Flow TC (entries=10)
[    3.815399] stm32-dwmac 5800a000.ethernet: TSO feature enabled
[    3.821259] stm32-dwmac 5800a000.ethernet: Using 32/32 bits DMA host/device width
[    3.859837] i2c 0-001b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024
[    3.868649] i2c 0-001b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004
[    3.879207] platform 4c006000.dcmi: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/camera@3c
[    3.888592] i2c 0-003c: Fixed dependency cycle(s) with /soc/bus@5c007000/dcmi@4c006000
[    3.897637] stm32f7-i2c 40013000.i2c: STM32F7 I2C-0 bus adapter
[    3.920837] stm32f7-i2c 40015000.i2c: STM32F7 I2C-1 bus adapter
[    3.947979] stpmic1 2-0033: PMIC Chip Version: 0x10
[    3.954247] platform 5c002000.i2c:stpmic@33:regulators: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@5c002000/stpmic@33/regulators/boost
[    3.965945] platform 5c002000.i2c:stpmic@33:regulators: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@5c002000/stpmic@33/regulators/buck2
[    3.978796] platform 5c002000.i2c:stpmic@33:regulators: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@5c002000/stpmic@33/regulators/buck4
[    3.994317] stm32f7-i2c 5c002000.i2c: STM32F7 I2C-2 bus adapter
[    4.003446] stm32-rproc 10000000.m4: wdg irq registered
[    4.008421] remoteproc remoteproc0: m4 is available
[    4.017331] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xd3
[    4.022365] nand: Micron MT29F8G08ABACAH4
[    4.026344] nand: 1024 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 224
[    4.034832] Bad block table found at page 262080, version 0x01
[    4.040700] Bad block table found at page 262016, version 0x01
[    4.046371] 9 fixed-partitions partitions found on MTD device 80000000.nand-controller
[    4.053735] Creating 9 MTD partitions on "80000000.nand-controller":
[    4.060085] 0x000000000000-0x000000080000 : "fsbl1"
[    4.067555] 0x000000080000-0x000000100000 : "fsbl2"
[    4.073358] 0x000000100000-0x000000180000 : "metadata1"
[    4.079676] 0x000000180000-0x000000200000 : "metadata2"
[    4.085920] 0x000000200000-0x000000600000 : "fip-a1"
[    4.092010] 0x000000600000-0x000000a00000 : "fip-a2"
[    4.098000] 0x000000a00000-0x000000e00000 : "fip-b1"
[    4.103937] 0x000000e00000-0x000001200000 : "fip-b2"
[    4.109984] 0x000001200000-0x000040000000 : "UBI"
[    4.120081] mmci-pl18x 58005000.mmc: Got CD GPIO
[    4.125319] mmci-pl18x 58005000.mmc: mmc1: PL180 manf 53 rev2 at 0x58005000 irq 75,0 (pio)
[    4.129537] mmci-pl18x 58007000.mmc: mmc0: PL180 manf 53 rev2 at 0x58007000 irq 74,0 (pio)
[    4.133620] stmfx-core 0-0042: STMFX id: 0x7b, fw version: 3.03
[    4.179698] stmfx-pinctrl stmfx-pinctrl: DMA mask not set
[    4.188542] stmfx-core 0-0042: Can't set the affinity, set it for irq 76 instead
[    4.194519] genirq: irq_chip stmfx-core did not update eff. affinity mask of irq 78
[    4.202663] stmfx-pinctrl stmfx-pinctrl: 24 GPIOs available
[    4.215945] input: pmic_onkey as /devices/platform/soc/5c007000.bus/5c002000.i2c/i2c-2/2-0033/5c002000.i2c:stpmic@33:onkey/input/input0
[    4.232292] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[    4.238485] stm32-display-dsi 5a000000.dsi: Fixed dependency cycle(s) with /soc/dsi@5a000000/panel@0
[    4.246690] mipi-dsi 5a000000.dsi.0: Fixed dependency cycle(s) with /soc/dsi@5a000000
[    4.263711] mmc1: new ultra high speed DDR50 SDHC card at address aaaa
[    4.270277] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
[    4.284590]  mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
[    4.331248] mmc0: new DDR MMC card at address 0001
[    4.336799] mmcblk0: mmc0:0001 004GA0 3.69 GiB
[    4.347857]  mmcblk0: p1 p2 p3 p4
[    4.351883] mmcblk0boot0: mmc0:0001 004GA0 2.00 MiB
[    4.358500] mmcblk0boot1: mmc0:0001 004GA0 2.00 MiB
[    4.364647] mmcblk0rpmb: mmc0:0001 004GA0 512 KiB, chardev (244:0)
[    4.386270] [drm] Initialized stm 1.0.0 20170330 for 5a001000.display-controller on minor 0
[    4.395896] dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regulator
[    4.402850] dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regulator
[    4.545306] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM
[    4.553086] dwc2 49000000.usb-otg: DWC OTG Controller
[    4.556819] dwc2 49000000.usb-otg: new USB bus registered, assigned bus number 1
[    4.564766] dwc2 49000000.usb-otg: irq 90, io mem 0x49000000
[    4.571677] hub 1-0:1.0: USB hub found
[    4.574093] hub 1-0:1.0: 1 port detected
[    4.586787] ehci-platform 5800d000.usb: EHCI Host Controller
[    4.591147] ehci-platform 5800d000.usb: new USB bus registered, assigned bus number 2
[    4.599707] ehci-platform 5800d000.usb: irq 91, io mem 0x5800d000
[    4.627405] ehci-platform 5800d000.usb: USB 2.0 started, EHCI 1.00
[    4.635142] hub 2-0:1.0: USB hub found
[    4.637730] hub 2-0:1.0: 2 ports detected
[    4.649215] Goodix-TS 0-005d: ID 9147, version: 1040
[    4.674238] input: Goodix Capacitive TouchScreen as /devices/platform/soc/5c007000.bus/40013000.i2c/i2c-0/0-005d/input/input1
[    4.685374] stmfx-pinctrl stmfx-pinctrl: Can't set the affinity, set it for irq 76 instead
[    4.725739] input: joystick as /devices/platform/joystick/input/input3
[    4.734014] clk: Disabling unused clocks
[    4.739940] Freeing unused kernel image (initmem) memory: 1024K
[    4.744864] Run /init as init process
[    4.937517] usb 2-1: new high-speed USB device number 2 using ehci-platform
Starting systemd-udevd version 255.4^
[    5.149473] hub 2-1:1.0: USB hub found
[    5.152066] hub 2-1:1.0: 4 ports detected
[    6.775136] mtdblock: MTD device 'fsbl2' is NAND, please consider using UBI block devices instead.
[    6.790433] stm32-dwmac 5800a000.ethernet end0: renamed from eth0
[    6.796028] mtdblock: MTD device 'metadata1' is NAND, please consider using UBI block devices instead.
[    6.805251] mtdblock: MTD device 'metadata2' is NAND, please consider using UBI block devices instead.
[    6.828065] mtdblock: MTD device 'fip-a1' is NAND, please consider using UBI block devices instead.
[    6.858533] mtdblock: MTD device 'fip-a2' is NAND, please consider using UBI block devices instead.
[    6.870007] mtdblock: MTD device 'fip-b1' is NAND, please consider using UBI block devices instead.
[    6.884777] mtdblock: MTD device 'fip-b2' is NAND, please consider using UBI block devices instead.
[    6.908368] mtdblock: MTD device 'UBI' is NAND, please consider using UBI block devices instead.
[    6.916424] mtdblock: MTD device 'fsbl1' is NAND, please consider using UBI block devices instead.
[    7.689969] EXT4-fs (mmcblk1p10): mounted filesystem e1c04630-72e0-4a98-91b4-d43b46f8ece1 r/w with ordered data mode. Quota mode: disabled.
ln: /etc/mtab: File exists
[    8.275151] systemd[1]: System time before build time, advancing clock.
[    8.379754] NET: Registered PF_INET6 protocol family
[    8.445498] Segment Routing with IPv6
[    8.448014] In-situ OAM (IOAM) with IPv6
[    8.498047] systemd[1]: systemd 255.4^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK -SECCOMP -GCRYPT -GNUTLS -OPENSSL -ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN +IPTC +KMOD -L)
[    8.528817] systemd[1]: Detected architecture arm.

Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 (scarthgap)!

[    8.583942] systemd[1]: Hostname set to <stm32mp132-ed-bf-16-62-c7>.
[    8.671826] systemd[1]: Using hardware watchdog 'arm_smc_wdt', version 0, device /dev/watchdog0
[    8.679480] systemd[1]: Watchdog running with a timeout of 32s.
[    9.697042] systemd[1]: Queued start job for default target Multi-User System.
[    9.799721] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[    9.843990] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[    9.881288] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[    9.922296] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    9.958911] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    9.998694] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   10.038131] systemd[1]: Expecting device /dev/dri/card0...
         Expecting device /dev/dri/card0...
[   10.077835] systemd[1]: Expecting device /dev/hwrng...
         Expecting device /dev/hwrng...
[   10.107784] systemd[1]: Expecting device /dev/tee0...
         Expecting device /dev/tee0...
[   10.138232] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[   10.178141] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   10.218028] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[   10.258184] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[   10.385412] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[   10.438255] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[   10.480350] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   10.547891] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[   10.588980] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   10.647688] systemd[1]: Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit).
[   10.659082] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   10.700091] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   10.740478] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[   10.780756] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   10.819658] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   10.859945] systemd[1]: Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[   10.918073] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   10.968698] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   11.068355] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[   11.094716] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[   11.139079] systemd[1]: Starting Create List of Static Device Nodes...
         Starting Create List of Static Device Nodes...
[   11.199029] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   11.269736] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[   11.298880] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   11.368998] systemd[1]: Starting Mount partitions...
         Starting Mount partitions...
[   11.422966] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[   11.461089] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
[   11.497674] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   11.518547] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met.
[   11.544311] systemd[1]: Starting Generate network units from Kernel command line...
         Starting Generate network units from Kernel command line...
[   11.612154] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   11.634218] systemd-journald[262]: Collecting audit messages is disabled.
[   11.698559] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   11.791888] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   11.805589] EXT4-fs (mmcblk1p10): re-mounted e1c04630-72e0-4a98-91b4-d43b46f8ece1 r/w. Quota mode: disabled.
[   11.895898] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[   11.923247] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   11.979208] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[   12.007962] systemd[1]: Mounted Kernel Trace File System.
[  OK  ] Mounted Kernel Trace File System.
[   12.040359] systemd[1]: Mounted Temporary Directory /tmp.
[  OK  ] Mounted Temporary Directory /tmp.
[   12.087950] systemd[1]: Finished Create List of Static Device Nodes.
[  OK  ] Finished Create List of Static Device Nodes.
[   12.130998] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[   12.177113] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[   12.242004] systemd[1]: modprobe@drm.service: Deactivated successfully.
[   12.258337] systemd[1]: Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module drm.
[   12.278604] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[   12.288588] systemd[1]: Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module fuse.
[   12.330804] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished Generate network units from Kernel command line.
[   12.386178] EXT4-fs (mmcblk1p8): mounted filesystem c197e0fb-6eef-4444-b11a-b3bcbbcf8759 r/w with ordered data mode. Quota mode: disabled.
[  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...
[   12.974744] EXT4-fs (mmcblk1p9): mounted filesystem d0bb2e41-8f69-4968-babc-2c9f9a88bac7 r/w with ordered data mode. Quota mode: disabled.
         Starting Create Static Device Nodes in /dev gracefully...
[   13.105614] systemd-journald[262]: Received client request to flush runtime journal.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Create Static Device Nodes in /dev gracefully.
         Starting Create Static Device Nodes in /dev...
[   13.439053] EXT4-fs (mmcblk1p11): mounted filesystem 375c8999-e9e8-46ab-b02f-752ff6556957 r/w with ordered data mode. Quota mode: disabled.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Finished Mount partitions.
[  OK  ] Reached target Preparation for Local File Systems.
         Mounting /var/volatile...
         Starting ST hostname...
         Starting Rule-based Manager for Device Events and Files...
[  OK  ] Mounted /var/volatile.
         Starting Load/Save OS Random Seed...
[  OK  ] Finished Load/Save OS Random Seed.
[  OK  ] Finished ST hostname.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Name Resolution...
         Starting Network Time Synchronization...
         Starting Record System Boot/Shutdown in UTMP...
[   14.948220] mtdblock: MTD device 'fsbl2' is NAND, please consider using UBI block devices instead.
[   15.008144] mtdblock: MTD device 'fip-a2' is NAND, please consider using UBI block devices instead.
[   15.030521] mtdblock: MTD device 'fip-b2' is NAND, please consider using UBI block devices instead.
[   15.039275] mtdblock: MTD device 'fip-a1' is NAND, please consider using UBI block devices instead.
[   15.052571] mtdblock: MTD device 'metadata1' is NAND, please consider using UBI block devices instead.
[   15.102394] mtdblock: MTD device 'metadata2' is NAND, please consider using UBI block devices instead.
[   15.132587] mtdblock: MTD device 'UBI' is NAND, please consider using UBI block devices instead.
[   15.158519] mtdblock: MTD device 'fip-b1' is NAND, please consider using UBI block devices instead.
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[   15.571957] mtdblock: MTD device 'fsbl1' is NAND, please consider using UBI block devices instead.
[  OK  ] Started Network Name Resolution.
[  OK  ] Started Network Time Synchronization.
[   17.453552] stm32-crc32 58009000.crc: Initialized
[   17.567627] galcore: loading out-of-tree module taints kernel.
[   17.582382] Galcore version 6.4.19.4.952875
[   17.593599] st,stm32-spdifrx 4000d000.audio-controller: No cache defaults, reading back from HW
[   17.626916] wm8994 0-001b: supply DCVDD not found, using dummy regulator
[   17.719689] wm8994 0-001b: supply AVDD1 not found, using dummy regulator
[   17.758961] mc: Linux media interface: v0.10
[   17.803199] wm8994 0-001b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004
[   17.863471] platform 4400b004.audio-controller: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/wm8994@1b
[   17.910531] wm8994 0-001b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024
[   17.927720] stm32-dfsdm 4400d000.dfsdm: SPI clock not accurate
[   17.928110] videodev: Linux video capture interface: v2.00
[   17.932195] stm32-dfsdm 4400d000.dfsdm: 24573875 = 2048000 * 12 + 2045875
[   17.947753] platform 4400b024.audio-controller: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/wm8994@1b
[   17.978403] platform 4400b024.audio-controller: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004
[   18.004496] platform spdif-out: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@50027000/audio-controller@50027004
[   18.072015] platform 50027004.audio-controller: Fixed dependency cycle(s) with /spdif-out
[   18.089324] wm8994 0-001b: WM8994 revision D CUST_ID 00
[   18.105634] stm32-dcmi 4c006000.dcmi: SRAM pool: 32 KiB for DMA/MDMA chaining
[   18.139579] stm32-hash 54002000.hash: will run requests pump with realtime priority
[   18.146172] stm32-cryp 54001000.cryp: will run requests pump with realtime priority
[   18.163236] stm32-dcmi 4c006000.dcmi: Probe done
[   18.183954] stm32-hash 54002000.hash: Init HASH done HW ver 23 DMA mode 1
[   18.200540] stm32-cryp 54001000.cryp: Initialized
[   18.212435] wm8994 0-001b: No interrupt specified, no interrupts
[   18.785226] configfs-gadget.g1 gadget.0: HOST MAC 1c:ef:b2:f3:cf:14
[   18.827535] configfs-gadget.g1 gadget.0: MAC 2a:25:5b:cd:18:86
[   18.855028] dwc2 49000000.usb-otg: bound driver configfs-gadget.g1
[*     ] (1 of 3) A start job is running for /dev/tee0 (9s / 1min 30s)
[   19.161447] dwc2 49000000.usb-otg: new device is high-speed
[   19.238550] dwc2 49000000.usb-otg: new device is high-speed
[ ***  ] (2 of 3) A start job is running for /dev/hwrng (10s / 1min 30s)
[   20.335759] wm8994-codec wm8994-codec: Failed to request Mic1 detect IRQ: -22
[   20.362468] wm8994-codec wm8994-codec: Failed to request Mic1 short IRQ: -22
[   20.377585] wm8994-codec wm8994-codec: Failed to request Mic2 detect IRQ: -22
[  OK  ] Found device /dev/dri/card0.
[  OK  ] Found device /dev/hwrng.
[  OK  ] Found device /dev/tee0.
[  OK  ] Created slice Slice /system/systemd-backlight.
[  OK  ] Reached target Host and Network Name Lookups.
[  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  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Reached target Sound Card.
[   24.768818] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   24.808430] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   24.815377] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[  OK  ] Finished Check if the gpu are pres…t the correct weston configuration.
[  OK  ] Started Network Configuration.
[   24.957978] stm32-dwmac 5800a000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  OK  ] Reached target    24.967826] stm32-dwmac 5800a000.ethernet end0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
;1;39mNetwork.
[   24.987458] dwmac4: Master AXI performs any burst length
[   24.991460] stm32-dwmac 5800a000.ethernet end0: No Safety Features support found
[   24.998931] stm32-dwmac 5800a000.ethernet end0: IEEE 1588-2008 Advanced Timestamp supported
[   25.007842] stm32-dwmac 5800a000.ethernet end0: registered PTP clock
[   25.014534] stm32-dwmac 5800a000.ethernet end0: configuring for phy/rgmii-id link mode
[  OK  ] Started IIO Daemon.
         Starting Real time performance monitoring...
         Starting Permit User Sessions...
         Starting Target Communication Framework agent...
[  OK  ] Finished Permit User Sessions.
[  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...
[   30.876296] stm32-dwmac 5800a000.ethernet end0: Link is Up - 1Gbps/Full - flow control off

ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 stm32mp1-42-45-43 ttySTM0

stm32mp1-42-45-43 login: root (automatic login)

root@stm32mp1-42-45-43:~#

3. Basic commands[edit | edit source]

3.1. Printing distribution specific information[edit | edit source]

root@stm32mp1-42-45-43:~# 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.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06
TUNE_FEATURES = arm vfp cortexa7 neon vfpv4 thumb callconvention-hard
TARGET_FPU = hard
MANIFESTVERSION = ostl-v6.0-4-g08429ce6dd12739ca248fa2f56c67af6bfdb3e20
DISTRO_CODENAME = scarthgap
ACCEPT_EULA_stm32mp1 = 1
GCCVERSION = 13.%
PREFERRED_PROVIDER_virtual/kernel = linux-stm32mp
-----------------------
Layer Revisions:      |
-----------------------
meta-python       = v6.0.xml:1235dd4ed4a57e67683c045ad76b6a0f9e896b45
meta-oe           = v6.0.xml:1235dd4ed4a57e67683c045ad76b6a0f9e896b45
meta-gnome        = v6.0.xml:1235dd4ed4a57e67683c045ad76b6a0f9e896b45
meta-multimedia   = v6.0.xml:1235dd4ed4a57e67683c045ad76b6a0f9e896b45
meta-networking   = v6.0.xml:1235dd4ed4a57e67683c045ad76b6a0f9e896b45
meta-webserver    = v6.0.xml:1235dd4ed4a57e67683c045ad76b6a0f9e896b45
meta-st-stm32mp   = v6.0.xml:32707c26d139d3583a3f14564899c7bfc4f9aa7e
meta-st-openstlinux = v6.0.xml:fd3ef2feb59ad51694464eaa058b5c8fb1e24111
meta              = v6.0.xml:236ac1b43308df722a78d3aa20aef065dfae5b2b

3.2. Printing system information[edit | edit source]

root@stm32mp1-42-45-43:~# uname -a
Linux stm32mp1-42-45-43 6.6.48 #1 SMP PREEMPT Thu Aug 29 15:33:59 UTC 2024 armv7l GNU/Linux

3.3. Printing Linux kernel and GCC versions[edit | edit source]

root@stm32mp1-42-45-43:~# cat /proc/version
Linux version 6.6.48 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240716) #1 SMP PREEMPT Thu Aug 29 15:33:59 UTC 2024

3.4. Printing the amount of disk space available on all mounted file systems[edit | edit source]

root@stm32mp1-42-45-43:~# df -h
Filesystem       Size  Used Avail Use% Mounted on
devtmpfs         348M     0  348M   0% /dev
/dev/mmcblk1p10  3.8G  507M  3.1G  14% /
tmpfs            415M     0  415M   0% /dev/shm
tmpfs            166M  9.1M  157M   6% /run
tmpfs            415M  4.0K  415M   1% /tmp
/dev/mmcblk1p8    55M   18M   33M  35% /boot
/dev/mmcblk1p9    14M  6.7M  6.0M  53% /vendor
/dev/mmcblk1p11   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 eth0                                                                           
3: eth0: <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:~#


Back button.png Overview button.png Next button.png