Execute basic commands

< Getting started‎ | STM32MP1 boards‎ | STM32MP157x-EV1‎ | Let's start
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]

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]

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.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-DDR3L 32bits 533000kHz
INFO:    Memory size = 0x40000000 (1024 MB)
INFO:    BL2: Loading image id 31
INFO:    Loading image id=31 at address 0x2ffff000
INFO:    Image id=31 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 21
INFO:    Loading image id=21 at address 0x2ffc0000
INFO:    Image id=21 loaded: 0x2ffc0000 - 0x2ffd96f0
INFO:    BL2: Loading image id 22
INFO:    Loading image id=22 at address 0xfe200000
INFO:    Image id=22 loaded: 0xfe200000 - 0xfe253000
INFO:    BL2: Loading image id 23
INFO:    Loading image id=23 at address 0xc0500000
INFO:    Image id=23 loaded: 0xc0500000 - 0xc051ef30
INFO:    BL2: Skip loading image id 26
INFO:    BL2: Loading image id 5
INFO:    Loading image id=5 at address 0xc0100000
INFO:    Image id=5 loaded: 0xc0100000 - 0xc01ece98
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: 64kB
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: DT clock tree configurations were ignored
I/TC: WARNING: All debug access are allowed
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.16 (d0b742d1)


U-Boot 2021.10-stm32mp-r1 (Oct 04 2021 - 15:09:26 +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.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:  1024 MiB
MMC:   STM32 SD/MMC: 0, STM32 SD/MMC: 1
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
stmfx stmfx@42: STMFX id: 0x7b, fw version: 3.03
Net:   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
790 bytes read in 118 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-ev1-a7-examples
3:      stm32mp157f-ev1-m4-examples
Enter choice: 1:        OpenSTLinux
Retrieving file: /st-image-resize-initrd
29774860 bytes read in 1373 ms (20.7 MiB/s)
Retrieving file: /uImage
7875832 bytes read in 451 ms (16.7 MiB/s)
append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw   console=ttySTM0,115200
Retrieving file: /stm32mp157f-ev1.dtb
124503 bytes read in 123 ms (988.3 KiB/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 ce378000, end ce399656 ... 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.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 STM32MP157F eval daughter on eval mother
[    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 0xe8000000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000c0000000-0x00000000efffffff]
[    0.000000]   HighMem  [mem 0x00000000f0000000-0x00000000ffffefff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000f5bfffff]
[    0.000000]   node   0: [mem 0x00000000f5c00000-0x00000000f5feffff]
[    0.000000]   node   0: [mem 0x00000000f5ff0000-0x00000000f5ffffff]
[    0.000000]   node   0: [mem 0x00000000f6000000-0x00000000ffffefff]
[    0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000ffffefff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 17 pages/cpu s36940 r8192 d24500 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260415
[    0.000000] Kernel command line: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw   console=ttySTM0,115200
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 690796K/1048572K available (12288K kernel code, 1229K rwdata, 3460K rodata, 1024K init, 199K bss, 226704K reserved, 131072K cma-reserved, 94272K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] 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.000024] Switching to timer-based delay loop, resolution 41ns
[    0.001746] Console: colour dummy device 80x30
[    0.001824] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.001851] pid_max: default: 32768 minimum: 301
[    0.002049] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002083] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003303] CPU: Testing write buffer coherency: ok
[    0.003725] /cpus/cpu@0 missing clock-frequency property
[    0.003785] /cpus/cpu@1 missing clock-frequency property
[    0.003811] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004896] Setting up static identity map for 0xc0100000 - 0xc0100060
[    0.005088] rcu: Hierarchical SRCU implementation.
[    0.006473] smp: Bringing up secondary CPUs ...
[    0.012462] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.012666] smp: Brought up 1 node, 2 CPUs
[    0.012697] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.012713] CPU: All CPU(s) started in SVC mode.
[    0.013582] devtmpfs: initialized
[    0.045833] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.046169] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.046205] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.051756] pinctrl core: initialized pinctrl subsystem
[    0.053689] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.056726] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.058382] thermal_sys: Registered thermal governor 'step_wise'
[    0.058775] cpuidle: using governor menu
[    0.059098] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.059125] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.059475] Serial: AMBA PL011 UART driver
[    0.063345] stm32-pm-domain pm_domain: domain core-ret-power-domain registered
[    0.063397] stm32-pm-domain pm_domain: subdomain core-power-domain registered
[    0.063414] stm32-pm-domain pm_domain: domains probed
[    0.106464] platform 5a000000.dsi: Fixing up cyclic dependency with 5a001000.display-controller
[    0.112005] platform spdif-in: Fixing up cyclic dependency with 4000d000.audio-controller
[    0.127903] Kprobes globally optimized
[    0.137687] SCSI subsystem initialized
[    0.138497] usbcore: registered new interface driver usbfs
[    0.138573] usbcore: registered new interface driver hub
[    0.138646] usbcore: registered new device driver usb
[    0.139128] pps_core: LinuxPPS API ver. 1 registered
[    0.139149] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.139190] PTP clock support registered
[    0.139484] EDAC MC: Ver: 3.0.0
[    0.142939] clocksource: Switched to clocksource arch_sys_counter
[    0.212203] NET: Registered PF_INET protocol family
[    0.212476] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.214227] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.214290] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.214391] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.2[    0.223812] RPC: Registered named UNIX socket transport module.
[    0.223848] RPC: Registered udp transport module.
[    0.223860] RPC: Registered tcp transport module.
[    0.223870] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.224557] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.224951] Trying to unpack rootfs image as initramfs...
[    0.226565] Initialise system trusted keyrings
[    0.243225] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.252880] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.254294] NFS: Registering the id_resolver key type
[    0.254363] Key type id_resolver registered
[    0.254378] Key type id_legacy registered
[    0.254531] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.254560] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.254728] ntfs: driver 2.1.32 [Flags: R/O].
[    0.254996] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    0.255778] fuse: init (API version 7.34)
[    0.256943] NET: Registered PF_ALG protocol family
[    0.256979] Key type asymmetric registered
[    0.256991] Asymmetric key parser 'x509' registered
[    0.257129] bounce: pool size: 64 pages
[    0.257218] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.257237] io scheduler mq-deadline registered
[    0.257249] io scheduler kyber registered
[    0.282803] STM32 USART driver initialized
[    0.305845] brd: module loaded
[    0.315825] loop: module loaded
[    0.324487] CAN device driver interface
[    0.327030] pegasus: Pegasus/Pegasus II USB Ethernet driver
[    0.327125] usbcore: registered new interface driver pegasus
[    0.327216] usbcore: registered new interface driver asix
[    0.327273] usbcore: registered new interface driver ax88179_178a
[    0.327325] usbcore: registered new interface driver cdc_ether
[    0.327393] usbcore: registered new interface driver smsc75xx
[    0.327471] usbcore: registered new interface driver smsc95xx
[    0.327528] usbcore: registered new interface driver net1080
[    0.327581] usbcore: registered new interface driver cdc_subset
[    0.327631] usbcore: registered new interface driver zaurus
[    0.327708] usbcore: registered new interface driver cdc_ncm
[    0.328938] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.328987] ehci-platform: EHCI generic platform driver
[    0.329250] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.329283] ohci-platform: OHCI generic platform driver
[    0.330038] usbcore: registered new interface driver usb-storage
[    0.334040] i2c_dev: i2c /dev entries driver
[    0.338914] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    0.340940] sdhci: Secure Digital Host Controller Interface driver
[    0.340972] sdhci: Copyright(c) Pierre Ossman
[    0.340982] Synopsys Designware Multimedia Card Interface Driver
[    0.341502] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.343195] ledtrig-cpu: registered to indicate activity on CPUs
[    0.343916] usbcore: registered new interface driver usbhid
[    0.343945] usbhid: USB HID core driver
[    0.346644] optee: probing for conduit method.
[    0.346688] optee: revision 3.16 (d0b742d1)
[    0.347215] optee: dynamic shared memory is enabled
[    0.356171] optee: initialized driver
[    0.358399] NET: Registered PF_PACKET protocol family
[    0.358482] can: controller area network core
[    0.358598] NET: Registered PF_CAN protocol family
[    0.358617] can: raw protocol
[    0.358632] can: broadcast manager protocol
[    0.358651] can: netlink gateway - max_hops=1
[    0.359547] random: fast init done
[    0.360374] random: crng init done
[    0.362766] Key type dns_resolver registered
[    0.362874] ThumbEE CPU extension supported.
[    0.362904] Registering SWP/SWPB emulation handler
[    0.363563] registered taskstats version 1
[    0.363604] Loading compiled-in X.509 certificates
[    0.371823] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
[    0.373655] arm-scmi firmware:scmi: SCMI Protocol v2.0 'ST:' Firmware version 0x0
[    0.433969] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered
[    0.437019] stm32-dma 48000000.dma-controller: STM32 DMA driver registered
[    0.439615] stm32-dma 48001000.dma-controller: STM32 DMA driver registered
[    0.443418] [drm] Initialized simpledrm 1.0.0 20200625 for f5c00000.framebuffer on minor 0
[    0.463453] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfully
[    0.470476] /soc/interrupt-controller@5000d000: bank0
[    0.470525] /soc/interrupt-controller@5000d000: bank1
[    0.470549] /soc/interrupt-controller@5000d000: bank2
[    0.483604] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOA bank added
[    0.484314] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOB bank added
[    0.484897] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOC bank added
[    0.485428] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOD bank added
[    0.485959] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOE bank added
[    0.486473] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOF bank added
[    0.486989] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOG bank added
[    0.487506] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOH bank added
[    0.488002] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOI bank added
[    0.488539] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOJ bank added
[    0.489079] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOK bank added
[    0.489399] stm32mp157-pinctrl soc:pin-controller@50002000: Pinctrl STM32 initialized
[    0.492152] stm32mp157-pinctrl soc:pin-controller-z@54004000: GPIOZ bank added
[    0.492203] stm32mp157-pinctrl soc:pin-controller-z@54004000: Pinctrl STM32 initialized
[    0.495291] stm32-usart 40010000.serial: interrupt mode for rx (no dma)
[    0.495327] stm32-usart 40010000.serial: interrupt mode for tx (no dma)
[    0.495360] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 65, base_baud = 4000000) is a stm32-usart
[    2.212598] printk: console [ttySTM0] enabled
[    2.239494] spi-nor spi0.0: mx66l51235f (65536 Kbytes)
[    2.246838] spi-nor spi0.1: mx66l51235f (65536 Kbytes)
[    2.255256] m_can_platform 4400e000.can: m_can device registered (irq=61, version=32)
[    2.263587] stm32-dwmac 5800a000.ethernet: IRQ eth_lpi not found
[    2.273127] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42
[    2.278747] stm32-dwmac 5800a000.ethernet:   DWMAC4/5
[    2.283992] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported
[    2.290997] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported
[    2.298360] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported
[    2.305220] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported
[    2.311547] stm32-dwmac 5800a000.ethernet: TSO supported
[    2.316787] stm32-dwmac 5800a000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.324623] stm32-dwmac 5800a000.ethernet: Enabled L3L4 Flow TC (entries=2)
[    2.331520] stm32-dwmac 5800a000.ethernet: Enabled RFS Flow TC (entries=8)
[    2.338430] stm32-dwmac 5800a000.ethernet: TSO feature enabled
[    2.344225] stm32-dwmac 5800a000.ethernet: Using 32 bits DMA width
[    2.362012] Freeing initrd memory: 29080K
[    2.378601] stm32_rtc 5c004000.rtc: registered as rtc0
[    2.382408] stm32_rtc 5c004000.rtc: setting system clock to 2000-01-01T00:04:19 UTC (946685059)
[    2.391469] stm32_rtc 5c004000.rtc: Date/Time must be initialized
[    2.397201] stm32_rtc 5c004000.rtc: registered rev:1.2
[    2.420209] i2c 0-003c: Fixing up cyclic dependency with 4c006000.dcmi
[    2.427648] stm32f7-i2c 40013000.i2c: STM32F7 I2C-0 bus adapter
[    2.449569] stm32f7-i2c 40015000.i2c: STM32F7 I2C-1 bus adapter
[    2.474919] stpmic1 2-0033: PMIC Chip Version: 0x20
[    2.482744] vddcore: supplied by vin
[    2.487963] vdd_ddr: supplied by vin
[    2.492973] vdd: supplied by vin
[    2.497809] v3v3: supplied by vin
[    2.502782] vdda: supplied by v3v3
[    2.506268] v2v8: supplied by v3v3
[    2.509004] vtt_ddr: supplied by vdd_ddr
[    2.515239] vdd_usb: supplied by vin
[    2.518029] vdd_sd: supplied by v3v3
[    2.524465] v1v8: supplied by v3v3
[    2.526917] vref_ddr: supplied by vin
[    2.533263] bst_out: supplied by vin
[    2.536127] vbus_otg: supplied by bst_out
[    2.540123] vbus_sw: supplied by bst_out
[    2.545798] stm32f7-i2c 5c002000.i2c: STM32F7 I2C-2 bus adapter
[    2.553883] mmci-pl18x 58005000.mmc: Got CD GPIO
[    2.558151] mmci-pl18x 58005000.mmc: mmc0: PL180 manf 53 rev2 at 0x58005000 irq 56,0 (pio)
[    2.600245] mmci-pl18x 58007000.mmc: mmc1: PL180 manf 53 rev2 at 0x58007000 irq 57,0 (pio)
[    2.644537] stm32-ipcc 4c001000.mailbox: ipcc rev:1.0 enabled, 6 chans, proc 0
[    2.652667] stm32-rproc 10000000.m4: wdg irq registered
[    2.659627] mmc0: new ultra high speed DDR50 SDHC card at address 5048
[    2.665291] remoteproc remoteproc0: m4 is available
[    2.667020] mmcblk0: mmc0:5048 SD32G 29.0 GiB 
[    2.673540] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xd3
[    2.680509] nand: Micron MT29F8G08ABACAH4
[    2.684833] nand: 1024 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 224
[    2.693055] Bad block table found at page 262080, version 0x01
[    2.698833] Bad block table found at page 262016, version 0x01
[    2.704173]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
[    2.710046] mtdblock: MTD device '80000000.nand-controller' is NAND, please consider using UBI block devices instead.
[    2.722647] reg11: supplied by vdd
[    2.725039] reg18: supplied by vdd
[    2.728381] usb33: supplied by vdd_usb
[    2.738823] [drm] Initialized stm 1.0.0 20170330 for 5a001000.display-controller on minor 0
[    2.749483] stmfx-core 0-0042: STMFX id: 0x7b, fw version: 3.03
[    2.757820] mmc1: new DDR MMC card at address 0001
[    2.762444] mmcblk1: mmc1:0001 004GA0 3.69 GiB 
[    2.772095]  mmcblk1: p1 p2 p3 p4 p5
[    2.776421] mmcblk1boot0: mmc1:0001 004GA0 2.00 MiB 
[    2.782770] mmcblk1boot1: mmc1:0001 004GA0 2.00 MiB 
[    2.788833] mmcblk1rpmb: mmc1:0001 004GA0 512 KiB, chardev (243:0)
[    2.795028] stmfx-pinctrl stmfx-pinctrl: DMA mask not set
[    2.802419] stmfx-pinctrl stmfx-pinctrl: 24 GPIOs available
[    2.813770] Goodix-TS 0-005d: supply AVDD28 not found, using dummy regulator
[    2.819704] Goodix-TS 0-005d: supply VDDIO not found, using dummy regulator
[    2.828146] Goodix-TS 0-005d: ID 9147, version: 1040
[    2.853565] input: Goodix Capacitive TouchScreen as /devices/platform/soc/40013000.i2c/i2c-0/0-005d/input/input0
[    2.869172] input: pmic_onkey as /devices/platform/soc/5c002000.i2c/i2c-2/2-0033/5c002000.i2c:stpmic@33:onkey/input/input1
[    2.881694] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[    2.887819] dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regulator
[    2.894296] dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regulator
[    3.040806] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM
[    3.048723] dwc2 49000000.usb-otg: DWC OTG Controller
[    3.052477] dwc2 49000000.usb-otg: new USB bus registered, assigned bus number 1
[    3.060602] dwc2 49000000.usb-otg: irq 100, io mem 0x49000000
[    3.066820] hub 1-0:1.0: USB hub found
[    3.069328] hub 1-0:1.0: 1 port detected
[    3.075349] ehci-platform 5800d000.usb: EHCI Host Controller
[    3.079661] ehci-platform 5800d000.usb: new USB bus registered, assigned bus number 2
[    3.088029] ehci-platform 5800d000.usb: irq 101, io mem 0x5800d000
[    3.123731] ehci-platform 5800d000.usb: USB 2.0 started, EHCI 1.00
[    3.130914] hub 2-0:1.0: USB hub found
[    3.133458] hub 2-0:1.0: 2 ports detected
[    3.162446] input: joystick as /devices/platform/joystick/input/input2
[    3.177484] Freeing unused kernel image (initmem) memory: 1024K
[    3.213638] Run /init as init process
[    3.423077] usb 2-1: new high-speed USB device number 2 using ehci-platform
Starting version 250.4-1-gc3aead5+
[    3.635065] hub 2-1:1.0: USB hub found
[    3.637697] hub 2-1:1.0: 4 ports detected
[    5.280232] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[    5.845634] systemd[1]: System time before build time, advancing clock.
[    5.954939] NET: Registered PF_INET6 protocol family
[    5.994550] Segment Routing with IPv6
[    5.996885] In-situ OAM (IOAM) with IPv6
[    6.057592] 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 )
[    6.089720] 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)!

