Applicable for STM32MP15x lines

STM32MP157X-DK2.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 source]

This step explains how to connect your board 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 get familiar with the Linux console.

2. Serial terminal[edit source]

The serial terminal allows communicating with the board through a 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 to get help on special keys
  • Press the reset button to reset the board. The boot log should be displayed on the minicom window:
NOTICE:  CPU: STM32MP157FAC Rev.Z
NOTICE:  Model: STMicroelectronics STM32MP157F-DK2 Discovery Board
NOTICE:  Board: MB1272 Var4.0 Rev.C-03
INFO:    PMIC version = 0x21
INFO:    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_io
INFO:    FCONF: Reading firmware configuration information for: stm32mp_fuse
INFO:    Using SDMMC
INFO:      Instance 1
INFO:    Boot used partition fsbl1
NOTICE:  BL2: v2.8-stm32mp1-r2.0(debug):lts-v2.8.15-dirty(567af710)
NOTICE:  BL2: Built : 00:51:33, Jan 26 2024
INFO:    BL2: Doing platform setup
INFO:    RAM: DDR3-DDR3L 16bits 533000kHz
INFO:    Memory size = 0x20000000 (512 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 0xde000000
INFO:    Image id=4 loaded: 0xde000000 - 0xde00001c
INFO:    OPTEE ep=0xde000000
INFO:    OPTEE header info:
INFO:          magic=0x4554504f
INFO:          version=0x2
INFO:          arch=0x0
INFO:          flags=0x0
INFO:          nb_images=0x1
INFO:    BL2: Loading image id 8
INFO:    Loading image id=8 at address 0xde000000
INFO:    Image id=8 loaded: 0xde000000 - 0xde030e08
INFO:    BL2: Skip loading image id 9
INFO:    BL2: Loading image id 2
INFO:    Loading image id=2 at address 0xc0500000
INFO:    Image id=2 loaded: 0xc0500000 - 0xc0520380
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 - 0xc0214c94
NOTICE:  BL2: Booting BL32
INFO:    Entry point address = 0xde000000
INFO:    SPSR = 0x1d3
I/TC: Early console on UART#4
I/TC: 
I/TC: Embedded DTB found
I/TC: OP-TEE version: 3.19.0-dev (gcc version 12.3.0 (GCC)) #1 Fri Oct 14 19:00:05 UTC 2022 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: 0x7bd00000 to 0x7bd001e0
I/TC: WARNING: Embeds insecure stm32mp_provisioning driver
I/TC: Platform stm32mp1: flavor PLATFORM_FLAVOR - DT stm32mp157f-dk2.dts
I/TC: OP-TEE ST profile: system_services
I/TC: DTB enables console (non-secure)
I/TC: Primary CPU switching to normal world boot
optee optee: OP-TEE: revision 3.19 (afacf356)


U-Boot 2022.10-stm32mp-r2 (Oct 03 2022 - 19:25:32 +0000)

CPU: STM32MP157FAC Rev.Z
Model: STMicroelectronics STM32MP157F-DK2 Discovery Board
Board: stm32mp1 in trusted mode (st,stm32mp157f-dk2)
Board: MB1272 Var4.0 Rev.C-03
DRAM:  512 MiB
optee optee: OP-TEE: revision 3.19 (afacf356)
Clocks:
- MPU : 800 MHz
- MCU : 208.878 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
Core:  361 devices, 44 uclasses, devicetree: board
WDT:   Started watchdog with servicing (32s timeout)
NAND:  0 MiB
MMC:   STM32 SD/MMC: 0
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@5800a000
No EFI system partition
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-dk2_extlinux.conf
Retrieving file: /mmc0_extlinux/stm32mp157f-dk2_extlinux.conf
Retrieving file: /splash_portrait.bmp
Select the boot mode
1:      OpenSTLinux
2:      stm32mp157f-dk2-a7-examples
3:      stm32mp157f-dk2-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-dk2.dtb
## Booting kernel from Legacy Image at c2000000 ...
   Image Name:   Linux-6.1.82
   Created:      2024-03-15  18:27:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    8370696 Bytes = 8 MiB
   Load Address: c2000040
   Entry Point:  c2000040
   Verifying Checksum ... OK
## Flattened Device Tree blob at c6000000
   Booting using the fdt blob at 0xc6000000
   XIP Kernel Image
   Loading Ramdisk to cfa0e000, end cffff930 ... OK
   Loading Device Tree to cf9eb000, end cfa0db90 ... OK

Starting kernel ...

I/TC: Secondary CI/TC: Secondary CPU 1 switching to normal world boot
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.1.82 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 12.3.0, GNU ld (GNU Binutils) 2.40.0.20230703) #1 SMP PREEMPT Fri Mar 15 18:27:50 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-DK2 Discovery Board
[    0.000000] Memory policy: Data cache writealloc
[    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] 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] 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] 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] 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] 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] 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] cma: Reserved 64 MiB at 0xd9800000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000c0000000-0x00000000ddffffff]
[    0.000000]   HighMem  [mem 0x00000000de000000-0x00000000dfffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000d3ffffff]
[    0.000000]   node   0: [mem 0x00000000d4000000-0x00000000d7ffffff]
[    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000ddbfffff]
[    0.000000]   node   0: [mem 0x00000000ddc00000-0x00000000ddfeffff]
[    0.000000]   node   0: [mem 0x00000000ddff0000-0x00000000ddffffff]
[    0.000000]   node   0: [mem 0x00000000de000000-0x00000000dfffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000dfffffff]
[    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 s41108 r8192 d24428 u73728
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129992
[    0.000000] Kernel command line: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw   console=ttySTM0,115200
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Memory: 324456K/524288K available (12288K kernel code, 1373K rwdata, 3816K rodata, 1024K init, 236K bss, 134296K reserved, 65536K cma-reserved, 0K 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.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.001716] Console: colour dummy device 80x30
[    0.001788] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.001809] CPU: Testing write buffer coherency: ok
[    0.001877] pid_max: default: 32768 minimum: 301
[    0.002176] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002202] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003853] /cpus/cpu@0 missing clock-frequency property
[    0.003908] /cpus/cpu@1 missing clock-frequency property
[    0.003927] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005406] cblist_init_generic: Setting adjustable number of callback queues.
[    0.005424] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.005611] cblist_init_generic: Setting adjustable number of callback queues.
[    0.005619] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.005831] Setting up static identity map for 0xc0100000 - 0xc0100060
[    0.006074] rcu: Hierarchical SRCU implementation.
[    0.006082] rcu:     Max phase no-delay instances is 1000.
[    0.007812] smp: Bringing up secondary CPUs ...
[    0.015550] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.015765] smp: Brought up 1 node, 2 CPUs
[    0.015782] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.015794] CPU: All CPU(s) started in SVC mode.
[    0.016780] devtmpfs: initialized
[    0.056928] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.057310] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.057340] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.060909] pinctrl core: initialized pinctrl subsystem
[    0.063360] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.066249] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.068020] thermal_sys: Registered thermal governor 'step_wise'
[    0.068507] cpuidle: using governor menu
[    0.068937] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.068957] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.069346] Serial: AMBA PL011 UART driver
[    0.073379] stm32-pm-domain pm_domain: domain core-ret-power-domain registered
[    0.073438] stm32-pm-domain pm_domain: subdomain core-power-domain registered
[    0.073450] stm32-pm-domain pm_domain: domains probed
[    0.108853] platform 5a001000.display-controller: Fixed dependency cycle(s) with /soc/dsi@5a000000
[    0.108952] platform 5a001000.display-controller: Fixed dependency cycle(s) with /soc/etzpc@5c007000/i2c@40012000/hdmi-transmitter@39
[    0.112056] platform 4000b000.audio-controller: Fixed dependency cycle(s) with /soc/etzpc@5c007000/i2c@40012000/hdmi-transmitter@39
[    0.116490] platform 49000000.usb-otg: Fixed dependency cycle(s) with /soc/etzpc@5c007000/i2c@5c002000/stusb1600@28/connector
[    0.121491] platform 5a001000.display-controller: Fixed dependency cycle(s) with /soc/dsi@5a000000
[    0.121677] platform 5a000000.dsi: Fixed dependency cycle(s) with /soc/dsi@5a000000/panel-otm8009a@0
[    0.121868] platform 5a000000.dsi: Fixed dependency cycle(s) with /soc/display-controller@5a001000
[    0.124052] platform connector: Fixed dependency cycle(s) with /soc/etzpc@5c007000/i2c@40012000/hdmi-transmitter@39
[    0.140093] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.153420] SCSI subsystem initialized
[    0.154390] usbcore: registered new interface driver usbfs
[    0.154458] usbcore: registered new interface driver hub
[    0.154524] usbcore: registered new device driver usb
[    0.155074] pps_core: LinuxPPS API ver. 1 registered
[    0.155086] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.155114] PTP clock support registered
[    0.155400] EDAC MC: Ver: 3.0.0
[    0.156705] Driver 'scmi-optee' was unable to register with bus_type 'tee' because the bus was not initialized.
[    0.159971] clocksource: Switched to clocksource arch_sys_counter
[    0.175351] NET: Registered PF_INET protocol family
[    0.175732] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.177990] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.178037] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.178061] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.178116] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.178261] TCP: Hash tables configured (established 4096 bind 4096)
[    0.178406] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.178455] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.178821] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.179915] RPC: Registered named UNIX socket transport module.
[    0.179935] RPC: Registered udp transport module.
[    0.179941] RPC: Registered tcp transport module.
[    0.180038] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.180888] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.181343] Trying to unpack rootfs image as initramfs...
[    0.183479] Initialise system trusted keyrings
[    0.190212] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.211663] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.221014] NFS: Registering the id_resolver key type
[    0.221123] Key type id_resolver registered
[    0.221132] Key type id_legacy registered
[    0.221297] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.221309] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.221502] ntfs: driver 2.1.32 [Flags: R/O].
[    0.221795] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.222676] fuse: init (API version 7.37)
[    0.223896] NET: Registered PF_ALG protocol family
[    0.223927] Key type asymmetric registered
[    0.223936] Asymmetric key parser 'x509' registered
[    0.224215] bounce: pool size: 64 pages
[    0.224419] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.224433] io scheduler mq-deadline registered
[    0.224442] io scheduler kyber registered
[    0.243056] STM32 USART driver initialized
[    0.286929] brd: module loaded
[    0.307208] loop: module loaded
[    0.325655] CAN device driver interface
[    0.328015] pegasus: Pegasus/Pegasus II USB Ethernet driver
[    0.328100] usbcore: registered new interface driver pegasus
[    0.328171] usbcore: registered new interface driver asix
[    0.328221] usbcore: registered new interface driver ax88179_178a
[    0.328270] usbcore: registered new interface driver cdc_ether
[    0.328336] usbcore: registered new interface driver smsc75xx
[    0.328412] usbcore: registered new interface driver smsc95xx
[    0.328462] usbcore: registered new interface driver net1080
[    0.328512] usbcore: registered new interface driver cdc_subset
[    0.328560] usbcore: registered new interface driver zaurus
[    0.328673] usbcore: registered new interface driver cdc_ncm
[    0.341630] usbcore: registered new interface driver usb-storage
[    0.341914] usbcore: registered new device driver onboard-usb-hub
[    0.345725] i2c_dev: i2c /dev entries driver
[    0.350319] arm_smc_wdt watchdog: Watchdog registered (timeout=32 sec, nowayout=0)
[    0.360222] sdhci: Secure Digital Host Controller Interface driver
[    0.360241] sdhci: Copyright(c) Pierre Ossman
[    0.360248] Synopsys Designware Multimedia Card Interface Driver
[    0.360884] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.361973] ledtrig-cpu: registered to indicate activity on CPUs
[    0.362602] usbcore: registered new interface driver usbhid
[    0.362613] usbhid: USB HID core driver
[    0.367095] optee: probing for conduit method.
[    0.367131] optee: revision 3.19 (afacf356)
[    0.380518] optee: dynamic shared memory is enabled
[    0.390403] random: crng init done
[    0.390726] optee: initialized driver
[    0.393046] NET: Registered PF_PACKET protocol family
[    0.393071] can: controller area network core
[    0.393338] NET: Registered PF_CAN protocol family
[    0.393356] can: raw protocol
[    0.393369] can: broadcast manager protocol
[    0.393383] can: netlink gateway - max_hops=1
[    0.400520] Key type dns_resolver registered
[    0.400656] ThumbEE CPU extension supported.
[    0.400683] Registering SWP/SWPB emulation handler
[    0.401323] registered taskstats version 1
[    0.401377] Loading compiled-in X.509 certificates
[    0.623625] arm-scmi firmware:scmi: Enabled polling mode TX channel - prot_id:16
[    0.623884] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
[    0.623980] arm-scmi firmware:scmi: SCMI Protocol v2.0 'ST:' Firmware version 0x0
[    0.727402] stm32-dma 48000000.dma-controller: STM32 DMA driver registered
[    0.740038] stm32-dma 48001000.dma-controller: STM32 DMA driver registered
[    0.743898] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered
[    0.746873] [drm] Initialized simpledrm 1.0.0 20200625 for ddc00000.framebuffer on minor 0
[    0.770596] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfully
[    0.776145] /soc/interrupt-controller@5000d000: bank0
[    0.776193] /soc/interrupt-controller@5000d000: bank1
[    0.776212] /soc/interrupt-controller@5000d000: bank2
[    0.820231] stm32-ipcc 4c001000.mailbox: ipcc rev:1.0 enabled, 6 chans, proc 0
[    0.822077] stm32-rproc 10000000.m4: wdg irq registered
[    0.822798] remoteproc remoteproc0: m4 is available
[    0.825567] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOA bank added
[    0.826425] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOB bank added
[    0.830523] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOC bank added
[    0.831497] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOD bank added
[    0.832372] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOE bank added
[    0.833273] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOF bank added
[    0.840639] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOG bank added
[    0.841664] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOH bank added
[    0.842620] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOI bank added
[    0.843049] stm32mp157-pinctrl soc:pinctrl@50002000: Pinctrl STM32 initialized
[    0.850801] stm32mp157-pinctrl soc:pinctrl@54004000: GPIOZ bank added
[    0.850858] stm32mp157-pinctrl soc:pinctrl@54004000: Pinctrl STM32 initialized
[    0.873285] 4000e000.serial: ttySTM3 at MMIO 0x4000e000 (irq = 52, base_baud = 4000000) is a stm32-usart
[    0.873655] serial serial0: tty port ttySTM3 registered
[    0.875625] stm32-usart 40010000.serial: interrupt mode for rx (no dma)
[    0.875648] stm32-usart 40010000.serial: interrupt mode for tx (no dma)
[    0.875678] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 53, base_baud = 4000000) is a stm32-usart
[    0.884084] Freeing initrd memory: 6088K
[    0.920014] printk: console [ttySTM0] enabled
[    2.267026] stm32-dwmac 5800a000.ethernet: IRQ eth_lpi not found
[    2.273114] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42
[    2.278745] stm32-dwmac 5800a000.ethernet:   DWMAC4/5
[    2.283649] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported
[    2.290953] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported
[    2.298229] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported
[    2.305117] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported
[    2.311546] stm32-dwmac 5800a000.ethernet: TSO supported
[    2.316710] stm32-dwmac 5800a000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.324522] stm32-dwmac 5800a000.ethernet: Enabled L3L4 Flow TC (entries=2)
[    2.331519] stm32-dwmac 5800a000.ethernet: Enabled RFS Flow TC (entries=10)
[    2.338395] stm32-dwmac 5800a000.ethernet: TSO feature enabled
[    2.344279] stm32-dwmac 5800a000.ethernet: Using 32/32 bits DMA host/device width
[    2.365676] stm32_rtc 5c004000.rtc: registered as rtc0
[    2.369490] stm32_rtc 5c004000.rtc: setting system clock to 2000-01-01T00:19:59 UTC (946685999)
[    2.378979] stm32_rtc 5c004000.rtc: Date/Time must be initialized
[    2.384277] stm32_rtc 5c004000.rtc: registered rev:1.2
[    2.407289] platform 4000b000.audio-controller: Fixed dependency cycle(s) with /soc/etzpc@5c007000/i2c@40012000/hdmi-transmitter@39
[    2.417971] platform 5a001000.display-controller: Fixed dependency cycle(s) with /soc/etzpc@5c007000/i2c@40012000/hdmi-transmitter@39
[    2.429858] i2c 0-0039: Fixed dependency cycle(s) with /soc/etzpc@5c007000/audio-controller@4000b000
[    2.439132] i2c 0-0039: Fixed dependency cycle(s) with /soc/display-controller@5a001000
[    2.447689] i2c 0-004a: Fixed dependency cycle(s) with /soc/etzpc@5c007000/sai@4400b000/audio-controller@4400b024
[    2.457162] i2c 0-004a: Fixed dependency cycle(s) with /soc/etzpc@5c007000/sai@4400b000/audio-controller@4400b004
[    2.468414] stm32f7-i2c 40012000.i2c: STM32F7 I2C-0 bus adapter
[    2.496386] stpmic1 1-0033: PMIC Chip Version: 0x21
[    2.502721] platform 5c002000.i2c:stpmic@33:regulators: Fixed dependency cycle(s) with /soc/etzpc@5c007000/i2c@5c002000/stpmic@33/regulators/boost
[    2.514590] platform 5c002000.i2c:stpmic@33:regulators: Fixed dependency cycle(s) with /soc/etzpc@5c007000/i2c@5c002000/stpmic@33/regulators/buck2
[    2.527683] platform 5c002000.i2c:stpmic@33:regulators: Fixed dependency cycle(s) with /soc/etzpc@5c007000/i2c@5c002000/stpmic@33/regulators/buck4
[    2.578204] stm32-usart 4000e000.serial: Failed to create device link (0x180) with 5c002000.i2c:stpmic@33:regulators
[    2.589345] stpmic1-regulator 5c002000.i2c:stpmic@33:regulators: Failed to create device link (0x180) with 1-0033
[    2.598344] stpmic1-regulator 5c002000.i2c:stpmic@33:regulators: Failed to create device link (0x180) with 1-0033
[    2.608483] stpmic1-regulator 5c002000.i2c:stpmic@33:regulators: Failed to create device link (0x180) with 1-0033
[    2.618830] stpmic1-regulator 5c002000.i2c:stpmic@33:regulators: Failed to create device link (0x180) with 1-0033
[    2.629059] stpmic1-regulator 5c002000.i2c:stpmic@33:regulators: Failed to create device link (0x180) with 1-0033
[    2.639290] stpmic1-regulator 5c002000.i2c:stpmic@33:regulators: Failed to create device link (0x180) with 1-0033
[    2.649537] stpmic1-regulator 5c002000.i2c:stpmic@33:regulators: Failed to create device link (0x180) with 1-0033
[    2.659764] stpmic1-regulator 5c002000.i2c:stpmic@33:regulators: Failed to create device link (0x180) with 1-0033
[    2.670475] stm32f7-i2c 5c002000.i2c: STM32F7 I2C-1 bus adapter
[    2.683181] mmci-pl18x 58005000.mmc: Got CD GPIO
[    2.683578] mmci-pl18x 58007000.mmc: allocated mmc-pwrseq
[    2.690726] stm32-display-dsi 5a000000.dsi: Fixed dependency cycle(s) with /soc/dsi@5a000000/panel-otm8009a@0
[    2.700259] mmci-pl18x 58005000.mmc: mmc0: PL180 manf 53 rev2 at 0x58005000 irq 70,0 (pio)
[    2.702268] mipi-dsi 5a000000.dsi.0: Fixed dependency cycle(s) with /soc/dsi@5a000000
[    2.719218] mmci-pl18x 58007000.mmc: mmc1: PL180 manf 53 rev2 at 0x58007000 irq 71,0 (pio)
[    2.788461] mmc0: new high speed SDHC card at address aaaa
[    2.794693] mmcblk0: mmc0:aaaa SS16G 14.8 GiB 
[    2.812698]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
[    2.845659] i2c i2c-0: Added multiplexed i2c bus 2
[    2.854258] input: pmic_onkey as /devices/platform/soc/5c007000.etzpc/5c002000.i2c/i2c-1/1-0033/5c002000.i2c:stpmic@33:onkey/input/input0
[    2.860657] input: EP0110M09 as /devices/platform/soc/5c007000.etzpc/40012000.i2c/i2c-0/0-0038/input/input1
[    2.869377] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[    2.889356] [drm] Initialized stm 1.0.0 20170330 for 5a001000.display-controller on minor 0
[    2.896132] mmc1: new high speed SDIO card at address 0001
[    2.898020] dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regulator
[    2.909642] dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regulator
[    3.050555] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM
[    3.058267] dwc2 49000000.usb-otg: DWC OTG Controller
[    3.062152] dwc2 49000000.usb-otg: new USB bus registered, assigned bus number 1
[    3.069390] dwc2 49000000.usb-otg: irq 79, io mem 0x49000000
[    3.076916] hub 1-0:1.0: USB hub found
[    3.079335] hub 1-0:1.0: 1 port detected
[    3.086700] ehci-platform 5800d000.usb: EHCI Host Controller
[    3.091105] ehci-platform 5800d000.usb: new USB bus registered, assigned bus number 2
[    3.289371] ehci-platform 5800d000.usb: irq 80, io mem 0x5800d000
[    3.320016] ehci-platform 5800d000.usb: USB 2.0 started, EHCI 1.00
[    3.327129] hub 2-0:1.0: USB hub found
[    3.329621] hub 2-0:1.0: 2 ports detected
[    3.341438] Freeing unused kernel image (initmem) memory: 1024K
[    3.360349] Run /init as init process
[    3.620184] usb 2-1: new high-speed USB device number 2 using ehci-platform
Starting systemd-udevd version 253.1^
[    3.821873] hub 2-1:1.0: USB hub found
[    3.824548] hub 2-1:1.0: 4 ports detected
[    5.030441] stm32-dwmac 5800a000.ethernet end0: renamed from eth0
[    5.943992] EXT4-fs (mmcblk0p10): recovery complete
[    5.949577] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Quota mode: disabled.
ln: /etc/mtab: File exists
[    6.669879] systemd[1]: System time before build time, advancing clock.
[    6.821837] NET: Registered PF_INET6 protocol family
[    6.898021] Segment Routing with IPv6
[    6.900455] In-situ OAM (IOAM) with IPv6
[    6.962067] systemd[1]: systemd 253.1^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK -SECCOMP -GCRYPT -GNUTLS -OPENSSL -ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN +IPTC +KMOD -LI)
[    6.992567] systemd[1]: Detected architecture arm.

Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 4.2.4-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26 (mickledore)!

