Applicable for STM32MP15x lines

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


1. Overview[edit source]

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

2. Serial terminal[edit source]

The serial terminal allows communicating with the board through an UART serial interface.

  • Install minicom
 sudo apt-get install minicom
  • Get the ttyACM device instance that needs to be used to access the ST-LINK/V2-1
 ls /dev/ttyACM*
/dev/ttyACM0
  • Connect the minicom to the /dev/ttyACM0 device
 minicom -D /dev/ttyACM0
Welcome to minicom 2.7

OPTIONS: I18n 
Compiled on Nov 15 2018, 20:18:47.
Port /dev/ttyACM0, 15:56:03

Press CTRL-A Z for help on special keys
  • Press the reset button to reset the board. The boot log should be displayed on the minicom window:
NOTICE:  CPU: STM32MP157FAA Rev.Z
NOTICE:  Model: STMicroelectronics STM32MP157F eval daughter on eval mother
NOTICE:  Board: MB1263 Var4.0 Rev.C-03
INFO:    PMIC version = 0x20
INFO:    Reset reason (0x54):
INFO:      System reset generated by MPU (MPSYSRST)
INFO:    FCONF: Reading TB_FW firmware configuration file from: 0x2ffe2000
INFO:    FCONF: Reading firmware configuration information for: stm32mp_io
INFO:    Using SDMMC
INFO:      Instance 1
INFO:    Boot used partition fsbl1
NOTICE:  BL2: v2.8-stm32mp1-r1.0(debug):v2.8-dirty(9881bb93)
NOTICE:  BL2: Built : 18:12:00, Nov 21 2022
INFO:    BL2: Doing platform setup
INFO:    RAM: DDR3-DDR3L 32bits 533000kHz
INFO:    Memory size = 0x40000000 (1024 MB)
INFO:    BL2: Loading image id 1
INFO:    Loading image id=1 at address 0x2ffff000
INFO:    Image id=1 loaded: 0x2ffff000 - 0x2ffff1ea
INFO:    FCONF: Reading FW_CONFIG firmware configuration file from: 0x2ffff000
INFO:    FCONF: Reading firmware configuration information for: dyn_cfg
INFO:    FCONF: Reading firmware configuration information for: stm32mp1_firewall
INFO:    BL2: Loading image id 4
INFO:    Loading image id=4 at address 0xfe000000
INFO:    Image id=4 loaded: 0xfe000000 - 0xfe00001c
INFO:    OPTEE ep=0xfe000000
INFO:    OPTEE header info:
INFO:          magic=0x4554504f
INFO:          version=0x2
INFO:          arch=0x0
INFO:          flags=0x0
INFO:          nb_images=0x1
INFO:    BL2: Loading image id 8
INFO:    Loading image id=8 at address 0xfe000000
INFO:    Image id=8 loaded: 0xfe000000 - 0xfe036bb8
INFO:    BL2: Skip loading image id 9
INFO:    BL2: Loading image id 2
INFO:    Loading image id=2 at address 0xc0500000
INFO:    Image id=2 loaded: 0xc0500000 - 0xc0521828
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 - 0xc01f6b4c
NOTICE:  BL2: Booting BL32
INFO:    Entry point address = 0xfe000000
INFO:    SPSR = 0x1d3
I/TC: Early console on UART#4
I/TC: 
I/TC: Embedded DTB found
I/TC: OP-TEE version: 3.19.0-dev (gcc version 12.2.0 (GCC)) #1 Fri Oct 14 19:00:05 UTC 2022 arm
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: Platform stm32mp1: flavor PLATFORM_FLAVOR - DT stm32mp157f-ev1.dts
I/TC: DTB enables console (non-secure)
I/TC: Primary CPU switching to normal world boot
optee optee: OP-TEE: revision 3.19 (afacf356)


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

