Execute basic commands

< Getting started‎ | STM32MP1 boards‎ | STM32MP157x-DK2‎ | Let's start
Revision as of 16:43, 16 November 2022 by Registered User (Printing the amount of disk space available on all mounted file systems)

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]

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]

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-02
INFO:    PMIC version = 0x20
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:    Using SDMMC
INFO:      Instance 1
INFO:    Boot used partition fsbl1
NOTICE:  BL2: v2.6-stm32mp1-r2.0(debug):v2.6-dirty(a1f02f4f)
NOTICE:  BL2: Built : 13:14:26, Nov 23 2021
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 - 0x2ffff1fa
INFO:    FCONF: Reading FW_CONFIG firmware configuration file from: 0x2ffff000
INFO:    FCONF: Reading firmware configuration information for: dyn_cfg
INFO:    FCONF: Reading firmware configuration information for: stm32mp1_firewall
INFO:    BL2: Loading image id 4
INFO:    Loading image id=4 at address 0x2ffc0000
INFO:    Image id=4 loaded: 0x2ffc0000 - 0x2ffc002c
INFO:    OPTEE ep=0x2ffc0000
INFO:    OPTEE header info:
INFO:          magic=0x4554504f
INFO:          version=0x2
INFO:          arch=0x0
INFO:          flags=0x0
INFO:          nb_images=0x2
INFO:    BL2: Loading image id 8
INFO:    Loading image id=8 at address 0x2ffc0000
INFO:    Image id=8 loaded: 0x2ffc0000 - 0x2ffda730
INFO:    BL2: Loading image id 9
INFO:    Loading image id=9 at address 0xde200000
INFO:    Image id=9 loaded: 0xde200000 - 0xde253000
INFO:    BL2: Loading image id 2
INFO:    Loading image id=2 at address 0xc0500000
INFO:    Image id=2 loaded: 0xc0500000 - 0xc051d858
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 - 0xc01ece88
NOTICE:  BL2: Booting BL32
INFO:    Entry point address = 0x2ffc0000
INFO:    SPSR = 0x1d3
I/TC: Early console on UART#4
I/TC: 
I/TC: Pager is enabled. Hashes: 2752 bytes
I/TC: Pager pool size: 60kB
I/TC: Non-secure external DT found
I/TC: Embedded DTB found
I/TC: OP-TEE version: 3.16.0-dev (gcc version 11.3.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: DT clock tree configurations were ignored
I/TC: WARNING: All debug access are allowed
I/TC: Platform stm32mp1: flavor PLATFORM_FLAVOR - DT stm32mp157f-dk2.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-r2 (Oct 04 2021 - 15:09:26 +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-02
DRAM:  512 MiB
optee optee: OP-TEE: revision 3.16 (d0b742d1)
Clocks:
- MPU : 800 MHz
- MCU : 208.878 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: ethernet@5800a000
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
790 bytes read in 119 ms (5.9 KiB/s)
Retrieving file: /splash_portrait.bmp
89462 bytes read in 122 ms (715.8 KiB/s)
Select the boot mode
1:      OpenSTLinux
2:      stm32mp157f-dk2-a7-examples
3:      stm32mp157f-dk2-m4-examples
Enter choice: 1:        OpenSTLinux
Retrieving file: /uImage
7903216 bytes read in 452 ms (16.7 MiB/s)
Retrieving file: /st-image-resize-initrd
4059103 bytes read in 290 ms (13.3 MiB/s)
append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw   console=ttySTM0,115200
Retrieving file: /stm32mp157f-dk2.dtb
118879 bytes read in 124 ms (935.5 KiB/s)
## Booting kernel from Legacy Image at c2000000 ...
   Image Name:   Linux-5.15.67
   Created:      2022-09-08  10:32:54 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7903152 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 cfc21000, end cfffffdf ... OK
   Loading Device Tree to cfc00000, end cfc2005e ... 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 5.15.67 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Thu Sep 8 10:32:54 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 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 128 MiB at 0xc7800000
[    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 17 pages/cpu s37004 r8192 d24436 u69632
[    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:off, heap alloc:off, heap free:off
[    0.000000] Memory: 262156K/524288K available (12288K kernel code, 1241K rwdata, 3468K rodata, 1024K init, 201K bss, 131060K reserved, 131072K 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] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000024] Switching to timer-based delay loop, resolution 41ns
[    0.001777] Console: colour dummy device 80x30
[    0.001858] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.001887] pid_max: default: 32768 minimum: 301
[    0.002168] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002200] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003415] CPU: Testing write buffer coherency: ok
[    0.003887] /cpus/cpu@0 missing clock-frequency property
[    0.003949] /cpus/cpu@1 missing clock-frequency property
[    0.003976] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005447] Setting up static identity map for 0xc0100000 - 0xc0100060
[    0.005671] rcu: Hierarchical SRCU implementation.
[    0.007237] smp: Bringing up secondary CPUs ...
[    0.013357] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.013573] smp: Brought up 1 node, 2 CPUs
[    0.013606] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.013621] CPU: All CPU(s) started in SVC mode.
[    0.014500] devtmpfs: initialized
[    0.045255] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.045622] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.045659] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.051669] pinctrl core: initialized pinctrl subsystem
[    0.054102] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.057131] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.058795] thermal_sys: Registered thermal governor 'step_wise'
[    0.059159] cpuidle: using governor menu
[    0.059519] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.059548] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.059994] Serial: AMBA PL011 UART driver
[    0.063668] stm32-pm-domain pm_domain: domain core-ret-power-domain registered
[    0.063721] stm32-pm-domain pm_domain: subdomain core-power-domain registered
[    0.063739] stm32-pm-domain pm_domain: domains probed
[    0.102086] platform 5a000000.dsi: Fixing up cyclic dependency with 5a001000.display-controller
[    0.119182] Kprobes globally optimized
[    0.129232] SCSI subsystem initialized
[    0.130055] usbcore: registered new interface driver usbfs
[    0.130131] usbcore: registered new interface driver hub
[    0.130198] usbcore: registered new device driver usb
[    0.130686] pps_core: LinuxPPS API ver. 1 registered
[    0.130708] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.130741] PTP clock support registered
[    0.130996] EDAC MC: Ver: 3.0.0
[    0.134670] clocksource: Switched to clocksource arch_sys_counter
[    0.216461] NET: Registered PF_INET protocol family
[    0.216797] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.218057] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.218125] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.218151] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.218208] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.218294] TCP: Hash tables configured (established 4096 bind 4096)
[    0.218441] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.218492] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.218814] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.219766] RPC: Registered named UNIX socket transport module.
[    0.219802] RPC: Registered udp transport module.
[    0.219814] RPC: Registered tcp transport module.
[    0.219824] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.220614] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.220977] Trying to unpack rootfs image as initramfs...
[    0.222532] Initialise system trusted keyrings
[    0.234914] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.244842] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.255662] NFS: Registering the id_resolver key type
[    0.255792] Key type id_resolver registered
[    0.255809] Key type id_legacy registered
[    0.255972] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.256005] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.256171] ntfs: driver 2.1.32 [Flags: R/O].
[    0.256470] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    0.257334] fuse: init (API version 7.34)
[    0.258687] NET: Registered PF_ALG protocol family
[    0.258730] Key type asymmetric registered
[    0.258743] Asymmetric key parser 'x509' registered
[    0.258906] bounce: pool size: 64 pages
[    0.259009] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.259028] io scheduler mq-deadline registered
[    0.259042] io scheduler kyber registered
[    0.277399] STM32 USART driver initialized
[    0.319726] brd: module loaded
[    0.340951] loop: module loaded
[    0.348826] CAN device driver interface
[    0.351146] pegasus: Pegasus/Pegasus II USB Ethernet driver
[    0.351250] usbcore: registered new interface driver pegasus
[    0.351328] usbcore: registered new interface driver asix
[    0.351401] usbcore: registered new interface driver ax88179_178a
[    0.351459] usbcore: registered new interface driver cdc_ether
[    0.351528] usbcore: registered new interface driver smsc75xx
[    0.351626] usbcore: registered new interface driver smsc95xx
[    0.351684] usbcore: registered new interface driver net1080
[    0.351739] usbcore: registered new interface driver cdc_subset
[    0.351801] usbcore: registered new interface driver zaurus
[    0.351932] usbcore: registered new interface driver cdc_ncm
[    0.353099] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.353164] ehci-platform: EHCI generic platform driver
[    0.353432] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.353470] ohci-platform: OHCI generic platform driver
[    0.354182] usbcore: registered new interface driver usb-storage
[    0.376759] i2c_dev: i2c /dev entries driver
[    0.381269] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    0.383119] sdhci: Secure Digital Host Controller Interface driver
[    0.383151] sdhci: Copyright(c) Pierre Ossman
[    0.383164] Synopsys Designware Multimedia Card Interface Driver
[    0.383675] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.394865] ledtrig-cpu: registered to indicate activity on CPUs
[    0.395608] usbcore: registered new interface driver usbhid
[    0.395637] usbhid: USB HID core driver
[    0.398112] optee: probing for conduit method.
[    0.398155] optee: revision 3.16 (d0b742d1)
[    0.398652] optee: dynamic shared memory is enabled
[    0.438453] optee: initialized driver
[    0.441116] NET: Registered PF_PACKET protocol family
[    0.441189] can: controller area network core
[    0.441313] NET: Registered PF_CAN protocol family
[    0.441334] can: raw protocol
[    0.441349] can: broadcast manager protocol
[    0.441367] can: netlink gateway - max_hops=1
[    0.443646] random: crng init done
[    0.455139] Key type dns_resolver registered
[    0.455266] ThumbEE CPU extension supported.
[    0.455301] Registering SWP/SWPB emulation handler
[    0.455785] registered taskstats version 1
[    0.455825] Loading compiled-in X.509 certificates
[    0.464590] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
[    0.476411] arm-scmi firmware:scmi: SCMI Protocol v2.0 'ST:' Firmware version 0x0
[    0.581172] Freeing initrd memory: 3964K
[    0.600468] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered
[    0.603096] stm32-dma 48000000.dma-controller: STM32 DMA driver registered
[    0.606040] stm32-dma 48001000.dma-controller: STM32 DMA driver registered
[    0.608737] [drm] Initialized simpledrm 1.0.0 20200625 for ddc00000.framebuffer on minor 0
[    0.612627] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfully
[    0.619325] /soc/interrupt-controller@5000d000: bank0
[    0.619375] /soc/interrupt-controller@5000d000: bank1
[    0.619400] /soc/interrupt-controller@5000d000: bank2
[    0.621836] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOA bank added
[    0.622565] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOB bank added
[    0.623239] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOC bank added
[    0.623872] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOD bank added
[    0.624508] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOE bank added
[    0.625281] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOF bank added
[    0.625991] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOG bank added
[    0.626671] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOH bank added
[    0.627317] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOI bank added
[    0.627650] stm32mp157-pinctrl soc:pinctrl@50002000: Pinctrl STM32 initialized
[    0.630589] stm32mp157-pinctrl soc:pinctrl@54004000: GPIOZ bank added
[    0.630641] stm32mp157-pinctrl soc:pinctrl@54004000: Pinctrl STM32 initialized
[    0.633704] 4000e000.serial: ttySTM3 at MMIO 0x4000e000 (irq = 62, base_baud = 4000000) is a stm32-usart
[    0.634044] serial serial0: tty port ttySTM3 registered
[    0.636138] stm32-usart 40010000.serial: interrupt mode for rx (no dma)
[    0.636175] stm32-usart 40010000.serial: interrupt mode for tx (no dma)
[    0.636209] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 63, base_baud = 4000000) is a stm32-usart
[    1.882000] printk: console [ttySTM0] enabled
[    1.889296] stm32-dwmac 5800a000.ethernet: IRQ eth_lpi not found
[    1.894889] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42
[    1.900890] stm32-dwmac 5800a000.ethernet:   DWMAC4/5
[    1.905893] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported
[    1.913067] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported
[    1.920460] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported
[    1.927347] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported
[    1.933628] stm32-dwmac 5800a000.ethernet: TSO supported
[    1.938920] stm32-dwmac 5800a000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.946721] stm32-dwmac 5800a000.ethernet: Enabled L3L4 Flow TC (entries=2)
[    1.953596] stm32-dwmac 5800a000.ethernet: Enabled RFS Flow TC (entries=8)
[    1.960503] stm32-dwmac 5800a000.ethernet: TSO feature enabled
[    1.966287] stm32-dwmac 5800a000.ethernet: Using 32 bits DMA width
[    1.985798] stm32_rtc 5c004000.rtc: registered as rtc0
[    1.989606] stm32_rtc 5c004000.rtc: setting system clock to 2000-01-01T00:04:28 UTC (946685068)
[    1.999057] stm32_rtc 5c004000.rtc: Date/Time must be initialized
[    2.004342] stm32_rtc 5c004000.rtc: registered rev:1.2
[    2.027449] i2c 0-0039: Fixing up cyclic dependency with 4000b000.audio-controller
[    2.033733] i2c 0-0039: Fixing up cyclic dependency with 5a001000.display-controller
[    2.046253] stm32f7-i2c 40012000.i2c: STM32F7 I2C-0 bus adapter
[    2.074881] stpmic1 1-0033: PMIC Chip Version: 0x20
[    2.083205] vddcore: supplied by vin
[    2.088606] vdd_ddr: supplied by vin
[    2.093708] vdd: supplied by vin
[    2.098680] v3v3: supplied by vin
[    2.103509] v1v8_audio: supplied by v3v3
[    2.110066] v3v3_hdmi: supplied by vin
[    2.115930] vtt_ddr: supplied by vdd_ddr
[    2.121576] vdd_usb: supplied by vin
[    2.124486] vdda: supplied by vin
[    2.130421] v1v2_hdmi: supplied by v3v3
[    2.136061] vref_ddr: supplied by vin
[    2.141537] bst_out: supplied by vin
[    2.144484] vbus_otg: supplied by bst_out
[    2.148621] vbus_sw: supplied by bst_out
[    2.153940] stm32f7-i2c 5c002000.i2c: STM32F7 I2C-1 bus adapter
[    2.162623] mmci-pl18x 58005000.mmc: Got CD GPIO
[    2.166874] mmci-pl18x 58005000.mmc: mmc0: PL180 manf 53 rev2 at 0x58005000 irq 55,0 (pio)
[    2.206290] mmci-pl18x 58007000.mmc: allocated mmc-pwrseq
[    2.212944] mmci-pl18x 58007000.mmc: mmc1: PL180 manf 53 rev2 at 0x58007000 irq 56,0 (pio)
[    2.248807] mmc0: new high speed SDHC card at address aaaa
[    2.254402] stm32-ipcc 4c001000.mailbox: ipcc rev:1.0 enabled, 6 chans, proc 0
[    2.255097] mmcblk0: mmc0:aaaa SS16G 14.8 GiB 
[    2.264508] stm32-rproc 10000000.m4: wdg irq registered
[    2.271335] remoteproc remoteproc0: m4 is available
[    2.277204] vref: supplied by vdd
[    2.280531] reg11: supplied by vdd
[    2.282551]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
[    2.282957] reg18: supplied by vdd
[    2.291919] usb33: supplied by vdd_usb
[    2.354980] i2c i2c-0: Added multiplexed i2c bus 2
[    2.361843] input: pmic_onkey as /devices/platform/soc/5c002000.i2c/i2c-1/1-0033/5c002000.i2c:stpmic@33:onkey/input/input0
[    2.375509] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[    2.381601] input: generic ft5x06 (00) as /devices/platform/soc/40012000.i2c/i2c-0/0-0038/input/input1
[    2.392141] [drm] Initialized stm 1.0.0 20170330 for 5a001000.display-controller on minor 0
[    2.404529] ehci-platform 5800d000.usb: EHCI Host Controller
[    2.408943] ehci-platform 5800d000.usb: new USB bus registered, assigned bus number 1
[    2.417298] ehci-platform 5800d000.usb: irq 87, io mem 0x5800d000
[    2.444793] ehci-platform 5800d000.usb: USB 2.0 started, EHCI 1.00
[    2.452928] hub 1-0:1.0: USB hub found
[    2.455694] hub 1-0:1.0: 2 ports detected
[    2.459865] mmc1: new high speed SDIO card at address 0001
[    2.469537] Freeing unused kernel image (initmem) memory: 1024K
[    2.505412] Run /init as init process
[    2.744821] usb 1-1: new high-speed USB device number 2 using ehci-platform
Starting version 250.5+
[    2.956579] hub 1-1:1.0: USB hub found
[    2.959283] hub 1-1:1.0: 4 ports detected
[    4.715105] EXT4-fs (mmcblk0p10): recovery complete
[    4.720787] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[    5.324474] systemd[1]: System time before build time, advancing clock.
[    5.461664] NET: Registered PF_INET6 protocol family
[    5.501874] Segment Routing with IPv6
[    5.504208] In-situ OAM (IOAM) with IPv6
[    5.566532] systemd[1]: systemd 250.5+ 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 -BZIP2 -LZ4)
[    5.598256] systemd[1]: Detected architecture arm.

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

