1.1.3.1.3 Execute basic commands

Applicable for STM32MP13x lines

STM32MP135x-DK.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


Overview[edit source]

This step explains how to connect your board Linux® terminal to your host computer through the ST-LINK/V3E.
It then describes how to execute basic commands with the Linux command line interface in order to get familiar with the Linux console.

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/V3E
 ls /dev/ttyACM*
/dev/ttyACM0
  • Connect the minicom to the /dev/ttyACM0 device
 minicom -D /dev/ttyACM0
Welcome to minicom 2.7.1

OPTIONS: I18n 
Compiled on Dec 23 2019, 02:06:26.
Port /dev/ttyACM0, 10:54:36

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: STM32MP135F Rev.?
NOTICE:  Model: STMicroelectronics STM32MP135F-DK Discovery Board
NOTICE:  Board: MB1635 Var1.0 Rev.B-03
INFO:    PMIC version = 0x21
INFO:    Reset reason (0x74):
INFO:      System reset generated by MPU (MPSYSRST)
INFO:    FCONF: Reading TB_FW firmware configuration file from: 0x2ffe0000
INFO:    FCONF: Reading firmware configuration information for: stm32mp_io
INFO:    Using SDMMC
INFO:      Instance 1
INFO:    Boot used partition fsbl1
NOTICE:  BL2: v2.6-stm32mp1-r1.0(debug):v2.6-dirty
NOTICE:  BL2: Built : 13:14:26, Nov 23 2021
INFO:    BL2: Doing platform setup
INFO:    RAM: DDR3-1066 bin F 1x4Gb 533MHz v1.53
INFO:    Memory size = 0x20000000 (512 MB)
INFO:    BL2: Loading image id 31
INFO:    Loading image id=31 at address 0x30006000
INFO:    Image id=31 loaded: 0x30006000 - 0x30006246
INFO:    FCONF: Reading FW_CONFIG firmware configuration file from: 0x30006000
INFO:    FCONF: Reading firmware configuration information for: mce_config
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 0xde200000
INFO:    Image id=4 loaded: 0xde200000 - 0xde20001c
INFO:    OPTEE ep=0xde200000
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 21
INFO:    Loading image id=21 at address 0xde200000
INFO:    Image id=21 loaded: 0xde200000 - 0xde276248
INFO:    BL2: Skip loading image id 22
INFO:    BL2: Loading image id 23
INFO:    Loading image id=23 at address 0xc0400000
INFO:    Image id=23 loaded: 0xc0400000 - 0xc040f080
INFO:    BL2: Skip loading image id 26
INFO:    BL2: Loading image id 5
INFO:    Loading image id=5 at address 0xc0000000
INFO:    Image id=5 loaded: 0xc0000000 - 0xc00e455c
NOTICE:  BL2: Booting BL32
INFO:    Entry point address = 0xde200000
INFO:    SPSR = 0x1d3
I/TC: Early console on UART#4
I/TC: 
I/TC: Non-secure external DT found
I/TC: Embedded DTB found
I/TC: OP-TEE version: 3.16.0-dev (gcc version 11.2.0 (GCC)) #1 Fri 28 Jan 2022 02:28:18 PM UTC 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: WARNING: All debug access are allowed
I/TC: Platform stm32mp1: flavor PLATFORM_FLAVOR - DT stm32mp135f-dk.dts
I/TC: DTB enables console (non-secure)
I/TC: Primary CPU switching to normal world boot
optee optee: OP-TEE: revision 3.16 (d0b742d1)


U-Boot 2021.10-stm32mp-r1 (Oct 04 2021 - 15:09:26 +0000)

CPU: STM32MP135F Rev.A
Model: STMicroelectronics STM32MP135F-DK Discovery Board
Board: stm32mp1 in trusted mode (st,stm32mp135f-dk)
Board: MB1635 Var1.0 Rev.B-03
DRAM:  512 MiB
optee optee: OP-TEE: revision 3.16 (d0b742d1)
Clocks:
- MPU : 1000 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
WDT:   Started with servicing (32s timeout)
NAND:  0 MiB
MMC:   STM32 SD/MMC: 0, STM32 SD/MMC: 1
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Net:   eth0: eth1@5800a000, eth1: eth2@5800e000
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/stm32mp135f-dk_extlinux.conf
Retrieving file: /mmc0_extlinux/stm32mp135f-dk_extlinux.conf
565 bytes read in 16 ms (34.2 KiB/s)
Retrieving file: /splash_landscape.bmp
7802 bytes read in 15 ms (507.8 KiB/s)
Select the boot mode
1:      OpenSTLinux
2:      stm32mp135f-dk-a7-examples
Enter choice: 1:        OpenSTLinux
Retrieving file: /st-image-resize-initrd
29774860 bytes read in 1255 ms (22.6 MiB/s)
Retrieving file: /uImage
7875832 bytes read in 344 ms (21.8 MiB/s)
append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw   console=ttySTM0,115200
Retrieving file: /stm32mp135f-dk.dtb
59732 bytes read in 17 ms (3.4 MiB/s)
## Booting kernel from Legacy Image at c2000000 ...
   Image Name:   Linux-5.15.24
   Created:      2022-02-16  11:56:41 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7875768 Bytes = 7.5 MiB
   Load Address: c2000040
   Entry Point:  c2000040
   Verifying Checksum ... OK