CPU: STM32MP157FAA Rev.Z
Model: STMicroelectronics STM32MP157F eval daughter on eval mother
Board: stm32mp1 in trusted mode (st,stm32mp157f-ev1)
Board: MB1263 Var4.0 Rev.C-03
DRAM:  1 GiB
optee optee: OP-TEE: revision 3.19 (afacf356)
Clocks:
- MPU : 800 MHz
- MCU : 208.878 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
stmfx stmfx@42: STMFX id: 0x7b, fw version: 3.03
Core:  377 devices, 45 uclasses, devicetree: board
WDT:   Started watchdog with servicing (32s timeout)
NAND:  1024 MiB
MMC:   STM32 SD/MMC: 0, STM32 SD/MMC: 1
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
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-ev1_extlinux.conf
Retrieving file: /mmc0_extlinux/stm32mp157f-ev1_extlinux.conf
Retrieving file: /splash_portrait.bmp
Select the boot mode
1:      OpenSTLinux
2:      stm32mp157f-ev1-a7-examples
3:      stm32mp157f-ev1-m4-examples
Enter choice: 1:        OpenSTLinux
Retrieving file: /uImage
Retrieving file: /st-image-resize-initrd
append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw   console=ttySTM0,115200
Retrieving file: /stm32mp157f-ev1.dtb
## Booting kernel from Legacy Image at c2000000 ...
   Image Name:   Linux-6.1.12
   Created:      2023-02-14  18:11:56 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    8207352 Bytes = 7.8 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 cfa0c000, end cffffbec ... OK
   Loading Device Tree to cf9e8000, end cfa0b9cc ... OK

Starting kernel ...

