Applicable for STM32MP25x lines

STM32MP257F-EV1.jpg
Let's start Develop on Arm® Cortex®-A35
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 | 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: STM32MP257FAI Rev.B
NOTICE:  Model: STMicroelectronics STM32MP257F-EV1 Evaluation Board
INFO:    Reset reason (0x2034):
INFO:      Pad Reset from NRST
INFO:    PMIC2 version = 0x11
INFO:    PMIC2 product ID = 0x20
INFO:    FCONF: Reading TB_FW firmware configuration file from: 0xe012000
INFO:    FCONF: Reading firmware configuration information for: stm32mp_io
INFO:    FCONF: Reading firmware configuration information for: stm32mp_fuse
INFO:    Override the OTP 124 initial value
INFO:    Using SDMMC
INFO:      Instance 1
INFO:    Boot used partition fsbl1
NOTICE:  BL2: v2.8-stm32mp2-beta-r1.0(debug):lts-v2.8.12-dirty(f94d6db9)
NOTICE:  BL2: Built : 15:23:02, Nov 22 2023
INFO:    BL2: Loading image id 26                                               
INFO:    Loading image id=26 at address 0xe041000                               
INFO:    Image id=26 loaded: 0xe041000 - 0xe048524                              
INFO:    BL2: Doing platform setup                                              
INFO:    RAM: DDR4 2x16Gbits 2x16bits 1200MHz                                   
INFO:    Memory size = 0x100000000 (4096 MB)                                    
INFO:    BL2: Loading image id 1                                                
INFO:    Loading image id=1 at address 0xe000000                                
INFO:    Image id=1 loaded: 0xe000000 - 0xe000326                               
INFO:    FCONF: Reading FW_CONFIG firmware configuration file from: 0xe000000   
INFO:    FCONF: Reading firmware configuration information for: risaf_config    
INFO:    RISAF2: No configuration in DT, use default                            
INFO:    FCONF: Reading firmware configuration information for: dyn_cfg         
INFO:    FCONF: Reading firmware configuration information for: stm32mp2_firewal
INFO:    BL2: Loading image id 3                                                
INFO:    Loading image id=3 at address 0xe000000                                
INFO:    Image id=3 loaded: 0xe000000 - 0xe013720                               
INFO:    BL2: Loading image id 19                                               
INFO:    Loading image id=19 at address 0x81ff0000                              
INFO:    Image id=19 loaded: 0x81ff0000 - 0x81ff3513                            
INFO:    BL2: Loading image id 4                                                
INFO:    Loading image id=4 at address 0x82000000                               
INFO:    Image id=4 loaded: 0x82000000 - 0x8200001c                             
INFO:    OPTEE ep=0x82000000                                                    
INFO:    OPTEE header info:                                                     
INFO:          magic=0x4554504f                                                 
INFO:          version=0x2                                                      
INFO:          arch=0x1                                                         
INFO:          flags=0x0                                                        
INFO:          nb_images=0x1                                                    
INFO:    BL2: Loading image id 8                                                
INFO:    Loading image id=8 at address 0x82000000                               
INFO:    Image id=8 loaded: 0x82000000 - 0x820d4398                             
INFO:    BL2: Loading image id 2                                                
INFO:    Loading image id=2 at address 0x84400000                               
INFO:    Image id=2 loaded: 0x84400000 - 0x84417290                             
INFO:    BL2: Loading image id 5                                                
INFO:    Loading image id=5 at address 0x84000000                               
INFO:    Image id=5 loaded: 0x84000000 - 0x8415a458                             
NOTICE:  BL2: Booting BL31                                                      
INFO:    Entry point address = 0xe000000                                        
INFO:    SPSR = 0x3cd                                                           
INFO:    ARM GICv2 driver initialized                                           
NOTICE:  BL31: v2.8-stm32mp2-beta-r1.0(debug):lts-v2.8.12-dirty(f94d6db9)       
NOTICE:  BL31: Built : 15:23:02, Nov 22 2023                                    
INFO:    BL31: Initializing runtime services                                    
INFO:    BL31: Initializing BL32                                                
I/TC: Early console on UART#2                                                   
I/TC:                                                                           
I/TC: Embedded DTB found                                                        
I/TC: OP-TEE version: 3.19.0-dev (gcc version 12.3.0 (GCC)) #1 Fri Oct 14 19:004
I/TC: WARNING: This OP-TEE configuration might be insecure!                     
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecturel
I/TC: Primary CPU initializing                                                  
I/TC: Override the OTP 124: 18006 to 18db6                                      
I/TC: WARNING: All debug access are allowed                                     
I/TC: PMIC pid=0x20 version=0x11                                                
I/TC: Platform stm32mp2: flavor PLATFORM_FLAVOR - DT stm32mp257f-ev1.dts        
I/TC: DTB enables console (non-secure)                                          
[    0.000000] SCP-firmware v2.12.0-dev                                         
[    0.000000]                                                                  
[    0.000000] [FWK] Module initialization complete!                            
I/TC: Primary CPU switching to normal world boot                                
INFO:    BL31: Preparing for EL3 exit to normal world                           
INFO:    Entry point address = 0x84000000                                       
INFO:    SPSR = 0x3c5                                                           
                                                                                
                                                                                
U-Boot 2022.10-stm32mp25-beta-r1-rc3 (Oct 03 2022 - 19:25:32 +0000)             
                                                                                
CPU: STM32MP257FAI Rev.B                                                        
Model: STMicroelectronics STM32MP257F-EV1 Evaluation Board                      
Board: stm32mp2 (st,stm32mp257f-ev1)                                            
DRAM:  4 GiB                                                                    
optee optee: OP-TEE: revision 3.19 (afacf356)                                   
Core:  388 devices, 40 uclasses, devicetree: board                              
WDT:   Started watchdog with servicing (32s timeout)                            
NAND:  0 MiB                                                                    
MMC:   STM32 SD/MMC: 0, STM32 SD/MMC: 1                                         
Loading Environment from MMC... OK                                              
In:    serial                                                                   
Out:   serial                                                                   
Err:   serial                                                                   
Net:   eth1: eth1@482c0000, eth0: eth2@482d0000                                 
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/extlinux.conf                                              
Retrieving file: /mmc0_extlinux/extlinux.conf                                   
Retrieving file: /splash_landscape.bmp                                          
1:      OpenSTLinux                                                             
Enter choice: 1:        OpenSTLinux                                             
Retrieving file: /Image.gz                                                      
Retrieving file: /st-image-resize-initrd                                        
append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw  earlypr0
Retrieving file: /stm32mp257f-ev1.dtb                                           
   Uncompressing Kernel Image                                                   
## Flattened Device Tree blob at 8a000000                                       
   Booting using the fdt blob at 0x8a000000                                     
   Loading Ramdisk to 8f8cd000, end 8ffff485 ... OK                             
   Loading Device Tree to 000000008f8b3000, end 000000008f8ccca6 ... OK         
                                                                                