## Flattened Device Tree blob at c4000000
   Booting using the fdt blob at 0xc4000000
   XIP Kernel Image
   Loading Ramdisk to ce39a000, end cffff40c ... OK
   Loading Device Tree to ce388000, end ce399953 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.24 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.38.20220313) #1 SMP PREEMPT Wed Feb 16 11:56:41 UTC 2022
[    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 STM32MP135F-DK Discovery Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 128 MiB at 0xd4800000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000c0000000-0x00000000dcffffff]
[    0.000000]   HighMem  [mem 0x00000000dd000000-0x00000000dfffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000dcdfffff]
[    0.000000]   node   0: [mem 0x00000000dce00000-0x00000000dcfeffff]
[    0.000000]   node   0: [mem 0x00000000dcff0000-0x00000000dcffffff]
[    0.000000]   node   0: [mem 0x00000000dd000000-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 17 pages/cpu s36940 r8192 d24500 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130028
[    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:off, heap alloc:off, heap free:off
[    0.000000] Memory: 288560K/524288K available (12288K kernel code, 1229K rwdata, 3460K rodata, 1024K init, 199K bss, 104656K reserved, 131072K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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] rcu:     RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x464/0x640 with crng_init=0
[    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.000021] Switching to timer-based delay loop, resolution 41ns
[    0.000791] Console: colour dummy device 80x30
[    0.000863] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000889] pid_max: default: 32768 minimum: 301
[    0.001049] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001079] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002259] CPU: Testing write buffer coherency: ok
[    0.002656] /cpus/cpu@0 missing clock-frequency property
[    0.002710] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003899] Setting up static identity map for 0xc0100000 - 0xc0100060
[    0.004126] rcu: Hierarchical SRCU implementation.
[    0.005447] smp: Bringing up secondary CPUs ...
[    0.005480] smp: Brought up 1 node, 1 CPU
[    0.005494] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.005507] CPU: All CPU(s) started in SVC mode.
[    0.006256] devtmpfs: initialized
[    0.020054] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.020385] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.020430] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.025991] pinctrl core: initialized pinctrl subsystem
[    0.027590] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.030244] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.031700] thermal_sys: Registered thermal governor 'step_wise'
[    0.032059] cpuidle: using governor menu
[    0.032337] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.032362] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.032747] Serial: AMBA PL011 UART driver
[    0.035974] stm32-pm-domain pm_domain: domain core-ret-power-domain registered
[    0.036026] stm32-pm-domain pm_domain: subdomain core-power-domain registered
[    0.036042] stm32-pm-domain pm_domain: domains probed
[    0.048878] /soc/interrupt-controller@5000d000: bank0
[    0.048930] /soc/interrupt-controller@5000d000: bank1
[    0.048950] /soc/interrupt-controller@5000d000: bank2
[    0.063799] platform panel-rgb: Fixing up cyclic dependency with 5a001000.display-controller
[    0.075383] Kprobes globally optimized
[    0.085258] SCSI subsystem initialized
[    0.086053] usbcore: registered new interface driver usbfs
[    0.086130] usbcore: registered new interface driver hub
[    0.086200] usbcore: registered new device driver usb
[    0.086690] pps_core: LinuxPPS API ver. 1 registered
[    0.086714] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.086744] PTP clock support registered
[    0.086978] EDAC MC: Ver: 3.0.0
[    0.090851] clocksource: Switched to clocksource arch_sys_counter
[    0.163620] NET: Registered PF_INET protocol family
[    0.163860] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.165140] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.165205] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.165255] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.165324] TCP: Hash tables configured (established 4096 bind 4096)
[    0.165468] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.165521] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.165781] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.171714] RPC: Registered named UNIX socket transport module.
[    0.171754] RPC: Registered udp transport module.
[    0.171764] RPC: Registered tcp transport module.
[    0.171772] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.172487] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.174073] Initialise system trusted keyrings
[    0.174497] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.181366] Trying to unpack rootfs image as initramfs...
[    0.202760] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.211748] NFS: Registering the id_resolver key type
[    0.211813] Key type id_resolver registered
[    0.211827] Key type id_legacy registered
[    0.211983] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.212016] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.212164] ntfs: driver 2.1.32 [Flags: R/O].
[    0.212409] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.213185] fuse: init (API version 7.34)
[    0.214187] NET: Registered PF_ALG protocol family
[    0.214229] Key type asymmetric registered
[    0.214239] Asymmetric key parser 'x509' registered
[    0.221061] bounce: pool size: 64 pages
[    0.221201] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.221221] io scheduler mq-deadline registered
[    0.221232] io scheduler kyber registered
[    0.242467] STM32 USART driver initialized
[    0.291736] brd: module loaded
[    0.320094] loop: module loaded
[    0.336429] CAN device driver interface
[    0.338010] pegasus: Pegasus/Pegasus II USB Ethernet driver
[    0.338124] usbcore: registered new interface driver pegasus
[    0.338197] usbcore: registered new interface driver asix
[    0.338246] usbcore: registered new interface driver ax88179_178a
[    0.338292] usbcore: registered new interface driver cdc_ether
[    0.338361] usbcore: registered new interface driver smsc75xx
[    0.338422] usbcore: registered new interface driver smsc95xx
[    0.338478] usbcore: registered new interface driver net1080
[    0.338523] usbcore: registered new interface driver cdc_subset
[    0.338567] usbcore: registered new interface driver zaurus
[    0.338636] usbcore: registered new interface driver cdc_ncm
[    0.339491] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.339548] ehci-platform: EHCI generic platform driver
[    0.339759] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.339824] ohci-platform: OHCI generic platform driver
[    0.340347] usbcore: registered new interface driver usb-storage
[    0.372581] i2c_dev: i2c /dev entries driver
[    0.375585] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    0.376268] stm32-cpufreq stm32-cpufreq: OPP-v2 not supported
[    0.377103] sdhci: Secure Digital Host Controller Interface driver
[    0.377129] sdhci: Copyright(c) Pierre Ossman
[    0.377137] Synopsys Designware Multimedia Card Interface Driver
[    0.377461] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.378435] ledtrig-cpu: registered to indicate activity on CPUs
[    0.378963] usbcore: registered new interface driver usbhid
[    0.378989] usbhid: USB HID core driver
[    0.401212] optee: probing for conduit method.
[    0.401268] optee: revision 3.16 (d0b742d1)
[    0.402138] optee: Asynchronous notifications enabled
[    0.402187] optee: dynamic shared memory is enabled
[    0.404303] optee: initialized driver
[    0.405427] NET: Registered PF_PACKET protocol family
[    0.405485] can: controller area network core
[    0.405601] NET: Registered PF_CAN protocol family
[    0.405622] can: raw protocol
[    0.405638] can: broadcast manager protocol
[    0.405671] can: netlink gateway - max_hops=1
[    0.407258] random: fast init done
[    0.409127] Key type dns_resolver registered
[    0.409238] ThumbEE CPU extension supported.
[    0.409268] Registering SWP/SWPB emulation handler
[    0.409827] registered taskstats version 1
[    0.409887] Loading compiled-in X.509 certificates
[    0.414998] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
[    0.415196] arm-scmi firmware:scmi: SCMI Protocol v2.0 'ST:' Firmware version 0x0
[    0.415368] random: crng init done
[    0.482182] scmi-regulator scmi_dev.4: Regulator reg11 registered for domain [0]
[    0.482554] scmi-regulator scmi_dev.4: Regulator reg18 registered for domain [1]
[    0.482939] scmi-regulator scmi_dev.4: Regulator usb33 registered for domain [2]
[    0.483606] scmi-regulator scmi_dev.4: Regulator vddcpu registered for domain [3]
[    0.483970] scmi-regulator scmi_dev.4: Regulator vdd registered for domain [4]
[    0.484311] scmi-regulator scmi_dev.4: Regulator vddcore registered for domain [5]
[    0.484693] scmi-regulator scmi_dev.4: Regulator vdd_adc registered for domain [6]
[    0.485035] scmi-regulator scmi_dev.4: Regulator vdd_usb registered for domain [7]
[    0.485425] scmi-regulator scmi_dev.4: Regulator vdd_sd registered for domain [8]
[    0.485793] scmi-regulator scmi_dev.4: Regulator v1v8_periph registered for domain [9]
[    0.486165] scmi-regulator scmi_dev.4: Regulator v3v3_sw registered for domain [10]
[    0.551234] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOA bank added
[    0.551942] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOB bank added
[    0.552612] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOC bank added
[    0.553265] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOD bank added
[    0.553915] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOE bank added
[    0.554583] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOF bank added
[    0.555253] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOG bank added
[    0.555870] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOH bank added
[    0.561319] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOI bank added
[    0.561424] stm32mp135-pinctrl soc:pin-controller@50002000: Pinctrl STM32 initialized
[    0.573907] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered
[    0.576511] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[    0.591015] stm32-dma 48000000.dma-controller: STM32 DMA driver registered
[    0.600929] stm32-dma 48001000.dma-controller: STM32 DMA driver registered
[    0.602116] stm32-usart 40010000.serial: interrupt mode for rx (no dma)
[    0.602151] stm32-usart 40010000.serial: interrupt mode for tx (no dma)
[    0.602183] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 63, base_baud = 4000000) is a stm32-usart
[    3.639438] Freeing initrd memory: 29080K
[    3.651794] printk: console [ttySTM0] enabled
[    3.663896] [drm] Initialized simpledrm 1.0.0 20200625 for dce00000.framebuffer on minor 0
[    3.672071] stm32-dwmac 5800a000.eth1: IRQ eth_lpi not found
[    3.676664] stm32-dwmac 5800a000.eth1: PTP uses main clock
[    3.682974] stm32-dwmac 5800a000.eth1: User ID: 0x12, Synopsys ID: 0x42
[    3.688570] stm32-dwmac 5800a000.eth1:       DWMAC4/5
[    3.693248] stm32-dwmac 5800a000.eth1: DMA HW capability register supported
[    3.700117] stm32-dwmac 5800a000.eth1: RX Checksum Offload Engine supported
[    3.707168] stm32-dwmac 5800a000.eth1: TX Checksum insertion supported
[    3.713556] stm32-dwmac 5800a000.eth1: Wake-Up On Lan supported
[    3.719658] stm32-dwmac 5800a000.eth1: TSO supported
[    3.724452] stm32-dwmac 5800a000.eth1: Enable RX Mitigation via HW Watchdog Timer
[    3.731995] stm32-dwmac 5800a000.eth1: Enabled L3L4 Flow TC (entries=2)
[    3.738575] stm32-dwmac 5800a000.eth1: Enabled RFS Flow TC (entries=8)
[    3.745066] stm32-dwmac 5800a000.eth1: TSO feature enabled
[    3.750522] stm32-dwmac 5800a000.eth1: Using 32 bits DMA width
[    3.765229] stm32-dwmac 5800a000.eth1: Cannot register the MDIO bus
[    3.770114] stm32-dwmac 5800a000.eth1: stmmac_dvr_probe: MDIO bus (id: 0) registration failed
[    3.780657] stm32-dwmac 5800e000.eth2: IRQ eth_wake_irq not found
[    3.785649] stm32-dwmac 5800e000.eth2: IRQ eth_lpi not found
[    3.791392] stm32-dwmac 5800e000.eth2: PTP uses main clock
[    3.797321] stm32-dwmac 5800e000.eth2: User ID: 0x12, Synopsys ID: 0x42
[    3.803359] stm32-dwmac 5800e000.eth2:       DWMAC4/5
[    3.807720] stm32-dwmac 5800e000.eth2: DMA HW capability register supported
[    3.814777] stm32-dwmac 5800e000.eth2: RX Checksum Offload Engine supported
[    3.821709] stm32-dwmac 5800e000.eth2: TX Checksum insertion supported
[    3.828172] stm32-dwmac 5800e000.eth2: Wake-Up On Lan supported
[    3.834200] stm32-dwmac 5800e000.eth2: TSO supported
[    3.839054] stm32-dwmac 5800e000.eth2: Enable RX Mitigation via HW Watchdog Timer
[    3.846563] stm32-dwmac 5800e000.eth2: Enabled L3L4 Flow TC (entries=2)
[    3.853147] stm32-dwmac 5800e000.eth2: Enabled RFS Flow TC (entries=8)
[    3.859609] stm32-dwmac 5800e000.eth2: TSO feature enabled
[    3.865226] stm32-dwmac 5800e000.eth2: Using 32 bits DMA width
[    3.879296] stm32-dwmac 5800e000.eth2: Cannot register the MDIO bus
[    3.884355] stm32-dwmac 5800e000.eth2: stmmac_dvr_probe: MDIO bus (id: 1) registration failed
[    3.898312] ehci-platform 5800d000.usbh-ehci: EHCI Host Controller
[    3.903472] ehci-platform 5800d000.usbh-ehci: new USB bus registered, assigned bus number 1
[    3.912264] ehci-platform 5800d000.usbh-ehci: irq 53, io mem 0x5800d000
[    3.941412] ehci-platform 5800d000.usbh-ehci: USB 2.0 started, EHCI 1.00
[    3.948261] hub 1-0:1.0: USB hub found
[    3.950727] hub 1-0:1.0: 2 ports detected
[    3.958407] stm32_rtc 5c004000.rtc: registered as rtc0
[    3.962933] stm32_rtc 5c004000.rtc: setting system clock to 2000-01-01T00:01:06 UTC (946684866)
[    3.971615] stm32_rtc 5c004000.rtc: Date/Time must be initialized
[    3.976994] stm32_rtc 5c004000.rtc: registered rev:3.3
[    4.003098] stm32f7-i2c 40012000.i2c: STM32F7 I2C-0 bus adapter
[    4.181404] Goodix-TS 1-005d: ID 911, version: 1060
[    4.189673] input: Goodix Capacitive TouchScreen as /devices/platform/soc/4c006000.i2c/i2c-1/1-005d/input/input0
[    4.201681] i2c 1-0014: Fixing up cyclic dependency with 5a000000.dcmipp
[    4.207072] i2c 1-0014: Fixing up cyclic dependency with 1-003c
[    4.213658] stm32f7-i2c 4c006000.i2c: STM32F7 I2C-1 bus adapter
[    4.220452] stm_thermal 50028000.thermal: stm_thermal_read_factory_settings: wrong setting
[    4.227695] stm_thermal 50028000.thermal: Error prepare sensor: -22
[    4.233628] stm_thermal: probe of 50028000.thermal failed with error -22
[    4.240916] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    4.252730] mmci-pl18x 58005000.mmc: Got CD GPIO
[    4.256912] mmci-pl18x 58005000.mmc: mmc0: PL180 manf 53 rev2 at 0x58005000 irq 49,0 (pio)
[    4.294295] mmci-pl18x 58007000.mmc: allocated mmc-pwrseq
[    4.300039] mmci-pl18x 58007000.mmc: mmc1: PL180 manf 53 rev1 at 0x58007000 irq 50,0 (pio)
[    4.342792] 4c001000.serial: ttySTM3 at MMIO 0x4c001000 (irq = 64, base_baud = 4000000) is a stm32-usart
[    4.354305] mmc0: new high speed SDHC card at address aaaa
[    4.360329] mmcblk0: mmc0:aaaa SL16G 14.8 GiB 
[    4.364108] serial serial0: tty port ttySTM3 registered
[    4.385272]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
[    4.396103] [drm] Initialized stm 1.0.0 20170330 for 5a001000.display-controller on minor 0
[    4.405207] stm32-dwmac 5800a000.eth1: IRQ eth_lpi not found
[    4.409732] stm32-dwmac 5800a000.eth1: PTP uses main clock
[    4.415696] stm32-dwmac 5800a000.eth1: User ID: 0x12, Synopsys ID: 0x42
[    4.421709] stm32-dwmac 5800a000.eth1:       DWMAC4/5
[    4.426250] stm32-dwmac 5800a000.eth1: DMA HW capability register supported
[    4.433197] stm32-dwmac 5800a000.eth1: RX Checksum Offload Engine supported
[    4.440094] stm32-dwmac 5800a000.eth1: TX Checksum insertion supported
[    4.446811] stm32-dwmac 5800a000.eth1: Wake-Up On Lan supported
[    4.452995] stm32-dwmac 5800a000.eth1: TSO supported
[    4.457572] stm32-dwmac 5800a000.eth1: Enable RX Mitigation via HW Watchdog Timer
[    4.466200] hub 1-1:1.0: USB hub found
[    4.468856] stm32-dwmac 5800a000.eth1: Enabled L3L4 Flow TC (entries=2)
[    4.475457] hub 1-1:1.0: 4 ports detected
[    4.479397] stm32-dwmac 5800a000.eth1: Enabled RFS Flow TC (entries=8)
[    4.486153] stm32-dwmac 5800a000.eth1: TSO feature enabled
[    4.491518] stm32-dwmac 5800a000.eth1: Using 32 bits DMA width
[    4.497783] stm32-dwmac 5800a000.eth1: Unbalanced pm_runtime_enable!
[    4.519753] stm32-dwmac 5800e000.eth2: IRQ eth_wake_irq not found
[    4.524632] stm32-dwmac 5800e000.eth2: IRQ eth_lpi not found
[    4.530316] stm32-dwmac 5800e000.eth2: PTP uses main clock
[    4.536816] stm32-dwmac 5800e000.eth2: User ID: 0x12, Synopsys ID: 0x42
[    4.542392] stm32-dwmac 5800e000.eth2:       DWMAC4/5
[    4.546897] stm32-dwmac 5800e000.eth2: DMA HW capability register supported
[    4.553880] stm32-dwmac 5800e000.eth2: RX Checksum Offload Engine supported
[    4.560854] stm32-dwmac 5800e000.eth2: TX Checksum insertion supported
[    4.567260] stm32-dwmac 5800e000.eth2: Wake-Up On Lan supported
[    4.573172] stm32-dwmac 5800e000.eth2: TSO supported
[    4.578153] stm32-dwmac 5800e000.eth2: Enable RX Mitigation via HW Watchdog Timer
[    4.585701] stm32-dwmac 5800e000.eth2: Enabled L3L4 Flow TC (entries=2)
[    4.592215] stm32-dwmac 5800e000.eth2: Enabled RFS Flow TC (entries=8)
[    4.598818] stm32-dwmac 5800e000.eth2: TSO feature enabled
[    4.604224] stm32-dwmac 5800e000.eth2: Using 32 bits DMA width
[    4.610160] stm32-dwmac 5800e000.eth2: Unbalanced pm_runtime_enable!
[    4.634297] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    4.649981] Freeing unused kernel image (initmem) memory: 1024K
[    4.671200] Run /init as init process
[    4.702750] mmc1: new high speed SDIO card at address 0001
Starting version 250.4-1-gc3aead5+
[    7.273949] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[    7.898013] systemd[1]: System time before build time, advancing clock.
[    8.025019] NET: Registered PF_INET6 protocol family
[    8.066917] Segment Routing with IPv6
[    8.069244] In-situ OAM (IOAM) with IPv6
[    8.137007] systemd[1]: systemd 250.4-1-gc3aead5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK -SECCOMP -GCRYPT -GNUTLS -OPENSSL -ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN +IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE )
[    8.169507] systemd[1]: Detected architecture arm.

Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15 (kirkstone)!