I/TC: Secondary CI/TC: Secondary CPU 1 switching to normal world boot
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.1.12 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.40.20230119) #1 SMP PREEMPT Tue Feb 14 18:11:56 UTC 2023
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: STMicroelectronics STM32MP157F eval daughter on eval mother
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0xf5800000, size 128 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    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] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000c0000000-0x00000000e7ffffff]
[    0.000000]   HighMem  [mem 0x00000000e8000000-0x00000000ffffefff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000e7ffffff]
[    0.000000]   node   0: [mem 0x00000000e8000000-0x00000000efffffff]
[    0.000000]   node   0: [mem 0x00000000f0000000-0x00000000fdbfffff]
[    0.000000]   node   0: [mem 0x00000000fdc00000-0x00000000fdfeffff]
[    0.000000]   node   0: [mem 0x00000000fdff0000-0x00000000fdffffff]
[    0.000000]   node   0: [mem 0x00000000fe000000-0x00000000ffffefff]
[    0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000ffffefff]
[    0.000000] psci: probing for conduit method from DT.
[    0.0000.164091] SCSI subsystem initialized
[    0.165107] usbcore: registered new interface driver usbfs
[    0.165196] usbcore: registered new interface driver hub
[    0.165259] usbcore: registered new device driver usb
[    0.165822] pps_core: LinuxPPS API ver. 1 registered
[    0.165833] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.165861] PTP clock support registered
[    0.166145] EDAC MC: Ver: 3.0.0
[    0.167542] Driver 'scmi-optee' was unable to register with bus_type 'tee' because the bus was not initialized.
[    0.170856] clocksource: Switched to clocksource arch_sys_counter
[    0.186669] NET: Registered PF_INET protocol family
[    0.187092] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.190691] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.190740] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.190771] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.190918] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.191187] TCP: Hash tables configured (established 8192 bind 8192)
[    0.191378] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.191457] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.191870] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.193046] RPC: Registered named UNIX socket transport module.
[    0.193065] RPC: Registered udp transport module.
[    0.193072] RPC: Registered tcp transport module.
[    0.193077] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.193882] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.194306] Trying to unpack rootfs image as initramfs...
[    0.196063] Initialise system trusted keyrings
[    0.201175] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.223133] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.235] Key type id_resolver registered
[    0.232006] Key type id_legacy registered
[    0.232191] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.232207] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.232411] ntfs: driver 2.1.32 [Flags: R/O].
[    0.232741] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.233560] fuse: init (API version 7.37)
[    0.234843] NET: Registered PF_ALG protocol family
[    0.234870] Key type asymmetric registered
[    0.234878] Asymmetric key parser 'x509' registered
[    0.235154] bounce: pool size: 64 pages
[    0.235364] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.235379] io scheduler mq-deadline registered
[    0.235388] io scheduler kyber registered
[    0.264236] STM32 USART driver initialized
[    0.288228] brd: module loaded
[    0.299230] loop: module loaded
[    0.307640] CAN device driver interface
[    0.310163] pegasus: Pegasus/Pegasus II USB Ethernet driver
[    0.310244] usbcore: registered new interface driver pegasus
[    0.310313] usbcore: registered new interface driver asix
[    0.310362] usbcore: registered new interface driver ax88179_178a
[    0.310413] usbcore: registered new interface driver cdc_ether
[    0.310493] usbcore: registered new interface driver smsc75xx
[    0.310569] usbcore: registered new interface driver smsc95xx
[    0.310619] usbcore: registered new interface driver net1080
[    0.310669] usbcore: registered new interface driver cdc_subset
[    0.310717] usbcore: registered new interface driver zaurus
[    0.310924] usbcore: registered new interface driver cdc_ncm
[    0.314127] usbcore: registered new interface driver usb-storage
[    0.314428] usbcore: registered new device driver onboard-usb-hub
[    0.318819] i2c_dev: i2c /dev entries driver
[    0.323507] arm_smc_wdt watchdog: Watchdog registered (timeout=32 sec, nowayout=0)
[    0.325930] sdhci: Secure Digital Host Controller Interface driver
[    0.325945] sdhci: Copyright(c) Pierre Ossman
[    0.325951] Synopsys Designware Multimedia Card Interface Driver
[    0.326456] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.327919] ledtrig-cpu: registered to indicate activity on CPUs
[    0.328518] usbcore: registered new interface driver usbhid
[    0.328532] usbhid: USB HID core driver
[    0.331379] optee: probing for conduit method.
[    0.331410] optee: revision 3.19 (afacf356)
[    0.332023] optee: dynamic shared memory is enabled
[    0.341219] random: crng init done
[    0.341654] optee: initialized driver
[    0.344607] NET: Registered PF_PACKET protocol family
[    0.344631] can: controller area network core
[    0.344739] NET: Registered PF_CAN protocol family
[    0.344751] can: raw protocol
[    0.344763] can: broadcast manager protocol
[    0.344777] can: netlink gateway - max_hops=1
[    0.351353] Key type dns_resolver registered
[    0.351484] ThumbEE CPU extension supported.
[    0.351509] Registering SWP/SWPB emulation handler
[    0.352078] registered taskstats version 1
[    0.352118] Loading compiled-in X.509 certificates
[    0.585543] arm-scmi firmware:scmi: Enabled polling mode TX channel - prot_id:16
[    0.585818] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
[    0.585918] arm-scmi firmware:scmi: SCMI Protocol v2.0 'ST:' Firmware version 0x0
[    0.703517] stm32-dma 48000000.dma-controller: STM32 DMA driver registered
[    0.705963] stm32-dma 48001000.dma-controller: STM32 DMA driver registered
[    0.711062] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered
[    0.721667] [drm] Initialized simpledrm 1.0.0 20200625 for fdc00000.framebuffer on minor 0
[    0.751388] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfully
[    0.755506] /soc/interrupt-controller@5000d000: bank0
[    0.755540] /soc/interrupt-controller@5000d000: bank1
[    0.755560] /soc/interrupt-controller@5000d000: bank2
[    0.761858] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOA bank added
[    0.762693] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOB bank added
[    0.763377] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOC bank added
[    0.764021] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOD bank added
[    0.771315] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOE bank added
[    0.772205] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOF bank added
[    0.772927] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOG bank added
[    0.773628] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOH bank added
[    0.774326] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOI bank added
[    0.775059] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOJ bank added
[    0.775690] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOK bank added
[    0.776107] stm32mp157-pinctrl soc:pinctrl@50002000: Pinctrl STM32 initialized
[    0.781485] stm32mp157-pinctrl soc:pinctrl@54004000: GPIOZ bank added
[    0.781537] stm32mp157-pinctrl soc:pinctrl@54004000: Pinctrl STM32 initialized
[    0.784964] stm32-usart 40010000.serial:sart 40010000.serial: interrupt mode for tx (no dma)
[    0.785014] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 49, base_baud = 4000000) is a stm32-usart
[    0.828107] Freeing initrd memory: 6096K
[    2.109093] printk: console [ttySTM0] enabled
[    2.127840] spi-nor spi0.0: mx66l51235f (65536 Kbytes)
[    2.131886] 8 fixed-partitions partitions found on MTD device spi0.0
[    2.137979] Creating 8 MTD partitions on "spi0.0":
[    2.142761] 0x000000000000-0x000000040000 : "fsbl1"
[    2.149763] 0x000000040000-0x000000080000 : "fsbl2"
[    2.155399] 0x000000080000-0x0000000c0000 : "metadata1"
[    2.161311] 0x0000000c0000-0x000000100000 : "metadata2"
[    2.167204] 0x000000100000-0x000000500000 : "fip-a"
[    2.172973] 0x000000500000-0x000000900000 : "fip-b"
[    2.178513] 0x000000900000-0x000000980000 : "u-boot-env"
[    2.184747] 0x000000980000-0x000004000000 : "nor-user"
[    2.191767] spi-nor spi0.1: mx66l51235f (65536 Kbytes)
[    2.200092] m_can_platform 4400e000.can: m_can device registered (irq=51, version=32)
[    2.208580] stm32-dwmac 5800a000.ethernet: IRQ eth_lpi not found
[    2.214213] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42
[    2.220117] stm32-dwmac 5800a000.ethernet:   DWMAC4/5
[    2.225145] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported
[    2.232453] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported
[    2.239628] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported
[    2.246518] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported
[    2.252949] stm32-dwmac 5800a000.ethernet: TSO supported
[    2.258110] stm32-dwmac 5800a000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.265929] stm32-dwmac 5800a000.ethernet: Enabled L3L4 Flow TC (entries=2)
[    2.272926] stm32-dwmac 5800a000.ethernet: Enabled RFS Flow TC (entries=10)
[    2.279801] stm32-dwmac 5800a000.ethernet: TSO feature enabled
[    2.285682] stm32-dwmac 5800a000.ethernet: Using 32 bits DMA width
[    2.304480] stm32_rtc 5c004000.rtc: registered as rtc0
[    2.308291] stm32_rtc 5c004000.rtc: setting system clock to 2000-01-01T00:12:21 UTC (946685541)
[    2.317304] stm32_rtc 5c004000.rtc: Date/Time must be initialized
[    2.323051] stm32_rtc 5c004000.rtc: registered rev:1.2
[    2.346524] i2c 0-003c: Fixing up cyclic dependency with 4c006000.dcmi
[    2.353961] stm32f7-i2c 40013000.i2c: STM32F7 I2C-0 bus adapter
[    2.376695] stm32f7-i2c 40015000.i2c: STM32F7 I2C-1 bus adapter
[    2.402553] stpmic1 2-0033: PMIC Chip Version: 0x20
[    2.441244] stm32f7-i2c 5c002000.i2c: STM32F7 I2C-2 bus adapter
[    2.449706] mmci-pl18x 58005000.mmc: Got CD GPIO
[    2.454494] mmci-pl18x 58005000.mmc: mmc0: PL180 manf 53 rev2 at 0x58005000 irq 70,0 (pio)
[    2.497300] mmci-pl18x 58007000.mmc: mmc1: PL180 manf 53 rev2 at 0x58007000 irq 72,0 (pio)
[    2.542756] stm32-ipcc 4c001000.mailbox: ipcc rev:1.0 enabled, 6 chans, proc 0
[    2.551884] stm32-rproc 10000000.m4: wdg irq registered
[    2.557298] remoteproc remoteproc0: m4 is available
[    2.565335] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xd3
[    2.570339] nand: Micron MT29F8G08ABACAH4
[    2.574354] nand: 1024 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 224
[    2.582773] Bad block table found at page 262080, version 0x01
[    2.584176] mmc0: new ultra high speed DDR50 SDHC card at address 5048
[    2.588333] Bad block table found at page 262016, version 0x01
[    2.595733] mmcblk0: mmc0:5048 SD32G 29.0 GiB 
[    2.603077] 9 fixed-partitions partitions found on MTD device 80000000.nand-controller
[    2.612634] Creating 9 MTD partitions on "80000000.nand-controller":
[    2.618965] 0x000000000000-0x000000080000 : "fsbl1"
[    2.626452] 0x000000080000-0x000000100000 : "fsbl2"
[    2.633938] 0x000000100000-0x000000180000 : "metadata1"
[    2.637957]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
[    2.645550] 0x000000180000-0x000000200000 : "metadata2"
[    2.651827] 0x000000200000-0x000000600000 : "fip-a1"
[    2.659112] 0x000000600000-0x000000a00000 : "fip-a2"
[    2.664910] 0x000000a00000-0x000000e00000 : "fip-b1"
[    2.671982] 0x000000e00000-0x000001200000 : "fip-b2"
[    2.675477] mmc1: new DDR MMC card at address 0001
[    2.677663] 0x000001200000-0x000040000000 : "UBI"
[    2.681739] mmcblk1: mmc1:0001 004GA0 3.69 GiB 
[    2.693755] mmcblk1boot0: mmc1:0001 004GA0 2.00 MiB 
[    2.700217] mmcblk1boot1: mmc1:0001 004GA0 2.00 MiB 
[    2.705818] [drm] Initialized stm 1.0.0 20170330 for 5a001000.display-controller on minor 0
[    2.706585] mmcblk1rpmb: mmc1:0001 004GA0 512 KiB, chardev (244:0)
[    2.720276] stmfx-core 0-0042: STMFX id: 0x7b, fw version: 3.03
[    2.759102] stmfx-pinctrl stmfx-pinctrl: 24 GPIOs available
[    2.774050] Goodix-TS 0-005d: supply AVDD28 not found, using dummy regulator
[    2.780113] Goodix-TS 0-005d: supply VDDIO not found, using dummy regulator
[    2.789770] Goodix-TS 0-005d: ID 9147, version: 1040
[    2.814819] input: Goodix Capacitive TouchScreen as /devices/platform/soc/5c007000.etzpc/40013000.i2c/i2c-0/0-005d/input/input0
[    2.831899] input: pmic_onkey as /devices/platform/soc/5c007000.etzpc/5c002000.i2c/i2c-2/2-0033/5c002000.i2c:stpmic@33:onkey/input/input2
[    2.846727] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[    2.853346] dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regulator
[    2.859760] dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regulator
[    3.008688] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM
[    3.016431] dwc2 49000000.usb-otg: DWC OTG Controller
[    3.020189] dwc2 49000000.usb-otg: new USB bus registered, assigned bus number 1
[    3.028161] dwc2 49000000.usb-otg: irq 91, io mem 0x49000000
[    3.034737] hub 1-0:1.0: USB hub found
[    3.037154] hub 1-0:1.0: 1 port detected
[    3.049596] ehci-platform 5800d000.usb: EHCI Host Controller
[    3.054053] ehci-platform 5800d000.usb: new USB bus registered, assigned bus number 2
[    3.062545] ehci-platform 5800d000.usb: irq 92, io mem 0x5800d000
[    3.085073] input: joystick as /devices/platform/joystick/input/input3
[    3.090944] ehci-platform 5800d000.usb: USB 2.0 started, EHCI 1.00
[    3.098817] hub 2-0:1.0: USB hub found
[    3.101392] hub 2-0:1.0: 2 ports detected
[    3.113337] Freeing unused kernel image (initmem) memory: 1024K
[    3.141624] Run /init as init process
[    3.391660] usb 2-1: new high-speed USB device number 2 using ehci-platform
Starting systemd-udevd version 253.1^
[    3.602909] hub 2-1:1.0: USB hub found
[    3.605449] hub 2-1:1.0: 4 ports detected
[    4.918609] mtdblock: MTD device 'metadata1' is NAND, please consider using UBI block devices instead.
[    4.929510] mtdblock: MTD device 'metadata2' is NAND, please consider using UBI block devices instead.
[    4.929510] mtdblock: MTD device 'fip-a1' is NAND, please consider using UBI block devices instead.
[    4.954875] mtdblock: MTD device 'fsbl2' is NAND, please consider using UBI block devices instead.
[    4.964043] mtdblock: MTD device 'fip-a2' is NAND, please consider using UBI block devices instead.
[    5.022265] mtdblock: MTD device 'fip-b1' is NAND, please consider using UBI block devices instead.
[    5.033666] mtdblock: MTD device 'UBI' is NAND, please consider using UBI block devices instead.
[    5.042465] mtdblock: MTD device 'fip-b2' is NAND, please consider using UBI block devices instead.
[    5.112213] mtdblock: MTD device 'fsbl1' is NAND, please consider using UBI block devices instead.
[    5.308079] stm32-dwmac 5800a000.ethernet end0: renamed from eth0
[    5.906846] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Quota mode: disabled.
ln: /etc/mtab: File exists
[    6.485724] systemd[1]: System time before build time, advancing clock.
[    6.603080] NET: Registered PF_INET6 protocol family
[    6.665398] Segment Routing with IPv6
[    6.667740] In-situ OAM (IOAM) with IPv6
[    6.724547] systemd[1]: systemd 253.1^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK -SECCOMP -GCRYPT -GNUTLS -OPENSSL -ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN +IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP)
[    6.755024] systemd[1]: Detected architecture arm.

Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 4.2.0-openstlinux-23-05-26 (mickledore)!

