Ask questions and find answers on STM32 microprocessors and dedicated embedded software solutions, such as Yocto SDK, Qt, and OP-TEE.
Most recent activity
Hello,I am building the SDK toolchain out of the ST Yocto Layer so I can use in on a local machine. I am having the following issue:WARNING: nativesdk-cmsis-svd-0.4+gitAUTOINC+f487b5ca7c-r0 do_fetch: Failed to fetch URL git://github.com/posborne/cmsis-svd.git;protocol=https;branch=master, attempting MIRRORS if available ERROR: nativesdk-cmsis-svd-0.4+gitAUTOINC+f487b5ca7c-r0 do_fetch: Fetcher failure: Unable to find revision f487b5ca7c132b8f09d11514c509372f83a6cb75 in branch master even from upstream ERROR: nativesdk-cmsis-svd-0.4+gitAUTOINC+f487b5ca7c-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/posborne/cmsis-svd.git;protocol=https;branch=master') ERROR: Logfile of failure stored in: /home/xxxx/dev/xxx-os/build-xxxx-yyyy/tmp-glibc/work/x86_64-nativesdk-ostl_sdk-linux/nativesdk-cmsis-svd/0.4+gitAUTOINC+f487b5ca7c-r0/temp/log.do_fetch.1538562 ERROR: Task (virtual:nativesdk:/home/xxxx/dev/xxx-os/layers/meta-st/meta-st-stm32mp/r
Hi,I am compiling a yocto custom layer, I am using this layerspoky/meta-poky \ poky/meta-yocto-bsp \ meta-openembedded/meta-oe \ meta-openembedded/meta-python \ meta-st-stm32mp \ custom-image \I was able to connect the LBEE5KL1DX Murata module to wifi via STA, however, I would like to use switch to the AP mode, I followed the steps in the post https://wiki.stmicroelectronics.cn/stm32mpu/wiki/How_to_configure_a_WLAN_interface_on_hotspot_mode After that, i am able to see the AP when I look in a smartphone, but after logging with the password configured, I see the message "IP configuration failure " on my smartphone.One thing I see suspicious is the inet when i run the command "ifconfig"Another thing i see weird is when i run the "networkctl status wlan0" command, specifically the Network File variable I also tried executing the bash script from a repository and it didn't work either https://github.com/STMicroelectronics/meta-st-openstlinux/blob/dunfell/recipes-sa
HiI have STM32MP157F-DK2 board and I am following StarterPackage Wiki document.(https://wiki.st.com/stm32mpu/index.php/STM32MP15_Discovery_kits_-_Starter_Package) I am following wiki and my STM32MP157F-DK2 board is not entering DFU mode. Here are the steps I tried to enter DFU mode. DeepSwitch is set to off and I am using 5V 3A charger for power. I connected OTG cable and inserted microSD into slot, turned on power and pressed Reset button. However, when I execute 'STM32_Programmer_CLI -l usb' command on PC, only 'No STM32 device in DFU mode connected' response is returned. What did I miss? I tested it on Windows PC and Ubuntu 20.04 PC respectively. Any help is very appreciated, thank you,
hi all, I am usingtoolchain: http://sources.buildroot.net/toolchain-external-arm-arm/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-linux-gnueabihf.tar.xzu-boot: git clone -b v2023.10-stm32mp https://github.com/STMicroelectronics/u-boot.gitTF: git clone -b v2.10-stm32mp-r1 https://github.com/STMicroelectronics/arm-trusted-firmware.git export CROSS_COMPILE to extracted toolchain: arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-Build u-bootmake ARCH=arm stm32mp15_defconfigmake DEVICE_TREE=stm32mp157f-dk2TF:make PLAT=stm32mp1 ARCH=aarch32 ARM_ARCH_MAJOR=7 STM32MP_SDMMC=1 STM32MP_EMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157f-dk2.dtb BL33_CFG=../u-boot/u-boot.dtb BL33=../u-boot/u-boot-nodtb.bin all fip copy the generated tf-a-stm32mp157f-dk2.stm32 and the fip.bin to the fsbl1 fsbl2 and fip partitions of the SD card. On board it hangs onNOTICE: BL2: Booting BL32 Do I need some additional menuconfig to set for u-boot?Exactly
I'm using en.stm32cubemp2-v1-1-0.zip plus patch file en.stm32cubemp2-v1-1-1.zip I'm trying to build CM0PLUS_DEMO for STM32MP257x-EV1 for the cortex-M0 core.I got planty of errors when trying to build it with STM32CubeIDE Version: 1.17.0 Build: 23558_20241125_2245 (UTC):Failed to generate command line.reason: Unknown target. I'm reviewing the 'How to use the Cortex-M0+' document for any advise on how to build the example but it does not give any expecial advise so I assume I have to use CubeIDE:https://wiki.st.com/stm32mpu/wiki/How_to_use_the_Cortex-M0%2B#Memories_RIF_configuration_exampleOther examples for the Cortex-M33 build correctly. Thanks in advance, Hector.
Hi,I try to use libpq library to connect postgresql from STM32MP157. It works on my computer. When I want to implement it to the board it doesn't work. I include path with .h but if I link libraries path I have that error.What I should do. Thanks in advance
Hey there,I'm trying to boot my custom stm32mp153c board using the new Scarthgap version of the meta-st-stm32mp layer. I had it working with the previous combination of optee 3.19 / kernel 6.1 (See this post). Ater some adaptation of device trees and my layer I've got OPTEE booting and loading the kernel, but unfortunately it stops right at the kernel loading. Any ideas what I might be missing or how to debug it further? Starting kernel ...D/TC:0 psci_cpu_on:172 core 1, ns_entry 0xc0301a40, state 0I/TC: Secondary CI/TC: Secondary CPU 1 switching to normal world bootD/TC:0 pwr_scv_handler:56 PWR service: write 0x0 at offset 0x28D/TC:0 pwr_scv_handler:56 PWR service: set 0x3f at offset 0x20I/TC: Reserved shared memory is disabledI/TC: Dynamic shared memory is enabledI/TC: Normal World virtualization support is disabledI/TC: Asynchronous notifications are disabledD/TC:1 0 stat_handle_fault:1740 nfaults 11264 npages 17 (min 16)D/TC:? 0 tee_ta_init_session_with_context:562 Re-open trus
Hello,I am trying to compile the Openst Linux for my custom board. I did it succeed in the Kirskstone distro which is based on tf-a. Now I try compiling the latest Openstlinux (6.0, scarthgap) with the optee-os but encounter a problem with the file generation. The problem I have is as followsWARNING: st-image-weston-1.0-r0 do_image_complete: Missing 'EULA_FILE_ST' var : no image license copied... WARNING: st-image-weston-1.0-r0 do_create_flashlayout_config: >>> Cannot generate FlashLayout_emmc_stm32mp157c-telemach-som-mx-opteemin.tsv file: the arm-trusted-firmware/tf-a-stm32mp157c-telemach-som-mx-opteemin-programmer-usb.stm32 binary for fsbl-boot partition is missing in deploy folder WARNING: st-image-weston-1.0-r0 do_create_flashlayout_config: >>> Cannot generate FlashLayout_sdcard_stm32mp157c-telemach-som-mx-opteemin.tsv file: the arm-trusted-firmware/tf-a-stm32mp157c-telemach-som-mx-opteemin-programmer-usb.stm32 binary for fsbl-boot partition is missing in deploy f
I've followed the READMEs for the installation of the dev package, source, and kernel and generated a build folder for the kernel as suggested at ~/st/stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06/sdk/Developer-Package/stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06/sources/aarch64-ostl-linux/linux-stm32mp-6.6.48-stm32mp-r1-r0/build In the build folder I see folders include, scripts, a link to source as well as files Makefile, .config .config.old, and .gitignore. When I run make ${IMAGE_KERNEL} vmlinux dtbs LOADADDR=0xC2000040 O="${OUTPUT_BUILD_DIR}" I get make[1]: *** No rule to make target 'Image.gz'. Stop.make: *** [/home/lelory/st/stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06/sdk/Developer-Package/stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06/sources/aarch64-ostl-linux/linux-stm32mp-6.6.48-stm32mp-r1-r0/linux-6.6.48/Makefile:234: __sub-make] Error 2 What am I doing wrong?
i am getting issue to install Tkinter . error - E: Unable to locate package python3-tkdoes we can not install Tkinter in STM32MP1 ? if there is anyway to install it then please let me know .
Hi all, Does anybody knows why there is no stm32mp157f-dk2 device tree for https://github.com/STMicroelectronics/u-boot/tree/v2025.01-rc4? make ARCH=arm stm32mp15_defconfig make DEVICE_TREE=stm32mp157f-dk2 Following commands work with stm32mp157c-dk2 but thats not the board I am using Regards
Hi there,The commit in question is rather huge and the general complaint is that commit message says nothing about the changes:commit fd1832de6fb8c184904b64b6bb2e7df58d78d8f1Author: Christophe Priouzeau <christophe.priouzeau@foss.st.com>Date: Thu Oct 31 15:03:41 2024 +0100U-BOOT: v2023.10-stm32mp-r1Change-Id: Ic24598b586631a0a3f7dae9b54b513ff87ad461aSigned-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>But only this particular snippet causes problems:+# do not populate image directory during install+do_install[noexec] = "1"Why was the assumption that it shouldn't be executed? In my case I use the default environment, which is supposed to be installed by the do_install task.
i am using stm32mp157d-dk1 and how to integrate stm32cubeide with qt
I am trying to create virtual keyboard in STM32MP157D-DK1. But while making I am getting this error. qt.qpa.wayland: qtvirtualkeyboard currently is not supported at client-side, use QT_IM_MODULE=qtvirtualkeyboard at compositor-side.Can anyone help me with this?
Master: I've been learning stm32mp157 recently, and I've encountered some problems with less detailed attribute descriptions in the yaml documentation of mp157 in the linux directory, and I want to understand their usage clearly. For example, the clocks property in the stm32-pinctrl.yaml file does not specify how its property values are composed, only the example: clocks = <&rcc 0 STM32F4_AHB1_CLOCK(GPIOA)>; I don't know what these property values (like the second parameter 0) mean, the link provided by the documentation:$id: http://devicetree.org/schemas/pinctrl/st,stm32-pinctrl.yaml#$schema: http://devicetree.org/meta-schemas/core.yaml#The relevant documentation information could not be found, So where can I get a detailed documentation? Thank you!
I'm pleased to share stm32mp-sign-tool with the community : It is a lightweight open-source alternative to STM32_SigningTool_CLI that does not require the full STM32CubeProgrammer installation and dependencies. GitHub Repository: https://github.com/embetrix/stm32mp-sign-tool
Hi All.Our target, using the STM32MP153c, shall boot secure. The signing private keys should not be accessible via the filesystem. The secure boot signing is implemented with development keys within yocto at moment. Moving to productive environment will need to use the private secrets from a smart card in a kind of after-yocto signing script.Currently all private keys used to sign images are in files on filesystem. To sign the TF-A the STM32MP_SigningTool_CLI seems to be feasible of using a secret provided via smartcard, but how to achieve this with the create_cert and/or fiptool for signing the fip image? Especially as the STM32MP_SigningTool_CLI and fiptool should use the same private key. (from my expectation because there is only one public key hash in OTP used to verify the signatures by bootrom and tf-a).At moment I do not see any other solution then having the private key in filesystem what is not useable in our productive environment. Please hint how to sign the fip image with
Hello everyone,We are currently using the v5.15-stm32mp-r2 kernel for our EV charging system and have decided to upgrade to v6.1-stm32mp-r2 for its long-term support. I successfully compiled the v6.1-stm32mp-r2 kernel using Buildroot by replacing the kernel tarball. During the process, I fixed issues in the device tree source (DTS) file, including sram and clock references. After resolving these, I was able to compile the final image.However, when I flash the image onto the STM32MP157C, the boot process halts at the message "Starting kernel..." with no further logs. This suggests the kernel is crashing early in the boot process.I suspect the changes I made shouldn’t cause such a critical failure, but debugging is difficult without any output. I am trying to enable early printk for more insight into the kernel’s initialization, but I am struggling to get it working. I am considering adding log traces to the start_kernel function as a next step.For now, I have not replaced U-Boot or made
Hello everyone,I'm new to the STM32 and Linux environment and have a question.I am using the STM32MP157d-dk1 and have been following the getting started guide(see : https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Create_a_simple_hello-world_application ) and how to cross-compile with Developer-Package ( see : https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_Package#Adding_a_.22hello_world.22_user_space_example ) and it all works fine. But I'd like to know how to do the same thing but using a .py file instead of .c file from my host machine as i want to mainly use python for my development. Thanks for your assistance.Regards.
Hi everyone,I've designed a custom board using the STM32MP157. Rather than using an ST-Link, I'm planning to flash the code using DFU mode. To do this, I've installed STM32CubeProgrammer on my PC and connected the USB cable to the board. However, CubeProgrammer isn't detecting the STM32MP157, even though I've configured the BOOT pins for DFU mode.I'm wondering if I'm missing something. Can anyone guide on this issue?
I have been using 1.16 workspace on cube IDE but today upon opening, the convert to C++ option was missing.I have tried updating to 1.17 but no help.Any Ideas?
Hi All,I created dts and defconfig patches for u-boot but when I checked the nodes with dm treecommand video and backlight not probed, can anyone help?Regards
Good morning, everyone,I am working on a board that mounts STM32FMP25x, with Yocto, and I am having problems with the kernel logo.I've enabled and customized the pslash-drm image and that works (it would be curious to understand why it has to be 1 px narrower and 1 px shorter than the screen resolution but that's another task).Problem: the boot is really slow and I need something to appear on the screen before the 20'' needed for the psplash-drm to appear.I am not a great expert, but from what I remember of Yocto, and the Linux kernel, it should also be possible to make a kernel logo appear (so I have done with all the platforms I have worked on in the past).In the .config of my kernel the CONFIG_LOGO_LINUX_CLUT224=y entry is set correctly, but unfortunately I don't see anything on the screen.I do not understand if and what I am doing wrong.I have not customized the image yet so the problem should not be about the image format.Do you have any advice?I thank you very much in advance.&nb
Hi,I am using my custom board based on stm32mp1, and I want it boot silently, including tf-a, optee, uboot and kernel. I don't need debug message from uart console anymore.I want to have it done in Yocto, is it possible? Thanks
Hello i have STM32MP157 board with A7 and M4 processors, i am trying to setup OpenAMP which works when i use the OpenAMP_TTY_echoBut when i try to create a new project from:SMT32Cube IDE 1.16.0 versionSTM32MP1 version: 1.6.0I cannot seem to make it workFor example, when i deploy the example it properly opens the port /dev/ttyRPMSG0 and when i read with this command cat /dev/ttyRPMSG0 it wait for messages , so i connect to another temrinal send some messages and receive them perfectlyBut when i try to use generated project the port is not even open and this is my output of the rpmsg0 :[ 1.668065] rpmsg_sdb_drv_init(rpmsg_sdb): Init done[ 40.830549] virtio_rpmsg_bus virtio0: creating channel rpmsg-tty addr 0x400[ 40.837511] virtio_rpmsg_bus virtio0: creating channel rpmsg-tty addr 0x401[ 40.848325] virtio_rpmsg_bus virtio0: rpmsg host is onlineLooks good , also when starting the processor:root@myir:~# dmesg | grep remoteproc[ 1.667805] remoteproc remoteproc0: releasing m4[ 1.749203] remo
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.