[    5.778805] systemd[1]: Hostname set to <stm32mp1>.
[    5.837331] systemd[1]: Using hardware watchdog 'STM32 Independent Watchdog', version 0, device /dev/watchdog0
[    5.847187] systemd[1]: Watchdog running with a timeout of 32s.
[    6.698678] 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.
[    6.738404] systemd[1]: Queued start job for default target Multi-User System.
[    6.802344] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[    6.841095] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[    6.881164] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[    6.920096] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    6.956236] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password �…ts to Console Directory Watch.
[    6.995971] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R�…uests to Wall Directory Watch.
[    7.036305] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[    7.075338] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    7.115377] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[    7.155462] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[    7.229772] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[    7.265641] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[    7.307033] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    7.371237] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[    7.406935] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    7.457398] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
[    7.468193] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    7.507240] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    7.547514] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    7.587326] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    7.626703] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    7.666823] systemd[1]: Listening on User Database Manager Socket.
[  OK  ] Listening on User Database Manager Socket.
[    7.707179] systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    7.729594] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    7.777113] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    7.826356] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[    7.875971] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[    7.926792] systemd[1]: Starting Create List of Static Device Nodes...
         Starting Create List of Static Device Nodes...
[    7.977911] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    8.028160] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    8.078040] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    8.124539] systemd[1]: Starting Mount partitions...
         Starting Mount partitions...