[    6.186283] systemd[1]: Hostname set to <stm32mp1>.
[    6.226006] systemd[1]: Using hardware watchdog 'STM32 Independent Watchdog', version 0, device /dev/watchdog0
[    6.235833] systemd[1]: Watchdog running with a timeout of 32s.
[    7.107090] 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.146293] systemd[1]: Queued start job for default target Multi-User System.
[    7.208905] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[    7.249705] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[    7.289737] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[    7.326292] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    7.364296] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password �…ts to Console Directory Watch.
[    7.404233] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R�…uests to Wall Directory Watch.
[    7.444596] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[    7.483628] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    7.523551] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[    7.563694] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[    7.635919] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[    7.673838] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[    7.715404] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    7.776841] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[    7.814371] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    7.866365] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
[    7.877088] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    7.915569] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    7.955723] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    7.995672] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    8.034919] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    8.075187] systemd[1]: Listening on User Database Manager Socket.
[  OK  ] Listening on User Database Manager Socket.
[    8.115366] systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    8.137852] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    8.182284] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    8.220028] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[    8.263842] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[    8.315413] systemd[1]: Starting Create List of Static Device Nodes...
         Starting Create List of Static Device Nodes...
[    8.366642] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    8.410974] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    8.451310] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    8.491228] systemd[1]: Starting Mount partitions...
         Starting Mount partitions...
