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 CA35TDCID OSTL M33 EXAMPLES Evaluation Board NOTICE: Board: MB1936 Var1.0 Rev.C-01 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: 0xe011000 INFO: FCONF: Reading firmware configuration information for: stm32mp_io INFO: FCONF: Reading firmware configuration information for: stm32mp_fuse INFO: Using SDMMC INFO: Instance 1 INFO: Boot used partition fsbl1 NOTICE: BL2: v2.8-stm32mp2-r2.0(debug):lts-v2.8.15-dirty(567af710) NOTICE: BL2: Built : 00:51:33, Jan 26 2024 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: BL31 max size = 0x17000 (94208B) INFO: BL2: Loading image id 3 INFO: Loading image id=3 at address 0xe000000 INFO: Image id=3 loaded: 0xe000000 - 0xe0157c0 INFO: BL2: Loading image id 19 INFO: Loading image id=19 at address 0x81fc0000 INFO: Image id=19 loaded: 0x81fc0000 - 0x81fc39fb 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 - 0x820d36b8 INFO: BL2: Loading image id 2 INFO: Loading image id=2 at address 0x84400000 INFO: Image id=2 loaded: 0x84400000 - 0x8441af18 INFO: BL2: Loading image id 5 INFO: Loading image id=5 at address 0x84000000 INFO: Image id=5 loaded: 0x84000000 - 0x84196fe0 NOTICE: BL2: Booting BL31 INFO: Entry point address = 0xe000000 INFO: SPSR = 0x3cd INFO: ARM GICv2 driver initialized NOTICE: BL31: v2.8-stm32mp2-r2.0(debug):lts-v2.8.15-dirty(567af710) NOTICE: BL31: Built : 00:51:33, Jan 26 2024 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:00:05 UTC 2022 aarch64 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: WARNING: All debug access are allowed I/TC: Override the OTP 124: 0x18000 to 0x18db6 I/TC: WARNING: Embeds insecure stm32mp_provisioning driver I/TC: PMIC STPMIC25@ V1.1 I/TC: Platform stm32mp2: flavor PLATFORM_FLAVOR - DT stm32mp257f-ev1-ca35tdcid-ostl-m33-examples.dts I/TC: OP-TEE ST profile: secure_and_system_services I/TC: DTB enables console (non-secure) [ 0.000000] SCP-firmware 3.19.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-stm32mp-r2 (Oct 03 2022 - 19:25:32 +0000) CPU: STM32MP257FAI Rev.? Model: STMicroelectronics STM32MP257F-EV1 CA35TDCID OSTL M33 EXAMPLES Evaluation Board Board: stm32mp2 (st,stm32mp257f-ev1-ca35tdcid-ostl-m33-examples) Board: MB1936 Var1.0 Rev.C-01 DRAM: 4 GiB stm32_rifsc rifsc@42080000: can@402d0000 not allowed on bus (-13) stm32_rifsc rifsc@42080000: can@402f0000 not allowed on bus (-13) optee optee: OP-TEE: revision 3.19 (afacf356) gpio_stm32 gpio@442a0000: Failed to take RIF semaphore on IO GPIOG 8 @ 00000000442a0000 Core: 359 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: eth0: eth2@482d0000 No EFI system partition 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 earlyprintk earlycon console=ttySTM0,115200 Retrieving file: /stm32mp257f-ev1-ca35tdcid-ostl-m33-examples.dtb Uncompressing Kernel Image ## Flattened Device Tree blob at 8c000000 Booting using the fdt blob at 0x8c000000 Loading Ramdisk to 8f8cb000, end 8ffff974 ... OK Loading Device Tree to 000000008f8ad000, end 000000008f8ca9c2 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd040] [ 0.000000] Linux version 6.1.82 (oe-user@oe-host) (aarch64-ostl-linux-gcc (GCC) 12.3.0, GNU ld (GNU Binutils) 2.40.0.20230703) #1 SMP PREEMPT Fri Mar 15 18:27:50 UTC 2024 [ 0.000000] Machine model: STMicroelectronics STM32MP257F-EV1 CA35TDCID OSTL M33 EXAMPLES Evaluation Board [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x00000000f2200000, size 128 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000081200000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node ipc-shmem-1@81200000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000812f8000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node vdev0vring0@812f8000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000812f9000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node vdev0vring1@812f9000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000812fa000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node vdev0buffer@812fa000, compatible id shared-dma-pool [ 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-0x000000017fffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x17f7b2a00-0x17f7b4fff] [ 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-0x00000000fa1fffff] [ 0.000000] node 0: [mem 0x00000000fa200000-0x00000000fa7effff] [ 0.000000] node 0: [mem 0x00000000fa7f0000-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 21 pages/cpu s47208 r8192 d30616 u86016 [ 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-77becf4a3582 rootwait rw earlyprintk earlycon console=ttySTM0,115200 [ 0.000000] Unknown kernel command line parameters "earlyprintk", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 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 0x00000000ee200000-0x00000000f2200000] (64MB) [ 0.000000] Memory: 3720160K/4194304K available (15552K kernel code, 1680K rwdata, 5948K rodata, 3264K init, 549K bss, 343072K reserved, 131072K cma-reserved) [ 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 jiffies. [ 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_cycles: 0x939a85c40, max_idle_ns: 440795202120 ns [ 0.000001] sched_clock: 56 bits at 40MHz, resolution 25ns, wraps every 4398046511100ns [ 0.008667] Console: colour dummy device 80x25 [ 0.012637] Calibrating delay loop (skipped), value calculated using timer frequency.. 80.00 BogoMIPS (lpj=160000) [ 0.023007] pid_max: default: 32768 minimum: 301 [ 0.027726] LSM: Security Framework initializing [ 0.032426] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.039793] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.048653] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.054498] cblist_init_generic: Setting adjustable number of callback queues. [ 0.061126] cblist_init_generic: Setting shift to 1 and lim to 1. [ 0.067333] cblist_init_generic: Setting adjustable number of callback queues. [ 0.074550] cblist_init_generic: Setting shift to 1 and lim to 1. [ 0.080880] rcu: Hierarchical SRCU implementation. [ 0.085519] rcu: Max phase no-delay instances is 1000. [ 0.094380] EFI services will not be available. [ 0.095683] smp: Bringing up secondary CPUs ... I/TC: Secondary CPU 1 initializing I/TC: Secondary CPU 1 switching to normal world boot [ 0.113457] Detected VIPT I-cache on CPU1 [ 0.113539] cacheinfo: Unable to detect cache hierarchy for CPU 1 [ 0.113583] CPU1: Booted secondary processor 0x0000000001 [0x411fd040] [ 0.113682] smp: Brought up 1 node, 2 CPUs [ 0.128894] SMP: Total of 2 processors activated. [ 0.133627] CPU features: detected: 32-bit EL0 Support [ 0.138820] CPU features: detected: 32-bit EL1 Support [ 0.143986] CPU features: detected: CRC32 instructions [ 0.149222] CPU: All CPU(s) started at EL1 [ 0.153305] alternatives: applying system-wide alternatives [ 0.161373] devtmpfs: initialized [ 0.181944] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.186123] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.197909] pinctrl core: initialized pinctrl subsystem [ 0.198818] DMI not present or invalid. [ 0.202834] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.209093] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations [ 0.215314] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.223169] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.231455] thermal_sys: Registered thermal governor 'step_wise' [ 0.231462] thermal_sys: Registered thermal governor 'power_allocator' [ 0.237012] cpuidle: using governor menu [ 0.247698] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.254390] ASID allocator initialised with 65536 entries [ 0.261477] Serial: AMBA PL011 UART driver [ 0.277886] stm32-sys-bus 42080000.rifsc: can@402d0000: Peripheral will not be probed [ 0.280162] stm32-sys-bus 42080000.rifsc: can@402f0000: Peripheral will not be probed [ 0.288629] platform 48010000.display-controller: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/lvds@48060000 [ 0.298830] platform 48020000.csi2host: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/dcmipp@48030000 [ 0.308556] platform 48020000.csi2host: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/i2c@40130000/imx335@1a [ 0.319221] platform 48020000.csi2host: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/dcmipp@48030000 [ 0.329059] platform 48030000.dcmipp: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/csi2host@48020000 [ 0.340186] platform 48010000.display-controller: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/lvds@48060000 [ 0.349592] platform 48060000.lvds: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/display-controller@48010000 [ 0.362144] stm32-sys-bus 42080000.rifsc: Failed to create device link (0x180) with 44200000.rcc [ 0.369059] stm32-sys-bus 42080000.rifsc: Failed to create device link (0x180) with 44200000.rcc [ 0.380906] amba 4a020000.funnel: Fixed dependency cycle(s) with /soc@0/etf@4a030000 [ 0.385703] amba 4a020000.funnel: Fixed dependency cycle(s) with /soc@0/etm@4a340000 [ 0.393488] amba 4a020000.funnel: Fixed dependency cycle(s) with /soc@0/stm@4a080000 [ 0.401296] amba 4a020000.funnel: Fixed dependency cycle(s) with /soc@0/etm@4a240000 [ 0.409210] amba 4a020000.funnel: Fixed dependency cycle(s) with /soc@0/etf@4a030000 [ 0.416970] platform replicator: Fixed dependency cycle(s) with /soc@0/etf@4a030000 [ 0.424679] amba 4a030000.etf: Fixed dependency cycle(s) with /replicator [ 0.431522] amba 4a030000.etf: Fixed dependency cycle(s) with /soc@0/funnel@4a020000 [ 0.439414] platform replicator: Fixed dependency cycle(s) with /soc@0/etr@4a040000 [ 0.447052] amba 4a040000.etr: Fixed dependency cycle(s) with /replicator [ 0.453958] platform replicator: Fixed dependency cycle(s) with /soc@0/tpiu@4a050000 [ 0.461695] amba 4a050000.tpiu: Fixed dependency cycle(s) with /replicator [ 0.468701] amba 4a020000.funnel: Fixed dependency cycle(s) with /soc@0/stm@4a080000 [ 0.476425] amba 4a080000.stm: Fixed dependency cycle(s) with /soc@0/funnel@4a020000 [ 0.484636] amba 4a020000.funnel: Fixed dependency cycle(s) with /soc@0/etm@4a240000 [ 0.492042] amba 4a240000.etm: Fixed dependency cycle(s) with /soc@0/funnel@4a020000 [ 0.500083] amba 4a020000.funnel: Fixed dependency cycle(s) with /soc@0/etm@4a340000 [ 0.507660] amba 4a340000.etm: Fixed dependency cycle(s) with /soc@0/funnel@4a020000 [ 0.517058] platform 48060000.lvds: Fixed dependency cycle(s) with /panel-lvds [ 0.522781] platform panel-lvds: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/lvds@48060000 [ 0.532414] KASLR disabled due to lack of seed [ 0.547319] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.548481] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.554815] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.561643] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.567963] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.574802] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.581119] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.587956] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.595951] ACPI: Interpreter disabled. [ 0.598774] iommu: Default domain type: Translated [ 0.603053] iommu: DMA domain TLB invalidation policy: strict mode [ 0.609641] SCSI subsystem initialized [ 0.613592] usbcore: registered new interface driver usbfs [ 0.618696] usbcore: registered new interface driver hub [ 0.624026] usbcore: registered new device driver usb [ 0.629460] pps_core: LinuxPPS API ver. 1 registered [ 0.634087] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.643305] PTP clock support registered [ 0.647371] EDAC MC: Ver: 3.0.0 [ 0.650794] CPUidle PSCI: Initialized CPU PM domain topology using OSI mode [ 0.658159] stm32-sys-bus 42080000.rifsc: Failed to create device link (0x180) with psci [ 0.665576] stm32-sys-bus 42080000.rifsc: Failed to create device link (0x180) with psci [ 0.674243] Driver 'scmi-optee' was unable to register with bus_type 'tee' because the bus was not initialized. [ 0.684414] FPGA manager framework [ 0.687438] Advanced Linux Sound Architecture Driver Initialized. [ 0.694264] vgaarb: loaded [ 0.696527] clocksource: Switched to clocksource arch_sys_counter [ 0.702568] VFS: Disk quotas dquot_6.6.0 [ 0.706330] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.713437] pnp: PnP ACPI: disabled [ 0.724582] NET: Registered PF_INET protocol family [ 0.724874] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.736114] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear) [ 0.739955] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.747694] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.755908] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear) [ 0.764041] TCP: Hash tables configured (established 32768 bind 32768) [ 0.769868] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.776551] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.783919] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.789835] RPC: Registered named UNIX socket transport module. [ 0.795329] RPC: Registered udp transport module. [ 0.800055] RPC: Registered tcp transport module. [ 0.804794] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.811299] PCI: CLS 0 bytes, default 64 [ 0.815467] Unpacking initramfs... [ 0.819302] hw perfevents: enabled with armv8_cortex_a35 PMU driver, 7 counters available [ 0.827522] kvm [1]: HYP mode not available [ 0.832378] Initialise system trusted keyrings [ 0.835907] workingset: timestamp_bits=42 max_order=20 bucket_order=0 [ 0.849726] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.850717] NFS: Registering the id_resolver key type [ 0.855124] Key type id_resolver registered [ 0.859274] Key type id_legacy registered [ 0.863454] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.870047] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.877676] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.884290] fuse: init (API version 7.37) [ 0.888103] 9p: Installing v9fs 9p2000 file system support [ 0.939483] NET: Registered PF_ALG protocol family [ 0.939530] Key type asymmetric registered [ 0.942779] Asymmetric key parser 'x509' registered [ 0.947853] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 0.955180] io scheduler mq-deadline registered [ 0.959721] io scheduler kyber registered [ 0.964674] /soc@0/interrupt-controller@44220000: bank0 [ 0.969092] /soc@0/interrupt-controller@44220000: bank1 [ 0.974290] /soc@0/interrupt-controller@44220000: bank2 [ 0.979876] /soc@0/interrupt-controller@46230000: bank0 [ 0.984872] /soc@0/interrupt-controller@46230000: bank1 [ 0.990047] /soc@0/interrupt-controller@46230000: bank2 [ 1.000229] EINJ: ACPI disabled. [ 1.006725] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.009568] STM32 USART driver initialized [ 1.014868] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 1.022883] loop: module loaded [ 1.023753] megasas: 07.719.03.00-rc1 [ 1.029444] thunder_xcv, ver 1.0 [ 1.029533] thunder_bgx, ver 1.0 [ 1.031016] nicpf, ver 1.0 [ 1.034295] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version [ 1.041015] hns3: Copyright (c) 2017 Huawei Corporation. [ 1.046529] hclge is initializing [ 1.049720] e1000: Intel(R) PRO/1000 Network Driver [ 1.054632] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 1.060654] e1000e: Intel(R) PRO/1000 Network Driver [ 1.065396] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 1.071527] igb: Intel(R) Gigabit Ethernet Network Driver [ 1.076867] igb: Copyright (c) 2007-2014 Intel Corporation. [ 1.082565] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 1.088827] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 1.095122] sky2: driver version 1.30 [ 1.099429] VFIO - User Level meta-driver version: 0.3 [ 1.108185] usbcore: registered new interface driver usb-storage [ 1.109906] usbcore: registered new device driver onboard-usb-hub [ 1.118497] i2c_dev: i2c /dev entries driver [ 1.122154] arm_smc_wdt watchdog: Watchdog registered (timeout=32 sec, nowayout=0) [ 1.129547] sdhci: Secure Digital Host Controller Interface driver [ 1.133952] sdhci: Copyright(c) Pierre Ossman [ 1.138840] Synopsys Designware Multimedia Card Interface Driver [ 1.144969] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.151224] ledtrig-cpu: registered to indicate activity on CPUs [ 1.156918] SMCCC: SOC_ID: ID = jep106:0020:0505 Revision = 0x00000000 [ 1.163562] usbcore: registered new interface driver usbhid [ 1.168360] usbhid: USB HID core driver [ 1.174470] cs_system_cfg: CoreSight Configuration manager initialised [ 1.180988] optee: probing for conduit method. [ 1.183348] optee: revision 3.19 (afacf356) [ 1.184201] optee: Asynchronous notifications enabled [ 1.192682] optee: dynamic shared memory is enabled [ 1.198274] optee: initialized driver [ 1.203498] NET: Registered PF_PACKET protocol family [ 1.206717] 9pnet: Installing 9P2000 support [ 1.210843] Key type dns_resolver registered [ 1.215478] registered taskstats version 1 [ 1.219081] Loading compiled-in X.509 certificates [ 1.239989] arm-scmi firmware:scmi: Enabled polling mode TX channel - prot_id:16 [ 1.242051] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled. [ 1.248939] arm-scmi firmware:scmi: SCMI Protocol v2.0 'ST:ST' Firmware version 0x20c0000 [ 1.270551] cpu cpu0: EM: created perf domain [ 1.278057] Freeing initrd memory: 7376K [ 1.286735] scmi-regulator scmi_dev.5: Regulator vddio1 registered for domain [0] [ 1.288762] scmi-regulator scmi_dev.5: Regulator vddio2 registered for domain [1] [ 1.296286] scmi-regulator scmi_dev.5: Regulator vddio3 registered for domain [2] [ 1.303843] scmi-regulator scmi_dev.5: Regulator vddio4 registered for domain [3] [ 1.311377] scmi-regulator scmi_dev.5: Regulator vdd33ucpd registered for domain [5] [ 1.319189] scmi-regulator scmi_dev.5: Regulator vdda18adc registered for domain [7] [ 1.327271] scmi-regulator scmi_dev.5: Regulator vddgpu registered for domain [8] [ 1.334556] scmi-regulator scmi_dev.5: Regulator vddcore registered for domain [11] [ 1.342272] scmi-regulator scmi_dev.5: Regulator v1v8 registered for domain [14] [ 1.349756] scmi-regulator scmi_dev.5: Regulator v3v3 registered for domain [16] [ 1.357192] scmi-regulator scmi_dev.5: Regulator vdd_emmc registered for domain [18] [ 1.365010] scmi-regulator scmi_dev.5: Regulator vdd3v3_usb registered for domain [20] [ 1.372986] scmi-regulator scmi_dev.5: Regulator vdd_sdcard registered for domain [23] [ 1.382150] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOA bank added [ 1.387820] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOB bank added [ 1.394488] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOC bank added [ 1.401245] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOD bank added [ 1.407837] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOE bank added [ 1.414510] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOF bank added [ 1.421321] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOG bank added [ 1.427924] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOH bank added [ 1.434659] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOI bank added [ 1.441330] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOJ bank added [ 1.447895] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOK bank added [ 1.454270] stm32mp257-pinctrl soc@0:pinctrl@44240000: Pinctrl STM32 initialized [ 1.461996] stm32-sys-bus 42080000.rifsc: Failed to create device link (0x180) with soc@0:pinctrl@44240000 [ 1.471408] stm32-sys-bus 42080000.rifsc: Failed to create device link (0x180) with soc@0:pinctrl@44240000 [ 1.482222] stm32mp257-pinctrl soc@0:pinctrl@46200000: GPIOZ bank added [ 1.487847] stm32mp257-pinctrl soc@0:pinctrl@46200000: Pinctrl STM32 initialized [ 1.498323] stm32_rtc 46000000.rtc: registered as rtc0 [ 1.500465] stm32_rtc 46000000.rtc: setting system clock to 2000-01-01T01:29:59 UTC (946690199) [ 1.509465] stm32_rtc 46000000.rtc: Date/Time must be initialized [ 1.515382] stm32_rtc 46000000.rtc: registered rev:3.4 [ 1.523662] stm32-ipcc 40490000.mailbox: ipcc rev:2.0 enabled, 16 chans, proc 0 [ 1.537810] stm32-rproc 0.m33: wdg irq registered [ 1.537877] stm32-rproc 0.m33: pdds sys config not defined [ 1.542592] stm32-rproc 0.m33: rsc tbl syscon not supported [ 1.548039] stm32-rproc 0.m33: Support of signed firmware only [ 1.553984] stm32-rproc 0.m33: mbox_request_channel_byname() could not locate channel named "detach" [ 1.563104] remoteproc remoteproc0: cannot get detach mbox [ 1.568704] remoteproc remoteproc0: m33 is available [ 1.580789] stm32-sys-bus 42080000.rifsc: Failed to create device link (0x180) with 44200000.rcc [ 1.583984] stm32-sys-bus 42080000.rifsc: Failed to create device link (0x180) with 44200000.rcc [ 1.595856] coresight stm0: STM500 initialized [ 1.598139] coresight cti_sys0: CTI initialized [ 1.602345] coresight cti_sys1: CTI initialized [ 1.606990] coresight cti_cpu0: CTI initialized [ 1.611483] CSCFG registered etm0 [ 1.611493] coresight etm0: CPU0: etm v4.0 initialized [ 1.620198] coresight cti_cpu1: CTI initialized [ 1.624550] CSCFG registered etm1 [ 1.624557] coresight etm1: CPU1: etm v4.0 initialized [ 1.632988] stm32-dma3 40400000.dma-controller: created LLI gen_pool at 0x000000000a020000, size 60KiB [ 1.643846] stm32-dma3 40400000.dma-controller: STM32 DMA3 registered rev:1.3 [ 1.649502] stm32-dma3 40410000.dma-controller: LLI gen_pool truncated (56KiB instead of 60KiB) [ 1.658026] stm32-dma3 40410000.dma-controller: created LLI gen_pool at 0x000000000a030000, size 56KiB [ 1.669171] stm32-dma3 40410000.dma-controller: STM32 DMA3 registered rev:1.3 [ 1.676228] mmci-pl18x 48220000.mmc: Got CD GPIO [ 1.679497] stm32-pcie 48400000.pcie: host bridge /soc@0/rifsc@42080000/pcie@48400000 ranges: [ 1.687923] mmci-pl18x 48230000.mmc: mmc1: PL180 manf 53 rev3 at 0x48230000 irq 58,0 (pio) [ 1.687935] stm32-pcie 48400000.pcie: IO 0x0010010000..0x001001ffff -> 0x0010010000 [ 1.696457] mmci-pl18x 48220000.mmc: mmc0: PL180 manf 53 rev3 at 0x48220000 irq 54,0 (pio) [ 1.704416] stm32-pcie 48400000.pcie: MEM 0x0010020000..0x0017ffffff -> 0x0010020000 [ 1.720984] stm32-pcie 48400000.pcie: MEM 0x0018000000..0x001fffffff -> 0x0018000000 [ 1.729244] stm32-pcie 48400000.pcie: iATU unroll: enabled [ 1.734734] stm32-pcie 48400000.pcie: iATU regions: 4 ob, 4 ib, align 64K, limit 4G [ 1.813062] mmc0: new ultra high speed DDR50 SDHC card at address aaaa [ 1.814703] mmcblk0: mmc0:aaaa SS16G 14.8 GiB [ 1.827722] mmc1: new HS200 MMC card at address 0001 [ 1.828550] mmcblk1: mmc1:0001 004GA0 3.69 GiB [ 1.833259] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 [ 1.839255] mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 [ 1.842684] mmcblk1boot0: mmc1:0001 004GA0 2.00 MiB [ 1.847682] mmcblk1boot1: mmc1:0001 004GA0 2.00 MiB [ 1.852443] mmcblk1rpmb: mmc1:0001 004GA0 512 KiB, chardev (238:0) [ 2.853926] stm32-pcie 48400000.pcie: Phy link never came up [ 2.854123] stm32-pcie 48400000.pcie: PCI host bridge to bus 0000:00 [ 2.860406] pci_bus 0000:00: root bus resource [bus 00-ff] [ 2.865883] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] (bus address [0x10010000-0x1001ffff]) [ 2.875437] pci_bus 0000:00: root bus resource [mem 0x10020000-0x17ffffff] [ 2.882364] pci_bus 0000:00: root bus resource [mem 0x18000000-0x1fffffff pref] [ 2.889761] pci 0000:00:00.0: [16c3:0550] type 01 class 0x060400 [ 2.895793] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 2.902103] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 2.908465] pci 0000:00:00.0: supports D1 D2 [ 2.912707] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 2.923744] pci 0000:00:00.0: BAR 0: assigned [mem 0x10100000-0x101fffff] [ 2.925353] pci 0000:00:00.0: BAR 1: assigned [mem 0x10020000-0x1002ffff] [ 2.932175] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 2.937898] pcieport 0000:00:00.0: PME: Signaling with IRQ 57 [ 2.944248] pcieport 0000:00:00.0: AER: enabled with IRQ 56 [ 2.950222] stm32-usart 400e0000.serial: interrupt mode for rx (no dma) [ 2.955520] stm32-usart 400e0000.serial: interrupt mode for tx (no dma) [ 2.962168] 400e0000.serial: ttySTM0 at MMIO 0x400e0000 (irq = 63, base_baud = 4000000) is a stm32-usart [ 2.977454] printk: console [ttySTM0] enabled [ 2.977454] printk: console [ttySTM0] enabled [ 2.980587] printk: bootconsole [stm32] disabled [ 2.980587] printk: bootconsole [stm32] disabled [ 2.993144] [drm] Initialized simpledrm 1.0.0 20200625 for fa200000.framebuffer on minor 0 [ 2.999405] stm32-dwmac 482d0000.eth2: IRQ eth_lpi not found [ 3.005185] stm32-dwmac 482d0000.eth2: User ID: 0x1a, Synopsys ID: 0x53 [ 3.010655] stm32-dwmac 482d0000.eth2: DWMAC4/5 [ 3.015925] stm32-dwmac 482d0000.eth2: DMA HW capability register supported [ 3.022277] stm32-dwmac 482d0000.eth2: RX Checksum Offload Engine supported [ 3.029327] stm32-dwmac 482d0000.eth2: TX Checksum insertion supported [ 3.035875] stm32-dwmac 482d0000.eth2: Wake-Up On Lan supported [ 3.041885] stm32-dwmac 482d0000.eth2: TSO supported [ 3.046828] stm32-dwmac 482d0000.eth2: Enable RX Mitigation via HW Watchdog Timer [ 3.054382] stm32-dwmac 482d0000.eth2: Enabled L3L4 Flow TC (entries=2) [ 3.061044] stm32-dwmac 482d0000.eth2: Enabled RFS Flow TC (entries=10) [ 3.067695] stm32-dwmac 482d0000.eth2: TSO feature enabled [ 3.073239] stm32-dwmac 482d0000.eth2: Using 32/32 bits DMA host/device width [ 3.280388] usb-stm32-dwc3 42080000.rifsc:usb@48300000: configured in usb2 mode [ 3.294661] platform 48020000.csi2host: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/i2c@40130000/imx335@1a [ 3.299638] i2c 0-001a: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/csi2host@48020000 [ 3.889845] input: ILI210x Touchscreen as /devices/platform/soc@0/42080000.rifsc/40130000.i2c/i2c-0/0-0041/input/input0 [ 3.896041] stm32f7-i2c 40130000.i2c: STM32F7 I2C-0 bus adapter [ 3.906149] ehci-platform 482f0000.usb: EHCI Host Controller [ 3.906807] ehci-platform 482f0000.usb: new USB bus registered, assigned bus number 1 [ 3.914828] ehci-platform 482f0000.usb: irq 70, io mem 0x482f0000 [ 3.917655] [drm] Initialized stm 1.0.0 20170330 for 48010000.display-controller on minor 0 [ 3.931285] input: gpio-keys as /devices/platform/gpio-keys/input/input1 [ 3.936550] ehci-platform 482f0000.usb: USB 2.0 started, EHCI 1.00 [ 3.936929] ALSA device list: [ 3.942892] hub 1-0:1.0: USB hub found [ 3.945160] No soundcards found. [ 3.952456] hub 1-0:1.0: 1 port detected [ 3.963792] Freeing unused kernel memory: 3264K [ 3.963912] Run /init as init process Starting systemd-udevd version 253.1^ [ 4.208565] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 4.365661] hub 1-1:1.0: USB hub found [ 4.365874] hub 1-1:1.0: 4 ports detected [ 4.712817] stm32-dwmac 482d0000.eth2 end0: renamed from eth0 [ 5.197722] EXT4-fs (mmcblk0p10): recovery complete [ 5.199583] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Quota mode: none. ln: /etc/mtab: File exists [ 5.662404] systemd[1]: System time before build time, advancing clock. [ 5.754257] NET: Registered PF_INET6 protocol family [ 5.793638] Segment Routing with IPv6 [ 5.793725] In-situ OAM (IOAM) with IPv6 [ 5.843069] systemd[1]: systemd 253.1^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK -SECCOMP -GCRYPT -GNUTLS -OPENSSL -ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN +IPTC +KMOD -LI) [ 5.869521] systemd[1]: Detected architecture arm64. Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 4.2.4-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26 (mickledore)! [ 5.958900] systemd[1]: Hostname set to <stm32mp2>. [ 5.993984] systemd[1]: Using hardware watchdog 'arm_smc_wdt', version 0, device /dev/watchdog0 [ 5.997393] systemd[1]: Watchdog running with a timeout of 32s. [ 6.464383] systemd[1]: Queued start job for default target Multi-User System. [ 6.514491] systemd[1]: Created slice Slice /system/getty. [ OK ] Created slice Slice /system/getty. [ 6.530856] systemd[1]: Created slice Slice /system/modprobe. [ OK ] Created slice Slice /system/modprobe. [ 6.551219] systemd[1]: Created slice Slice /system/serial-getty. [ OK ] Created slice Slice /system/serial-getty. [ 6.570678] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 6.589045] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ 6.608946] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password R…uests to Wall Directory Watch. [ 6.629087] systemd[1]: Reached target Path Units. [ OK ] Reached target Path Units. [ 6.644734] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 6.664717] systemd[1]: Reached target Slice Units. [ OK ] Reached target Slice Units. [ 6.680723] systemd[1]: Reached target Swaps. [ OK ] Reached target Swaps. [ 6.737870] systemd[1]: Listening on RPCbind Server Activation Socket. [ OK ] Listening on RPCbind Server Activation Socket. [ 6.756882] systemd[1]: Reached target RPC Port Mapper. [ OK ] Reached target RPC Port Mapper. [ 6.773516] systemd[1]: Listening on Syslog Socket. [ OK ] Listening on Syslog Socket. [ 6.798582] systemd[1]: Listening on Process Core Dump Socket. [ OK ] Listening on Process Core Dump Socket. [ 6.817110] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ 6.843645] systemd[1]: Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit). [ 6.849830] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 6.873539] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 6.889598] systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. [ 6.909554] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 6.925293] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 6.977084] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... [ 6.997744] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 7.037116] systemd[1]: Mounting Kernel Debug File System... Mounting Kernel Debug File System... [ 7.053272] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing). [ 7.069235] systemd[1]: Mounting Temporary Directory /tmp... Mounting Temporary Directory /tmp... [ 7.090914] systemd[1]: Starting Create List of Static Device Nodes... Starting Create List of Static Device Nodes... [ 7.118295] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module configfs... [ 7.142220] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module drm... [ 7.162136] systemd[1]: Starting Load Kernel Module fuse... Starting Load Kernel Module fuse... [ 7.182103] systemd[1]: Starting Mount partitions... Starting Mount partitions... [ 7.225624] systemd[1]: Starting RPC Bind... Starting RPC Bind... [ 7.241213] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/). [ 7.258641] systemd[1]: Starting Journal Service... Starting Journal Service... [ 7.280397] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met. [ 7.289303] systemd[1]: Starting Generate network units from Kernel command line... Starting Generate network …ts from Kernel command line... [ 7.301466] systemd-journald[319]: Collecting audit messages is disabled. [ 7.337699] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 7.385813] systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... [ 7.406566] systemd[1]: Starting Coldplug All udev Devices... Starting Coldplu[ 7.411947] EXT4-fs (mmcblk0p10): re-mounted. Quota mode: none. g All udev Devices... [ 7.460370] systemd[1]: Started RPC Bind. [ OK ] Started RPC Bind. [ 7.477376] systemd[1]: Mounted Huge Pages File System. [ OK ] Mounted Huge Pages File System. [ 7.493392] systemd[1]: Mounted POSIX Message Queue File System. [ OK ] Mounted POSIX Message Queue File System. [ 7.513542] systemd[1]: Mounted Kernel Debug File System. [ OK ] Mounted Kernel Debug File System. [ 7.529317] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. [ OK ] Mounted Temporary Directory /tmp. [ OK ] Finished Create List of Static Device Nodes. [ OK ] Finished Load Kernel Module configfs. [ OK ] Finished Load Kernel Module drm. [ OK ] Finished Load Kernel Module fuse. [ OK ] Finished Generate network units from Kernel command line. [ OK ] Finished Remount Root and Kernel File Systems. [ OK ] Finished Apply Kernel Variables. [ 7.680330] EXT4-fs (mmcblk0p8): recovery complete [ 7.680383] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Quota mode: none. Mounting FUSE Control File System... Mounting Kernel Configuration File System... Starting Flush Journal to Persistent Storage... Starting Create Static Device Nodes in /dev... [ 7.844726] systemd-journald[319]: Received client request to flush runtime journal. [ 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.021555] EXT4-fs (mmcblk0p9): recovery complete [ 8.023064] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Quota mode: none. [ OK ] Mounted /var/volatile. Starting Load/Save OS Random Seed... [ OK ] Started Rule-based Manager for Device Events and Files. [ 8.283953] EXT4-fs (mmcblk0p11): recovery complete [ 8.285397] EXT4-fs (mmcblk0p11): mounted filesystem with ordered data mode. Quota mode: none. [ OK ] Finished Mount partitions. [ 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 Coldplug All udev Devices. [ OK ] Finished Record System Boot/Shutdown in UTMP. [ 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.724587] random: crng init done [ OK ] Finished Load/Save OS Random Seed. [ 10.311388] mc: Linux media interface: v0.10 [ 10.324992] videodev: Linux video capture interface: v2.00 [ OK ] Created slice Slice /system/systemd-backlight. Starting Load/Save Screen …klight:panel-lvds-backlight... [ 10.392678] imx335 0-001a: failed to find sensor: -5 [ 10.392757] imx335: probe of 0-001a failed with error -5 [ 10.408482] stm32-csi2host 48020000.csi2host: Probed CSI2HOST with 2 lanes [ OK ] Found device /dev/dri/card0. [ OK ] Finished Load/Save Screen …acklight:panel-lvds-backlight. [ OK ] Started Starts Psplash Boot screen. [ 10.484507] stm32-cryp 42030000.crypto: will run requests pump with realtime priority [ 10.569668] galcore: loading out-of-tree module taints kernel. [ 10.581534] stm32-cryp 42030000.crypto: Initialized [ 10.603530] galcore 48280000.gpu: supply gpu not found, using dummy regulator [ 10.617205] galcore 48280000.gpu: GPU regulator gotten [ 10.630947] Galcore version 6.4.15.6.691815 [ 10.632584] stm32-csi2host 48020000.csi2host: Consider updating driver stm32-csi2host to match on endpoints [ 10.641076] dcmipp 48030000.dcmipp: Probe done [ 10.680025] stm32-display-lvds 48060000.lvds: No phase precised, setting default [ 10.686628] hantro-vpu 480d0000.vdec: registered st,stm32mp25-vdec-dec as /dev/video5 [ 10.711207] hantro-vpu 480e0000.venc: registered st,stm32mp25-venc-enc as /dev/video6 [ OK ] Found device /dev/tee0. [ 10.857240] using random self ethernet address [ 10.857278] using random host ethernet address [ OK ] Found device /dev/hwrng. [ OK ] Started Hardware RNG Entropy Gatherer Daemon. [ 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. [ 11.073861] usb0: HOST MAC 88:a3:07:d1:6f:09 [ OK ] Reached target Socket Units. [ 11.088626] usb0: MAC 12:d2:3a:57:6a:23 [ 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. Starting ST Load M33 firmware via remoteproc... [ OK ] Started Calibrates HSI/CSI clocks. Starting Resets System Activity Logs... Starting User Login Management... Starting TEE Supplicant... Starting Check if the gpu …orrect weston configuration... [ 11.487372] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready [ OK ] Started D-Bus System Message Bus. [ 11.558818] Board is not a valid BOARD (stm32mp257f-dk, stm32mp257f-ev1) [ OK ] Finished IPv6 Packet Filtering Framework. [ OK ] Finished IPv4 Packet Filtering Framework. [ OK ] Finished ST Load M33 firmware via remoteproc. [ OK ] Finished Resets System Activity Logs. [ OK ] Started TEE Supplicant. [ OK ] Finished ST set alsa state configuration. [ OK ] Reached target Preparation for Network. [ OK ] Reached target Hardware activated USB gadget. Starting Network Configuration... [ OK ] Started User Login Management. [ OK ] Started Avahi mDNS/DNS-SD Stack. Starting Load Kernel Module drm... [ OK ] Finished Load Kernel Module drm. [ OK ] Created slice User Slice of UID 1000. Starting User Runtime Directory /run/user/1000... [ OK ] Finished Check if the gpu … correct weston configuration. [ OK ] Finished User Runtime Directory /run/user/1000. [ 12.088154] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 12.104657] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 12.106476] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' 2m OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. [ OK ] Started Network Configuration. [ OK ] Reached target Network. [ 12.186255] stm32-dwmac 482d0000.eth2 end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 12.191395] stm32-dwmac 482d0000.eth2 end0: 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. [ 12.380745] stm32-dwmac 482d0000.eth2 end0: PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL) [ 12.392649] dwmac4: Master AXI performs any burst length [ 12.392717] stm32-dwmac 482d0000.eth2 end0: No Safety Features support found [ OK ] Started Getty on tty1. [ 12.405360] stm32-dwmac 482d0000.eth2 end0: IEEE 1588-2008 Advanced Timestamp supported [ 12.414089] stm32-dwmac 482d0000.eth2 end0: registered PTP clock [ 12.426447] stm32-dwmac 482d0000.eth2 end0: FPE workqueue start [ 12.426802] stm32-dwmac 482d0000.eth2 end0: configuring for phy/rgmii-id link mode [ OK ] Started Serial Getty on ttySTM0. [ OK ] Reached target Login Prompts. Starting User Manager for UID 1000... Starting Weston graphical session... [ OK ] Started Target Communication Framework agent. [ OK ] Started User Manager for UID 1000. [ OK ] Started Session c1 of User weston. [ OK ] Started Session c2 of User weston. ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 4.2.4-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26 stm32mp2 ttySTM0 stm32mp2 login: root (automatic login) root@stm32mp2:~#
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 = stm32mp2 DISTRO = openstlinux-weston DISTRO_VERSION = 4.2.4-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26 TUNE_FEATURES = aarch64 armv8a crc cortexa35 TARGET_FPU = MANIFESTVERSION = ostl-v5.1_rc3-1-gc46070241d415825aeb3ac813ada15a8a8612ef5 DISTRO_CODENAME = mickledore ACCEPT_EULA_stm32mp2 = 1 GCCVERSION = 12.% PREFERRED_PROVIDER_virtual/kernel = linux-stm32mp ----------------------- Layer Revisions: | ----------------------- meta-python = v5.1.xml:aa5e8edabbc414d8ec1b2ad63c8743c7baf99626 meta-oe = v5.1.xml:aa5e8edabbc414d8ec1b2ad63c8743c7baf99626 meta-gnome = v5.1.xml:aa5e8edabbc414d8ec1b2ad63c8743c7baf99626 meta-multimedia = v5.1.xml:aa5e8edabbc414d8ec1b2ad63c8743c7baf99626 meta-networking = v5.1.xml:aa5e8edabbc414d8ec1b2ad63c8743c7baf99626 meta-webserver = v5.1.xml:aa5e8edabbc414d8ec1b2ad63c8743c7baf99626 meta-st-stm32mp = v5.1.xml:c6c94a55b0002dd10a7d129a6ff7eeb10b0bee93 meta-st-openstlinux = v5.1.xml:ab43d854cb735a2175e836d35b6f963db05d68f1 meta = v5.1.xml:23b5141400b2c676c806df3308f023f7c04e34e0
3.2. Printing system information[edit | edit source]
root@stm32mp25:~# uname -a Linux stm32mp2 6.1.82 #1 SMP PREEMPT Fri Mar 15 18:27:50 UTC 2024 aarch64 GNU/Linux
3.3. Printing Linux kernel and GCC versions[edit | edit source]
root@stm32mp25:~# cat /proc/version Linux version 6.1.82 (oe-user@oe-host) (aarch64-ostl-linux-gcc (GCC) 12.3.0, GNU ld (GNU Binutils) 2.40.0.20230703) #1 SMP PREEMPT Fri Mar 15 18:27:50 UTC 2024
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 550M 3.1G 15% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 755M 8.8M 746M 2% /run
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
tmpfs 1.9G 4.0K 1.9G 1% /tmp
/dev/mmcblk0p8 55M 19M 32M 38% /boot
tmpfs 1.9G 80K 1.9G 1% /var/volatile
/dev/mmcblk0p9 166M 27M 127M 18% /vendor
/dev/mmcblk0p11 10G 47M 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:~#