[    8.255611] systemd[1]: Hostname set to <stm32mp1>.
[    8.299914] systemd[1]: Using hardware watchdog 'STM32 Independent Watchdog', version 0, device /dev/watchdog0
[    8.314974] systemd[1]: Watchdog running with a timeout of 32s.
[   11.102727] systemd[1]: /lib/systemd/system/mount-partitions.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[   11.141883] systemd[1]: Queued start job for default target Multi-User System.
[   11.203503] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[   11.245950] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[   11.286126] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[   11.324241] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   11.361974] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[   11.401905] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[   11.441913] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[   11.481423] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   11.521447] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[   11.561504] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[   11.631579] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[   11.672008] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[   11.712804] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   11.770287] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[   11.812856] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   11.860557] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
[   11.872036] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   11.913452] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   11.953038] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[   11.992995] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   12.032365] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   12.072656] systemd[1]: Listening on User Database Manager Socket.
[  OK  ] Listening on User Database Manager Socket.
[   12.112814] systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[   12.133687] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   12.164112] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   12.188900] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[   12.243186] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[   12.277732] systemd[1]: Starting Create List of Static Device Nodes...
         Starting Create List of Static Device Nodes...
[   12.330448] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   12.387946] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[   12.438139] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   12.487907] systemd[1]: Starting Mount partitions...
         Starting Mount partitions...