[    6.937000] systemd[1]: Hostname set to <stm32mp1>.
[    7.016045] systemd[1]: Using hardware watchdog 'arm_smc_wdt', version 0, device /dev/watchdog0
[    7.023656] systemd[1]: Watchdog running with a timeout of 32s.
[    7.861745] 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.
[    7.900768] systemd[1]: Queued start job for default target Multi-User System.
[    8.016862] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[    8.058024] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[    8.095179] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[    8.136429] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    8.173231] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    8.211774] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    8.252439] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[    8.291670] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    8.331692] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[    8.371760] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[    8.504222] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[    8.551674] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[    8.593652] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    8.655504] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[    8.692536] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    8.750451] systemd[1]: Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit).
[    8.762446] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    8.803585] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    8.843918] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    8.883963] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    8.923192] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    8.963367] systemd[1]: Listening on User Database Manager Socket.
[  OK  ] Listening on User Database Manager Socket.
[    9.003376] systemd[1]: Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    9.072566] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    9.134967] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    9.183947] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[    9.237861] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[    9.289598] systemd[1]: Starting Create List of Static Device Nodes...
         Starting Create List of Static Device Nodes...
[    9.393118] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    9.442514] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    9.494858] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    9.603391] systemd[1]: Starting Mount partitions...
         Starting Mount partitions...