[    8.167182] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[    8.197837] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
[    8.236700] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    8.280378] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.
[    8.315423] systemd[1]: Starting Generate network units from Kernel command line...
         Starting Generate network �…ts from Kernel command line...
[    8.360123] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    8.413712] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[    8.486676] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[    8.508212] EXT4-fs (mmcblk0p10): re-mounted. Opts: (null). Quota mode: disabled.
[    8.623716] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[    8.650835] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    8.696136] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[    8.736032] systemd[1]: Mounted Kernel Trace File System.
[  OK  ] Mounted Kernel Trace File System.
[    8.775939] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[    8.788884] EXT4-fs (mmcblk0p8): recovery complete
[    8.792292] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[  OK  ] Mounted Temporary Directory /tmp.
[  OK  ] Finished Create List of Static Device Nodes.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load 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...
[  OK  ] Started Starts Psplash Boot screen.
         Starting Flush Journal to Persistent Storage...
[    9.252724] systemd-journald[281]: Received client request to flush runtime journal.
[    9.279946] EXT4-fs (mmcblk0p9): recovery complete
[    9.285169] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Preparation for Local File Systems.
         Mounting /var/volatile...
[    9.607986] EXT4-fs (mmcblk0p11): recovery complete
         Starting[    9.627499] EXT4-fs (mmcblk0p11): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
 Rule-based Manage�…for Device Events and Files...