[   12.546321] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[   12.567056] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
[   12.661499] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   12.685410] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.
[   12.725872] systemd[1]: Starting Generate network units from Kernel command line...
         Starting Generate network …ts from Kernel command line...
[   12.823717] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   12.943468] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   13.042273] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   13.123961] EXT4-fs (mmcblk0p10): re-mounted. Opts: (null). Quota mode: disabled.
[   13.286162] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[   13.372941] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   13.405034] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[   13.422949] systemd[1]: Mounted Kernel Trace File System.
[  OK  ] Mounted Kernel Trace File System.
[   13.472301] systemd[1]: Mounted Temporary Directory /tmp.
[  OK  ] Mounted Temporary Directory /tmp.
[   13.512167] systemd[1]: Finished Create List of Static Device Nodes.
[  OK  ] Finished Create List of Static Device Nodes.
[   13.528933] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[   13.546454] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[   13.573442] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[   13.637754] systemd[1]: modprobe@drm.service: Deactivated successfully.
[   13.679419] systemd[1]: Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module drm.
[   13.753711] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[   13.785038] systemd[1]: Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module fuse.
[   13.847188] systemd[1]: Finished Generate network units from Kernel command line.
[  OK  ] Finished Generate network units from Kernel command line.
[   13.931121] systemd[1]: Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Remount Root and Kernel File Systems.
[   13.993641] systemd[1]: Finished Apply Kernel Variables.
[  OK  ] Finished Apply Kernel Variables.
[   14.084085] systemd[1]: Mounting FUSE Control File System...
         Mounting FUSE Control File System...