[    9.661998] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[    9.692035] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
[    9.723477] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    9.772095] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met.
[    9.814111] systemd-journald[286]: Collecting audit messages is disabled.
[    9.832863] systemd[1]: Starting Generate network units from Kernel command line...
         Starting Generate network …ts from Kernel command line...
[    9.872621] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    9.941225] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   10.001461] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   10.039288] EXT4-fs (mmcblk0p10): re-mounted. Quota mode: disabled.
[   10.172406] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[   10.192805] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   10.215726] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[   10.232697] systemd[1]: Mounted Kernel Trace File System.
[  OK  ] Mounted Kernel Trace File System.
[   10.245615] systemd[1]: Mounted Temporary Directory /tmp.
[  OK  ] Mounted Temporary Directory /tmp.
[   10.264800] systemd[1]: Finished Create List of Static Device Nodes.
[  OK  ] Finished Create List of Static Device Nodes.
[   10.315954] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[   10.336382] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[   10.392394] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[   10.413332] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Quota mode: disabled.
[  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...
         Starting Starts Psplash Boot screen...
         Starting Flush [   10.952752] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Quota mode: disabled.
Journal to Persistent Storage...
[   11.060788] systemd-journald[286]: Received client request to flush runtime journal.
         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.
[   11.331517] EXT4-fs (mmcblk0p11): mounted filesystem with ordered data mode. Quota mode: disabled.
         Mounting /var/volatile...
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Finished Mount partitions.
[  OK  ] Mounted /var/volatile.
         Starting Load/Save OS Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Load/Save OS Random Seed.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Name Resolution...
         Starting Network Time Synchronization...
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Set.
[   13.198550] mtdblock: MTD device 'fsbl2' is NAND, please consider using UBI block devices instead.
[   13.222215] mtdblock: MTD device 'fip-a1' is NAND, please consider using UBI block devices instead.
[   13.266863] mtdblock: MTD device 'fip-a2' is NAND, please consider using UBI block devices instead.
[   13.271834] mtdblock: MTD device 'fip-b2' is NAND, please consider using UBI block devices instead.
[   13.292212] mtdblock: MTD device 'metadata2' is NAND, please consider using UBI block devices instead.
[  OK  ] F[   13.301897] mtdblock: MTD device 'metadata1' is NAND, please consider using UBI block devices instead.
inished Coldplu[   13.313580] mtdblock: MTD device 'fip-b1' is NAND, please consider using UBI block devices instead.
g All ud[   13.323378] mtdblock: MTD device 'UBI' is NAND, please consider using UBI block devices instead.
ev Devices.
[   13.353276] mtdblock: MTD device 'fsbl1' is NAND, please consider using UBI block devices instead.
[   15.077973] galcore: loading out-of-tree module taints kernel.
[   15.111587] stm32-crc32 58009000.crc: Initialized
[   15.196970] st,stm32-spdifrx 4000d000.audio-controller: No cache defaults, reading back from HW
[   15.213827] mc: Linux media interface: v0.10
[   15.230769] Galcore version 6.4.13.608341
[   15.251578] platform 4400b004.audio-controller: Fixing up cyclic dependency with 0-001b
[   15.275795] platform 4400b024.audio-controller: Fixing up cyclic dependency with 0-001b
[   15.356434] platform 50027004.audio-controller: Fixing up cyclic dependency with spdif-out
[   15.364665] wm8994 0-001b: supply DCVDD not found, using dummy regulator
[   15.370285] wm8994 0-001b: supply AVDD1 not found, using dummy regulator
[   15.413202] stm32-dfsdm 4400d000.dfsdm: SPI clock not accurate
[   15.417979] stm32-dfsdm 4400d000.dfsdm: 24573875 = 2048000 * 12 + 2045875
[   15.433989] videodev: Linux video capture interface: v2.00
[   15.509587] stm32-hash 54002000.hash: will run requests pump with realtime priority
[   15.542561] stm32-cryp 54001000.cryp: will run requests pump with realtime priority
[   15.607007] stm32-dcmi 4c006000.dcmi: Probe done
[*     ] A start job is running for Starts Psplash Boot screen (7s / no limit)
[   15.659268] stm32-hash 54002000.hash: Init HASH done HW ver 23 DMA mode 1
[   15.685793] stm32-cryp 54001000.cryp: Initialized
[   15.752028] ov5640 0-003c: supply AVDD not found, using dummy regulator
[   15.762477] wm8994 0-001b: WM8994 revision D CUST_ID 00
[   15.775813] ov5640 0-003c: supply DVDD not found, using dummy regulator
[   15.795491] wm8994 0-001b: No interrupt specified, no interrupts
[***   ] A start job is running for Starts Psplash Boot screen (9s / no limit)
[   17.243872] platform 4400d000.dfsdm:filter@0:dfsdm-dai: Fixing up cyclic dependency with dmic-0
[   17.246503] using random self ethernet address
[   17.256891] using random host ethernet address
[   17.303725] platform 4400d000.dfsdm:filter@1:dfsdm-dai: Fixing up cyclic dependency with dmic-1
[   17.364203] platform 4400d000.dfsdm:filter@2:dfsdm-dai: Fixing up cyclic dependency with dmic-2
[ ***    17.495000] usb0: HOST MAC a8:72:8d:68:fe:3c
[   17.499190] usb0: MAC 4e:a4:eb:ee:1d:17
[0m] A start job is running for Starts Psplash Boot screen (9s / no limit)
[   17.532487] dwc2 49000000.usb-otg: bound driver configfs-gadget.g1
[   17.671324] dwc2 49000000.usb-otg: new device is high-speed
[   17.710912] dwc2 49000000.usb-otg: new address 30
[   17.774789] wm8994-codec wm8994-codec: Failed to request Mic1 detect IRQ: -22
[   17.790292] wm8994-codec wm8994-codec: Failed to request Mic1 short IRQ: -22
[   17.799539] wm8994-codec wm8994-codec: Failed to request Mic2 detect IRQ: -22
[  OK  ] Created slice Slice /system/systemd-backlight.
[  OK  ] Reached target Hardware activated USB gadget.
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
         Starting Load/Save Screen …f backlight:panel-backlight...
[  OK  ] Finished Load/Save Screen … of backlight:panel-backlight.
[  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.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Reached target Socket Units.
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Reached target Basic System.
         Starting Save/Restore Sound Card State...
         Starting ST set alsa state configuration...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started System Logging Service.
         Starting IPv6 Packet Filtering Framework...
         Starting IPv4 Packet Filtering Framework...
         Starting Resets System Activity Logs...
         Starting User Login Management...
         Starting TEE Supplicant...
         Starting Check if the gpu …orrect weston configuration...
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Finished IPv6 Packet Filtering Framework.
[  OK  ] Finished IPv4 Packet Filtering Framework.
[  OK  ] Finished Resets System Activity Logs.
[  OK  ] Started TEE Supplicant.
[  OK  ] Finished Check if the gpu … correct weston configuration.
[  OK  ] Finished ST set alsa state configuration.
[  OK  ] Reached target Preparation for Network.
[  OK  ] Reached target Sound Card.
         Starting Network Configuration...
[  OK  ] Started User Login Management.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[   21.033374] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   21.067036] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  OK  ] Started Network Configuration.
[   21.185768] stm32-dwmac 5800a000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   21.194386] stm32-dwmac 5800a000.ethernet end0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[   21.210975] dwmac4: Master AXI performs any burst length
[   21.214872] stm32-dwmac 5800a000.ethernet end0: No Safety Features support found
[   21.225789] stm32-dwmac 5800a000.ethernet end0: IEEE 1588-2008 Advanced Timestamp supported
[  OK  ][   21.234400] stm32-dwmac 5800a000.ethernet end0: registered PTP clock
 Reached target Network.