[    7.134056] systemd[1]: Hostname set to <stm32mp1>.
[    7.224936] systemd[1]: Using hardware watchdog 'arm_smc_wdt', version 0, device /dev/watchdog0
[    7.232523] systemd[1]: Watchdog running with a timeout of 32s.
[    8.153711] systemd[1]: Queued start job for default target Multi-User System.
[    8.269835] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[    8.317255] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[    8.357780] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[    8.395837] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    8.431065] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    8.471433] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    8.512328] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[    8.550753] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    8.590812] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[    8.630820] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[    8.747766] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[    8.790779] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[    8.832866] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    8.896948] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[    8.931553] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    8.988868] systemd[1]: Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit).
[    9.000116] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    9.043011] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    9.083083] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    9.123074] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    9.162380] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    9.202781] systemd[1]: Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    9.271564] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    9.320117] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    9.358078] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[    9.431060] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[    9.485381] systemd[1]: Starting Create List of Static Device Nodes...
         Starting Create List of Static Device Nodes...
[    9.531552] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    9.584979] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    9.629140] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    9.668775] systemd[1]: Starting Mount partitions...
         Starting Mount partitions...
[    9.718503] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[    9.751105] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
[    9.786263] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    9.802238] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met.
[    9.829742] systemd[1]: Starting Generate network units from Kernel command line...
         Starting Generate network …ts from Kernel command line...