[   14.164136] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[   14.286377] systemd[1]: Started Starts Psplash Boot screen.
[  OK  ] Started Starts Psplash Boot screen.
[   14.332038] systemd[1]: First Boot Wizard was skipped because of a failed condition check (ConditionFirstBoot=yes).
[   14.373028] systemd[1]: Rebuild Hardware Database was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
[   14.416174] systemd[1]: Platform Persistent Storage Archival was skipped because of a failed condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[   14.441490] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[   14.464942] systemd[1]: Create System Users was skipped because of a failed condition check (ConditionNeedsUpdate=/etc).
[   14.530349] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[   14.629552] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Create Static Device Nodes in /dev.
[   14.919875] EXT4-fs (mmcblk0p11): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[  OK  ] Reached target Preparation for Local File Systems.
         Mounting /var/volatile...
         Starting Flush Journal to Persistent Storage...
         Starting Rule-based Manage…for Device Events and Files...
[   15.070451] systemd-journald[677]: Received client request to flush runtime journal.
[  OK  ] Finished Mount partitions.
[  OK  ] Mounted /var/volatile.
[  OK  ] Finished Flush Journal to Persistent Storage.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Finished Coldplug All udev Devices.
         Starting Wait for udev To …plete Device Initialization...
[  OK  ] Started Network Time Synchronization.
[   18.528160] dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regulator
[  OK  ] Created slice Slice /system/systemd-backlight.
[  OK  ] Reached target System Time Set.
[   18.588049] dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regulator
[   18.612930] mc: Linux media interface: v0.10
         Starting Load/Save Screen …f backlight:panel-backlight...