[  OK  ] Finished Mount partitions.
[  OK  ] Mounted /var/volatile.
         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...
[   11.178197] platform 4400b004.audio-controller: Fixing up cyclic dependency with 0-004a
[   11.209911] platform 4400b024.audio-controller: Fixing up cyclic dependency with 0-004a
[   11.264185] st,stm32-i2s 4000b000.audio-controller: No cache defaults, reading back from HW
[   11.403064] Bluetooth: Core ver 2.22
[   11.415123] stm32-hash 54002000.hash: will run requests pump with realtime priority
[   11.436679] stm32-cryp 54001000.cryp: will run requests pump with realtime priority
[   11.458149] NET: Registered PF_BLUETOOTH protocol family
[   11.467787] stm32-hash 54002000.hash: Init HASH done HW ver 23 DMA mode 1
[   11.473614] Bluetooth: HCI device and connection manager initialized
[  OK  ] Started Netwo[   11.483113] Bluetooth: HCI socket layer initialized
rk Time Synchron[   11.489999] Bluetooth: L2CAP socket layer initialized
ization  11.495275] Bluetooth: SCO socket layer initialized
[0m.
[  OK  ] Reached target System Time Set.
[   11.514215] stm32-cryp 54001000.cryp: Initialized
[   11.521592] Bluetooth: HCI UART driver ver 2.3
[   11.541935] Bluetooth: HCI UART protocol H4 registered
[   11.560821] Bluetooth: HCI UART protocol Broadcom registered
[   11.636795] stm32-crc32 58009000.crc: Initialized
[   11.678864] galcore: loading out-of-tree module taints kernel.
[   11.730638] Galcore version 6.4.9.436021
[   11.965881] Bluetooth: hci0: BCM: chip id 94
[   11.971514] Bluetooth: hci0: BCM: features 0x2e
[   11.976381] Bluetooth: hci0: BCM43430A1
[   11.978859] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[   11.990970] Bluetooth: hci0: BCM43430A1 'brcm/BCM43430A1.hcd' Patch
[   12.165110] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   12.323379] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   12.473337] dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regulator
[   12.483748] dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regulator
[   12.523128] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   12.542905] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.st,stm32mp157f-dk2.bin failed with error -2
[   12.637465] Bluetooth: hci0: BCM4343WA1 37.4MHz Murata Type-1DX BT4.2-0093
[   12.642987] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0395
[   12.679386] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM
[   12.723827] dwc2 49000000.usb-otg: DWC OTG Controller
[   12.782842] dwc2 49000000.usb-otg: new USB bus registered, assigned bus number 2
[   12.825305] dwc2 49000000.usb-otg: irq 91, io mem 0x49000000
[   12.836930] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   12.847233] hub 2-0:1.0: USB hub found
[   12.871686] hub 2-0:1.0: 1 port detected
[   12.925210] 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
[   13.451752] cs42l51 0-004a: Cirrus Logic CS42L51, Revision: 01
[  OK  ] Created slice Slice /system/systemd-backlight.
[  OK  ] Listening on Load/Save RF �…itch Status /dev/rfkill Watch.
         Starting Load/Save Screen �…of backlight:5a000000.dsi.0...