[    8.537154] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[    8.573888] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
[    8.602074] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    8.638450] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.
[    8.654902] systemd[1]: Starting Generate network units from Kernel command line...
         Starting Generate network �…ts from Kernel command line...
[    8.712185] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    8.781362] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[    8.836440] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[    8.868429] EXT4-fs (mmcblk0p10): re-mounted. Opts: (null). Quota mode: disabled.
[    9.007529] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[    9.044478] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    9.084350] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[    9.124406] systemd[1]: Mounted Kernel Trace File System.
[  OK  ] Mounted Kernel Trace File System.
[    9.156724] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[    9.209801] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  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...
[    9.638156] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[  OK  ] Started Starts Psplash Boot screen.
         Starting Flush Journal to Persistent Storage...
[    9.796500] systemd-journald[283]: 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.
[   10.031268] EXT4-fs (mmcblk0p11): mounted filesystem with ordered data mode. Opts: (null). 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 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.
[  OK  ] Reached target System Time Set.
[   11.710465] st,stm32-spdifrx 4000d000.audio-controller: No cache defaults, reading back from HW
[   11.731202] mc: Linux media interface: v0.10
[   11.825596] platform 4400b004.audio-controller: Fixing up cyclic dependency with 0-001b
[  OK  ] Created slice Slice /system/systemd-backlight   11.839397] stm32-dfsdm 4400d000.dfsdm: SPI clock not accurate
[   11.842328] platform 4400b024.audio-controller: Fixing up cyclic dependency with 0-001b
0m.
[   11.872097] stm32-dfsdm 4400d000.dfsdm: 24573875 = 2048000 * 12 + 2045875
[   11.886095] videodev: Linux video capture interface: v2.00
[   11.922650] wm8994 0-001b: supply DCVDD not found, using dummy regulator
[   11.929080] platform 50027004.audio-controller: Fixing up cyclic dependency with spdif-out
         Starting Load/Save Screen �…f backlight:panel-backlight...