[   18.743059] stm32-cryp 54002000.crypto: will run requests pump with realtime priority
[   18.777704] videodev: Linux video capture interface: v2.00
[   18.803445] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM
[   18.852197] dwc2 49000000.usb-otg: DWC OTG Controller
[   18.855904] dwc2 49000000.usb-otg: new USB bus registered, assigned bus number 2
[   18.895559] stm32-cryp 54002000.crypto: Initialized
[   18.966418] ov5640 1-003c: supply AVDD not found, using dummy regulator
[   18.977836] Bluetooth: Core ver 2.22
[   18.980308] dwc2 49000000.usb-otg: irq 75, io mem 0x49000000
[   19.000158] st-mipid02 1-0014: mipid02 device probe successfully
[   19.005727] ov5640 1-003c: supply DVDD not found, using dummy regulator
[   19.019518] NET: Registered PF_BLUETOOTH protocol family
[  OK  ] Finis[   19.047149] hub 2-0:1.0: USB hub found
hed Load/Save Screen … of backlight:panel-backlight.
[   19.060610] Bluetooth: HCI device and connection manager initialized
[   19.103005] hub 2-0:1.0: 1 port detected
[   19.109304] Bluetooth: HCI socket layer initialized
[   19.140423] ov5640 1-003c: ov5640_read_reg: error: reg=300a
[   19.161370] ov5640 1-003c: ov5640_check_chip_id: failed to read chip identifier
[   19.171911] stm32-crc32 58009000.crc: Initialized
[   19.177688] Bluetooth: L2CAP socket layer initialized
[   19.207606] Bluetooth: SCO socket layer initialized
[   19.321025] ucsi-stm32g0-i2c 0-0053: GET_CURRENT_CAM command failed
[   19.385986] Bluetooth: HCI UART driver ver 2.3
[   19.445680] Bluetooth: HCI UART protocol H4 registered
[   19.486992] Bluetooth: HCI UART protocol Broadcom registered
[   19.801447] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   19.889573] dcmipp 5a000000.dcmipp: Probe done
[   19.902116] Bluetooth: hci0: BCM: chip id 94
[   19.905523] Bluetooth: hci0: BCM: features 0x2e
[   19.911042] Bluetooth: hci0: BCM43430A1
[   19.913520] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[   19.927132] Bluetooth: hci0: BCM43430A1 'brcm/BCM43430A1.hcd' Patch
[   20.137848] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   20.386383] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   20.453914] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.st,stm32mp135f-dk.bin failed with error -2
[   20.586712] Bluetooth: hci0: BCM4343WA1 37.4MHz Murata Type-1DX BT4.2-0093
[   20.592365] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0395
[   20.781552] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   20.891623] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Feb 16 2020 22:39:24 version 7.45.98.97 (r724416 CY) FWID 01-bf41ed64
[**    ] A start job is running for Wait for…ice Initialization (11s / 3min 6s)
[   22.565272] dcmipp 5a000000.dcmipp: bound dcmipp-parallel.1.auto (ops dcmipp_par_pdrv_exit [dcmipp_parallel])
[   22.666239] dcmipp 5a000000.dcmipp: bound dcmipp-byteproc.2.auto (ops dcmipp_byteproc_pdrv_exit [dcmipp_byteproc])
[ ***  ] A start job is running for Wait for…ice Initialization (12s / 3min 6s)
[   23.614739] using random self ethernet address
[   23.617812] using random host ethernet address
[   23.726974] usb0: HOST MAC 8c:e0:1f:26:cb:05
[   23.729847] usb0: MAC 9a:e1:5d:f0:be:e8
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
[   23.878570] dwc2 49000000.usb-otg: new device is high-speed
         Starting Load/Save RF Kill Switch Status...