Starting kernel ...                                                             
                                                                                
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd040]          
[    0.000000] Linux version 6.1.28 (oe-user@oe-host) (aarch64-ostl-linux-gcc (3
[    0.000000] Machine model: STMicroelectronics STM32MP257F-EV1 Evaluation Boad
[    0.000000] efi: UEFI not found.                                             
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000f2800000, B
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id sharl
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000080000000, B
[    0.000000] OF: reserved mem: initialized node tfm-code@80000000, compatiblel
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000080100000, B
[    0.000000] OF: reserved mem: initialized node cm33-cube-fw@80100000, compatl
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000080900000, B
[    0.000000] OF: reserved mem: initialized node tfm-data@80900000, compatiblel
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000080a00000, B
[    0.000000] OF: reserved mem: initialized node cm33-cube-data@80a00000, compl
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000081200000, B
[    0.000000] OF: reserved mem: initialized node ipc-shmem-1@81200000, compatil
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000812f8000, B
[    0.000000] OF: reserved mem: initialized node vdev0vring0@812f8000, compatil
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000812f9000, B
[    0.000000] OF: reserved mem: initialized node vdev0vring1@812f9000, compatil
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000812fa000, B
[    0.000000] OF: reserved mem: initialized node vdev0buffer@812fa000, compatil
[    0.000000] earlycon: stm32 at MMIO 0x00000000400e0000 (options '115200n8')  
[    0.000000] printk: bootconsole [stm32] enabled                              
[    0.000000] NUMA: No NUMA configuration found                                
[    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x000000017ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x17f7caa00-0x17f7ccfff]                    
[    0.000000] Zone ranges:                                                     
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]           
[    0.000000]   DMA32    empty                                                 
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000017fffffff]           
[    0.000000] Movable zone start for each node                                 
[    0.000000] Early memory node ranges                                         
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000083ffffff]          
[    0.000000]   node   0: [mem 0x0000000084000000-0x00000000fa7fffff]          
[    0.000000]   node   0: [mem 0x00000000fa800000-0x00000000ffffffff]          
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000017fffffff]          
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000017fffffff] 
[    0.000000] psci: probing for conduit method from DT.                        
[    0.000000] psci: PSCIv1.1 detected in firmware.                             
[    0.000000] psci: Using standard PSCI v0.2 function IDs                      
[    0.000000] psci: Trusted OS migration not required                          
[    0.000000] psci: SMC Calling Convention v1.2                                
[    0.000000] psci: OSI mode supported.                                        
[    0.000000] percpu: Embedded 20 pages/cpu s44008 r8192 d29720 u81920         
[    0.000000] Detected VIPT I-cache on CPU0                                    
[    0.000000] alternatives: applying boot alternatives                         
[    0.000000] Fallback order for Node 0: 0                                     
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192   
[    0.000000] Policy zone: Normal                                              
[    0.000000] Kernel command line: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77bec0
[    0.000000] Unknown kernel command line parameters "earlyprintk", will be pa.
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 byte)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes,)
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off    
[    0.000000] software IO TLB: area num 2.                                     
[    0.000000] software IO TLB: mapped [mem 0x00000000ee800000-0x00000000f28000)
[    0.000000] Memory: 3727196K/4194304K available (15232K kernel code, 1660K r)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1       
[    0.000000] rcu: Preemptible hierarchical RCU implementation.                
[    0.000000] rcu:     RCU event tracing is enabled.                           
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.  
[    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 25 ji.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2     
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0                   
[    0.000000] Root IRQ handler: gic_handle_irq                                 
[    0.000000] GICv2m: range[mem 0x48090000-0x48090fff], SPI[362:392]           
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.   
[    0.000000] arch_timer: cp15 timer(s) running at 40.00MHz (virt).            
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycless
[    0.000000] sched_clock: 56 bits at 40MHz, resolution 25ns, wraps every 4398s
[    0.008539] Console: colour dummy device 80x25                               
[    0.012494] Calibrating delay loop (skipped), value calculated using timer f)
[    0.022748] pid_max: default: 32768 minimum: 301                             
[    0.027418] LSM: Security Framework initializing                             
[    0.032063] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, lin)
[    0.039346] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.048130] cacheinfo: Unable to detect cache hierarchy for CPU 0            
[    0.053910] cblist_init_generic: Setting adjustable number of callback queue.
[    0.060434] cblist_init_generic: Setting shift to 1 and lim to 1.            
[    0.066570] cblist_init_generic: Setting shift to 1 and lim to 1.            
[    0.072775] rcu: Hierarchical SRCU implementation.                           
[    0.077354] rcu:     Max phase no-delay instances is 1000.                   
[    0.085845] EFI services will not be available.                              
[    0.087428] smp: Bringing up secondary CPUs ...                              
I/TC: Secondary CPU 1 initializing                                              
I/TC: Secondary CPU 1 switching to normal world boot                            
[    0.104990] Detected VIPT I-cache on CPU1                                    
[    0.105074] cacheinfo: Unable to detect cache hierarchy for CPU 1            
[    0.105116] CPU1: Booted secondary processor 0x0000000001 [0x411fd040]       
[    0.105216] smp: Brought up 1 node, 2 CPUs                                   
[    0.120263] SMP: Total of 2 processors activated.                            
[    0.124943] CPU features: detected: 32-bit EL0 Support                       
[    0.130080] CPU features: detected: 32-bit EL1 Support                       
[    0.135187] CPU features: detected: CRC32 instructions                       
[    0.140365] CPU: All CPU(s) started at EL1                                   
[    0.144405] alternatives: applying system-wide alternatives                  
[    0.152234] devtmpfs: initialized                                            
[    0.170081] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[    0.174206] futex hash table entries: 512 (order: 3, 32768 bytes, linear)    
[    0.184670] pinctrl core: initialized pinctrl subsystem                      
[    0.186811] DMI not present or invalid.                                      
[    0.190753] NET: Registered PF_NETLINK/PF_ROUTE protocol family              
[    0.196876] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations 
[    0.203040] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic alls
[    0.210825] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic as
[    0.219069] thermal_sys: Registered thermal governor 'step_wise'             
[    0.219075] thermal_sys: Registered thermal governor 'power_allocator'       
[    0.224575] cpuidle: using governor menu                                     
[    0.235139] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.    
[    0.241772] ASID allocator initialised with 65536 entries                    
[    0.248655] Serial: AMBA PL011 UART driver                                   
[    0.264594] platform 48010000.display-controller: Fixed dependency cycle(s) 0
[    0.269764] platform 48020000.csi2host: Fixed dependency cycle(s) with /soc@0
[    0.279317] platform 48020000.csi2host: Fixed dependency cycle(s) with /soc@a
[    0.295815] /soc@0/interrupt-controller@44220000: bank0                      
[    0.295860] /soc@0/interrupt-controller@44220000: bank1                      
[    0.300668] /soc@0/interrupt-controller@44220000: bank2                      
[    0.306783] /soc@0/interrupt-controller@46230000: bank0                      
[    0.311048] /soc@0/interrupt-controller@46230000: bank1                      
[    0.316276] /soc@0/interrupt-controller@46230000: bank2                      
[    0.324958] platform 48060000.lvds: Fixed dependency cycle(s) with /panel-lvs
[    0.329398] KASLR disabled due to lack of seed                               
[    0.343837] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages    
[    0.344986] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page          
[    0.351253] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages    
[    0.358012] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page          
[    0.364262] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages    
[    0.371031] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page          
[    0.377282] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages    
[    0.384050] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page          
[    0.392014] ACPI: Interpreter disabled.                                      
[    0.394800] iommu: Default domain type: Translated                           
[    0.398986] iommu: DMA domain TLB invalidation policy: strict mode           
[    0.405510] SCSI subsystem initialized                                       
[    0.409345] usbcore: registered new interface driver usbfs                   
[    0.414477] usbcore: registered new interface driver hub                     
[    0.419754] usbcore: registered new device driver usb                        
[    0.425102] pps_core: LinuxPPS API ver. 1 registered                         
[    0.429712] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[    0.438839] PTP clock support registered                                     
[    0.442866] EDAC MC: Ver: 3.0.0                                              
[    0.446234] CPUidle PSCI: Initialized CPU PM domain topology                 
[    0.451787] Driver 'scmi-optee' was unable to register with bus_type 'tee' b.
[    0.462038] FPGA manager framework                                           
[    0.465054] Advanced Linux Sound Architecture Driver Initialized.            
[    0.471817] vgaarb: loaded                                                   
[    0.474053] clocksource: Switched to clocksource arch_sys_counter            
[    0.480030] VFS: Disk quotas dquot_6.6.0                                     
[    0.483747] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)   
[    0.490773] pnp: PnP ACPI: disabled                                          
[    0.501912] NET: Registered PF_INET protocol family                          
[    0.502244] IP idents hash table entries: 65536 (order: 7, 524288 bytes, lin)
[    0.513398] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 327)
[    0.517129] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes,)
[    0.524784] TCP established hash table entries: 32768 (order: 6, 262144 byte)
[    0.532912] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, lin)
[    0.540884] TCP: Hash tables configured (established 32768 bind 32768)       
[    0.546719] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)     
[    0.553335] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.560620] NET: Registered PF_UNIX/PF_LOCAL protocol family                 
[    0.566483] RPC: Registered named UNIX socket transport module.              
[    0.571919] RPC: Registered udp transport module.                            
[    0.576589] RPC: Registered tcp transport module.                            
[    0.581275] RPC: Registered tcp NFSv4.1 backchannel transport module.        
[    0.587706] PCI: CLS 0 bytes, default 64                                     
[    0.591833] Unpacking initramfs...                                           
[    0.595580] hw perfevents: enabled with armv8_cortex_a35 PMU driver, 7 counte
[    0.603770] kvm [1]: HYP mode not available                                  
[    0.608409] Initialise system trusted keyrings                               
[    0.612021] workingset: timestamp_bits=42 max_order=20 bucket_order=0        
[    0.625919] squashfs: version 4.0 (2009/01/31) Phillip Lougher               
[    0.626930] NFS: Registering the id_resolver key type                        
[    0.631230] Key type id_resolver registered                                  
[    0.635359] Key type id_legacy registered                                    
[    0.639501] nfs4filelayout_init: NFSv4 File Layout Driver Registering...     
[    0.646019] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registerin.
[    0.653569] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.             
[    0.660070] fuse: init (API version 7.37)                                    
[    0.663859] 9p: Installing v9fs 9p2000 file system support                   
[    0.715690] NET: Registered PF_ALG protocol family                           
[    0.715738] Key type asymmetric registered                                   
[    0.718955] Asymmetric key parser 'x509' registered                          
[    0.723953] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[    0.731215] io scheduler mq-deadline registered                              
[    0.735710] io scheduler kyber registered                                    
[    0.744869] EINJ: ACPI disabled.                                             
[    0.751530] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled          
[    0.754429] STM32 USART driver initialized                                   
[    0.759576] cacheinfo: Unable to detect cache hierarchy for CPU 0            
[    0.767490] loop: module loaded                                              
[    0.768398] megasas: 07.719.03.00-rc1                                        
[    0.774144] thunder_xcv, ver 1.0                                             
[    0.774214] thunder_bgx, ver 1.0                                             
[    0.775545] nicpf, ver 1.0                                                   
[    0.778819] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - versin
[    0.785445] hns3: Copyright (c) 2017 Huawei Corporation.                     
[    0.790909] hclge is initializing                                            
[    0.794021] e1000: Intel(R) PRO/1000 Network Driver                          
[    0.798903] e1000: Copyright (c) 1999-2006 Intel Corporation.                
[    0.804718] e1000e: Intel(R) PRO/1000 Network Driver                         
[    0.809565] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.              
[    0.815595] igb: Intel(R) Gigabit Ethernet Network Driver                    
[    0.820855] igb: Copyright (c) 2007-2014 Intel Corporation.                  
[    0.826540] igbvf: Intel(R) Gigabit Virtual Function Network Driver          
[    0.832692] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.              
[    0.838920] sky2: driver version 1.30                                        
[    0.843284] VFIO - User Level meta-driver version: 0.3                       
[    0.851609] usbcore: registered new interface driver usb-storage             
[    0.855617] i2c_dev: i2c /dev entries driver                                 
[    0.859931] arm_smc_wdt watchdog: Watchdog registered (timeout=32 sec, noway)
[    0.866400] sdhci: Secure Digital Host Controller Interface driver           
[    0.871287] sdhci: Copyright(c) Pierre Ossman                                
[    0.876322] Synopsys Designware Multimedia Card Interface Driver             
[    0.882314] sdhci-pltfm: SDHCI platform and OF driver helper                 
[    0.888434] ledtrig-cpu: registered to indicate activity on CPUs             
[    0.893952] SMCCC: SOC_ID: ID = jep106:0020:0505 Revision = 0x00002000       
[    0.900379] usbcore: registered new interface driver usbhid                  
[    0.905307] usbhid: USB HID core driver                                      
[    0.911752] optee: probing for conduit method.                               
[    0.913542] optee: revision 3.19 (afacf356)                                  
[    0.913873] optee: dynamic shared memory is enabled                          
[    0.923269] optee: initialized driver                                        
[    0.928296] NET: Registered PF_PACKET protocol family                        
[    0.931679] 9pnet: Installing 9P2000 support                                 
[    0.935649] Key type dns_resolver registered                                 
[    0.940341] registered taskstats version 1                                   
[    0.943889] Loading compiled-in X.509 certificates                           
[    0.964850] arm-scmi firmware:scmi: Enabled polling mode TX channel - prot_i6
[    0.966792] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.       
[    0.973345] arm-scmi firmware:scmi: SCMI Protocol v2.0 'STMicroelectron:STMi0
[    0.993997] cpu cpu0: EM: created perf domain                                
[    1.011280] scmi-regulator scmi_dev.4: Regulator vddio1 registered for domai]
[    1.013356] scmi-regulator scmi_dev.4: Regulator vddio2 registered for domai]
[    1.021010] scmi-regulator scmi_dev.4: Regulator vddio3 registered for domai]
[    1.028432] scmi-regulator scmi_dev.4: Regulator vddio4 registered for domai]
[    1.032701] Freeing initrd memory: 7368K                                     
[    1.035876] scmi-regulator scmi_dev.4: Regulator vdd33ucpd registered for do]
[    1.047330] scmi-regulator scmi_dev.4: Regulator vdd33usb registered for dom]
[    1.054950] scmi-regulator scmi_dev.4: Regulator vdda18adc registered for do]
[    1.062907] scmi-regulator scmi_dev.4: Regulator vddgpu registered for domai]
[    1.070133] scmi-regulator scmi_dev.4: Regulator v3v3 registered for domain ]
[    1.077522] scmi-regulator scmi_dev.4: Regulator vdd_emmc registered for dom]
[    1.085238] scmi-regulator scmi_dev.4: Regulator vdd_sdcard registered for d]
[    1.094289] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOA bank added      
[    1.099902] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOB bank added      
[    1.106504] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOC bank added      
[    1.113100] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOD bank added      
[    1.119714] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOE bank added      
[    1.126335] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOF bank added      
[    1.132931] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOG bank added      
[    1.139556] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOH bank added      
[    1.146186] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOI bank added      
[    1.152767] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOJ bank added      
[    1.159306] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOK bank added      
[    1.165608] stm32mp257-pinctrl soc@0:pinctrl@44240000: Pinctrl STM32 initiald
[    1.173990] stm32mp257-pinctrl soc@0:pinctrl@46200000: GPIOZ bank added      
[    1.179556] stm32mp257-pinctrl soc@0:pinctrl@46200000: Pinctrl STM32 initiald
[    1.189917] stm32_rtc 46000000.rtc: registered as rtc0                       
[    1.192073] stm32_rtc 46000000.rtc: setting system clock to 2000-01-08T19:24)
[    1.201353] stm32_rtc 46000000.rtc: Date/Time must be initialized            
[    1.206803] stm32_rtc 46000000.rtc: registered rev:3.4                       
[    1.214593] stm32-ipcc 40490000.mailbox: ipcc rev:2.0 enabled, 16 chans, pro0
[    1.220154] stm32-rproc ahb@1:m33@0: wdg irq registered                      
[    1.224445] stm32-rproc ahb@1:m33@0: pdds sys config not defined             
[    1.230501] stm32-rproc ahb@1:m33@0: rsc tbl syscon not supported            
[    1.236534] stm32-rproc ahb@1:m33@0: mbox_request_channel_byname() could not"
[    1.246118] remoteproc remoteproc0: cannot get detach mbox                   
[    1.251641] remoteproc remoteproc0: m33 is available                         
[    1.272724] stm32-dma3 40400000.dma-controller: created LLI gen_pool at 0x00B
[    1.278190] stm32-dma3 40400000.dma-controller: STM32 DMA3 registered rev:1.3
[    1.283825] stm32-dma3 40410000.dma-controller: LLI gen_pool needs to be tru)
[    1.293278] stm32-dma3 40410000.dma-controller: created LLI gen_pool at 0x00B
[    1.304137] stm32-dma3 40410000.dma-controller: STM32 DMA3 registered rev:1.3
[    1.309934] stm32-dma3 40420000.dma-controller: created LLI gen_pool at 0x00B
[    1.319116] stm32-dma3 40420000.dma-controller: STM32 DMA3 registered rev:1.3
[    1.327682] stm32-pcie 48400000.pcie: host bridge /soc@0/rifsc@42080000/pcie:
[    1.334529] stm32-pcie 48400000.pcie:       IO 0x0010010000..0x001001ffff ->0
[    1.342664] stm32-pcie 48400000.pcie:      MEM 0x0010020000..0x0017ffffff ->0
[    1.350812] stm32-pcie 48400000.pcie:      MEM 0x0018000000..0x001fffffff ->0
[    1.358983] stm32-pcie 48400000.pcie: iATU unroll: enabled                   
[    1.364422] stm32-pcie 48400000.pcie: iATU regions: 4 ob, 4 ib, align 64K, lG
[    2.479301] stm32-pcie 48400000.pcie: Phy link never came up                 
[    2.479468] stm32-pcie 48400000.pcie: PCI host bridge to bus 0000:00         
[    2.485699] pci_bus 0000:00: root bus resource [bus 00-ff]                   
[    2.491133] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus addr)
[    2.500591] pci_bus 0000:00: root bus resource [mem 0x10020000-0x17ffffff]   
[    2.507448] pci_bus 0000:00: root bus resource [mem 0x18000000-0x1fffffff pr]
[    2.514765] pci 0000:00:00.0: [16c3:0550] type 01 class 0x060400             
[    2.520740] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]          
[    2.526981] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]          
[    2.533281] pci 0000:00:00.0: supports D1 D2                                 
[    2.537481] pci 0000:00:00.0: PME# supported from D0 D1 D3hot                
[    2.547576] pci 0000:00:00.0: BAR 0: assigned [mem 0x10100000-0x101fffff]    
[    2.549972] pci 0000:00:00.0: BAR 1: assigned [mem 0x10020000-0x1002ffff]    
[    2.556762] pci 0000:00:00.0: PCI bridge to [bus 01-ff]                      
[    2.561967] pci 0000:00:00.0: set bus_dma_limit                              
[    2.566804] pcieport 0000:00:00.0: PME: Signaling with IRQ 54                
[    2.572945] pcieport 0000:00:00.0: AER: enabled with IRQ 53                  
[    2.578714] stm32-usart 400e0000.serial: interrupt mode for rx (no dma)      
[    2.584370] stm32-usart 400e0000.serial: interrupt mode for tx (no dma)      
[    2.590965] 400e0000.serial: ttySTM0 at MMIO 0x400e0000 (irq = 57, base_baudt
[    2.606079] printk: console [ttySTM0] enabled                                
[    2.606079] printk: console [ttySTM0] enabled                                
[    2.609176] printk: bootconsole [stm32] disabled                             
[    2.609176] printk: bootconsole [stm32] disabled                             
[    2.621921] [drm] Initialized stm 1.0.0 20170330 for 48010000.display-contro0
[    2.632656] spi-nor spi0.0: mx66l51235f (65536 Kbytes)                       
[    2.635909] 8 fixed-partitions partitions found on MTD device spi0.0         
[    2.638585] Creating 8 MTD partitions on "spi0.0":                           
[    2.643326] 0x000000000000-0x000000040000 : "fsbla1"                         
[    2.649433] 0x000000040000-0x000000080000 : "fsbla2"                         
[    2.654139] 0x000000080000-0x0000000c0000 : "metadata1"                      
[    2.659264] 0x0000000c0000-0x000000100000 : "metadata2"                      
[    2.664470] 0x000000100000-0x000000500000 : "fip-a"                          
[    2.669413] 0x000000500000-0x000000900000 : "fip-b"                          
[    2.674249] 0x000000900000-0x000000980000 : "u-boot-env"                     
[    2.679558] 0x000000980000-0x000004000000 : "nor-user"                       
[    2.685611] stm32-dwmac 482c0000.eth1: IRQ eth_wake_irq not found            
[    2.689887] stm32-dwmac 482c0000.eth1: IRQ eth_lpi not found                 
[    2.696085] stm32-dwmac 482c0000.eth1: User ID: 0x1a, Synopsys ID: 0x53      
[    2.702150] stm32-dwmac 482c0000.eth1:       DWMAC4/5                        
[    2.706691] stm32-dwmac 482c0000.eth1: DMA HW capability register supported  
[    2.713641] stm32-dwmac 482c0000.eth1: RX Checksum Offload Engine supported  
[    2.720592] stm32-dwmac 482c0000.eth1: TX Checksum insertion supported       
[    2.727147] stm32-dwmac 482c0000.eth1: Wake-Up On Lan supported              
[    2.733047] stm32-dwmac 482c0000.eth1: TSO supported                         
[    2.737989] stm32-dwmac 482c0000.eth1: Enable RX Mitigation via HW Watchdog r
[    2.745443] stm32-dwmac 482c0000.eth1: Enabled L3L4 Flow TC (entries=2)      
[    2.751993] stm32-dwmac 482c0000.eth1: Enabled RFS Flow TC (entries=10)      
[    2.758644] stm32-dwmac 482c0000.eth1: TSO feature enabled                   
[    2.764087] stm32-dwmac 482c0000.eth1: Using 32/32 bits DMA host/device width
[    2.972991] stm32-dwmac 482d0000.eth2: IRQ eth_wake_irq not found            
[    2.973532] stm32-dwmac 482d0000.eth2: IRQ eth_lpi not found                 
[    2.979718] stm32-dwmac 482d0000.eth2: User ID: 0x1a, Synopsys ID: 0x53      
[    2.986235] stm32-dwmac 482d0000.eth2:       DWMAC4/5                        
[    2.990383] stm32-dwmac 482d0000.eth2: DMA HW capability register supported  
[    2.997342] stm32-dwmac 482d0000.eth2: RX Checksum Offload Engine supported  
[    3.004199] stm32-dwmac 482d0000.eth2: TX Checksum insertion supported       
[    3.010761] stm32-dwmac 482d0000.eth2: Wake-Up On Lan supported              
[    3.016680] stm32-dwmac 482d0000.eth2: TSO supported                         
[    3.021628] stm32-dwmac 482d0000.eth2: Enable RX Mitigation via HW Watchdog r
[    3.029092] stm32-dwmac 482d0000.eth2: Enabled L3L4 Flow TC (entries=2)      
[    3.036024] stm32-dwmac 482d0000.eth2: Enabled RFS Flow TC (entries=10)      
[    3.042275] stm32-dwmac 482d0000.eth2: TSO feature enabled                   
[    3.047720] stm32-dwmac 482d0000.eth2: Using 32/32 bits DMA host/device width
[    3.252674] usb-stm32-dwc3 42080000.rifsc:usb@48300000: configured in usb2 me
[    3.254682] platform 48300000.usb: Fixed dependency cycle(s) with /ahb@1/i2cr
[    3.843162] input: ILI210x Touchscreen as /devices/platform/soc@0/42080000.r0
[    3.848611] stm32f7-i2c 40130000.i2c: STM32F7 I2C-0 bus adapter              
[    3.855804] ehci-platform 482f0000.usb: EHCI Host Controller                 
[    3.858524] mmci-pl18x 48220000.mmc: Got CD GPIO                             
[    3.859912] ehci-platform 482f0000.usb: new USB bus registered, assigned bus1
[    3.865106] mmci-pl18x 48220000.mmc: mmc0: PL180 manf 53 rev3 at 0x48220000 )
[    3.872898] ehci-platform 482f0000.usb: irq 66, io mem 0x482f0000            
[    3.902071] ehci-platform 482f0000.usb: USB 2.0 started, EHCI 1.00           
[    3.903423] hub 1-0:1.0: USB hub found                                       
[    3.906823] hub 1-0:1.0: 1 port detected                                     
[    3.908962] mmci-pl18x 48230000.mmc: mmc1: PL180 manf 53 rev3 at 0x48230000 )
[    3.948571] input: gpio-keys as /devices/platform/gpio-keys/input/input1     
[    3.951436] ALSA device list:                                                
[    3.952674]   No soundcards found.                                           
[    3.964494] Freeing unused kernel memory: 3200K                              
[    3.964628] Run /init as init process                                        
[    3.987938] mmc0: new ultra high speed SDR104 SDHC card at address aaaa      
[    3.989731] mmcblk0: mmc0:aaaa SC16G 14.8 GiB                                
[    4.003511]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11                     
[    4.041923] mmc1: new HS200 MMC card at address 0001                         
[    4.042871] mmcblk1: mmc1:0001 004GA0 3.69 GiB                               
[    4.048518] mmcblk1boot0: mmc1:0001 004GA0 2.00 MiB                          
[    4.052467] mmcblk1boot1: mmc1:0001 004GA0 2.00 MiB                          
[    4.057148] mmcblk1rpmb: mmc1:0001 004GA0 512 KiB, chardev (239:0)           
Starting systemd-udevd version 253.1^                                           
[    4.166144] usb 1-1: new high-speed USB device number 2 using ehci-platform  
[    4.335250] hub 1-1:1.0: USB hub found                                       
[    4.335460] hub 1-1:1.0: 4 ports detected                                    
[    4.764836] stm32-dwmac 482c0000.eth1 end1: renamed from eth0                
[    4.820745] stm32-dwmac 482d0000.eth2 end0: renamed from eth1                
[    5.444646] EXT4-fs (mmcblk0p10): recovery complete                          
[    5.451111] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode..
ln: /etc/mtab: File exists                                                      
[    5.889044] systemd[1]: System time before build time, advancing clock.      
[    5.978300] NET: Registered PF_INET6 protocol family                         
[    6.014872] Segment Routing with IPv6                                        
[    6.014961] In-situ OAM (IOAM) with IPv6                                     
[    6.057820] systemd[1]: systemd 253.1^ running in system mode (+PAM -AUDIT -)
[    6.084169] systemd[1]: Detected architecture arm64.                         
                                                                                
Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 4.2.2-opens!
                                                                                
