Ask questions and find answers on STM32 microprocessors and dedicated embedded software solutions, such as Yocto SDK, Qt, and OP-TEE.
Most recent activity
I am trying to run my QT app directly on HDMI without wayland but for some reason it doesnt work. I am using the EGLFS root@stm32mp1:~# export QT_QPA_PLATFORM=eglfsroot@stm32mp1:~# export QT_QPA_EGLFS_ALWAYS_SET_MODE=1root@stm32mp1:~# export QT_QPA_EGLFS_INTEGRATION=eglfs_kmsroot@stm32mp1:~# export QT_QPA_EGLFS_KMS_DEVICE=/dev/dri/card1root@stm32mp1:~# ./appFridGui-sh: ./appFridGui: not foundroot@stm32mp1:~# appFridGuiDetected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.If this causes problems, reconfigure your locale. See the locale(1) manualfor more information.drmModeGetResources failed (Operation not supported)[ 406.915847] appFridGui[760]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL setCannot create window: no screens availableAbortedPlease help.
Several links on page about CRA are broken:https://wiki.st.com/stm32mcu/wiki/Security:Q%26A_for_CRA https://wiki.st.com/stm32mcu/wiki/Security:Deep_dive_on_CRAFor this item, and in addition to solutions explained in (e), ST proposes several solutions of Secure storage.
1. Qt6 Multimedia (PySide6) – 1080p Video Playback RequirementOur application requires smooth video playback using Qt Multimedia with PySide6 at resolutions up to 1080p.I understand that Qt6 supports hardware acceleration for 3D graphics through the GPU, but I was unable to find confirmation regarding hardware-accelerated video decoding specifically for QtMultimedia.Could you please confirm whether the STM32MP257 series supports:Hardware-accelerated video decoding at 1080pIntegration of QtMultimedia with the hardware video pipelineSupport through OpenSTLinux / Yocto2. Chromium Browser – GPU-Accelerated Video PlaybackWe also require GPU-accelerated HTML5 video playback (1080p) in the Chromium browser.Please confirm whether the STM32MP257 series provides:A Video Processing Unit (VPU) or dedicated hardware decoderGPU acceleration support within Chromium (ANGLE / EGL / GStreamer backend)Hardware-offloaded 1080p video decoding for browser playback3. Requirement Summary (for confirmation)We
Dear ST Support Team, I am seeking technical assistance for two critical issues I am encountering while developing on the STM32MP157F-DK2 (Kernel 5.10.61, Ecosystem v3.1). Issue 1: GLIBC Compatibility When running applications compiled on my host machine, I receive the error: /lib/libc.so.6: version 'GLIBC_2.34' not found. I am attempting to cross-compile using the correct SDK for Ecosystem v3.1, but I am struggling to locate the compatible toolchain/environment for my specific kernel version (5.10.61). Issue 2: Device Tree (.dts) Configuration I am unable to enable additional peripherals (specifically UART7). Despite updating the .dts file to set status = "okay", the peripheral remains disabled on the target board (verified via cat /sys/firmware/devicetree/base/soc/.../status). It appears the system is ignoring my device tree updates and defaulting to the internal bootloader configuration. Attachments:Screenshot showing the GLIBC error on the board.Screenshot of th
We have a custom stm32mp25 board. On Mickledore we were able to create a/b partitions in our machine conf doing the following: PARTITIONS_IMAGES += "tc-appfs-a tc-appfs-b" STM32MP_TCFS_IMAGE ?= "ti-tc-appfs" STM32MP_TCFS_LABEL_A ?= "tc-appfs-a" STM32MP_TCFS_LABEL_B ?= "tc-appfs-b" STM32MP_TCFS_MOUNTPOINT ?= "/tc-apps" # Proposed value for tc-appfs is 150MB STM32MP_TCFS_SIZE ?= "153600" PARTITIONS_IMAGES[tc-appfs-a] ?= "${STM32MP_TCFS_IMAGE},${STM32MP_TCFS_LABEL_A},${STM32MP_TCFS_MOUNTPOINT},${STM32MP_TCFS_SIZE},FileSystem" PARTITIONS_IMAGES[tc-appfs-b] ?= "${STM32MP_TCFS_IMAGE},${STM32MP_TCFS_LABEL_B},${STM32MP_TCFS_MOUNTPOINT},${STM32MP_TCFS_SIZE},FileSystem" PARTITIONS_LIST += "tc-appfs-a tc-appfs-b" However, in scarthgap this no longer works. We are getting the following error:Cannot generate FlashLayout_emmc_stm32mp257f-m670-optee.tsv file: the ti-tc-appfs-ti-linux-stm32mp25-m670.tc-appfs-a.ext4 binary for tc-appfs-a partition is missing in deplo
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.00000
I get this issue. I don't know why the GPU and CPU is considered deferred by op-tee.I think this is a configuration issue, but I don't know what need to be done. I have tried stm32mp257f-dk device treee and it still gives the same error. Notice that I'm not using LSE.So any suggestion? Enable something in RIF?D/TC:0 0 dt_stm32_gpio_bank:1176 Bank name gpio@442b0000 D/TC:0 0 firewall_dt_controller_register:289 Registering gpio-bank-H firewall controller D/TC:0 0 dt_stm32_gpio_bank:1176 Bank name gpio@442c0000 D/TC:0 0 firewall_dt_controller_register:289 Registering gpio-bank-I firewall controller D/TC:0 0 probe_driver_node:550 element: stm32_gpio-pinctrl on node pinctrl@44240000 initialized F/TC:0 0 probe_driver_node:543 Probing stm32-rtc on node rtc@46000000 D/TC:0 0 probe_driver_node:556 element: stm32-rtc on node rtc@46000000 deferred 2 time(s) F/TC:0 0 probe_driver_node:543 Probing stm32_gpio-pinctrl on node pinctrl-z@46200000 D/TC:0 0 dt_stm32_gpio_bank:1176 Bank name gpio@46200000
STM32MP151 is a PTP slave clock, and the master clock is correctly determined and configured. In the same network, multicast, E2E, and one-step configuration modes are used. Run ptp4l,Output prompt: "Received SYNC without timestamp". the actual SYNC message of the main clock has a hardware timestamp.Other relevant information can be found in the info1. log file.STM32MP151 is the PTP slave clock IP: 192.168.1.251, the PTP master clock IP: 192.168.1.3, Captured data packet shows that the master clock has a timestamp, and the slave clock DELAY_REQ has no timestamp.翻译搜索复制
I am trying to follow getting started document for X-LINUX-GNSS1At Step 4.Add a layer (recipes-gnss1).of section 5.2.1 I am getting below error. ERROR: Layer meta-gnss1 is not compatible with the core layer which only supports these series: scarthgap (layer is compatible with mickledore)
Hi Community,We are encountering an issue with the SD-Card on our STM32MP15x board. The problem is, that writing to the SD card works well but the reading does show sporadic errors.In our configuration, we use 1TB MicroSD-Cards in the DDR50 Mode. In DDR25 mode, the SD card is working fine. Unfortunately, we need the DDR50 Mode (or faster) for our product.First, let me describe the test scenario: I wrote ~500GB uint64_t ramp data in little endian byte order to a SD-Card, and verified on an external device, that the ramp data have been written correctly. A dump of the first 64 bytes looks as follows:root@gdl1-31:~# hexdump -C -n 64 /dev/mmcblk0 00000000 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 |................| 00000010 02 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 |................| 00000020 04 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 |................| 00000030 06 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 |................| 00000040In the next step, I wrote a little te
Hello,I successfully used linuxptp with stm32mp257f-dk board, but now need to do the same with stm32mp157f-dk2. linuxptp was built from the same latest sources for both boards using corresponding SDK for each board. But when ptp4l is running on stm32mp157f-dk2, debug output shows that required clock adjustments are not being applied to raw ptp clock: I tried to rebuild uImage and modules for stm32mp157f-dk2 using latest sources from v.25.08.27, but result was still the same. PTP clock is registered and is using hw timestamping according to ethtool:Time stamping parameters for end0:Capabilities:hardware-transmitsoftware-transmithardware-receivesoftware-receivesoftware-system-clockhardware-raw-clockPTP Hardware Clock: 0Hardware Transmit Timestamp Modes:offonHardware Receive Filter Modes:noneallptpv1-l4-eventptpv1-l4-syncptpv1-l4-delay-reqptpv2-l4-eventptpv2-l4-syncptpv2-l4-delay-reqptpv2-eventptpv2-syncptpv2-delay-req I'm using L2 twostep synchronization mode.Additional linuxptp deb
I having some issues with nvram in op-tee.I don't know what this happen. It seems that op-tee want to say to me that 0xffff0006 is TEE_ERROR_BAD_PARAMETERS. In this case, I don't use any tamper and don't have LSE.I think this is a bug because my ST TF-A and ST Op-tee assumes that LSE must be available to proceed. I made a specific hack in ST TF-A that avoids the LSE configuration to continue working. When ST TF-A was starting. It was going to enable clock ID 5, which is LSE, no matter if I have LSE disabled or enable. An if-statement solved this issue.Do you have any clue what's can be the cause of this?Processor: STM32MP257FAK F/TC:0 0 process_probe_list:657 Probe loop 6 after 4 for deferral(s) D/TC:0 0 print_probe_list:504 Probe list: 3 elements D/TC:0 0 print_probe_list:506 |- Driver stm32-gpu probes on node gpu@48280000 D/TC:0 0 print_probe_list:506 |- Driver stm32-tamp probes on node tamp@46010000 D/TC:0 0 print_probe_list:506 |- Driver stm32-cpu probes on node cpu@0 D/TC:0 0
i have been working on secure boot of stm32mp131c with spi-nand flash. I want to secure my filesystems as well appfs and rootfs. Is there possible ways to do so?
HiI'm trying to configure a camera chip NVP6324 (Nextchip) in the device tree. How to setup 4 virtual channels ? The chip is using MIPI with 2 lanes.Best RegardsRaimo
Hello everyone.I'm working on a bare metal project for STM32MP135D using FreeRTOS (V10.6.2) and LwIP (V2.1.0).I write a custom TCP server that work together with a custom UDP client. Both this use raw API. I'm experimenting strange problems:sometime the TCP server not ack the respective client or not provide resoinse to it.I've notice that if putting around tcp_output() and udp_send() a LOCK_TCPIP_CORE/UNLOCK_TCPIP_CORE the problem seems disappear. You think there is a problem on this LwIP implementation or in my lwipopts.h settings?At follow my "lwipopts.h" Thanks in advance for your help #ifndef __LWIPOPTS_H__#define __LWIPOPTS_H__/*** NO_SYS==1: Provides VERY minimal functionality. Otherwise,* use lwIP facilities.*/#define NO_SYS 0/* ---------- Memory options ---------- *//* MEM_ALIGNMENT: should be set to the alignment of the CPU for whichlwIP is compiled. 4 byte alignment -> define MEM_ALIGNMENT to 4, 2byte alignment -> def
Following the instruction from https://github.com/STMicroelectronics/meta-st-stm32mp/blob/thud/recipes-kernel/linux/linux-stm32mp/README.HOW_TO.txt* Configure on a build directory (different of kernel source code directory) Here for example, build directory is located at the same level of kernel source code $> cd <directory to kernel source code> $> mkdir -p ../build$> make ARCH=arm O="$PWD/../build" multi_v7_defconfig fragment*.configThen got the following messagemake[1]: Entering directory '/home/tim/stm32mp1-openstlinux-4.19-thud-mp1-19-10-09/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/build' GEN ./Makefile## configuration written to .config# GEN ./Makefile/home/tim/stm32mp1-openstlinux-4.19-thud-mp1-19-10-09/sources/arm-openstlinux_weston-linux-gnueabi/linux-stm32mp-4.19-r0/linux-4.19.49/scripts/kconfig/Makefile:109: *** N
Hello!Please tell me how to create a basic C/C++ BareMetal project in CubeIDE for the A35 core of the STM32MP257F-DK board?When I create a project for STM32MP1 I have a choice to create a "BareMetal" project or a Linux project.Unfortunately, when I create a project for STM32MP257F-DK, I did not find such an opportunity for the A35 core. Only a Linux project.Considering that I need LVDS on the board, I cannot switch to the STM32MP1 series and the Linux boot time does not suit the customer.My CubeIDE Version: 1.18.0Build: 24413_20250227_1633 (UTC)
I'm attempting to modify STM32DDRFW-UTIL to test my DDR on a custom board, but when I try to connect via putty I get a continuous loop of error codes "Unknown command" without ever typing anything into the console. I noticed that the console header seems to be appearing on the input line (see attached photo). I can't figure out if this issue is caused by an incorrect DDR setup on my side or something more on the hardware side (i.e. something I don't know). Any input would be appreciated, thanks!
Hi, I have made a custom board with stm32mp135fand I tried to boot using yocto for stm32mp135f-dk and got an error in the tf-a part(fsbl) because i do not have a pmic in my board,every change that i am doing for the dts file i get an error when i "bitbake tf-a-stm32mp",each time is a different error.Can someone help me with how to change the dts file for it to work?
Hi ST Team, First of all, I would like to thank you for your support on my previous project based on the STM32MP255D series, which has now successfully moved into production. First of all, I would like to thank you for your support on my previous project based on the STM32MP255D series, which has now successfully moved into production.Currently, I am working on a new project that is entirely focused on Ethernet-based communication. Below is my design requirement and a clarification request:Project RequirementThe system requires three Ethernet interfaces in total:Ethernet 1: Operates in standalone mode (independent network).Ethernet 2 and Ethernet 3: Should function as switch ports, supporting STP (Spanning Tree Protocol) for loop prevention.Network Topology and Data FlowEthernet 1 is used for independent communication (standalone).Ethernet 2 connects to Device A, which is daisy-chained to Device B.The last device (Device B) connects back to Ethernet 3, forming a potential loo
Hello, I am using and stm32mp157c-odyssey SoM with a custom made motherboard, However I am having issues getting the usb port function properly.I am using otg fs. It fails the enumeration in the pc side and gets stuck at L1 sometimes and other errors. I still don't know if it's a hardware or software related issues. I am configuring it as device only. below I will include picture of the usb schematic, the logs, as well as the device tree node. Note : We are not using otg_fs_id it's not connected to anythhing , and vbus comes directly from the PC host to the OTG_vbus pin so no vbus gpio.Using yocto image 6.1 mickledore.&usbotg_hs {compatible = "st,stm32mp15-fsotg", "snps,dwc2";status = "okay";pinctrl-names = "default";pinctrl-0 = <&usbotg_fs_dp_dm_pins_a>;dr_mode = "peripheral";};
Hi!I wonder how I can bypass"Locking RIF conf for peripheral" inside CubeMX.In this case, op-tee is locking peripheral 34, which is the USART6 console output. Hence, that's the last message.I need to unlock peripheral 34. How can I do that? F/TC:0 0 probe_driver_node:543 Probing stm32-exti on node interrupt-controller@46230000 D/TC:0 0 stm32_exti_rif_parse_dt:423 No global lock on RIF configuration D/TC:0 0 probe_driver_node:556 element: stm32-exti on node interrupt-controller@46230000 deferred 1 time(s) F/TC:0 0 probe_driver_node:543 Probing stm32_gpio-pinctrl on node pinctrl-z@46200000 D/TC:0 0 probe_driver_node:556 element: stm32_gpio-pinctrl on node pinctrl-z@46200000 deferred 1 time(s) F/TC:0 0 probe_driver_node:543 Probing stm32-tamp on node tamp@46010000 D/TC:0 0 probe_driver_node:556 element: stm32-tamp on node tamp@46010000 deferred 1 time(s) F/TC:0 0 probe_driver_node:543 Probing stm32-rtc on node rtc@46000000 D/TC:0 0 probe_driver_node:556 element: stm32
Dear ST Community,We are working with the STM32MP257F-EV1 evaluation board and using the Yocto Distribution Package for our software stack.Our intended boot sequence is:Boot starts from the Cortex-M33 core.The M33 firmware is responsible for triggering the boot of the Cortex-A35 core.We would like to confirm:Is this boot flow supported on the STM32MP25x platform?If yes, could you please share the recommended procedure or reference steps to implement this?Any guidance or official documentation links would be greatly appreciated.Thanks and Regards,Ishan
Hello, everyone! I am trying to program files generated by CubeMX(6.15.0) onto the STM32MP257F-DK. 1. Downloaded the FlashLayout_sdcard_stm32mp257f-dk-optee.tsv in the Starter Package installation folder. 2. When I ran some of the example in the repository using the CubeIDE, I confirmed that they worked normally. (C:\Users\20005\STM32Cube\Repository\STM32Cube_FW_MP2_V1.2.0\Projects\STM32MP257F-DK\Applications\FreeRTOS\FreeRTOS_ThreadCreation)3. Created a file using the CubeMX's Board Selector and modifed only a few configurations.4. Why does this Error window appear? I can't find which settings are wrong.5. I got an error (IAC, SERC)Is there a difference between the example in the repository and how to run the file generated by CubeMX?Attached the CubeMX.ioc file.Please help me.
Hello,I'm working with the STM32MP257F-DK using the Yocto Project, and I'm trying to enable I2C in my custom Device Tree.However, I’m facing an issue where the I2C controllers remain stuck because of power-domain pending states.Here is the relevant dmesg output showing the problem:It looks like the D1 power domain never reaches sync_state(), which prevents the I2C drivers from probing correctly.I suspect a configuration issue in the power-domain hierarchy or in my SoC/board Device Tree, but I haven’t found the root cause yet.Could someone help me understand what is missing to properly enable the I2C controllers and bring the D1 power domain out of the pending state?Thanks in advance for your support.
WATCH ON-DEMAND | STM32 Summit 2026
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.