[   23.919562] dwc2 49000000.usb-otg: new address 36
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Reached target Hardware activated USB gadget.
[   24.175044] dwc2 49000000.usb-otg: new device is high-speed
[  OK  ] Finished Wait for udev To Complete Device Initialization.
[   24.227541] dwc2 49000000.usb-otg: new device is high-speed
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
[   24.266799] dwc2 49000000.usb-otg: new address 36
[  OK  ] Reached target System Initialization.
[  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.
[   24.462252] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[  OK  ] Listening on dropbear.socket.
[  OK  ] Reached target Socket Units.
[  OK  ] Reached target Basic System.
         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...
         Starting Hold until boot process finishes up...
         Starting Resets System Activity Logs...
         Starting User Login Management...
[  OK  ] Started TEE Supplicant.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Finished IPv6 Packet Filtering Framework.
[  OK  ] Finished IPv4 Packet Filtering Framework.
[  OK  ] Finished Hold until boot process finishes up.
[  OK  ] Finished Resets System Activity Logs.
[  OK  ] Reached target Preparation for Network.
         Starting Network Configuration...
         Starting Check if the gpu …orrect weston configuration...
[   25.788315] Gcnano in /proc/device-tree/soc/ is not available
[  OK  ] Finished Check if the gpu … correct weston configuration.
[  OK  ] Started Bluetooth service.
[  OK  ] Reached target Bluetooth Support.
         Starting Hostname Service...
[  OK  ] Started User Login Management.
[  OK  ] Started Network Configuration.
         Starting Network Name Resolution...
[   27.002138] stm32-dwmac 5800e000.eth2 eth1: PHY [stmmac-1:00] driver [SMSC LAN8742A] (irq=POLL)
[   27.021604] stm32-dwmac 5800e000.eth2 eth1: Register MEM_TYPE_PAGE_POOL RxQ-0
[   27.051207] dwmac4: Master AXI performs any burst length
[   27.055100] stm32-dwmac 5800e000.eth2 eth1: No Safety Features support found
[   27.091216] stm32-dwmac 5800e000.eth2 eth1: IEEE 1588-2008 Advanced Timestamp supported
[   27.112944] stm32-dwmac 5800e000.eth2 eth1: registered PTP clock
[   27.143595] stm32-dwmac 5800e000.eth2 eth1: configuring for phy/rmii link mode
[   27.272219] stm32-dwmac 5800a000.eth1 eth0: PHY [stmmac-0:00] driver [SMSC LAN8742A] (irq=POLL)
[   27.301585] stm32-dwmac 5800a000.eth1 eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   27.321099] dwmac4: Master AXI performs any burst length
[   27.324992] stm32-dwmac 5800a000.eth1 eth0: No Safety Features support found
[   27.361197] stm32-dwmac 5800a000.eth1 eth0: IEEE 1588-2008 Advanced Timestamp supported
[   27.390146] stm32-dwmac 5800a000.eth1 eth0: registered PTP clock
[   27.417645] stm32-dwmac 5800a000.eth1 eth0: configuring for phy/rmii link mode
[  OK  ] Started Hostname Service.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Network.
[  OK  ] Reached target Host and Network Name Lookups.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started IIO Daemon.
         Starting Real time performance monitoring...