[    6.171601] systemd[1]: Hostname set to <stm32mp25>.                         
[    6.207208] systemd[1]: Using hardware watchdog 'arm_smc_wdt', version 0, de0
[    6.210604] systemd[1]: Watchdog running with a timeout of 32s.              
[    6.652292] systemd[1]: /lib/systemd/system/mount-partitions.service:9: Stan.
[    6.678007] systemd[1]: Queued start job for default target Multi-User Syste.
[    6.726560] systemd[1]: Created slice Slice /system/getty.                   
[  OK  ] Created slice Slice /system/getty.                                     
[    6.744731] systemd[1]: Created slice Slice /system/modprobe.                
[  OK  ] Created slice Slice /system/modprobe.                                  
[    6.765072] systemd[1]: Created slice Slice /system/serial-getty.            
[  OK  ] Created slice Slice /system/serial-getty.                              
[    6.788150] systemd[1]: Created slice User and Session Slice.                
[  OK  ] Created slice User and Session Slice.                                  
[    6.806553] systemd[1]: Started Dispatch Password Requests to Console Direct.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.              
[    6.826472] systemd[1]: Started Forward Password Requests to Wall Directory .
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.              
[    6.846585] systemd[1]: Reached target Path Units.                           
[  OK  ] Reached target Path Units.                                             
[    6.862245] systemd[1]: Reached target Remote File Systems.                  
[  OK  ] Reached target Remote File Systems.                                    
[    6.882224] systemd[1]: Reached target Slice Units.                          
[  OK  ] Reached target Slice Units.                                            
[    6.898241] systemd[1]: Reached target Swaps.                                
[  OK  ] Reached target Swaps.                                                  
[    6.962311] systemd[1]: Listening on RPCbind Server Activation Socket.       
[  OK  ] Listening on RPCbind Server Activation Socket.                         
[    6.982385] systemd[1]: Reached target RPC Port Mapper.                      
[  OK  ] Reached target RPC Port Mapper.                                        
[    6.999000] systemd[1]: Listening on Syslog Socket.                          
[  OK  ] Listening on Syslog Socket.                                            
[    7.023289] systemd[1]: Listening on Process Core Dump Socket.               
[  OK  ] Listening on Process Core Dump Socket.                                 
[    7.042622] systemd[1]: Listening on initctl Compatibility Named Pipe.       
[  OK  ] Listening on initctl Compatibility Named Pipe.                         
[    7.068905] systemd[1]: Journal Audit Socket was skipped because of an unmet.
[    7.074969] systemd[1]: Listening on Journal Socket (/dev/log).              
[  OK  ] Listening on Journal Socket (/dev/log).                                
[    7.099021] systemd[1]: Listening on Journal Socket.                         
[  OK  ] Listening on Journal Socket.                                           
[    7.115116] systemd[1]: Listening on Network Service Netlink Socket.         
[  OK  ] Listening on Network Service Netlink Socket.                           
[    7.135022] systemd[1]: Listening on udev Control Socket.                    
[  OK  ] Listening on udev Control Socket.                                      
[    7.150810] systemd[1]: Listening on udev Kernel Socket.                     
[  OK  ] Listening on udev Kernel Socket.                                       
[    7.166843] systemd[1]: Listening on User Database Manager Socket.           
[  OK  ] Listening on User Database Manager Socket.                             
[    7.210563] systemd[1]: Mounting Huge Pages File System...                   
         Mounting Huge Pages File System...                                     