[   11.952054] wm8994 0-001b: supply AVDD1 not found, using dummy regulator
[   12.015685] stm32-dcmi 4c006000.dcmi: Probe done
[   12.139149] stm32-cryp 54001000.cryp: will run requests pump with realtime priority
[   12.191651] stm32-hash 54002000.hash: will run requests pump with realtime priority
[  OK  ] Finished Load/Save Screen �… of backlight:panel-backlight.
[   12.237206] stm32-cryp 54001000.cryp: Initialized
[   12.322166] stm32-hash 54002000.hash: Init HASH done HW ver 23 DMA mode 1
[   12.336152] ov5640 0-003c: supply AVDD not found, using dummy regulator
[   12.341676] ov5640 0-003c: supply DVDD not found, using dummy regulator
[   12.358011] wm8994 0-001b: WM8994 revision D CUST_ID 00
[   12.391073] wm8994 0-001b: No interrupt specified, no interrupts
[   12.420048] stm32-crc32 58009000.crc: Initialized
[   12.487282] galcore: loading out-of-tree module taints kernel.
[   12.584578] Galcore version 6.4.7.365873
[   13.604410] using random self ethernet address
[   13.607493] using random host ethernet address
[   13.837367] usb0: HOST MAC a8:72:8d:68:fe:3c
[   13.840263] usb0: MAC 6e:b9:69:7c:b9:47
[   13.865638] dwc2 49000000.usb-otg: bound driver configfs-gadget
[   13.993134] dwc2 49000000.usb-otg: new device is high-speed
[   14.032316] dwc2 49000000.usb-otg: new address 21
[   14.298525] dwc2 49000000.usb-otg: new device is high-speed
[*     ] A start job is running for Wait for�…vice Initialization (7s / 3min 3s)
[   14.349124] dwc2 49000000.usb-otg: new device is high-speed
[   14.388343] dwc2 49000000.usb-otg: new address 21
[   14.422780] platform 4400d000.dfsdm:filter@0:dfsdm-dai: Fixing up cyclic dependency with dmic-0
[   14.455276] platform 4400d000.dfsdm:filter@1:dfsdm-dai: Fixing up cyclic dependency with dmic-1
[   14.476174] platform 4400d000.dfsdm:filter@2:dfsdm-dai: Fixing up cyclic dependency with dmic-2
[   14.512261] platform 4400d000.dfsdm:filter@3:dfsdm-dai: Fixing up cyclic dependency with dmic-3
[**    ] A start job is running for Wait for�…vice Initialization (7s / 3min 3s)
[   14.965147] wm8994-codec wm8994-codec: Failed to request Mic1 detect IRQ: -22
[   14.988180] wm8994-codec wm8994-codec: Failed to request Mic1 short IRQ: -22
[   15.003961] wm8994-codec wm8994-codec: Failed to request Mic2 detect IRQ: -22
[  OK  ] Reached target Hardware activated USB gadget.
[  OK  ] Listening on Load/Save RF �…itch Status /dev/rfkill Watch.
[  OK  ] Finished Wait for udev To Complete Device Initialization.
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
[  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.
[  OK  ] Reached target Basic System.
         Starting Save/Restore Sound Card State...
[  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  ] Finished Check if the gpu �… correct weston configuration.
[   17.345411] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   17.371506] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  OK  ] Started Network Configuration.
[   17.481494] stm32-dwmac 5800a000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[   17.491638] stm32-dwmac 5800a000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   17.503063] dwmac4: Master AXI performs any burst length
[   17.506962] stm32-dwmac 5800a000.ethernet eth0: No Safety Features support found
[   17.518200] stm32-dwmac 5800a000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   17.528532] stm32-dwmac 5800a000.ethernet eth0: registered PTP clock
[   17.544077] stm32-dwmac 5800a000.ethernet eth0: configuring for phy/rgmii-id link mode
         Starting Network Name Resolution...
[  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.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15 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.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

3.2 Printing system information[edit]

root@stm32mp1:~# uname -a
Linux stm32mp1 5.15.24 #1 SMP PREEMPT Wed Feb 16 11:56:41 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.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

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         338M     0  338M   0% /dev
/dev/mmcblk0p10  684M  453M  184M  72% /
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            417M   16K  416M   1% /tmp
/dev/mmcblk0p8    55M   39M   12M  77% /boot
/dev/mmcblk0p9    14M  5.9M  6.8M  47% /vendor
/dev/mmcblk0p11   27G   43M   25G   1% /usr/local
tmpfs            416M   96K  416M   1% /var/volatile
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]

  • 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