[   21.251187] stm32-dwmac 5800a000.ethernet end0: configuring for phy/rgmii-id link mode
[  OK  ] Started IIO Daemon.
         Starting Real time performance monitoring...
         Starting Permit User Sessions...
         Starting Target Communication Framework agent...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Target Communication Framework agent.
[   21.672635] dwc2 49000000.usb-otg: new device is high-speed
[  OK  ] Started Real time performance monitoring.
[   21.723841] dwc2 49000000.usb-otg: new device is high-speed
[  OK  ] Started Getty on tty1.
[   21.762850] dwc2 49000000.usb-otg: new address 30
[  OK  ] Started Serial Getty on ttySTM0.
[  OK  ] Reached target Login Prompts.
         Starting Weston graphical session...
         Starting User Database Manager...
[   22.150720] dwc2 49000000.usb-otg: new device is high-speed
[   22.202918] dwc2 49000000.usb-otg: new device is high-speed
[   22.242589] dwc2 49000000.usb-otg: new address 30
[  OK  ] Started User Database Manager.
[  OK  ] Created slice User Slice of UID 1000.
         Starting User Runtime Directory /run/user/1000...
[   22.672019] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[  OK  ] Finished User Runtime Directory /run/user/1000.
         Starting User Manager for UID 1000...