[    7.231186] systemd[1]: Mounting POSIX Message Queue File System...          
         Mounting POSIX Message Queue File System...                            
[    7.255329] systemd[1]: Mounting Kernel Debug File System...                 
         Mounting Kernel Debug File System...                                   
[    7.270815] systemd[1]: Kernel Trace File System was skipped because of an u.
[    7.302596] systemd[1]: Mounting Temporary Directory /tmp...                 
         Mounting Temporary Directory /tmp...                                   
[    7.324333] systemd[1]: Starting Create List of Static Device Nodes...       
         Starting Create List of Static Device Nodes...                         
[    7.347770] systemd[1]: Starting Load Kernel Module configfs...              
         Starting Load Kernel Module configfs...                                
[    7.386878] systemd[1]: Starting Load Kernel Module drm...                   
         Starting Load Kernel Module drm...                                     
[    7.407742] systemd[1]: Starting Load Kernel Module fuse...                  
         Starting Load Kernel Module fuse...                                    
[    7.427751] systemd[1]: Starting Mount partitions...                         
         Starting Mount partitions...                                           
[    7.449978] systemd[1]: Starting RPC Bind...                                 
         Starting RPC Bind...                                                   
[    7.467141] systemd[1]: File System Check on Root Device was skipped because.
[    7.481348] systemd[1]: Starting Journal Service...                          
         Starting Journal Service...                                            