[    9.860568] systemd-journald[266]: Collecting audit messages is disabled.
[    9.889118] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    9.949161] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   10.077809] systemd[1]: Starting Coldplug All udev Devices...
[   10.083402] EXT4-fs (mmcblk0p10): re-mounted. Quota mode: disabled.
         Starting Coldplug All udev Devices...
[   10.226210] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[   10.249629] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   10.301671] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[   10.322001] systemd[1]: Mounted Kernel Trace File System.
[  OK  ] Mounted Kernel Trace File System.
[   10.336493] systemd[1]: Mounted Temporary Directory /tmp.
[  OK  ] Mounted Temporary Directory /tmp.
[   10.384629] systemd[1]: Finished Create List of Static Device Nodes.
[  OK  ] Finished Create List of Static Device Nodes.
[   10.441703] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module drm.
[   10.577314] EXT4-fs (mmcblk0p8): recovery complete
[  OK  ] Finished    10.584938] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Quota mode: disabled.
1;39mLoad Kernel Module fuse.
[  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...
[   11.019046] systemd-journald[266]: 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.
[   11.209866] EXT4-fs (mmcblk0p9): recovery complete
[   11.215004] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Quota mode: disabled.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Preparation for Local File Systems.
         Mounting /var/volatile...
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Mounted /var/volatile.
         Starting Load/Save OS Random Seed...
[   11.641844] EXT4-fs (mmcblk0p11): recovery complete
[  OK  ] Fin[   11.647928] EXT4-fs (mmcblk0p11): mounted filesystem with ordered data mode. Quota mode: disabled.
ished Load/Save OS Random Seed.
[  OK  ] Finished Mount partitions.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Name Resolution...
         Starting Network Time Synchronization...
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[   14.405058] stm32-crc32 58009000.crc: Initialized
[  OK  ] Started Network Name Resolution.
[   14.523929] galcore: loading out-of-tree module taints kernel.
[   14.598541] Galcore version 6.4.15.6.691815
[   14.836317] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   14.848474] i2c 0-004a: Fixed dependency cycle(s) with /soc/etzpc@5c007000/sai@4400b000/audio-controller@4400b004
[  OK  ] Started Network Time Synchronization.
[   14.883557] platform 4400b004.audio-controller: Fixed dependency cycle(s) with /soc/etzpc@5c007000/i2c@40012000/cs42l51@4a
[   14.923842] i2c 0-004a: Fixed dependency cycle(s) with /soc/etzpc@5c007000/sai@4400b000/audio-controller@4400b024
[   14.940370] platform 4400b024.audio-controller: Fixed dependency cycle(s) with /soc/etzpc@5c007000/i2c@40012000/cs42l51@4a
[   14.970482] platform 4400b024.audio-controller: Fixed dependency cycle(s) with /soc/etzpc@5c007000/sai@4400b000/audio-controller@4400b004
[   15.019041] st,stm32-i2s 4000b000.audio-controller: No cache defaults, reading back from HW
[   15.039614] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   15.055487] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[   15.148776] Bluetooth: Core ver 2.22
[   15.174242] NET: Registered PF_BLUETOOTH protocol family
[   15.178128] Bluetooth: HCI device and connection manager initialized
[   15.203124] stm32-hash 54002000.hash: will run requests pump with realtime priority
[   15.212141] stm32-hash 54002000.hash: Init HASH done HW ver 23 DMA mode 1
[   15.252926] stm32-cryp 54001000.cryp: will run requests pump with realtime priority
[   15.273527] Bluetooth: HCI socket layer initialized
[   15.277081] Bluetooth: L2CAP socket layer initialized
[   15.298875] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   15.308583] Bluetooth: SCO socket layer initialized
[   15.364197] Bluetooth: HCI UART driver ver 2.3
[   15.367289] Bluetooth: HCI UART protocol H4 registered
[   15.408711] Bluetooth: HCI UART protocol Broadcom registered
[   15.415182] stm32-cryp 54001000.cryp: Initialized
[   15.519699] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Aug 16 2022 03:05:14 version 7.45.98.125 (5b7978c CY) FWID 01-f420b81d
[   15.792144] Bluetooth: hci0: BCM: chip id 94
[   15.795732] Bluetooth: hci0: BCM: features 0x2e
[   15.802024] Bluetooth: hci0: BCM43430A1
[   15.804519] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[   15.815460] Bluetooth: hci0: BCM43430A1 'brcm/BCM43430A1.hcd' Patch
[   15.827382] using random self ethernet address
[   15.830646] using random host ethernet address
[   16.172769] usb0: HOST MAC 28:e0:77:64:d3:25
[   16.175660] usb0: MAC ca:7b:61:24:14:6c
[   16.179578] dwc2 49000000.usb-otg: bound driver configfs-gadget.g1
[   16.401353] cs42l51 0-004a: Cirrus Logic CS42L51, Revision: 01
[   16.448650] Bluetooth: hci0: BCM: features 0x2e
[   16.453837] Bluetooth: hci0: BCM4343WA1 37.4MHz Murata Type-1DX BT5.1-0159
[   16.459348] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0528
[   16.597343] dwc2 49000000.usb-otg: new device is high-speed
[   16.678118] dwc2 49000000.usb-otg: new device is high-speed
[   16.742550] dwc2 49000000.usb-otg: new address 51
[   16.766828] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[  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 …itch Status /dev/rfkill Watch.
[  OK  ] Started Starts Psplash Boot screen.
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
         Starting Load/Save Screen …of backlight:5a000000.dsi.0...
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Finished Load/Save Screen …s of backlight:5a000000.dsi.0.
[  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...
         Starting Bluetooth service...
[  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 …orrect weston configuration...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  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 TEE Supplicant.
[  OK  ] Reached target Preparation for Network.
         Starting Network Configuration...
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
         Starting Load Kernel Module drm...
[  OK  ] Started Bluetooth service.
[  OK  ] Reached target Bluetooth Support.
[   19.741281] Bluetooth: MGMT ver 1.22
[  OK  ] Finished Load Kernel Module drm.
         Starting Hostname Service...
[  OK  ] Started User Login Management.
[  OK  ] Created slice User Slice of UID 1000.
         Starting User Runtime Directory /run/user/1000...
[  OK  ] Finished User Runtime Directory /run/user/1000.
[  OK  ] Started Network Configuration.
[  OK  ] Reached target Network.
[   20.920982] stm32-dwmac 5800a000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  OK  ] Started IIO Daemon.
         Starting Real time performance monitoring...
         Starting Permit User Sessions...
[   21.090206] stm32-dwmac 5800a000.ethernet end0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
         Starting Target Communication Framework agent...
[   21.109099] dwmac4: Master AXI performs any burst length
[   21.122876] stm32-dwmac 5800a000.ethernet end0: No Safety Features support found
[   21.128936] stm32-dwmac 5800a000.ethernet end0: IEEE 1588-2008 Advanced Timestamp supported
[   21.200391] stm32-dwmac 5800a000.ethernet end0: registered PTP clock
[   21.226923] stm32-dwmac 5800a000.ethernet end0: configuring for phy/rgmii-id link mode
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Target Communication Framework agent.
[  OK  ] Started Real time performance monitoring.
[  OK  ] Finished Check if the gpu … correct weston configuration.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttySTM0.
[  OK  ] Reached target Login Prompts.
         Starting User Manager for UID 1000...
         Starting Weston graphical session...
[  OK  ] Started Hostname Service.
[  OK  ] Finished ST set alsa state configuration.
         Starting Save/Restore Sound Card State...
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Reached target Sound Card.
[  OK  ] Started User Manager for UID 1000.
[  OK  ] Started Session c1 of User weston.
[  OK  ] Started Session c2 of User weston.
[  OK  ] Started Session c3 of User weston.

ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 4.2.4-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26 stm32mp1 ttySTM0

stm32mp1 login: root (automatic login)

root@stm32mp1:~#

3. Basic commands[edit source]

3.1. Printing distribution specific information[edit source]

root@stm32mp1:~# cat /etc/build
-----------------------
Build Configuration:  |
-----------------------
BB_VERSION = 2.4.0
BUILD_SYS = x86_64-linux
NATIVELSBSTRING = universal
TARGET_SYS = arm-ostl-linux-gnueabi
MACHINE = stm32mp1
DISTRO = openstlinux-weston
DISTRO_VERSION = 4.2.4-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26
TUNE_FEATURES = arm vfp cortexa7 neon vfpv4 thumb callconvention-hard
TARGET_FPU = hard
MANIFESTVERSION = ostl-v5.1_rc3-1-gc46070241d415825aeb3ac813ada15a8a8612ef5
DISTRO_CODENAME = mickledore
ACCEPT_EULA_stm32mp1 = 1
GCCVERSION = 12.%
PREFERRED_PROVIDER_virtual/kernel = linux-stm32mp
-----------------------
Layer Revisions:      |
-----------------------
meta-python       = v5.1.xml:aa5e8edabbc414d8ec1b2ad63c8743c7baf99626
meta-oe           = v5.1.xml:aa5e8edabbc414d8ec1b2ad63c8743c7baf99626
meta-gnome        = v5.1.xml:aa5e8edabbc414d8ec1b2ad63c8743c7baf99626
meta-multimedia   = v5.1.xml:aa5e8edabbc414d8ec1b2ad63c8743c7baf99626
meta-networking   = v5.1.xml:aa5e8edabbc414d8ec1b2ad63c8743c7baf99626
meta-webserver    = v5.1.xml:aa5e8edabbc414d8ec1b2ad63c8743c7baf99626
meta-st-stm32mp   = v5.1.xml:c6c94a55b0002dd10a7d129a6ff7eeb10b0bee93
meta-st-openstlinux = v5.1.xml:ab43d854cb735a2175e836d35b6f963db05d68f1
meta              = v5.1.xml:23b5141400b2c676c806df3308f023f7c04e34e0

3.2. Printing system information[edit source]

root@stm32mp1:~# uname -a
Linux stm32mp1 6.1.82 #1 SMP PREEMPT Fri Mar 15 18:27:50 UTC 2024 armv7l GNU/Linux

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

root@stm32mp1:~# cat /proc/version
Linux version 6.1.82 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 12.3.0, GNU ld (GNU Binutils) 2.40.0.20230703) #1 SMP PREEMPT Fri Mar 15 18:27:50 UTC 2024

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

root@stm32mp1:~# df -h
Filesystem       Size  Used Avail Use% Mounted on
devtmpfs         159M     0  159M   0% /dev
/dev/mmcblk0p10  3.8G  475M  3.1G  14% /
tmpfs            194M     0  194M   0% /dev/shm
tmpfs             78M  8.8M   69M  12% /run
tmpfs            4.0M     0  4.0M   0% /sys/fs/cgroup
tmpfs            194M  4.0K  194M   1% /tmp
/dev/mmcblk0p8    55M   17M   34M  34% /boot
/dev/mmcblk0p9    14M  6.5M  6.3M  51% /vendor
tmpfs            194M   84K  194M   1% /var/volatile
/dev/mmcblk0p11   11G   43M  9.5G   1% /usr/local
tmpfs             39M  4.0K   39M   1% /run/user/1000
tmpfs             39M     0   39M   0% /run/user/0

3.5. ssh connection (only if the Ethernet cable connected)[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