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: STM32MP257FAL Rev.Y NOTICE: Model: STMicroelectronics STM32MP257F-DK Discovery Board NOTICE: Board: MB1605 Var1.0 Rev.C-01 INFO: Reset reason (0x2074): INFO: System reset (SYSRST) by A35 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 - 0xe049650 INFO: BL2: Doing platform setup INFO: RAM: LPDDR4 1x32Gbits 1x32bits 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 - 0x81fc3990 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 - 0x8441b018 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-dk.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: STM32MP257FAL Rev.Y Model: STMicroelectronics STM32MP257F-DK Discovery Board Board: stm32mp2 (st,stm32mp257f-dk) Board: MB1605 Var1.0 Rev.C-01 DRAM: 4 GiB optee optee: OP-TEE: revision 3.19 (afacf356) Core: 419 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: eth1@482c0000 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-dk.dtb Uncompressing Kernel Image ## Flattened Device Tree blob at 8c000000 Booting using the fdt blob at 0x8c000000 Loading Ramdisk to 8f8cb000, end 8ffff970 ... OK Loading Device Tree to 000000008f8ad000, end 000000008f8cac4b ... 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-DK Discovery 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 0x17f7b1a00-0x17f7b3fff] [ 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: 3720156K/4194304K available (15552K kernel code, 1680K rwdata, 5948K rodata, 3264K init, 549K bss, 343076K 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.008569] Console: colour dummy device 80x25 [ 0.012415] Calibrating delay loop (skipped), value calculated using timer frequency.. 80.00 BogoMIPS (lpj=160000) [ 0.022628] pid_max: default: 32768 minimum: 301 [ 0.027263] LSM: Security Framework initializing [ 0.031881] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.039124] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.047851] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.053598] cblist_init_generic: Setting adjustable number of callback queues. [ 0.060106] cblist_init_generic: Setting shift to 1 and lim to 1. [ 0.066209] cblist_init_generic: Setting adjustable number of callback queues. [ 0.073310] cblist_init_generic: Setting shift to 1 and lim to 1. [ 0.079537] rcu: Hierarchical SRCU implementation. [ 0.084103] rcu: Max phase no-delay instances is 1000. [ 0.092961] EFI services will not be available. [ 0.094103] smp: Bringing up secondary CPUs ... I/TC: Secondary CPU 1 initializing I/TC: Secondary CPU 1 switching to normal world boot [ 0.111596] Detected VIPT I-cache on CPU1 [ 0.111680] cacheinfo: Unable to detect cache hierarchy for CPU 1 [ 0.111723] CPU1: Booted secondary processor 0x0000000001 [0x411fd040] [ 0.111822] smp: Brought up 1 node, 2 CPUs [ 0.126800] SMP: Total of 2 processors activated. [ 0.131460] CPU features: detected: 32-bit EL0 Support [ 0.136571] CPU features: detected: 32-bit EL1 Support [ 0.141652] CPU features: detected: CRC32 instructions [ 0.146804] CPU: All CPU(s) started at EL1 [ 0.150824] alternatives: applying system-wide alternatives [ 0.158735] devtmpfs: initialized [ 0.179376] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.183490] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.195214] pinctrl core: initialized pinctrl subsystem [ 0.195960] DMI not present or invalid. [ 0.199952] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.206093] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations [ 0.212214] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.219971] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.228097] thermal_sys: Registered thermal governor 'step_wise' [ 0.228104] thermal_sys: Registered thermal governor 'power_allocator' [ 0.233559] cpuidle: using governor menu [ 0.244078] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.250660] ASID allocator initialised with 65536 entries [ 0.257716] Serial: AMBA PL011 UART driver [ 0.274250] platform 400b0000.audio-controller: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/i2c@40130000/hdmi@3d [ 0.280694] platform 48010000.display-controller: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/dsi@48000000 [ 0.289946] platform 48010000.display-controller: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/lvds@48060000 [ 0.300569] platform 48020000.csi2host: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/dcmipp@48030000 [ 0.310136] platform 48020000.csi2host: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/i2c@40130000/imx335@1a [ 0.320626] platform 48020000.csi2host: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/dcmipp@48030000 [ 0.330308] platform 48030000.dcmipp: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/csi2host@48020000 [ 0.341227] platform 48010000.display-controller: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/dsi@48000000 [ 0.350490] platform 48000000.dsi: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/i2c@40130000/hdmi@3d [ 0.360144] platform 48000000.dsi: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/display-controller@48010000 [ 0.370688] platform 48010000.display-controller: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/lvds@48060000 [ 0.381025] platform 48060000.lvds: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/display-controller@48010000 [ 0.397736] platform dmic-0: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/mdf@404d0000/filter@84/mdf-dai [ 0.402644] platform dmic-1: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/mdf@404d0000/filter@104/mdf-dai [ 0.413145] platform connector: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/i2c@40130000/hdmi@3d [ 0.422237] platform 48060000.lvds: Fixed dependency cycle(s) with /panel-lvds [ 0.429258] platform panel-lvds: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/lvds@48060000 [ 0.438889] KASLR disabled due to lack of seed [ 0.453486] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.454628] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.460863] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.467584] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.473797] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.480530] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.486752] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.493484] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.501403] ACPI: Interpreter disabled. [ 0.504181] iommu: Default domain type: Translated [ 0.508342] iommu: DMA domain TLB invalidation policy: strict mode [ 0.514835] SCSI subsystem initialized [ 0.518641] usbcore: registered new interface driver usbfs [ 0.523758] usbcore: registered new interface driver hub [ 0.529007] usbcore: registered new device driver usb [ 0.534393] pps_core: LinuxPPS API ver. 1 registered [ 0.538917] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.547994] PTP clock support registered [ 0.552009] EDAC MC: Ver: 3.0.0 [ 0.555383] CPUidle PSCI: Initialized CPU PM domain topology using OSI mode [ 0.563467] Driver 'scmi-optee' was unable to register with bus_type 'tee' because the bus was not initialized. [ 0.572428] FPGA manager framework [ 0.575350] Advanced Linux Sound Architecture Driver Initialized. [ 0.582100] vgaarb: loaded [ 0.584318] clocksource: Switched to clocksource arch_sys_counter [ 0.590257] VFS: Disk quotas dquot_6.6.0 [ 0.593960] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.600949] pnp: PnP ACPI: disabled [ 0.612025] NET: Registered PF_INET protocol family [ 0.612329] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.623428] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear) [ 0.627154] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.634773] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.642860] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear) [ 0.650897] TCP: Hash tables configured (established 32768 bind 32768) [ 0.656597] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.663173] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.670431] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.676265] RPC: Registered named UNIX socket transport module. [ 0.681662] RPC: Registered udp transport module. [ 0.686314] RPC: Registered tcp transport module. [ 0.690978] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.697398] PCI: CLS 0 bytes, default 64 [ 0.701467] Unpacking initramfs... [ 0.705250] hw perfevents: enabled with armv8_cortex_a35 PMU driver, 7 counters available [ 0.713419] kvm [1]: HYP mode not available [ 0.718139] Initialise system trusted keyrings [ 0.721595] workingset: timestamp_bits=42 max_order=20 bucket_order=0 [ 0.735296] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.736286] NFS: Registering the id_resolver key type [ 0.740597] Key type id_resolver registered [ 0.744690] Key type id_legacy registered [ 0.748792] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.755306] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.762830] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.769301] fuse: init (API version 7.37) [ 0.773045] 9p: Installing v9fs 9p2000 file system support [ 0.824971] NET: Registered PF_ALG protocol family [ 0.825019] Key type asymmetric registered [ 0.828205] Asymmetric key parser 'x509' registered [ 0.833196] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 0.840404] io scheduler mq-deadline registered [ 0.844881] io scheduler kyber registered [ 0.849741] /soc@0/interrupt-controller@44220000: bank0 [ 0.854066] /soc@0/interrupt-controller@44220000: bank1 [ 0.859277] /soc@0/interrupt-controller@44220000: bank2 [ 0.864749] /soc@0/interrupt-controller@46230000: bank0 [ 0.869592] /soc@0/interrupt-controller@46230000: bank1 [ 0.874799] /soc@0/interrupt-controller@46230000: bank2 [ 0.884830] EINJ: ACPI disabled. [ 0.891376] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.894294] STM32 USART driver initialized [ 0.900141] [drm] Initialized simpledrm 1.0.0 20200625 for fa200000.framebuffer on minor 0 [ 0.904720] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.915663] loop: module loaded [ 0.916617] megasas: 07.719.03.00-rc1 [ 0.922177] thunder_xcv, ver 1.0 [ 0.922254] thunder_bgx, ver 1.0 [ 0.923512] nicpf, ver 1.0 [ 0.926884] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version [ 0.933420] hns3: Copyright (c) 2017 Huawei Corporation. [ 0.938750] hclge is initializing [ 0.941979] e1000: Intel(R) PRO/1000 Network Driver [ 0.946782] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 0.952611] e1000e: Intel(R) PRO/1000 Network Driver [ 0.957420] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 0.963362] igb: Intel(R) Gigabit Ethernet Network Driver [ 0.968652] igb: Copyright (c) 2007-2014 Intel Corporation. [ 0.974287] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 0.980433] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 0.986605] sky2: driver version 1.30 [ 0.991010] VFIO - User Level meta-driver version: 0.3 [ 0.999788] usbcore: registered new interface driver usb-storage [ 1.001216] usbcore: registered new device driver onboard-usb-hub [ 1.009562] i2c_dev: i2c /dev entries driver [ 1.013418] arm_smc_wdt watchdog: Watchdog registered (timeout=32 sec, nowayout=0) [ 1.020396] sdhci: Secure Digital Host Controller Interface driver [ 1.024957] sdhci: Copyright(c) Pierre Ossman [ 1.029770] Synopsys Designware Multimedia Card Interface Driver [ 1.035762] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.042086] ledtrig-cpu: registered to indicate activity on CPUs [ 1.047486] SMCCC: SOC_ID: ID = jep106:0020:0505 Revision = 0x00000011 [ 1.054098] usbcore: registered new interface driver usbhid [ 1.058766] usbhid: USB HID core driver [ 1.064840] cs_system_cfg: CoreSight Configuration manager initialised [ 1.070823] optee: probing for conduit method. [ 1.073559] optee: revision 3.19 (afacf356) [ 1.074346] optee: Asynchronous notifications enabled [ 1.082759] optee: dynamic shared memory is enabled [ 1.088256] optee: initialized driver [ 1.093535] NET: Registered PF_PACKET protocol family [ 1.096606] 9pnet: Installing 9P2000 support [ 1.100549] Key type dns_resolver registered [ 1.105238] registered taskstats version 1 [ 1.108741] Loading compiled-in X.509 certificates [ 1.129438] arm-scmi firmware:scmi: Enabled polling mode TX channel - prot_id:16 [ 1.131334] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled. [ 1.138093] arm-scmi firmware:scmi: SCMI Protocol v2.0 'ST:ST' Firmware version 0x20c0000 [ 1.158398] cpu cpu0: EM: created perf domain [ 1.159157] Freeing initrd memory: 7376K [ 1.174341] scmi-regulator scmi_dev.5: Regulator vddio1 registered for domain [0] [ 1.176344] scmi-regulator scmi_dev.5: Regulator vddio2 registered for domain [1] [ 1.183752] scmi-regulator scmi_dev.5: Regulator vddio3 registered for domain [2] [ 1.191169] scmi-regulator scmi_dev.5: Regulator vddio4 registered for domain [3] [ 1.198599] scmi-regulator scmi_dev.5: Regulator vdd33ucpd registered for domain [5] [ 1.206290] scmi-regulator scmi_dev.5: Regulator vdda18adc registered for domain [7] [ 1.214205] scmi-regulator scmi_dev.5: Regulator vddgpu registered for domain [8] [ 1.221404] scmi-regulator scmi_dev.5: Regulator vddcore registered for domain [11] [ 1.229015] scmi-regulator scmi_dev.5: Regulator v1v8 registered for domain [14] [ 1.236366] scmi-regulator scmi_dev.5: Regulator v3v3 registered for domain [16] [ 1.243699] scmi-regulator scmi_dev.5: Regulator vdd_emmc registered for domain [18] [ 1.251412] scmi-regulator scmi_dev.5: Regulator vdd3v3_usb registered for domain [20] [ 1.259260] scmi-regulator scmi_dev.5: Regulator v5v_hdmi registered for domain [21] [ 1.266951] scmi-regulator scmi_dev.5: Regulator v5v_vconn registered for domain [22] [ 1.274724] scmi-regulator scmi_dev.5: Regulator vdd_sdcard registered for domain [23] [ 1.283729] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOA bank added [ 1.289393] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOB bank added [ 1.295947] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOC bank added [ 1.302511] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOD bank added [ 1.309034] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOE bank added [ 1.315611] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOF bank added [ 1.322311] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOG bank added [ 1.328805] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOH bank added [ 1.335460] stm32mp257-pinctrl soc@0:pinctrl@44240000: GPIOI bank added [ 1.341616] stm32mp257-pinctrl soc@0:pinctrl@44240000: Pinctrl STM32 initialized [ 1.350445] stm32mp257-pinctrl soc@0:pinctrl@46200000: GPIOZ bank added [ 1.355491] stm32mp257-pinctrl soc@0:pinctrl@46200000: Pinctrl STM32 initialized [ 1.367496] stm32_rtc 46000000.rtc: registered as rtc0 [ 1.367896] stm32_rtc 46000000.rtc: setting system clock to 2000-01-01T04:07:15 UTC (946699635) [ 1.377601] stm32_rtc 46000000.rtc: Date/Time must be initialized [ 1.382577] stm32_rtc 46000000.rtc: registered rev:3.4 [ 1.390433] stm32-ipcc 40490000.mailbox: ipcc rev:2.0 enabled, 16 chans, proc 0 [ 1.395643] stm32-rproc 0.m33: wdg irq registered [ 1.399629] stm32-rproc 0.m33: pdds sys config not defined [ 1.405182] stm32-rproc 0.m33: rsc tbl syscon not supported [ 1.410789] stm32-rproc 0.m33: mbox_request_channel_byname() could not locate channel named "detach" [ 1.419654] remoteproc remoteproc0: cannot get detach mbox [ 1.425151] remoteproc remoteproc0: m33 is available [ 1.445757] stm32-dma3 40400000.dma-controller: created LLI gen_pool at 0x000000000a020000, size 60KiB [ 1.451310] stm32-dma3 40400000.dma-controller: STM32 DMA3 registered rev:1.3 [ 1.456852] stm32-dma3 40410000.dma-controller: LLI gen_pool truncated (56KiB instead of 60KiB) [ 1.465190] stm32-dma3 40410000.dma-controller: created LLI gen_pool at 0x000000000a030000, size 56KiB [ 1.476168] stm32-dma3 40410000.dma-controller: STM32 DMA3 registered rev:1.3 [ 1.481835] stm32-dma3 40420000.dma-controller: created LLI gen_pool at 0x000000000a03e1e0, size 7KiB [ 1.490986] stm32-dma3 40420000.dma-controller: STM32 DMA3 registered rev:1.3 [ 1.499327] mmci-pl18x 48220000.mmc: Got CD GPIO [ 1.500865] stm32-usart 400e0000.serial: interrupt mode for rx (no dma) [ 1.504945] mmci-pl18x 48240000.mmc: allocated mmc-pwrseq [ 1.508883] stm32-usart 400e0000.serial: interrupt mode for tx (no dma) [ 1.514333] mmci-pl18x 48230000.mmc: mmc1: PL180 manf 53 rev3 at 0x48230000 irq 58,0 (pio) [ 1.520797] 400e0000.serial: ttySTM0 at MMIO 0x400e0000 (irq = 57, base_baud = 4000000) is a stm32-usart [ 1.529076] mmci-pl18x 48220000.mmc: mmc0: PL180 manf 53 rev3 at 0x48220000 irq 56,0 (pio) [ 1.547548] mmci-pl18x 48240000.mmc: mmc2: PL180 manf 53 rev3 at 0x48240000 irq 59,0 (pio) [ 1.561557] printk: console [ttySTM0] enabled [ 1.561557] printk: console [ttySTM0] enabled [ 1.564606] printk: bootconsole [stm32] disabled [ 1.564606] printk: bootconsole [stm32] disabled [ 1.576173] 40330000.serial: ttySTM2 at MMIO 0x40330000 (irq = 61, base_baud = 4000000) is a stm32-usart [ 1.584505] serial serial0: tty port ttySTM2 registered [ 1.597624] stm32-dwmac 482c0000.eth1: IRQ eth_lpi not found [ 1.598215] stm32-dwmac 482c0000.eth1: User ID: 0x1a, Synopsys ID: 0x53 [ 1.605358] stm32-dwmac 482c0000.eth1: DWMAC4/5 [ 1.608916] stm32-dwmac 482c0000.eth1: DMA HW capability register supported [ 1.616833] stm32-dwmac 482c0000.eth1: RX Checksum Offload Engine supported [ 1.622699] stm32-dwmac 482c0000.eth1: TX Checksum insertion supported [ 1.629163] stm32-dwmac 482c0000.eth1: Wake-Up On Lan supported [ 1.635178] stm32-dwmac 482c0000.eth1: TSO supported [ 1.640042] stm32-dwmac 482c0000.eth1: Enable RX Mitigation via HW Watchdog Timer [ 1.647420] stm32-dwmac 482c0000.eth1: Enabled L3L4 Flow TC (entries=2) [ 1.654095] stm32-dwmac 482c0000.eth1: Enabled RFS Flow TC (entries=10) [ 1.661688] stm32-dwmac 482c0000.eth1: TSO feature enabled [ 1.666048] stm32-dwmac 482c0000.eth1: Using 32/32 bits DMA host/device width [ 1.693512] mmc1: new HS200 MMC card at address 0001 [ 1.694250] mmcblk1: mmc1:0001 008GB1 7.28 GiB [ 1.698548] mmc0: new ultra high speed SDR104 SDHC card at address aaaa [ 1.701589] mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 [ 1.704720] mmcblk0: mmc0:aaaa SC16G 14.8 GiB [ 1.709640] mmcblk1boot0: mmc1:0001 008GB1 4.00 MiB [ 1.718961] mmcblk1boot1: mmc1:0001 008GB1 4.00 MiB [ 1.723979] mmcblk1rpmb: mmc1:0001 008GB1 4.00 MiB, chardev (238:0) [ 1.731270] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 [ 1.806102] mmc2: new high speed SDIO card at address 0001 [ 1.876131] usb-stm32-dwc3 42080000.rifsc:usb@48300000: configured in usb3 mode [ 1.878530] platform 48300000.usb: Fixed dependency cycle(s) with /ahb@1/i2c@2/typec@35/connector [ 1.900499] platform 48020000.csi2host: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/i2c@40130000/imx335@1a [ 1.905463] i2c 0-001a: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/csi2host@48020000 [ 1.914254] platform 400b0000.audio-controller: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/i2c@40130000/hdmi@3d [ 1.924972] i2c 0-003d: Fixed dependency cycle(s) with /soc@0/rifsc@42080000/audio-controller@400b0000 [ 2.511058] input: ILI210x Touchscreen as /devices/platform/soc@0/42080000.rifsc/40130000.i2c/i2c-0/0-0041/input/input0 [ 2.516541] stm32f7-i2c 40130000.i2c: STM32F7 I2C-0 bus adapter [ 2.527149] ehci-platform 482f0000.usb: EHCI Host Controller [ 2.527708] ehci-platform 482f0000.usb: new USB bus registered, assigned bus number 1 [ 2.535635] ehci-platform 482f0000.usb: irq 69, io mem 0x482f0000 [ 2.542534] [drm] Initialized stm 1.0.0 20170330 for 48010000.display-controller on minor 0 [ 2.551323] input: gpio-keys as /devices/platform/gpio-keys/input/input1 [ 2.556352] ehci-platform 482f0000.usb: USB 2.0 started, EHCI 1.00 [ 2.557588] ALSA device list: [ 2.563353] hub 1-0:1.0: USB hub found [ 2.565657] No soundcards found. [ 2.573388] hub 1-0:1.0: 1 port detected [ 2.580445] Freeing unused kernel memory: 3264K [ 2.581262] Run /init as init process Starting systemd-udevd version 253.1^ [ 2.832357] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 2.989705] hub 1-1:1.0: USB hub found [ 2.989924] hub 1-1:1.0: 2 ports detected [ 3.340722] stm32-dwmac 482c0000.eth1 end0: renamed from eth0 [ 3.741827] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Quota mode: none. ln: /etc/mtab: File exists [ 4.186143] systemd[1]: System time before build time, advancing clock. [ 4.274797] NET: Registered PF_INET6 protocol family [ 4.312353] Segment Routing with IPv6 [ 4.312442] In-situ OAM (IOAM) with IPv6 [ 4.357824] 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 -L) [ 4.384012] 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)! [ 4.481870] systemd[1]: Hostname set to <stm32mp2>. [ 4.530081] systemd[1]: Using hardware watchdog 'arm_smc_wdt', version 0, device /dev/watchdog0 [ 4.533494] systemd[1]: Watchdog running with a timeout of 32s. [ 4.987196] systemd[1]: Queued start job for default target Multi-User System. [ 5.052285] systemd[1]: Created slice Slice /system/getty. [ OK ] Created slice Slice /system/getty. [ 5.070995] systemd[1]: Created slice Slice /system/modprobe. [ OK ] Created slice Slice /system/modprobe. [ 5.090984] systemd[1]: Created slice Slice /system/serial-getty. [ OK ] Created slice Slice /system/serial-getty. [ 5.110453] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 5.128839] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ 5.148771] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password R…uests to Wall Directory Watch. [ 5.168936] systemd[1]: Reached target Path Units. [ OK ] Reached target Path Units. [ 5.184545] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 5.204518] systemd[1]: Reached target Slice Units. [ OK ] Reached target Slice Units. [ 5.220562] systemd[1]: Reached target Swaps. [ OK ] Reached target Swaps. [ 5.281524] systemd[1]: Listening on RPCbind Server Activation Socket. [ OK ] Listening on RPCbind Server Activation Socket. [ 5.300823] systemd[1]: Reached target RPC Port Mapper. [ OK ] Reached target RPC Port Mapper. [ 5.317328] systemd[1]: Listening on Syslog Socket. [ OK ] Listening on Syslog Socket. [ 5.341377] systemd[1]: Listening on Process Core Dump Socket. [ OK ] Listening on Process Core Dump Socket. [ 5.360892] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ 5.387380] systemd[1]: Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit). [ 5.393463] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 5.417319] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 5.433412] systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. [ 5.453336] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 5.469102] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 5.520858] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... [ 5.541449] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 5.565655] systemd[1]: Mounting Kernel Debug File System... Mounting Kernel Debug File System... [ 5.585084] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing). [ 5.628915] systemd[1]: Mounting Temporary Directory /tmp... Mounting Temporary Directory /tmp... [ 5.650648] systemd[1]: Starting Create List of Static Device Nodes... Starting Create List of Static Device Nodes... [ 5.697282] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module configfs... [ 5.718031] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module drm... [ 5.737876] systemd[1]: Starting Load Kernel Module fuse... Starting Load Kernel Module fuse... [ 5.757781] systemd[1]: Starting Mount partitions... Starting Mount partitions... [ 5.780445] systemd[1]: Starting RPC Bind... Starting RPC Bind... [ 5.793004] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/). [ 5.829270] systemd[1]: Starting Journal Service... Starting Journal Service... [ 5.846769] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met. [ 5.857346] systemd[1]: Starting Generate network units from Kernel command line... Starting Generate network …ts from Kernel command line... [ 5.869611] systemd-journald[315]: Collecting audit messages is disabled. [ 5.921141] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 5.945566] systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... [ 5.977391] systemd[1]: Starting Coldplug All udev Devices... Starting Coldplug All udev Devices... [ 6.012814] systemd[1]: Started RPC Bind. [ OK ] Started RPC Bind. [ 6.030013] EXT4-fs (mmcblk0p10): re-mounted. Quota mode: none. [ 6.037633] systemd[1]: Mounted Huge Pages File System. [ OK ] Mounted Huge Pages File System. [ 6.057467] systemd[1]: Mounted POSIX Message Queue File System. [ OK ] Mounted POSIX Message Queue File System. [ 6.077293] 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. [ 6.228297] 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... [ OK ] Mounted FUSE Control File System. [ 6.390176] systemd-journald[315]: Received client request to flush runtime journal. [ 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... [ OK ] Mounted /var/volatile. Starting Load/Save OS Random Seed... [ 6.615256] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Quota mode: none. [ OK ] Started Rule-based Manager for Device Events and Files. [ 6.855018] 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 Coldplug All udev Devices. [ OK ] Finished Create Volatile Files and Directories. Starting Network Name Resolution... Starting Network Time Synchronization... Starting Record System Boot/Shutdown in UTMP... [ OK ] Finished Record System Boot/Shutdown in UTMP. [ OK ] Started Network Time Synchronization. [ OK ] Started Network Name Resolution. [ 8.220369] random: crng init done [ OK ] Finished Load/Save OS Random Seed. [ 8.612290] rpmsg_i2c 2.i2c: Failed to create device link (0x180) with 1.interrupt-controller [ OK ] Reached target Host and Network Name Lookups. [ OK ] Reached target System Time Set. [ OK ] Created slice Slice /system/systemd-backlight. [ 8.687994] st,stm32-i2s 400b0000.audio-controller: No cache defaults, reading back from HW [ 8.710196] mc: Linux media interface: v0.10 Starting Load/Save Screen …klight:panel-lvds-backlight... [ 8.727810] videodev: Linux video capture interface: v2.00 [ 8.738965] stm32-crc32 404c0000.crc: Initialized [ OK ] Finished Load/Save Screen …acklight:panel-lvds-backlight. [ 8.766040] stm32-mdf 404d0000.mdf: No cache defaults, reading back from HW [ 8.844094] stm32-cryp 42030000.crypto: will run requests pump with realtime priority [ 8.848092] stm32-cryp 42030000.crypto: Initialized [ OK ] Found device /dev/dri/card0. [ 8.861164] stm32-csi2host 48020000.csi2host: Probed CSI2HOST with 2 lanes [ 8.874404] galcore: loading out-of-tree module taints kernel. [ 8.874545] imx335 0-001a: failed to find sensor: -5 [ 8.903642] galcore 48280000.gpu: supply gpu not found, using dummy regulator [ 8.921804] imx335: probe of 0-001a failed with error -5 [ 8.924961] galcore 48280000.gpu: GPU regulator gotten [ 8.929554] Galcore version 6.4.15.6.691815 [ OK ] Started Starts Psplash Boot screen. [ 9.029494] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 9.044134] hantro-vpu 480d0000.vdec: registered st,stm32mp25-vdec-dec as /dev/video3 [ 9.071359] hantro-vpu 480e0000.venc: registered st,stm32mp25-venc-enc as /dev/video4 [ 9.074389] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 9.082584] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ 9.141404] stm32-csi2host 48020000.csi2host: Consider updating driver stm32-csi2host to match on endpoints [ 9.152731] stm32-display-lvds 48060000.lvds: No phase precised, setting default [ 9.158934] dcmipp 48030000.dcmipp: Probe done [ 9.202262] Bluetooth: Core ver 2.22 [ 9.202385] NET: Registered PF_BLUETOOTH protocol family [ 9.206162] Bluetooth: HCI device and connection manager initialized [ 9.212221] Bluetooth: HCI socket layer initialized [ 9.212383] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43439-sdio for chip BCM43439/5 [ 9.216710] Bluetooth: L2CAP socket layer initialized [ 9.235811] Bluetooth: SCO socket layer initialized [ 9.238455] using random self ethernet address [ 9.239598] using random host ethernet address [ 9.345584] Bluetooth: HCI UART driver ver 2.3 [ 9.345652] Bluetooth: HCI UART protocol H4 registered [ 9.363059] Bluetooth: HCI UART protocol LL registered [ 9.375538] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43439/5 wl0: Aug 31 2023 01:16:08 version 7.95.64.1 (64b6b2d CY) FWID 01-b73af1f1 [ 9.384972] Bluetooth: HCI UART protocol Broadcom registered [ 9.388197] Bluetooth: HCI UART protocol QCA registered [ 9.393472] Bluetooth: HCI UART protocol Marvell registered [ 9.406040] usb0: HOST MAC f4:bd:ca:aa:f7:c2 [ 9.406083] usb0: MAC da:4a:9e:f1:24:a0 [ OK ] Found device /dev/tee0. [ 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. [ 9.713850] stm32-mdf-adc 404d0084.filter: No cache defaults, reading back from HW [ 9.745009] Bluetooth: hci0: BCM: chip id 147 [ 9.745484] Bluetooth: hci0: BCM: features 0x0e [ 9.749682] Bluetooth: hci0: CYW4343A2 [ 9.752087] Bluetooth: hci0: BCM (001.003.016) build 0000 [ 9.760648] Bluetooth: hci0: BCM 'brcm/BCM.st,stm32mp257f-dk.hcd' Patch [ OK ] Listening on dropbear.socket. [ OK ] Reached target Socket Units. [ OK ] Reached target Basic System. [ 9.809482] stm32-mdf-adc 404d0104.filter: No cache defaults, reading back from HW 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... [ OK ] Started D-Bus System Message Bus. [ OK ] Finished IPv6 Packet Filtering Framework. [ OK ] Finished IPv4 Packet Filtering Framework. [ 10.294028] Bluetooth: hci0: BCM: features 0x0e [ OK ] Finished 10.295885] Bluetooth: hci0: UART 4343A2 wlbga_BU [ 10.300453] Bluetooth: hci0: BCM (001.003.016) build 0000 0;1;39mResets System Activity Logs. [ 10.317333] Default copro already stopped [ OK ] Started TEE Supplicant. [ OK ] Finished ST set alsa state configuration. [ OK ] Started Avahi mDNS/DNS-SD Stack. [ 10.591163] remoteproc remoteproc0: powering up m33 [ 10.596973] remoteproc remoteproc0: Booting fw image USBPD_DRP_UCSI_CM33_NonSecure.elf, size 5408004 [ 10.601863] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node vdev0buffer@812fa000 [ OK [ 10.612024] virtio_rpmsg_bus virtio0: rpmsg host is online ] Started User Logi[ 10.620914] rproc-virtio rproc-virtio.2.auto: registered virtio0 (type 7) [ 10.626024] remoteproc remoteproc0: remote processor m33 is now up n Management. [ 10.635651] Booting fw image for stm32mp257f-dk [ OK ] Finished ST Load M33 firmware via remoteproc. [ OK ] Finished Check if the gpu … correct weston configuration. [ OK ] Created slice User Slice of UID 1000. [ OK ] Reached target Preparation for Network. [ OK ] Reached target Hardware activated USB gadget. [ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. Starting Save/Restore Sound Card State... Starting Bluetooth service... Starting Load Kernel Module drm... Starting Network Configuration... Starting User Runtime Directory /run/user/1000... [ OK ] Finished Save/Restore Sound Card State. [ OK ] Finished Load Kernel Module drm. [ OK ] Reached target Sound Card. Starting Load/Save RF Kill Switch Status... [ OK ] Finished User Runtime Directory /run/user/1000. [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Started Network Configuration. [ OK ] Reached target Network. [ 11.458105] stm32-dwmac 482c0000.eth1 end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 11.460148] stm32-dwmac 482c0000.eth1 end0: Register MEM_TYPE_PAGE_POOL RxQ-1 [ 11.471373] virtio_rpmsg_bus virtio0: creating channel rpmsg-intc addr 0x400 [ 11.482045] virtio_rpmsg_bus virtio0: creating channel rpmsg_i2c addr 0x401 [ 11.483627] rpmsg_i2c virtio0.rpmsg_i2c.-1.1025: new channel: 0x401 -> 0x401! [ OK ] Started IIO Daemon. [ 11.527777] Bluetooth: MGMT ver 1.22 Starting Real time performance monitoring... Starting Permit User Sessions... Starting Target Communication Framework agent... [ OK ] Finished Permit User Sessions. [ OK ] Started Bluetooth service. [ 11.648393] stm32-dwmac 482c0000.eth1 end0: PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL) [ 11.660392] dwmac4: Master AXI performs any burst length [ 11.660457] stm32-dwmac 482c0000.eth1 end0: No Safety Features support found [ OK ] Started Real time performance monitor[ 11.674164] stm32-dwmac 482c0000.eth1 end0: IEEE 1588-2008 Advanced Timestamp supported [ 11.682789] stm32-dwmac 482c0000.eth1 end0: registered PTP clock ing. [ 11.700217] stm32-dwmac 482c0000.eth1 end0: FPE workqueue start [ 11.700612] stm32-dwmac 482c0000.eth1 end0: configuring for phy/rgmii-id link mode [ OK ] Started Target Communication Framework agent. [ OK ] Reached target Bluetooth Support. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttySTM0. [ OK ] Reached target Login Prompts. Starting Hostname Service... Starting User Manager for UID 1000... Starting Weston graphical session... [ 12.144685] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready [ OK ] Started Hostname Service. [ 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@stm32mp2:~# 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-2-ge7eebad74713d2c60cdae9ad43adb1581f4e0edf 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@stm32mp2:~# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.8G 0 1.8G 0% /dev
/dev/mmcblk0p10 3.8G 567M 3.1G 16% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 755M 8.9M 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:~#