[    7.503490] systemd[1]: Load Kernel Modules was skipped because no trigger c.
[    7.524048] systemd-journald[321]: Collecting audit messages is disabled.    
[    7.526844] systemd[1]: Starting Generate network units from Kernel command .
         Starting Generate network …ts from Kernel command line...              
[    7.578902] systemd[1]: Starting Remount Root and Kernel File Systems...     
         Starting Remount Root and Kernel File Systems...                       
[    7.607313] systemd[1]: Starting Apply Kernel Variables...                   
         Starting Apply Kernel Variables...                                     
[    7.616978] EXT4-fs (mmcblk0p10): re-mounted. Quota mode: none.              
[    7.648248] systemd[1]: Starting Coldplug All udev Devices...                
         Starting Coldplug All udev Devices...                                  
[    7.685211] systemd[1]: Started RPC Bind.                                    
[  OK  ] Started RPC Bind.                                                      
[    7.699481] systemd[1]: Mounted Huge Pages File System.                      
[  OK  ] Mounted Huge Pages File System.                                        
[    7.715150] systemd[1]: Mounted POSIX Message Queue File System.             
[  OK  ] Mounted POSIX Message Queue File System.                               
[    7.734836] systemd[1]: Started Journal Service.                             
[  OK  ] Started Journal Service.                                               
[  OK  ] Mounted Kernel Debug File System.                                      
[  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.                                       
[    7.887198] EXT4-fs (mmcblk0p8): recovery complete                           
[    7.888561] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. .
         Mounting FUSE Control File System...                                   
         Mounting Kernel Configuration File System...                           
[  OK  ] Started Starts Psplash Boot screen.                                    
         Starting Flush Journal to Persistent Storage...                        
[    8.046000] stm32-display-lvds 48060000.lvds: No phase precised, setting deft
[    8.066587] systemd-journald[321]: Received client request to flush runtime .
         Starting Create Static Device Nodes in /dev...                         
[  OK  ] Mounted FUSE Control File System.                                      
[  OK  ] Mounted Kernel Configuration File System.                              
[  OK  ] Finished Flush Journal to Persistent Storage.                          
[  OK  ] Finished Create Static Device Nodes in /dev.                           
[  OK  ] Reached target Preparation for Local File Systems.                     
         Mounting /var/volatile...                                              
         Starting Rule-based Manage…for Device Events and Files...              
[    8.257539] EXT4-fs (mmcblk0p9): recovery complete                           
[    8.258970] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. .
[  OK  ] Mounted /var/volatile.                                                 
         Starting Load/Save OS Random Seed...                                   
[  OK  ] Started Rule-based Manager for Device Events and Files.                
[    8.502904] EXT4-fs (mmcblk0p11): recovery complete                          
[    8.504388] EXT4-fs (mmcblk0p11): mounted filesystem with ordered data mode..
[  OK  ] Finished Mount partitions.                                             
[  OK  ] Reached target Local File Systems.                                     
         Starting Create Volatile Files and Directories...                      
         Starting User Database Manager...                                      
[  OK  ] Finished Create Volatile Files and Directories.                        
         Starting Network Name Resolution...                                    
         Starting Network Time Synchronization...                               
         Starting Record System Boot/Shutdown in UTMP...                        
[  OK  ] Finished Record System Boot/Shutdown in UTMP.                          
[  OK  ] Finished Coldplug All udev Devices.                                    
[  OK  ] Started User Database Manager.                                         
[  OK  ] Started Network Time Synchronization.                                  
[  OK  ] Reached target System Time Set.                                        
[  OK  ] Started Network Name Resolution.                                       
[  OK  ] Reached target Host and Network Name Lookups.                          
[    9.802086] random: crng init done                                           
[  OK  ] Finished Load/Save OS Random Seed.                                     
[  OK  ] Created slice Slice /system/systemd-backlight.                         
[   10.683311] CAN device driver interface                                      
         Starting Load/Save Screen …klight:panel-lvds-backlight...              
[   10.722163] m_can_platform 402d0000.can: m_can device registered (irq=72, ve)
[  OK  ] Finished Load/Save Screen …acklight:panel-lvds-backlight.              
[   10.750212] stm32-cryp 42030000.crypto: will run requests pump with realtimey
[   10.766276] stm32-crc32 404c0000.crc: Initialized                            
[   10.775740] mc: Linux media interface: v0.10                                 
[   10.778149] m_can_platform 402f0000.can: m_can device registered (irq=73, ve)
[   10.789188] videodev: Linux video capture interface: v2.00                   
[   10.817503] stm32-csi2host 48020000.csi2host: Probed CSI2HOST with 2 lanes   
[   10.826423] stm32-cryp 42030000.crypto: Initialized                          
[   10.831641] dcmipp 48030000.dcmipp: Probe done                               
[   10.846135] imx335 0-001a: failed to find sensor: -5                         
[   10.846215] imx335: probe of 0-001a failed with error -5                     
[   10.912983] galcore: loading out-of-tree module taints kernel.               
[   10.931113] galcore 48280000.gpu: GPU regulator gotten                       
[   10.951450] Galcore version 6.4.15.6.691815                                  
[   10.988876] hantro-vpu 480d0000.vdec: registered st,stm32mp25-vdec-dec as /d0
[   11.011147] hantro-vpu 480e0000.venc: registered st,stm32mp25-venc-enc as /d1
[  OK  ] Found device /dev/tee0.                                                
[  OK  ] Found device /dev/hwrng.                                               
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.                          
[   11.252121] using random self ethernet address                               
[   11.252160] using random host ethernet address                               
[  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.                          
[   11.392420] usb0: HOST MAC 54:a4:10:d3:d3:f4                                 
[   11.392460] usb0: MAC 96:4f:9d:57:1b:d6                                      
[   11.395631] dcmipp 48030000.dcmipp: bound dcmipp-parallel.2.auto (ops dcmipp)
[   11.410528] dcmipp 48030000.dcmipp: bound dcmipp-byteproc.3.auto (ops dcmipp)
[  OK  ] Listening on dropbear.socket.                                          
[   11.425683] dcmipp 48030000.dcmipp: bound dcmipp-bytecap.4.auto (ops dcmipp_)
[  OK  ] Reached target Socket Units.                                           
[   11.454409] dcmipp 48030000.dcmipp: bound dcmipp-isp.5.auto (ops dcmipp_isp_)
[   11.457830] dcmipp 48030000.dcmipp: bound dcmipp-pixelproc.6.auto (ops dcmip)
[   11.500161] dcmipp 48030000.dcmipp: bound dcmipp-pixelcap.7.auto (ops dcmipp)
[   11.509100] dcmipp 48030000.dcmipp: bound dcmipp-pixelproc.8.auto (ops dcmip)
         Starting D-Bus System Message Bus...                                   
[   11.544058] dcmipp 48030000.dcmipp: bound dcmipp-pixelcap.9.auto (ops dcmipp)
[   11.553139] dcmipp 48030000.dcmipp: bound dcmipp-statcap.10.auto (ops dcmipp)
[   11.576801] stm32-csi2host 48020000.csi2host: Consider updating driver stm32s
[   11.585975] dcmipp 48030000.dcmipp: endpoint.port=0                          
[  OK  ] Started D-Bus System Message Bus.                                      
[  OK  ] Reached target Basic System.                                           
[  OK  ] Reached target Hardware activated USB gadget.                          
         Starting ST set alsa state configuration...                            
         Starting Avahi mDNS/DNS-SD Stack...                                    
[  OK  ] Started Kernel Logging Service.                                        
[  OK  ] Started System Logging Service.                                        
         Starting IPv6 Packet Filtering Framework...                            
         Starting IPv4 Packet Filtering Framework...                            
         Starting ST Load M33 firmware via remoteproc...                        
[  OK  ] Started Calibrates HSI/CSI clocks.                                     
         Starting Resets System Activity Logs...                                
[   12.088990] Default copro already stopped                                    
         Starting User Login Management...                                      
         Starting TEE Supplicant...                                             
         Starting Check if the gpu …orrect weston configuration...              
[  OK  ] Finished IPv6 Packet Filtering Framework.                              
[  OK  ] Finished IPv4 Packet Filtering Framework.                              
[  OK  ] Finished Resets System Activity Logs[   12.315023] remoteproc remotepr3
.                                                                               
[   12.339994] remoteproc remoteproc0: Booting fw image USBPD_DRP_UCSI_CM33_Non2
[  OK  ] Started TEE Supplicant.                                                
[   12.360156] rproc-virtio rproc-virtio.11.auto: assigned reserved memory node0
[   12.368962] virtio_rpmsg_bus virtio0: rpmsg host is online                   
[   12.369976] rproc-virtio rproc-virtio.11.auto: registered virtio0 (type 7)   
[   12.379479] remoteproc remoteproc0: remote processor m33 is now up           
[   12.393715] Booting fw image for STM32MP257F-EV1                             
[  OK  ] Finished ST Load M33 firmware via remoteproc.                          
[  OK  ] Started Avahi mDNS/DNS-SD Stack.                                       
[  OK  ] Reached target Preparation for Network.                                
         Starting Network Configuration...                                      
[  OK  ] Finished ST set alsa state configuration.                              
[  OK  ] Finished Check if the gpu … correct weston configuration.              
[  OK  ] Started User Login Management.                                         
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.              
[   12.840636] cfg80211: Loading compiled-in X.509 certificates for regulatory e
[   12.860118] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'       
[  OK  ] Started Network Configuration.                                         
[  OK  ] Reached target Network.                                                
[   12.942706] stm32-dwmac 482c0000.eth1 end1: Register MEM_TYPE_PAGE_POOL RxQ-0
[   12.944732] stm32-dwmac 482c0000.eth1 end1: Register MEM_TYPE_PAGE_POOL RxQ-1
[  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 Getty on tty1.                                                 
[  OK  ] Started Serial Getty on ttySTM0.                                       
[  OK  ] Reached target Login Prompts.                                          
         Starting Weston graphical session...                                   
[   13.229595] virtio_rpmsg_bus virtio0: creating channel rpmsg-intc addr 0x400 
[   13.239970] virtio_rpmsg_bus virtio0: creating channel rpmsg_i2c addr 0x401  
[   13.243900] rpmsg_i2c virtio0.rpmsg_i2c.-1.1025: new channel: 0x401 -> 0x401!
[  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...                                  
[   13.958076] stm32-dwmac 482c0000.eth1: Failed to reset the dma               
[   13.958324] stm32-dwmac 482c0000.eth1 end1: stmmac_hw_setup: DMA engine initd
[   13.969584] stm32-dwmac 482c0000.eth1 end1: __stmmac_open: Hw setup failed   
[  OK  ] Started Target Communication Framework agent.                          
[   13.994494] stm32-dwmac 482d0000.eth2 end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   13.996542] stm32-dwmac 482d0000.eth2 end0: Register MEM_TYPE_PAGE_POOL RxQ-1
[   14.190402] stm32-dwmac 482d0000.eth2 end0: PHY [stmmac-0:01] driver [RTL821)
[   14.202121] dwmac4: Master AXI performs any burst length                     
[   14.202185] stm32-dwmac 482d0000.eth2 end0: No Safety Features support found 
[   14.213225] stm32-dwmac 482d0000.eth2 end0: IEEE 1588-2008 Advanced Timestamd
[   14.223026] stm32-dwmac 482d0000.eth2 end0: registered PTP clock             
[   14.233634] stm32-dwmac 482d0000.eth2 end0: FPE workqueue start              
[   14.233986] stm32-dwmac 482d0000.eth2 end0: configuring for phy/rgmii-id line
[  OK  ] Started User Manager for UID 1000.                                     
[  OK  ] Started Session c1 of User weston.                                     
                                                                                
ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 4.2.2-openstlinux-6.1-0
                                                                                
stm32mp25 login: root (automatic login)                                         
                                                                                
root@stm32mp25:~#

3. Basic commands[edit | edit source]

3.1. Printing distribution specific information[edit | edit source]

root@stm32mp25:~# cat /etc/build
-----------------------                                                         
Build Configuration:  |                                                         
-----------------------                                                         
BB_VERSION = 2.4.0                                                              
BUILD_SYS = x86_64-linux                                                        
NATIVELSBSTRING = universal                                                     
TARGET_SYS = aarch64-ostl-linux                                                 
MACHINE = stm32mp25                                                             
DISTRO = openstlinux-weston                                                     
DISTRO_VERSION = 4.2.2-openstlinux-6.1-yocto-mickledore-mp2-v23.12.06           
TUNE_FEATURES = aarch64 armv8a crc cortexa35                                    
TARGET_FPU =                                                                    
MANIFESTVERSION = ostl-23-12-06-rc3-plus-7-g80ea714                             
DISTRO_CODENAME = mickledore                                                    
ACCEPT_EULA_stm32mp25 = 1                                                       
GCCVERSION = 12.%                                                               
PREFERRED_PROVIDER_virtual/kernel = linux-stm32mp                               
-----------------------                                                         
Layer Revisions:      |                                                         
-----------------------                                                         
meta-python       = alpha-mp25.xml:03fd1d368ac19793b3e4c35159ba2ce802247e4d     
meta-oe           = alpha-mp25.xml:03fd1d368ac19793b3e4c35159ba2ce802247e4d     
meta-gnome        = alpha-mp25.xml:03fd1d368ac19793b3e4c35159ba2ce802247e4d     
meta-initramfs    = alpha-mp25.xml:03fd1d368ac19793b3e4c35159ba2ce802247e4d     
meta-multimedia   = alpha-mp25.xml:03fd1d368ac19793b3e4c35159ba2ce802247e4d     
meta-networking   = alpha-mp25.xml:03fd1d368ac19793b3e4c35159ba2ce802247e4d     
meta-webserver    = alpha-mp25.xml:03fd1d368ac19793b3e4c35159ba2ce802247e4d     
meta-filesystems  = alpha-mp25.xml:03fd1d368ac19793b3e4c35159ba2ce802247e4d     
meta-perl         = alpha-mp25.xml:03fd1d368ac19793b3e4c35159ba2ce802247e4d     
meta-st-stm32mp   = alpha-mp25.xml:3bac3156aa533358cfe3055ac3619137b0c4234c     
meta-qt5          = alpha-mp25.xml:cf6ffcbad5275a3428f6046468a0c9d572e813d1     
meta-st-openstlinux = alpha-mp25.xml:2c3d4c73088b6fce2c49e88090d24c4308887eff   
meta              = alpha-mp25.xml:3ef283e02b0b91daf64c3a589e1f6bb68d4f5aa1

3.2. Printing system information[edit | edit source]

root@stm32mp25:~# uname -a
Linux stm32mp25 6.1.28 #1 SMP PREEMPT Thu May 11 14:04:52 UTC 2023 aarch64 GNU/x

3.3. Printing Linux kernel and GCC versions[edit | edit source]

root@stm32mp25:~# cat /proc/version
Linux version 6.1.28 (oe-user@oe-host) (aarch64-ostl-linux-gcc (GCC) 12.3.0, GN3

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

root@stm32mp25:~# df -h
Filesystem       Size  Used Avail Use% Mounted on                               
devtmpfs         1.8G     0  1.8G   0% /dev                                     
/dev/mmcblk0p10  3.8G  527M  3.1G  15% /                                        
tmpfs            1.9G     0  1.9G   0% /dev/shm                                 
tmpfs            756M  8.9M  747M   2% /run                                     
tmpfs            4.0M     0  4.0M   0% /sys/fs/cgroup                           
tmpfs            1.9G  8.0K  1.9G   1% /tmp                                     
/dev/mmcblk0p8    55M   18M   33M  36% /boot                                    
tmpfs            1.9G   80K  1.9G   1% /var/volatile                            
/dev/mmcblk0p9   166M   27M  127M  18% /vendor                                  
/dev/mmcblk0p11   10G   42M  9.4G   1% /usr/local                               
tmpfs            378M  4.0K  378M   1% /run/user/1000                           
tmpfs            378M     0  378M   0% /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:~#


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