[  OK  ] Started User Manager for UID 1000.
[  OK  ] Started Session c1 of User weston.

ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 4.2.0-openstlinux-23-05-26 stm32mp1 ttySTM0

stm32mp1 login: root (automatic login)

root@stm32mp1:~#

3. Basic commands[edit source]

3.1. Printing distribution specific information[edit source]

root@stm32mp1:~# cat /etc/build
-----------------------
Build Configuration:  |
-----------------------
BB_VERSION = 2.4.0
BUILD_SYS = x86_64-linux
NATIVELSBSTRING = universal
TARGET_SYS = arm-ostl-linux-gnueabi
MACHINE = stm32mp1
DISTRO = openstlinux-weston
DISTRO_VERSION = 4.2.0-openstlinux-23-05-26
TUNE_FEATURES = arm vfp cortexa7 neon vfpv4 thumb callconvention-hard
TARGET_FPU = hard
MANIFESTVERSION = ostl-23-06-21-rc2-1-g91c6bee
DISTRO_CODENAME = mickledore
ACCEPT_EULA_stm32mp1 = 1
GCCVERSION = 12.%
PREFERRED_PROVIDER_virtual/kernel = linux-stm32mp
-----------------------
Layer Revisions:      |
-----------------------
meta-python       = v5.0.xml:2d89a469e5f6a209fdc50bf447cd645929e4b735
meta-oe           = v5.0.xml:2d89a469e5f6a209fdc50bf447cd645929e4b735
meta-gnome        = v5.0.xml:2d89a469e5f6a209fdc50bf447cd645929e4b735
meta-initramfs    = v5.0.xml:2d89a469e5f6a209fdc50bf447cd645929e4b735
meta-multimedia   = v5.0.xml:2d89a469e5f6a209fdc50bf447cd645929e4b735
meta-networking   = v5.0.xml:2d89a469e5f6a209fdc50bf447cd645929e4b735
meta-webserver    = v5.0.xml:2d89a469e5f6a209fdc50bf447cd645929e4b735
meta-filesystems  = v5.0.xml:2d89a469e5f6a209fdc50bf447cd645929e4b735
meta-perl         = v5.0.xml:2d89a469e5f6a209fdc50bf447cd645929e4b735
meta-st-stm32mp   = v5.0.xml:845297ce0f4c176a3d5fdddc81901bae993ec11f
meta-qt5          = v5.0.xml:cf6ffcbad5275a3428f6046468a0c9d572e813d1
meta-security     = v5.0.xml:53c5cc794f44df96c47c614d736c8ccd4f25139f
meta-tpm          = v5.0.xml:53c5cc794f44df96c47c614d736c8ccd4f25139f
meta-st-openstlinux = v5.0.xml:0aed419b3244c46e28969511c15a799966feebaf
meta              = v5.0.xml:c57d1a561db563ed2f521bbac5fc12d4ac8e11a7