[  OK  ] Started Respond to IPv6 Node Information Queries.
[  OK  ] Started Network Router Discovery Daemon.
         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 Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttySTM0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Weston, a Wayland …mpositor, as a system service.
[  OK  ] Reached target Multi-User System.
         Starting Record Runlevel Change in UTMP...
[  OK  ] Finished Record Runlevel Change in UTMP.
         Starting User Database Manager...
[  OK  ] Started User Database Manager.

ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15 stm32mp1 ttySTM0

stm32mp1 login: root (automatic login)

root@stm32mp1:~#

Basic commands[edit source]

Printing distribution specific information[edit source]

root@stm32mp1:~# cat /etc/build
-----------------------
Build Configuration:  |
-----------------------
BB_VERSION = 2.0.0
BUILD_SYS = x86_64-linux
NATIVELSBSTRING = universal
TARGET_SYS = arm-ostl-linux-gnueabi
MACHINE = stm32mp1
DISTRO = openstlinux-weston
DISTRO_VERSION = 4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15
TUNE_FEATURES = arm vfp cortexa7 neon vfpv4 thumb callconvention-hard
TARGET_FPU = hard
MANIFESTVERSION = ostl-22-06-15-rc1-5-g9acfd44
DISTRO_CODENAME = kirkstone
ACCEPT_EULA_stm32mp1 = 1
GCCVERSION = 11.%
PREFERRED_PROVIDER_virtual/kernel = linux-stm32mp
-----------------------
Layer Revisions:      |
-----------------------
meta-python       = v4.0.xml:0b78362654262145415df8211052442823b9ec9b 
meta-oe           = v4.0.xml:0b78362654262145415df8211052442823b9ec9b 
meta-gnome        = v4.0.xml:0b78362654262145415df8211052442823b9ec9b 
meta-initramfs    = v4.0.xml:0b78362654262145415df8211052442823b9ec9b 
meta-multimedia   = v4.0.xml:0b78362654262145415df8211052442823b9ec9b 
meta-networking   = v4.0.xml:0b78362654262145415df8211052442823b9ec9b 
meta-webserver    = v4.0.xml:0b78362654262145415df8211052442823b9ec9b 
meta-filesystems  = v4.0.xml:0b78362654262145415df8211052442823b9ec9b 
meta-perl         = v4.0.xml:0b78362654262145415df8211052442823b9ec9b 
meta-st-stm32mp   = v4.0.xml:61074d0f7844cc6bed136aa1f2838ce4d7fc2280 
meta-qt5          = v4.0.xml:5b71df60e523423b9df6793de9387f87a149ac42 
meta-st-openstlinux = v4.0.xml:a88657836163f09c9f95fa247ff3c99475cdf24c 
meta              = v4.0.xml:cb8647c08959abb1d6b7c2b3a34b4b415f66d7ee

Printing system information[edit source]

  uname -a
Linux stm32mp1 5.15.24 #1 SMP PREEMPT Wed Feb 16 11:56:41 UTC 2022 armv7l armv7l armv7l GNU/Linux

Printing Linux kernel and GCC versions[edit source]

 cat /proc/version
Linux version 5.15.24 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.38.20220313) #1 SMP PREEMPT Wed Feb 16 11:56:41 UTC 2022

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

 df -h
Filesystem       Size  Used Avail Use% Mounted on
devtmpfs         141M     0  141M   0% /dev
/dev/mmcblk0p10  684M  453M  184M  72% /
tmpfs            220M  172K  220M   1% /dev/shm
tmpfs             88M  8.7M   80M  10% /run
tmpfs            4.0M     0  4.0M   0% /sys/fs/cgroup
tmpfs            220M   20K  220M   1% /tmp
/dev/mmcblk0p8    55M   39M   12M  77% /boot
/dev/mmcblk0p9    14M  5.9M  6.8M  47% /vendor
/dev/mmcblk0p11   14G   45M   13G   1% /usr/local
tmpfs            220M   96K  220M   1% /var/volatile
tmpfs             44M  4.0K   44M   1% /run/user/1000
tmpfs             44M     0   44M   0% /run/user/0


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@stm32mp13-disco:~#


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