2026-03-11 6:23 AM
Hi everyone,
I have recently upgraded from openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11 to openstlinux-6.6-yocto-scarthgap-mpu-v26.02.18 of the meta-st-stm32mp layer.
I am using a custom board based on a STM32MP157 MPU.
With the previous revision, my board booted fine but since I updated to the new version it is stuck during boot. Here are the boot logs I got after enabling the early console:
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 6.6.116 (oe-user@oe-host) (arm-oe-linux-gnueabi-gcc (GCC) 13.4.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Sun Nov 2 13:14:42 UTC 2025
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Eaton Machine
[ 0.000000] earlycon: stm32 at MMIO 0x40011000 (options '115200n8')
[ 0.000000] printk: bootconsole [stm32] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] OF: reserved mem: 0x2ffc0000..0x2fffefff (252 KiB) nomap non-reusable optee-sysram@2ffc0000
[ 0.000000] OF: reserved mem: 0xcfc00000..0xcfffffff (4096 KiB) nomap non-reusable optee@cfc00000
[ 0.000000] cma: Reserved 24 MiB at 0xce400000 on node -1
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000c0000000-0x00000000cfbfffff]
[ 0.000000] HighMem [mem 0x00000000cfc00000-0x00000000cfffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000c0000000-0x00000000cfbfffff]
[ 0.000000] node 0: [mem 0x00000000cfc00000-0x00000000cfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000cfffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 12 pages/cpu s18516 r8192 d22444 u49152
[ 0.000000] Kernel command line: earlycon console=ttySTM0,115200n8 rootfstype=ext4 root=/dev/mmcblk0p4 rw rootwait
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65032
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] Memory: 219672K/262144K available (5120K kernel code, 522K rwdata, 2896K rodata, 1024K init, 197K bss, 17896K reserved, 24576K cma-reserved, 0K highmem)
[ 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=4 to nr_cpu_ids=2.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.007983] Switching to timer-based delay loop, resolution 41ns
[ 0.015780] Console: colour dummy device 80x30
[ 0.018859] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[ 0.029031] CPU: Testing write buffer coherency: ok
[ 0.033891] pid_max: default: 32768 minimum: 301
[ 0.038683] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.045792] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.054769] /cpus/cpu@0 missing clock-frequency property
[ 0.058871] /cpus/cpu@1 missing clock-frequency property
[ 0.064100] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.071522] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[ 0.079026] Setting up static identity map for 0xc0100000 - 0xc0100054
[ 0.085533] rcu: Hierarchical SRCU implementation.
[ 0.090074] rcu: Max phase no-delay instances is 400.
[ 0.096177] smp: Bringing up secondary CPUs ...
D/TC:0 psci_cpu_on:179 core 1, ns_entry 0xc01012a9, state 0
I/TC: Secondary CI/TC: Secondary CPU 1 switching to normal world boot
[ 0.113129] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.113375] smp: Brought up 1 node, 2 CPUs
[ 0.121689] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.127832] CPU: All CPU(s) started in SVC mode.
[ 0.133773] devtmpfs: initialized
[ 0.174666] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.181273] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.190655] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.198751] pinctrl core: initialized pinctrl subsystem
[ 0.205045] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.211425] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.218862] cpuidle: using governor menu
[ 0.221840] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.229361] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.239970] stm32-pm-domain pm_domain: domain core-ret-power-domain registered
[ 0.245782] stm32-pm-domain pm_domain: subdomain core-power-domain registered
[ 0.252874] stm32-pm-domain pm_domain: domains probed
[ 0.287191] /soc/display-controller@5a001000: Fixed dependency cycle(s) with /soc/dsi@5a000000
[ 0.295282] /soc/dsi@5a000000: Fixed dependency cycle(s) with /soc/dsi@5a000000/mipi-panel
[ 0.302661] /soc/dsi@5a000000: Fixed dependency cycle(s) with /soc/display-controller@5a001000
[ 0.311281] /soc/dsi@5a000000/mipi-panel: Fixed dependency cycle(s) with /soc/dsi@5a000000
D/TC:0 pwr_scv_handler:56 PWR service: write 0x0 at offset 0x28
D/TC:0 pwr_scv_handler:56 PWR service: set 0x3f at offset 0x20
[ 0.340607] /soc/display-controller@5a001000: Fixed dependency cycle(s) with /soc/dsi@5a000000
[ 0.363314] /soc/display-controller@5a001000: Fixed dependency cycle(s) with /soc/dsi@5a000000
[ 0.370666] /soc/dsi@5a000000: Fixed dependency cycle(s) with /soc/dsi@5a000000/mipi-panel
[ 0.378771] /soc/dsi@5a000000: Fixed dependency cycle(s) with /soc/display-controller@5a001000
[ 0.387646] /soc/dsi@5a000000/mipi-panel: Fixed dependency cycle(s) with /soc/dsi@5a000000
[ 0.404058] usbcore: registered new interface driver usbfs
[ 0.410252] usbcore: registered new interface driver hub
[ 0.414197] usbcore: registered new device driver usb
[ 0.419710] pps_core: LinuxPPS API ver. 1 registered
[ 0.424111] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.433246] PTP clock support registered
[ 0.437695] scmi_core: SCMI protocol bus registered
[ 0.444742] clocksource: Switched to clocksource arch_sys_counter
[ 0.467182] NET: Registered PF_INET protocol family
[ 0.471000] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.479430] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.486482] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.494094] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.501762] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.508904] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.515294] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.521763] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.528875] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.535652] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.544532] Initialise system trusted keyrings
[ 0.547949] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 0.554541] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.846510] NET: Registered PF_ALG protocol family
[ 0.849869] Key type asymmetric registered
[ 0.853937] Asymmetric key parser 'x509' registered
[ 0.858955] bounce: pool size: 64 pages
[ 0.862655] io scheduler mq-deadline registered
[ 0.867145] io scheduler kyber registered
[ 0.871180] io scheduler bfq registered
[ 0.875449] /soc/interrupt-controller@5000d000: bank0
[ 0.880003] /soc/interrupt-controller@5000d000: bank1
[ 0.885012] /soc/interrupt-controller@5000d000: bank2
[ 0.890873] Registering stm32-etzpc firewall controller
[ 0.903217] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 0.917020] STM32 USART driver initialized
[ 0.943087] brd: module loaded
[ 0.953164] loop: module loaded
[ 0.958857] usbcore: registered new interface driver qmi_wwan
[ 0.965233] usbcore: registered new interface driver cdc_wdm
[ 0.969635] usbcore: registered new interface driver cp210x
[ 0.975049] usbserial: USB Serial support registered for cp210x
[ 0.980969] usbcore: registered new interface driver ftdi_sio
[ 0.986673] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 0.994032] usbcore: registered new interface driver pl2303
[ 0.999523] usbserial: USB Serial support registered for pl2303
[ 1.006481] i2c_dev: i2c /dev entries driver
[ 1.012103] sdhci: Secure Digital Host Controller Interface driver
[ 1.016845] sdhci: Copyright(c) Pierre Ossman
[ 1.021176] Synopsys Designware Multimedia Card Interface Driver
[ 1.027422] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.034578] usbcore: registered new interface driver usbhid
[ 1.038735] usbhid: USB HID core driver
[ 1.045143] optee: probing for conduit method.
I/TC: Reserved shared memory is enabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled
I/TC: Asynchronous notifications are enabled
[ 1.048192] optee: revision 4.0 (2a5b1d12)
[ 1.068284] optee: Asynchronous notifications enabled
[ 1.075994] optee: dynamic shared memory is enabled
D/TC:? 0 tee_ta_init_session_with_context:562 Re-open trusted service 7011a688-ddde-4053-a5a9-7b3c4ddf13b8
D/TC:? 0 tee_ta_init_session_with_context:562 Re-open trusted service a8cfe406-d4f5-4a2e-9f8d-a25dc754c099
D/TC:? 0 tee_ta_close_session:465 csess 0x2ffe1130 id 2
D/TC:? 0 tee_ta_close_session:484 Destroy session
D/TC:? 0 tee_ta_init_pseudo_ta_session:303 Lookup pseudo TA ab7a617c-b8e7-4d8f-8301-d09b61036b64
D/TC:? 0 tee_ta_init_pseudo_ta_session:315 Open rng.pta
D/TC:? 0 tee_ta_init_pseudo_ta_session:330 rng.pta : ab7a617c-b8e7-4d8f-8301-d09b61036b64
[ 1.140656] random: crng init done
D/TC:? 0 tee_ta_close_session:465 csess 0x2ffe15b0 id 1
D/TC:? 0 tee_ta_close_session:484 Destroy session
[ 1.153612] optee: initialized driver
[ 1.156218] GACT probability on
[ 1.159000] u32 classifier
[ 1.161649] input device check on
[ 1.165285] Actions configured
[ 1.169543] Initializing XFRM netlink socket
[ 1.173096] NET: Registered PF_INET6 protocol family
[ 1.179663] Segment Routing with IPv6
[ 1.181973] In-situ OAM (IOAM) with IPv6
[ 1.185995] NET: Registered PF_PACKET protocol family
[ 1.190856] NET: Registered PF_KEY protocol family
[ 1.196107] ThumbEE CPU extension supported.
[ 1.199917] Registering SWP/SWPB emulation handler
[ 1.217590] Loading compiled-in X.509 certificates
D/TC:? 0 tee_ta_init_session_with_context:562 Re-open trusted service a8cfe406-d4f5-4a2e-9f8d-a25dc754c099
[ 1.250663] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16
[ 1.257110] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
[ 1.265429] arm-scmi firmware:scmi: SCMI Protocol v2.0 'ST:' Firmware version 0x0
D/TC:? 0 stm32mp1_clk_get_parent:725 No parent selected for clk 135
D/TC:? 0 stm32mp1_clk_get_parent:725 No parent selected for clk 135
D/TC:? 0 stm32mp1_clk_get_parent:725 No parent selected for clk 135
D/TC:? 1 tee_ta_init_session_with_context:562 Re-open trusted service 94cf71ad-80e6-40b5-a7c6-3dc501eb2803
D/TC:? 1 tee_ta_close_session:465 csess 0x2ffe1420 id 4
D/TC:? 1 tee_ta_close_session:484 Destroy session
[ 1.365950] stm32-dma 48000000.dma-controller: STM32 DMA driver registered
[ 1.374033] stm32-dma 48001000.dma-controller: STM32 DMA driver registered
[ 1.384669] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered
[ 1.403425] stm32mp157-pinctrl soc:pinctrl@50002000: error -ENOENT: failed to get clk
[ 1.409860] stm32mp157-pinctrl: probe of soc:pinctrl@50002000 failed with error -2
[ 1.419655] stm32mp157-pinctrl soc:pinctrl@54004000: GPIOZ bank added
[ 1.424774] stm32mp157-pinctrl soc:pinctrl@54004000: Pinctrl STM32 initialized
[ 1.438676] stm32-usart 5c000000.serial: interrupt mode for rx (no dma)
[ 1.443868] stm32-usart 5c000000.serial: interrupt mode for tx (no dma)
[ 1.450954] 5c000000.serial: ttySTM3 at MMIO 0x5c000000 (irq = 51, base_baud = 6250000) is a stm32-usart
D/TC:0 pm_domain_scv_handler:23 Enable PD 2
D/TC:0 pwr_scv_handler:56 PWR service: set 0x10000000 at offset 0xc
D/TC:0 pm_domain_scv_handler:23 Enable PD 1
[ 1.477938] /soc/dsi@5a000000: Fixed dependency cycle(s) with /soc/dsi@5a000000/mipi-panel
[ 1.484994] /soc/dsi@5a000000/mipi-panel: Fixed dependency cycle(s) with /soc/dsi@5a000000
D/TC:1 pwr_scv_handler:56 PWR service: clear 0x10000000 at offset 0xc
D/TC:1 pm_domain_scv_handler:23 Disable PD 1
D/TC:1 pm_domain_scv_handler:23 Disable PD 2
[ 1.530537] stm32f7-i2c 40013000.i2c: using dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers
[ 1.538833] stm32f7-i2c 40013000.i2c: STM32F7 I2C-1 bus adapter
[ 1.563533] stm32f7-i2c 5c009000.i2c: using dma2chan0 (tx) and dma2chan1 (rx) for DMA transfers
[ 1.571480] stm32f7-i2c 5c009000.i2c: STM32F7 I2C-2 bus adapter
D/TC:1 pm_domain_scv_handler:23 Enable PD 2
D/TC:1 pm_domain_scv_handler:23 Enable PD 1
*D/TC:0 pwr_scv_handler:56 PWR service: set 0x10000000 at offset 0xc
D/TC:0 pwr_scv_handler:56 PWR service: clear 0x10000000 at offset 0xc
D/TC:1 pwr_scv_handler:56 PWR service: set 0x10000000 at offset 0xc
D/TC:1 pwr_scv_handler:56 PWR service: clear 0x10000000 at offset 0xc
[ 1.640859] clk: Disabling unused clocks
Does someone have any leads as to where to start the investigation?
Thanks in advance.
Solved! Go to Solution.
2026-03-13 1:01 AM
OK so I have found the issue: I have missed this commit https://github.com/STMicroelectronics/linux/commit/943bbd7f5c66dc6bd04de05683661b4e9292c0a2 which changed the clocks used by the GPIOs to use SCMI ones.
2026-03-13 1:01 AM
OK so I have found the issue: I have missed this commit https://github.com/STMicroelectronics/linux/commit/943bbd7f5c66dc6bd04de05683661b4e9292c0a2 which changed the clocks used by the GPIOs to use SCMI ones.