3.2. Printing system information[edit source]

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 source]

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 source]

root@stm32mp1:~# df -h
Filesystem       Size  Used Avail Use% Mounted on
devtmpfs         350M     0  350M   0% /dev
/dev/mmcblk0p10  3.8G  447M  3.2G  13% /
tmpfs            416M  168K  416M   1% /dev/shm
tmpfs            167M  8.9M  158M   6% /run
tmpfs            4.0M     0  4.0M   0% /sys/fs/cgroup
tmpfs            416M   16K  416M   1% /tmp
/dev/mmcblk0p8    55M   14M   37M  28% /boot
/dev/mmcblk0p9    14M  6.0M  6.7M  48% /vendor
tmpfs            416M   96K  416M   1% /var/volatile
/dev/mmcblk0p11   24G   43M   23G   1% /usr/local
tmpfs             84M  4.0K   84M   1% /run/user/1000
tmpfs             84M     0   84M   0% /run/user/0

3.5. ssh connection (only if the Ethernet cable is connected)[edit source]

  • Get the IP address of your board
 ip addr show eth0                                                                           
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet xx.xx.xx.xx/xx brd xx.xx.xx.xx scope global dynamic eth0
       valid_lft 159045sec preferred_lft 159045sec
    inet6 xxxx::xx:xx:xx:xx/64 scope link 
       valid_lft forever preferred_lft forever
  • On the host computer, connect the terminal to the board using ssh
 ssh root@xx.xx.xx.xx
root@stm32mp1:~#


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