1. Overview[edit | edit source]
This step explains how to connect your host Linux® terminal to your host computer through the ST-LINK/V3EC.
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 | 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/V3EC
ls /dev/ttyACM* /dev/ttyACM0 /dev/ttyACM1
- Connect the minicom to the /dev/ttyACM0 device
minicom -D /dev/ttyACM0 Welcome to minicom 2.8 OPTIONS: I18n 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: STM32MP157AAA Rev.B NOTICE: Model: STMicroelectronics STM32MP157F eval daughter on eval mother NOTICE: Board: MB1263 Var1.0 Rev.C-01 INFO: PMIC version = 0x10 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_fuse INFO: FCONF: Reading firmware configuration information for: stm32mp_io INFO: Using SDMMC INFO: Instance 1 INFO: Boot used partition fsbl1 NOTICE: BL2: v2.10-stm32mp1-r1.0(debug):lts-v2.10.5-dirty(7c229848) NOTICE: BL2: Built : 16:19:31, Jun 28 2024 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 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 - 0x2ffd0b08 INFO: BL2: Loading image id 9 INFO: Loading image id=9 at address 0xfe000000 INFO: Image id=9 loaded: 0xfe000000 - 0xfe070000 INFO: BL2: Loading image id 2 INFO: Loading image id=2 at address 0xc0500000 INFO: Image id=2 loaded: 0xc0500000 - 0xc05235a8 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 - 0xc021e500 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: 3680 bytes I/TC: Pager pool size: 104kB I/TC: Embedded DTB found I/TC: OP-TEE version: 4.0.0-dev (gcc version 13.3.0 (GCC)) #1 Fri Oct 20 18:29:31 UTC 2023 arm I/TC: WARNING: This OP-TEE configuration might be insecure! I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html I/TC: Primary CPU initializing I/TC: Override the OTP 18: 0x7b8d0000 to 0x7b8d01e0 I/TC: WARNING: Embeds insecure stm32mp_provisioning driver I/TC: UART console (non-secure) I/TC: Platform stm32mp1: flavor PLATFORM_FLAVOR - DT stm32mp157f-ev1.dts I/TC: OP-TEE ST profile: secure_and_system_services I/TC: HUK unlocked I/TC: Primary CPU switching to normal world boot I/TC: Reserved shared memory is disabled I/TC: Dynamic shared memory is enabled I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled optee optee: OP-TEE: revision 4.0 (2a5b1d12) U-Boot 2023.10-stm32mp-r1 (Oct 02 2023 - 14:39:59 +0000) CPU: STM32MP157AAA Rev.B Model: STMicroelectronics STM32MP157F eval daughter on eval mother Board: stm32mp1 in trusted mode (st,stm32mp157f-ev1) Board: MB1263 Var1.0 Rev.C-01 DRAM: 1 GiB optee optee: OP-TEE: revision 4.0 (2a5b1d12) I/TC: Reserved shared memory is disabled I/TC: Dynamic shared memory is enabled I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled Clocks: - MPU : 650 MHz - MCU : 208.878 MHz - AXI : 266.500 MHz - PER : 24 MHz - DDR : 533 MHz Core: 398 devices, 47 uclasses, devicetree: board WDT: Started watchdog with servicing every 1000ms (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 No EFI system partition No EFI system partition Failed to persist EFI variables 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.6.48 Created: 2024-08-29 15:33:59 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 8730224 Bytes = 8.3 MiB Load Address: c2000040 Entry Point: c2000040 Verifying Checksum ... OK ## Flattened Device Tree blob at c6000000 Booting using the fdt blob at 0xc6000000 Working FDT set to c6000000 XIP Kernel Image Loading Ramdisk to cf9d1000, end cfffff88 ... OK Loading Device Tree to cf9ab000, end cf9d0718 ... OK Working FDT set to cf9ab000 Starting kernel ... I/TC: Secondary CI/TC: Secondary CPU 1 switching to normal world boot I/TC: Reserved shared memory is disabled I/TC: Dynamic shared memory is enabled I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 6.6.48 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240716) #1 SMP PREEMPT Thu Aug 29 15:33:59 UTC 2024 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: STMicroelectronics STM32MP157F eval daughter on eval mother [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Reserved memory: created CMA memory pool at 0xf5000000, size 128 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0xf5000000..0xfcffffff (131072 KiB) map reusable linux,cma [ 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] OF: reserved mem: 0x10000000..0x1003ffff (256 KiB) nomap non-reusable mcuram2@10000000 [ 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] OF: reserved mem: 0x10040000..0x10040fff (4 KiB) nomap non-reusable vdev0vring0@10040000 [ 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] OF: reserved mem: 0x10041000..0x10041fff (4 KiB) nomap non-reusable vdev0vring1@10041000 [ 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] OF: reserved mem: 0x10042000..0x10045fff (16 KiB) nomap non-reusable vdev0buffer@10042000 [ 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] OF: reserved mem: 0x10048000..0x1004ffff (32 KiB) nomap non-reusable mcu-rsc-table@10048000 [ 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] OF: reserved mem: 0x30000000..0x3003ffff (256 KiB) nomap non-reusable mcuram@30000000 [ 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] OF: reserved mem: 0x38000000..0x3800ffff (64 KiB) nomap non-reusable retram@38000000 [ 0.000000] OF: reserved mem: 0xe8000000..0xefffffff (131072 KiB) nomap non-reusable gpu@e8000000 [ 0.000000] OF: reserved mem: 0xfdc00000..0xfdfeffff (4032 KiB) nomap non-reusable framebuffer@fdc00000 [ 0.000000] OF: reserved mem: 0xfe000000..0xffffffff (32768 KiB) nomap non-reusable optee@fe000000 [ 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.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.1 [ 0.000000] percpu: Embedded 18 pages/cpu s42836 r8192 d22700 u73728 [ 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] Built 1 zonelists, mobility grouping on. Total pages: 260703 [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.000000] Memory: 711472K/1048572K available (13312K kernel code, 1397K rwdata, 3996K rodata, 1024K init, 232K bss, 206028K 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] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000022] Switching to timer-based delay loop, resolution 41ns [ 0.002249] Console: colour dummy device 80x30 [ 0.002325] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.002354] CPU: Testing write buffer coherency: ok [ 0.002429] pid_max: default: 32768 minimum: 301 [ 0.002727] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.002759] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.004485] /cpus/cpu@0 missing clock-frequency property [ 0.004545] /cpus/cpu@1 missing clock-frequency property [ 0.004568] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.006891] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1. [ 0.007140] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1. [ 0.007432] Setting up static identity map for 0xc0100000 - 0xc0100060 [ 0.007725] rcu: Hierarchical SRCU implementation. [ 0.007736] rcu: Max phase no-delay instances is 1000. [ 0.010007] smp: Bringing up secondary CPUs ... [ 0.017805] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.018096] smp: Brought up 1 node, 2 CPUs [ 0.018117] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.018131] CPU: All CPU(s) started in SVC mode. [ 0.019206] devtmpfs: initialized [ 0.078761] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.079267] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.079303] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.086181] pinctrl core: initialized pinctrl subsystem [ 0.088995] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.094197] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.096636] thermal_sys: Registered thermal governor 'step_wise' [ 0.096811] cpuidle: using governor menu [ 0.097364] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.097389] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.098041] Serial: AMBA PL011 UART driver [ 0.103430] stm32-pm-domain pm_domain: domain core-ret-power-domain registered [ 0.103473] stm32-pm-domain pm_domain: subdomain core-power-domain registered [ 0.103487] stm32-pm-domain pm_domain: domains probed [ 0.154206] platform 5a001000.display-controller: Fixed dependency cycle(s) with /soc/dsi@5a000000 [ 0.166778] platform 4c006000.dcmi: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/camera@3c [ 0.174142] platform 5a001000.display-controller: Fixed dependency cycle(s) with /soc/dsi@5a000000 [ 0.174350] platform 5a000000.dsi: Fixed dependency cycle(s) with /soc/dsi@5a000000/panel@0 [ 0.174392] platform 5a000000.dsi: Fixed dependency cycle(s) with /soc/display-controller@5a001000 [ 0.178103] platform dmic-0: Fixed dependency cycle(s) with /soc/bus@5c007000/dfsdm@4400d000/filter@0/dfsdm-dai [ 0.178966] platform dmic-1: Fixed dependency cycle(s) with /soc/bus@5c007000/dfsdm@4400d000/filter@1/dfsdm-dai [ 0.179745] platform dmic-2: Fixed dependency cycle(s) with /soc/bus@5c007000/dfsdm@4400d000/filter@2/dfsdm-dai [ 0.180545] platform dmic-3: Fixed dependency cycle(s) with /soc/bus@5c007000/dfsdm@4400d000/filter@3/dfsdm-dai [ 0.182704] platform 4000d000.audio-controller: Fixed dependency cycle(s) with /spdif-in [ 0.182937] platform spdif-in: Fixed dependency cycle(s) with /soc/bus@5c007000/audio-controller@4000d000 [ 0.183783] platform spdif-out: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@50027000/audio-controller@50027004 [ 0.184845] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible. [ 0.194325] SCSI subsystem initialized [ 0.195675] usbcore: registered new interface driver usbfs [ 0.195751] usbcore: registered new interface driver hub [ 0.195834] usbcore: registered new device driver usb [ 0.196570] pps_core: LinuxPPS API ver. 1 registered [ 0.196585] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.196639] PTP clock support registered [ 0.197275] EDAC MC: Ver: 3.0.0 [ 0.198702] scmi_core: SCMI protocol bus registered [ 0.203131] clocksource: Switched to clocksource arch_sys_counter [ 2.210728] NET: Registered PF_INET protocol family [ 2.211159] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 2.215043] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 2.215098] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 2.215126] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 2.215361] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) [ 2.215681] TCP: Hash tables configured (established 8192 bind 8192) [ 2.215890] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 2.215978] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 2.216413] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 2.217620] RPC: Registered named UNIX socket transport module. [ 2.217643] RPC: Registered udp transport module. [ 2.217650] RPC: Registered tcp transport module. [ 2.217657] RPC: Registered tcp-with-tls transport module. [ 2.217664] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.218167] Trying to unpack rootfs image as initramfs... [ 2.218732] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available [ 2.222277] Initialise system trusted keyrings [ 2.222963] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [ 2.223811] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 2.224697] NFS: Registering the id_resolver key type [ 2.224781] Key type id_resolver registered [ 2.224792] Key type id_legacy registered [ 2.224857] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 2.224871] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 2.224955] ntfs: driver 2.1.32 [Flags: R/O]. [ 2.225011] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 2.225722] fuse: init (API version 7.39) [ 2.226620] NET: Registered PF_ALG protocol family [ 2.226652] Key type asymmetric registered [ 2.226662] Asymmetric key parser 'x509' registered [ 2.226841] bounce: pool size: 64 pages [ 2.226956] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 2.226975] io scheduler mq-deadline registered [ 2.226986] io scheduler kyber registered [ 2.227069] io scheduler bfq registered [ 2.227678] /soc/interrupt-controller@5000d000: bank0 [ 2.227728] /soc/interrupt-controller@5000d000: bank1 [ 2.227752] /soc/interrupt-controller@5000d000: bank2 [ 2.229553] Registering stm32-etzpc firewall controller [ 2.247506] STM32 USART driver initialized [ 2.281894] brd: module loaded [ 2.296170] loop: module loaded [ 2.309510] CAN device driver interface [ 2.313243] pegasus: Pegasus/Pegasus II USB Ethernet driver [ 2.313366] usbcore: registered new interface driver pegasus [ 2.313439] usbcore: registered new interface driver asix [ 2.313509] usbcore: registered new interface driver ax88179_178a [ 2.313603] usbcore: registered new interface driver cdc_ether [ 2.313677] usbcore: registered new interface driver smsc75xx [ 2.313746] usbcore: registered new interface driver smsc95xx [ 2.313814] usbcore: registered new interface driver net1080 [ 2.313881] usbcore: registered new interface driver cdc_subset [ 2.313962] usbcore: registered new interface driver zaurus [ 2.314102] usbcore: registered new interface driver cdc_ncm [ 2.317385] usbcore: registered new interface driver usb-storage [ 2.317812] usbcore: registered new device driver onboard-usb-hub [ 2.324416] i2c_dev: i2c /dev entries driver [ 2.330684] arm_smc_wdt watchdog: Watchdog registered (timeout=32 sec, nowayout=0) [ 2.334623] sdhci: Secure Digital Host Controller Interface driver [ 2.334645] sdhci: Copyright(c) Pierre Ossman [ 2.334653] Synopsys Designware Multimedia Card Interface Driver [ 2.335480] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.337205] ledtrig-cpu: registered to indicate activity on CPUs [ 2.338598] usbcore: registered new interface driver usbhid [ 2.338618] usbhid: USB HID core driver [ 2.344964] optee: probing for conduit method. [ 2.345002] optee: revision 4.0 (2a5b1d12) [ 2.361889] optee: dynamic shared memory is enabled [ 2.364357] random: crng init done [ 2.364930] optee: initialized driver [ 2.367889] NET: Registered PF_PACKET protocol family [ 2.367919] can: controller area network core [ 2.368056] NET: Registered PF_CAN protocol family [ 2.368078] can: raw protocol [ 2.368096] can: broadcast manager protocol [ 2.368140] can: netlink gateway - max_hops=1 [ 2.369270] Key type dns_resolver registered [ 2.369539] ThumbEE CPU extension supported. [ 2.369568] Registering SWP/SWPB emulation handler [ 2.392998] registered taskstats version 1 [ 2.393374] Loading compiled-in X.509 certificates [ 2.430491] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16 [ 2.430908] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled. [ 2.431448] arm-scmi firmware:scmi: SCMI Protocol v2.0 'ST:' Firmware version 0x0 [ 2.485271] stm32-dma 48000000.dma-controller: STM32 DMA driver registered [ 2.488722] stm32-dma 48001000.dma-controller: STM32 DMA driver registered [ 2.494502] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered [ 2.500651] [drm] Initialized simpledrm 1.0.0 20200625 for fdc00000.framebuffer on minor 0 [ 2.506425] stm32_rtc 5c004000.rtc: registered as rtc0 [ 2.506494] stm32_rtc 5c004000.rtc: setting system clock to 2000-01-01T01:13:27 UTC (946689207) [ 2.507226] stm32_rtc 5c004000.rtc: Date/Time must be initialized [ 2.507249] stm32_rtc 5c004000.rtc: registered rev:1.2 [ 2.513559] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfully [ 2.522593] stm32-ipcc 4c001000.mailbox: ipcc rev:1.0 enabled, 6 chans, proc 0 [ 2.525849] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOA bank added [ 2.526824] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOB bank added [ 2.527732] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOC bank added [ 2.529031] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOD bank added [ 2.530000] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOE bank added [ 2.531294] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOF bank added [ 2.532494] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOG bank added [ 2.533716] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOH bank added [ 2.534992] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOI bank added [ 2.536061] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOJ bank added [ 2.536994] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOK bank added [ 2.537529] stm32mp157-pinctrl soc:pinctrl@50002000: Pinctrl STM32 initialized [ 2.543897] stm32mp157-pinctrl soc:pinctrl@54004000: GPIOZ bank added [ 2.543955] stm32mp157-pinctrl soc:pinctrl@54004000: Pinctrl STM32 initialized [ 2.547208] stm32-usart 40010000.serial: interrupt mode for rx (no dma) [ 2.547235] stm32-usart 40010000.serial: interrupt mode for tx (no dma) [ 2.547851] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 52, base_baud = 4000000) is a stm32-usart [ 2.547959] printk: console [ttySTM0] enabled [ 2.899982] Freeing initrd memory: 6332K [ 2.950667] spi-nor spi0.0: mx66l51235f (65536 Kbytes) [ 4.090765] 8 fixed-partitions partitions found on MTD device spi0.0 [ 4.096886] Creating 8 MTD partitions on "spi0.0": [ 4.101639] 0x000000000000-0x000000040000 : "fsbl1" [ 4.109612] 0x000000040000-0x000000080000 : "fsbl2" [ 4.115986] 0x000000080000-0x0000000c0000 : "metadata1" [ 4.122596] 0x0000000c0000-0x000000100000 : "metadata2" [ 4.129312] 0x000000100000-0x000000500000 : "fip-a" [ 4.135680] 0x000000500000-0x000000900000 : "fip-b" [ 4.141863] 0x000000900000-0x000000980000 : "u-boot-env" [ 4.148739] 0x000000980000-0x000004000000 : "nor-user" [ 4.156774] spi-nor spi0.1: mx66l51235f (65536 Kbytes) [ 4.166608] m_can_platform 4400e000.can: m_can device registered (irq=54, version=32) [ 4.175610] stm32-dwmac 5800a000.ethernet: IRQ eth_lpi not found [ 4.181687] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42 [ 4.187358] stm32-dwmac 5800a000.ethernet: DWMAC4/5 [ 4.192215] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported [ 4.199501] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported [ 4.206779] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported [ 4.213651] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported [ 4.220057] stm32-dwmac 5800a000.ethernet: TSO supported [ 4.225233] stm32-dwmac 5800a000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 4.232998] stm32-dwmac 5800a000.ethernet: Enabled L3L4 Flow TC (entries=2) [ 4.239980] stm32-dwmac 5800a000.ethernet: Enabled RFS Flow TC (entries=10) [ 4.246974] stm32-dwmac 5800a000.ethernet: TSO feature enabled [ 4.252726] stm32-dwmac 5800a000.ethernet: Using 32/32 bits DMA host/device width [ 4.299096] i2c 0-001b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024 [ 4.307906] i2c 0-001b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004 [ 4.318595] platform 4c006000.dcmi: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/camera@3c [ 4.327807] i2c 0-003c: Fixed dependency cycle(s) with /soc/bus@5c007000/dcmi@4c006000 [ 4.337117] stm32f7-i2c 40013000.i2c: STM32F7 I2C-0 bus adapter [ 4.364534] stm32f7-i2c 40015000.i2c: STM32F7 I2C-1 bus adapter [ 4.396146] stpmic1 2-0033: PMIC Chip Version: 0x10 [ 4.402557] platform 5c002000.i2c:stpmic@33:regulators: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@5c002000/stpmic@33/regulators/boost [ 4.414286] platform 5c002000.i2c:stpmic@33:regulators: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@5c002000/stpmic@33/regulators/buck2 [ 4.427155] platform 5c002000.i2c:stpmic@33:regulators: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@5c002000/stpmic@33/regulators/buck4 [ 4.443191] stm32f7-i2c 5c002000.i2c: STM32F7 I2C-2 bus adapter [ 4.450396] thermal_sys: Failed to bind 'cpu-thermal' with 'cpufreq-cpu0': -22 [ 4.460208] stm32-rproc 10000000.m4: wdg irq registered [ 4.464920] remoteproc remoteproc0: m4 is available [ 4.474078] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xd3 [ 4.479060] nand: Micron MT29F8G08ABACAH4 [ 4.483005] nand: 1024 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 224 [ 4.491595] Bad block table found at page 262080, version 0x01 [ 4.497175] Bad block table found at page 262016, version 0x01 [ 4.503039] 9 fixed-partitions partitions found on MTD device 80000000.nand-controller [ 4.510372] Creating 9 MTD partitions on "80000000.nand-controller": [ 4.516688] 0x000000000000-0x000000080000 : "fsbl1" [ 4.524696] 0x000000080000-0x000000100000 : "fsbl2" [ 4.530926] 0x000000100000-0x000000180000 : "metadata1" [ 4.537819] 0x000000180000-0x000000200000 : "metadata2" [ 4.544575] 0x000000200000-0x000000600000 : "fip-a1" [ 4.550902] 0x000000600000-0x000000a00000 : "fip-a2" [ 4.557452] 0x000000a00000-0x000000e00000 : "fip-b1" [ 4.563946] 0x000000e00000-0x000001200000 : "fip-b2" [ 4.570288] 0x000001200000-0x000040000000 : "UBI" [ 4.586509] stmfx-core 0-0042: STMFX id: 0x7b, fw version: 3.03 [ 4.615767] stmfx-pinctrl stmfx-pinctrl: DMA mask not set [ 4.623715] stmfx-core 0-0042: Can't set the affinity, set it for irq 74 instead [ 4.629696] genirq: irq_chip stmfx-core did not update eff. affinity mask of irq 75 [ 4.637854] stmfx-pinctrl stmfx-pinctrl: 24 GPIOs available [ 4.650815] input: pmic_onkey as /devices/platform/soc/5c007000.bus/5c002000.i2c/i2c-2/2-0033/5c002000.i2c:stpmic@33:onkey/input/input0 [ 4.665008] mmci-pl18x 58005000.mmc: Got CD GPIO [ 4.667914] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0 [ 4.669909] mmci-pl18x 58005000.mmc: mmc0: PL180 manf 53 rev2 at 0x58005000 irq 85,0 (pio) [ 4.676951] stm32-display-dsi 5a000000.dsi: Fixed dependency cycle(s) with /soc/dsi@5a000000/panel@0 [ 4.683046] mmci-pl18x 58007000.mmc: mmc1: PL180 manf 53 rev2 at 0x58007000 irq 86,0 (pio) [ 4.692155] mipi-dsi 5a000000.dsi.0: Fixed dependency cycle(s) with /soc/dsi@5a000000 [ 4.797000] mmc0: new ultra high speed DDR50 SDHC card at address aaaa [ 4.803794] mmcblk0: mmc0:aaaa SC16G 14.8 GiB [ 4.819951] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 [ 4.834412] [drm] Initialized stm 1.0.0 20170330 for 5a001000.display-controller on minor 0 [ 4.843531] dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regulator [ 4.850010] dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regulator [ 4.864306] mmc1: new DDR MMC card at address 0001 [ 4.869221] mmcblk1: mmc1:0001 004GA0 3.69 GiB [ 4.879217] mmcblk1: p1 p2 p3 p4 p5 p6 [ 4.884885] mmcblk1boot0: mmc1:0001 004GA0 2.00 MiB [ 4.891662] mmcblk1boot1: mmc1:0001 004GA0 2.00 MiB [ 4.898216] mmcblk1rpmb: mmc1:0001 004GA0 512 KiB, chardev (244:0) [ 5.000756] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM [ 5.007973] dwc2 49000000.usb-otg: DWC OTG Controller [ 5.011872] dwc2 49000000.usb-otg: new USB bus registered, assigned bus number 1 [ 5.019423] dwc2 49000000.usb-otg: irq 90, io mem 0x49000000 [ 5.026434] hub 1-0:1.0: USB hub found [ 5.028863] hub 1-0:1.0: 1 port detected [ 5.042670] ehci-platform 5800d000.usb: EHCI Host Controller [ 5.047056] ehci-platform 5800d000.usb: new USB bus registered, assigned bus number 2 [ 5.055411] ehci-platform 5800d000.usb: irq 91, io mem 0x5800d000 [ 5.083176] ehci-platform 5800d000.usb: USB 2.0 started, EHCI 1.00 [ 5.089625] hub 2-0:1.0: USB hub found [ 5.092056] hub 2-0:1.0: 2 ports detected [ 5.104823] Goodix-TS 0-005d: ID 9147, version: 1040 [ 5.129672] input: Goodix Capacitive TouchScreen as /devices/platform/soc/5c007000.bus/40013000.i2c/i2c-0/0-005d/input/input1 [ 5.140505] stmfx-pinctrl stmfx-pinctrl: Can't set the affinity, set it for irq 74 instead [ 5.175735] input: joystick as /devices/platform/joystick/input/input3 [ 5.183093] clk: Disabling unused clocks [ 5.189369] Freeing unused kernel image (initmem) memory: 1024K [ 5.194432] Run /init as init process [ 5.393298] usb 2-1: new high-speed USB device number 2 using ehci-platform Starting systemd-udevd version 255.4^ [ 5.596127] hub 2-1:1.0: USB hub found [ 5.603321] hub 2-1:1.0: 4 ports detected [ 7.566948] mtdblock: MTD device 'fsbl2' is NAND, please consider using UBI block devices instead. [ 7.595078] mtdblock: MTD device 'metadata1' is NAND, please consider using UBI block devices instead. [ 7.618628] mtdblock: MTD device 'fip-a2' is NAND, please consider using UBI block devices instead. [ 7.620085] mtdblock: MTD device 'metadata2' is NAND, please consider using UBI block devices instead. [ 7.639294] mtdblock: MTD device 'fip-a1' is NAND, please consider using UBI block devices instead. [ 7.685926] mtdblock: MTD device 'fip-b1' is NAND, please consider using UBI block devices instead. [ 7.708850] mtdblock: MTD device 'fip-b2' is NAND, please consider using UBI block devices instead. [ 7.754143] mtdblock: MTD device 'UBI' is NAND, please consider using UBI block devices instead. [ 7.772531] mtdblock: MTD device 'fsbl1' is NAND, please consider using UBI block devices instead. [ 8.011621] stm32-dwmac 5800a000.ethernet end0: renamed from eth0 [ 8.756315] EXT4-fs (mmcblk0p10): recovery complete [ 8.761789] EXT4-fs (mmcblk0p10): mounted filesystem 95702ecc-9642-4998-8309-4db3be4d0d2f r/w with ordered data mode. Quota mode: disabled. ln: /etc/mtab: File exists [ 9.400068] systemd[1]: System time before build time, advancing clock. [ 9.535285] NET: Registered PF_INET6 protocol family [ 9.609157] Segment Routing with IPv6 [ 9.611505] In-situ OAM (IOAM) with IPv6 [ 9.666775] systemd[1]: systemd 255.4^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK -SECCOMP -GCRYPT -GNUTLS -OPENSSL -ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN +IPTC +KMOD -L) [ 9.703240] systemd[1]: Detected architecture arm. Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 (scarthgap)! [ 9.760038] systemd[1]: Hostname set to <stm32mp1-42-45-43>. [ 9.829901] systemd[1]: Using hardware watchdog 'arm_smc_wdt', version 0, device /dev/watchdog0 [ 9.837507] systemd[1]: Watchdog running with a timeout of 32s. [ 11.094772] systemd[1]: Queued start job for default target Multi-User System. [ 11.187814] systemd[1]: Created slice Slice /system/getty. [ OK ] Created slice Slice /system/getty. [ 11.227841] systemd[1]: Created slice Slice /system/modprobe. [ OK ] Created slice Slice /system/modprobe. [ 11.267627] systemd[1]: Created slice Slice /system/serial-getty. [ OK ] Created slice Slice /system/serial-getty. [ 11.306380] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 11.344176] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ 11.384071] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password Requests to Wall Directory Watch. [ 11.423688] systemd[1]: Expecting device /dev/dri/card0... Expecting device /dev/dri/card0... [ 11.453488] systemd[1]: Expecting device /dev/hwrng... Expecting device /dev/hwrng... [ 11.483410] systemd[1]: Expecting device /dev/tee0... Expecting device /dev/tee0... [ 11.513854] systemd[1]: Reached target Path Units. [ OK ] Reached target Path Units. [ 11.543583] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 11.583539] systemd[1]: Reached target Slice Units. [ OK ] Reached target Slice Units. [ 11.613584] systemd[1]: Reached target Swaps. [ OK ] Reached target Swaps. [ 11.731927] systemd[1]: Listening on RPCbind Server Activation Socket. [ OK ] Listening on RPCbind Server Activation Socket. [ 11.773741] systemd[1]: Reached target RPC Port Mapper. [ OK ] Reached target RPC Port Mapper. [ 11.815264] systemd[1]: Listening on Syslog Socket. [ OK ] Listening on Syslog Socket. [ 11.874647] systemd[1]: Listening on Process Core Dump Socket. [ OK ] Listening on Process Core Dump Socket. [ 11.914370] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ 11.966924] systemd[1]: Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit). [ 11.978177] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 12.015031] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 12.055447] systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. [ 12.095413] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 12.134814] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 12.175024] systemd[1]: Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages). [ 12.233783] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 12.281110] systemd[1]: Mounting Kernel Debug File System... Mounting Kernel Debug File System... [ 12.324133] systemd[1]: Mounting Kernel Trace File System... Mounting Kernel Trace File System... [ 12.434169] systemd[1]: Mounting Temporary Directory /tmp... Mounting Temporary Directory /tmp... [ 12.494041] systemd[1]: Starting Create List of Static Device Nodes... Starting Create List of Static Device Nodes... [ 12.544944] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module configfs... [ 12.594968] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module drm... [ 12.624971] systemd[1]: Starting Load Kernel Module fuse... Starting Load Kernel Module fuse... [ 12.679288] systemd[1]: Starting Mount partitions... Starting Mount partitions... [ 12.738129] systemd[1]: Starting RPC Bind... Starting RPC Bind... [ 12.748069] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/). [ 12.791513] systemd[1]: Starting Journal Service... Starting Journal Service... [ 12.830261] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met. [ 12.855167] systemd[1]: Starting Generate network units from Kernel command line... Starting Generate network units from Kernel command line... [ 12.955964] systemd-journald[258]: Collecting audit messages is disabled. [ 12.964683] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 13.005754] systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... [ 13.114409] systemd[1]: Starting Coldplug All udev Devices... Starting Coldplug All udev Devices... [ 13.206679] EXT4-fs (mmcblk0p10): re-mounted 95702ecc-9642-4998-8309-4db3be4d0d2f r/w. Quota mode: disabled. [ 13.221733] systemd[1]: Started RPC Bind. [ OK ] Started RPC Bind. [ 13.305550] systemd[1]: Mounted POSIX Message Queue File System. [ OK ] Mounted POSIX Message Queue File System. [ 13.324172] systemd[1]: Mounted Kernel Debug File System. [ OK ] Mounted Kernel Debug File System. [ 13.360086] systemd[1]: Mounted Kernel Trace File System. [ OK ] Mounted Kernel Trace File System. [ 13.405318] systemd[1]: Mounted Temporary Directory /tmp. [ OK ] Mounted Temporary Directory /tmp. [ 13.440138] systemd[1]: Finished Create List of Static Device Nodes. [ OK ] Finished Create List of Static Device Nodes. [ 13.502720] systemd[1]: modprobe@configfs.service: Deactivated successfully. [ 13.546849] systemd[1]: Finished Load Kernel Module configfs. [ OK ] Finished Load Kernel Module configfs. [ 13.566321] systemd[1]: modprobe@drm.service: Deactivated successfully. [ 13.573512] systemd[1]: Finished Load Kernel Module drm. [ OK ] Finished Load Kernel Module drm. [ 13.616704] systemd[1]: modprobe@fuse.service: Deactivated successfully. [ 13.646236] systemd[1]: Finished Load Kernel Module fuse. [ OK ] Finished Load Kernel Module fuse. [ 13.686780] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. [ 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... [ 13.933383] EXT4-fs (mmcblk0p8): recovery complete [ 13.944175] EXT4-fs (mmcblk0p8): mounted filesystem 73cdd380-73b6-4136-a3b5-0c8cb23ce8b1 r/w with ordered data mode. Quota mode: disabled. Mounting Kernel Configuration File System... Starting Flush Journal to Persistent Storage... Starting Create Static Device Nodes in /dev gracefully... [ OK ] Mounted FUSE Control File System. [ OK ] Mounted Kernel Configuration File System. [ 14.391553] systemd-journald[258]: Received client request to flush runtime journal. [ OK ] Finished Flush Journal to Persistent Storage. [ OK ] Finished Create Static Device Nodes in /dev gracefully. Starting Create Static Device Nodes in /dev... [ OK ] Finished Create Static Device Nodes in /dev. [ OK 14.826864] EXT4-fs (mmcblk0p9): recovery complete m] Reached target Preparation for Local[ 14.835823] EXT4-fs (mmcblk0p9): mounted filesystem 807feddc-d7e8-4ba5-87bd-f4bffed1bf19 r/w with ordered data mode. Quota mode: disabled. File Systems. Mounting /var/volatile... Starting Rule-based Manager for Device Events and Files... [ OK ] Mounted /var/volatile. Starting Load/Save OS Random Seed... [ 15.329928] EXT4-fs (mmcblk0p11): recovery complete [ 15.353890] EXT4-fs (mmcblk0p11): mounted filesystem 4a863242-c2ad-4d95-80d8-595a3bf45db9 r/w with ordered data mode. Quota mode: disabled. [ OK ] Finished Mount partitions. [ OK ] Finished Load/Save OS Random Seed. Starting ST hostname... [ OK ] Started Rule-based Manager for Device Events and Files. [ OK ] Finished ST hostname. [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Finished Create Volatile Files and Directories. Starting Network Name Resolution... Starting Network Time Synchronization... Starting Record System Boot/Shutdown in UTMP... [ OK ] Finished Record System Boot/Shutdown in UTMP. [ 16.836450] mtdblock: MTD device 'metadata2' is NAND, please consider using UBI block devices instead. [ 16.884033] mtdblock: MTD device 'fip-a1' is NAND, please consider using UBI block devices instead. [ 16.936123] mtdblock: MTD device 'metadata1' is NAND, please consider using UBI block devices instead. [ 17.442599] mtdblock: MTD device 'fsbl2' is NAND, please consider using UBI block devices instead. [ OK ] Started Network Time Synchronization. [ 17.504868] mtdblock: MTD device 'fip-a2' is NAND, please consider using UBI block devices instead. [ OK ] Finished Coldplug All udev Devices. [ 17.624126] mtdblock: MTD device 'fip-b1' is NAND, please consider using UBI block devices instead. [ 17.642232] mtdblock: MTD device 'UBI' is NAND, please consider using UBI block devices instead. [ 17.661760] mtdblock: MTD device 'fip-b2' is NAND, please consider using UBI block devices instead. [ 17.674668] mtdblock: MTD device 'fsbl1' is NAND, please consider using UBI block devices instead. [ OK ] Started Network Name Resolution. [ 19.839683] galcore: loading out-of-tree module taints kernel. [ 19.851102] stm32-crc32 58009000.crc: Initialized [ 19.851760] Galcore version 6.4.19.4.952875 [ 20.015949] st,stm32-spdifrx 4000d000.audio-controller: No cache defaults, reading back from HW [ 20.080823] wm8994 0-001b: supply DCVDD not found, using dummy regulator [ 20.110547] mc: Linux media interface: v0.10 [ 20.128193] wm8994 0-001b: supply AVDD1 not found, using dummy regulator [ 20.133823] wm8994 0-001b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004 [ 20.196138] videodev: Linux video capture interface: v2.00 [ 20.203065] platform 4400b004.audio-controller: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/wm8994@1b [ 20.264978] wm8994 0-001b: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b024 [ 20.277870] platform 4400b024.audio-controller: Fixed dependency cycle(s) with /soc/bus@5c007000/i2c@40013000/wm8994@1b [ 20.292758] platform 4400b024.audio-controller: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@4400b000/audio-controller@4400b004 [ 20.324011] stm32-dfsdm 4400d000.dfsdm: SPI clock not accurate [ 20.327405] platform spdif-out: Fixed dependency cycle(s) with /soc/bus@5c007000/sai@50027000/audio-controller@50027004 [ 20.328492] stm32-dfsdm 4400d000.dfsdm: 24573875 = 2048000 * 12 + 2045875 [ 20.366741] platform 50027004.audio-controller: Fixed dependency cycle(s) with /spdif-out [ 20.559013] stm32-dcmi 4c006000.dcmi: SRAM pool: 32 KiB for DMA/MDMA chaining [ 20.573413] stm32-hash 54002000.hash: will run requests pump with realtime priority [ 20.576305] wm8994 0-001b: WM8994 revision D CUST_ID 00 [ 20.579809] stm32-hash 54002000.hash: Init HASH done HW ver 23 DMA mode 1 [ 20.615831] wm8994 0-001b: No interrupt specified, no interrupts [ 20.639793] stm32-cryp 54001000.cryp: will run requests pump with realtime priority [ 20.646332] stm32-dcmi 4c006000.dcmi: Probe done [ 20.669122] stm32-cryp 54001000.cryp: Initialized [* ] (1 of 3) A start job is running for /dev/hwrng (9s / 1min 30s) [ 21.362107] configfs-gadget.g1 gadget.0: HOST MAC 4c:dd:cb:54:18:fa [ 21.373230] configfs-gadget.g1 gadget.0: MAC 0e:4e:21:78:fd:7c [ *** ] (2 of 3) A start job is running for /dev/dri/card0 (11s / 1min 30s) [ 22.937667] wm8994-codec wm8994-codec: Failed to request Mic1 detect IRQ: -22 [ 22.945811] wm8994-codec wm8994-codec: Failed to request Mic1 short IRQ: -22 [ 22.952007] wm8994-codec wm8994-codec: Failed to request Mic2 detect IRQ: -22 [ OK ] Found device /dev/dri/card0. [ OK ] Found device /dev/hwrng. [ OK ] Found device /dev/tee0. [ OK ] Created slice Slice /system/systemd-backlight. [ OK ] Reached target Host and Network Name Lookups. [ OK ] Reached target System Time Set. [ OK ] Reached target Hardware activated USB gadget. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Started Starts Psplash Boot screen. [ OK ] Started Hardware RNG Entropy Gatherer Daemon. Starting Load/Save Screen Backligh…ess of backlight:panel-backlight... Starting Wait for udev To Complete Device Initialization... Starting Virtual Console Setup... [ OK ] Finished Load/Save Screen Backligh…tness of backlight:panel-backlight. [ OK ] Finished Virtual Console Setup. [ OK ] Finished Wait for udev To Complete Device Initialization. [ OK ] Reached target System Initialization. [ OK ] Started Serves stm32mp clocks calibration.. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timer Units. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Listening on dropbear.socket. [ OK ] Reached target Socket Units. [ OK ] Reached target Basic System. Starting ST set alsa state configuration... Starting Avahi mDNS/DNS-SD Stack... [ OK ] Started Kernel Logging Service. [ OK ] Started System Logging Service. Starting D-Bus System Message Bus... Starting IPv6 Packet Filtering Framework... Starting IPv4 Packet Filtering Framework... [ OK ] Started Seat for Weston user. [ OK ] Started Calibrates HSI/CSI clocks. Starting Resets System Activity Logs... Starting User Login Management... Starting TEE Supplicant... Starting Check if the gpu are pres…the correct weston configuration... [ OK ] Started D-Bus System Message Bus. [ OK ] Finished IPv6 Packet Filtering Framework. [ OK ] Finished IPv4 Packet Filtering Framework. [ OK ] Finished Resets System Activity Logs. [ OK ] Finished ST set alsa state configuration. [ OK ] Reached target Preparation for Network. Starting Save/Restore Sound Card State... Starting Network Configuration... [ OK ] Started User Login Management. [ OK ] Started TEE Supplicant. [ OK ] Finished Save/Restore Sound Card State. [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Reached target Sound Card. [ 27.992114] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 28.036749] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 28.046611] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ OK ] Finished Check if the gpu are pres…t the correct weston configuration. [ OK ] Started Network Configuration. [ OK ] Reached target Network. [ 28.193822] stm32-dwmac 5800a000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 28.202630] stm32-dwmac 5800a000.ethernet end0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet] (irq=POLL) [ 28.211744] dwmac4: Master AXI performs any burst length [ 28.216998] stm32-dwmac 5800a000.ethernet end0: No Safety Features support found [ 28.224357] stm32-dwmac 5800a000.ethernet end0: IEEE 1588-2008 Advanced Timestamp supported [ 28.232937] stm32-dwmac 5800a000.ethernet end0: registered PTP clock [ 28.240597] 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 Real time performance monitoring. [ OK ] Started Target Communication Framework agent. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttySTM0. [ OK ] Reached target Login Prompts. Starting Weston graphical session... [ OK ] Created slice User Slice of UID 1000. Starting User Runtime Directory /run/user/1000... [ OK ] Finished User Runtime Directory /run/user/1000. Starting User Manager for UID 1000... [ 32.400020] stm32-dwmac 5800a000.ethernet end0: Link is Up - 1Gbps/Full - flow control off ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 stm32mp1-42-45-43 ttySTM0 stm32mp1-42-45-43 login: root (automatic login) root@stm32mp1-42-45-43:~#
3. Basic commands[edit | edit source]
3.1. Printing distribution specific information[edit | edit source]
root@stm32mp2-e3-b9-8b:~# cat /etc/build ----------------------- Build Configuration: | ----------------------- BB_VERSION = 2.8.0 BUILD_SYS = x86_64-linux NATIVELSBSTRING = universal TARGET_SYS = aarch64-ostl-linux MACHINE = stm32mp2 DISTRO = openstlinux-weston DISTRO_VERSION = 5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 TUNE_FEATURES = aarch64 crc cortexa35 TARGET_FPU = MANIFESTVERSION = ostl-v6.0-3-g77ba3ade97af8adb81642ae4e6b377766bfdbc9a DISTRO_CODENAME = scarthgap ACCEPT_EULA_stm32mp2 = 1 GCCVERSION = 13.% PREFERRED_PROVIDER_virtual/kernel = linux-stm32mp ----------------------- Layer Revisions: | ----------------------- meta-python = v6.0.xml:1235dd4ed4a57e67683c045ad76b6a0f9e896b45 meta-oe = v6.0.xml:1235dd4ed4a57e67683c045ad76b6a0f9e896b45 meta-gnome = v6.0.xml:1235dd4ed4a57e67683c045ad76b6a0f9e896b45 meta-multimedia = v6.0.xml:1235dd4ed4a57e67683c045ad76b6a0f9e896b45 meta-networking = v6.0.xml:1235dd4ed4a57e67683c045ad76b6a0f9e896b45 meta-webserver = v6.0.xml:1235dd4ed4a57e67683c045ad76b6a0f9e896b45 meta-st-stm32mp = v6.0.xml:83b758fa887a90af531b9e0a9385a6def2f46682 meta-st-openstlinux = v6.0.xml:fd3ef2feb59ad51694464eaa058b5c8fb1e24111 meta = v6.0.xml:236ac1b43308df722a78d3aa20aef065dfae5b2b
3.2. Printing system information[edit | edit source]
root@stm32mp2-e3-b9-8b:~# uname -a Linux stm32mp2-e3-b9-8b 6.6.48 #1 SMP PREEMPT Thu Aug 29 15:33:59 UTC 2024 aarch64 GNU/Linux
3.3. Printing Linux kernel and GCC versions[edit | edit source]
root@stm32mp2-e3-b9-8b:~# cat /proc/version Linux version 6.6.48 (oe-user@oe-host) (aarch64-ostl-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240716) #1 SMP PREEMPT Thu Aug 29 15:33:59 UTC 2024
3.4. Printing the amount of disk space available on all mounted file systems[edit | edit source]
root@stm32mp2-e3-b9-8b:~# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 1.8G 0 1.8G 0% /dev /dev/mmcblk0p10 3.8G 588M 3.0G 17% / tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs 755M 8.9M 746M 2% /run tmpfs 1.9G 4.0K 1.9G 1% /tmp /dev/mmcblk0p8 55M 21M 31M 40% /boot /dev/mmcblk0p9 228M 27M 185M 13% /vendor tmpfs 1.9G 16K 1.9G 1% /var/volatile /dev/mmcblk0p11 9.9G 45M 9.3G 1% /usr/local tmpfs 378M 8.0K 378M 1% /run/user/1000 tmpfs 378M 4.0K 378M 1% /run/user/0
3.5. ssh connection[edit | edit source]
Applicable when USBC cable is on CN15 or when the Ethernet cable is connected.
- Get the IP address of your board
ip addr show usb0 6: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP gro0 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 usb0 valid_lft forever preferred_lft forever inet6 xxxx::xx:xx:xx:xx/64 scope link valid_lft forever preferred_lft forever
or
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@stm32mp25:~#