[  OK  ] Finished Load/Save Screen �…s of backlight:5a000000.dsi.0.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Load/Save RF Kill Switch Status.
[   14.828665] using random self ethernet address
[   14.831751] using random host ethernet address
[   14.882423] usb0: HOST MAC 28:4c:66:e6:ad:94
[   14.885383] usb0: MAC e6:b6:75:51:70:e0
[   14.889245] dwc2 49000000.usb-otg: bound driver configfs-gadget
[   15.017012] dwc2 49000000.usb-otg: new device is high-speed
[   15.057221] dwc2 49000000.usb-otg: new address 24
[  OK  ] Reached target Hardware activated USB gadget.
[  OK  ] Finished Wait for udev To Complete Device Initialization.
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
[   15.323794] dwc2 49000000.usb-otg: new device is high-speed
[  OK  ] Reached target System Initialization.
[   15.373187] dwc2 49000000.usb-otg: new device is high-speed

[  OK  ] Reached target Timer Units.
[   15.412408] dwc2 49000000.usb-otg: new address 24
[  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 Save/Restore Sound Card State...
         Starting Bluetooth service...
[   15.743723] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[  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 Save/Restore Sound Card State.
[  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.
[  OK  ] Reached target Sound Card.
         Starting Network Configuration...
         Starting Check if the gpu �…orrect weston configuration...
[  OK  ] Started User Login Management.
[  OK  ] Started Bluetooth service.
[  OK  ] Reached target Bluetooth Support.
         Starting Hostname Service...
[  OK  ] Finished Check if the gpu �… correct weston configuration.
[  OK  ] Started Network Configuration.
         Starting Network Name Resolution...
[   17.314876] stm32-dwmac 5800a000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[   17.335498] stm32-dwmac 5800a000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   17.352658] dwmac4: Master AXI performs any burst length
[   17.364905] stm32-dwmac 5800a000.ethernet eth0: No Safety Features support found
[   17.370934] stm32-dwmac 5800a000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   17.394492] stm32-dwmac 5800a000.ethernet eth0: registered PTP clock
[   17.403357] stm32-dwmac 5800a000.ethernet eth0: configuring for phy/rgmii-id 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...
         Starting User Database Manager...
[  OK  ] Finished Record Runlevel Change in UTMP.
[  OK  ] Started User Database Manager.

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

stm32mp1 login: root (automatic login)

root@stm32mp1:~#

3 Basic commands[edit]

3.1 Printing distribution specific information[edit]

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.4-openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23
TUNE_FEATURES = arm vfp cortexa7 neon vfpv4 thumb callconvention-hard
TARGET_FPU = hard
MANIFESTVERSION = ostl-22-11-23-rc5
DISTRO_CODENAME = kirkstone
ACCEPT_EULA_stm32mp1 = 1
GCCVERSION = 11.%
PREFERRED_PROVIDER_virtual/kernel = linux-stm32mp
-----------------------
Layer Revisions:      |
-----------------------
meta-python       = v4.1.xml:05dcac98473402d87e0af73bbc2c5a6a840abe93 
meta-oe           = v4.1.xml:05dcac98473402d87e0af73bbc2c5a6a840abe93 
meta-gnome        = v4.1.xml:05dcac98473402d87e0af73bbc2c5a6a840abe93 
meta-initramfs    = v4.1.xml:05dcac98473402d87e0af73bbc2c5a6a840abe93 
meta-multimedia   = v4.1.xml:05dcac98473402d87e0af73bbc2c5a6a840abe93 
meta-networking   = v4.1.xml:05dcac98473402d87e0af73bbc2c5a6a840abe93 
meta-webserver    = v4.1.xml:05dcac98473402d87e0af73bbc2c5a6a840abe93 
meta-filesystems  = v4.1.xml:05dcac98473402d87e0af73bbc2c5a6a840abe93 
meta-perl         = v4.1.xml:05dcac98473402d87e0af73bbc2c5a6a840abe93 
meta-st-stm32mp   = v4.1.xml:acec289f0112d8e7f19e54c2b3cfec1c0196069e 
meta-qt5          = v4.1.xml:5b71df60e523423b9df6793de9387f87a149ac42 
meta-st-openstlinux = v4.1.xml:046062232c191887a570d8e346012c99db1784c6 
meta              = v4.1.xml:f7766da462905ec67bf549d46b8017be36cd5b2a

3.2 Printing system information[edit]

root@stm32mp1:~# uname -a
Linux stm32mp1 5.15.67 #1 SMP PREEMPT Thu Sep 8 10:32:54 UTC 2022 armv7l armv7l armv7l GNU/Linux

3.3 Printing Linux kernel and GCC versions[edit]

root@stm32mp1:~# cat /proc/version 
Linux version 5.15.67 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Thu Sep 8 10:32:54 UTC 2022

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

root@stm32mp1:~# df -h
Filesystem       Size  Used Avail Use% Mounted on
devtmpfs         129M     0  129M   0% /dev
/dev/mmcblk0p10  3.8G  447M  3.2G  13% /
tmpfs            195M  176K  195M   1% /dev/shm
tmpfs             78M  8.8M   70M  12% /run
tmpfs            4.0M     0  4.0M   0% /sys/fs/cgroup
tmpfs            195M   16K  195M   1% /tmp
/dev/mmcblk0p8    55M   14M   37M  28% /boot
/dev/mmcblk0p9    14M  6.0M  6.7M  48% /vendor
tmpfs            195M   96K  195M   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]

  • 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