Ask questions and find answers on STM32 microprocessors and dedicated embedded software solutions, such as Yocto SDK, Qt, and OP-TEE.
Most recent activity
Hi, Currently I am working on how to use use cryp1 and cyp2 hardware efficiently. How to know it is using crypto hardware when working with openssl. how to check the efficiency?Currently these configurations are enabled in my kernel.CONFIG_CRYPTO_DEV_STM32_CRC=yCONFIG_CRYPTO_DEV_STM32_HASH=yCONFIG_CRYPTO_DEV_STM32_CRYP=y but still I am not able see /dev/crypto dev is listed.Currently my cat /proc/crypto output is something like thisname : cmac(aes)driver : cmac(aes-arm)module : cmacpriority : 200refcnt : 4selftest : passedinternal : notype : shashblocksize : 16digestsize : 16name : aesdriver : aes-armmodule : aes_armpriority : 200refcnt : 3selftest : passedinternal : notype : cipherblocksize : 16min keysize : 16max keysize : 32name : aesdriver : aes-genericmodule : aes_genericpriority : 100refcnt : 1selftest : passedinternal : notype : cipherblocksize : 16min keysize : 16max keysize : 32name : ccm(aes)driver : stm32-ccm-aesmodule : stm32_cryppriority : 200refcnt : 1selft
Hello, I'm Trying to stream camera over network(ubuntu), using the procedure from STM wiki. But couldn't able to stream.When I run command in STM32MP135F-DK board, I get the following root@stm32mp13-disco:~# GST_DEBUG=3 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, format=YUY2, width=640, height=480, framerate=30/1 ! encodebin profile="image/jpeg" ! rtpjpegpay! udpsink host=192.168.23.93 port=5000Setting pipeline to PAUSED ...Pipeline is live and does not need PREROLL ...Pipeline is PREROLLED ...Setting pipeline to PLAYING ...New clock: GstSystemClock0:00:00.324857791 4805 0x1e8150 WARN v4l2 gstv4l2object.c:4531:gst_v4l2_object_get_crop_rect:<v4l2src0:src> VIDIOC_CROPCAP failed0:00:00.353511875 4805 0x1e8150 WARN v4l2 gstv4l2object.c:4531:gst_v4l2_object_get_crop_rect:<v4l2src0:src> VIDIOC_CROPCAP failed0:00:00.361027041 4805 0x1e8150 WARN v4l2bufferpool gstv4l2bufferpool.c:848:gst_v4l2_buffer_pool_start:<v4l2src0:pool0:src> Uncertain or not enoug
I wonder if any one who owns a board with STM32MP2-processor can tell me if Youtube is working well on that board? Some one who can setup a STM32MP-dev board, install Firefox and go into youtube and post some images of that process?
Hello everyone,I get an error when booting Linux + initramfsThe versions of the main components are:ComponentVersiontf-a-stm32mpv2.6-stm32mp-r2.2optee-os-stm32mpv3.16.0-stm32mp-r2.2u-boot-stm32mpv2021.10-stm32mp-r2.2linux-stm32mpv5.15.145-stm32mp-r2.2bootcmd: setenv boot_device mmc; setenv boot_instance 0; setenv boot_partition 5; setenv fit_addr C2000000; mmc partactive ${boot_instance}; mmc partconf ${boot_device} 1 1 0; load ${boot_device} ${boot_instance}:${boot_partition} ${fit_addr} fitImage-foo-image-initramfs; setenv bootargs console=ttySTM0,115200 FIT_IMAGE_PART=${boot_partition} debug loglevel=8; bootm ${fit_addr}; error: [ 2.588644] rootfs image is not initramfs (write error); looks like an initrd [ 2.588766] /initrd.image: incomplete write (-28 != 32769317) [ 2.753422] Freeing initrd memory: 32004K From my research I found that:-28: ENOSPCwhich means No space left on device.If I add: setenv initrd_high 0xFFFFFFFF The error does
Hello everyone,I am trying to migrate a project for the STM32MP151C from dunfell to kirkstone.The versions of the main components I am using are the following:ComponentVersiontf-a-stm32mpv2.6-stm32mp-r2.2optee-os-stm32mpv3.16.0-stm32mp-r2.2u-boot-stm32mpv2021.10-stm32mp-r2.2linux-stm32mpv5.15.145-stm32mp-r2.2 The project intends to have a custom u-boot environment. For this a patch is applied to modify CONFIG_EXTRA_ENV_SETTINGS in stm32mp15_common.h, like this:#define FOO_USBFLASH_BOOTFS "foo_usbflash_bootfs=" \ "load usb 0:1 ${loadaddr} foo-image-bootfs-foo-core-stm32mp151c-foo.ext4;" \ "mmc write ${loadaddr} 2400 20000;" \ "mmc write ${loadaddr} 22400 20000;\0" #define CONFIG_EXTRA_ENV_SETTINGS \ STM32MP_MEM_LAYOUT \ STM32MP_BOOTCMD \ STM32MP_PARTS_DEFAULT \ BOOTENV \ FOO_USBFLASH_BOOTFS \ STM32MP_EXTRA \ STM32MP_BOARD_EXTRA_ENVThis approach worked perfectly fine in the old version of the project, but now when the system boots into u-boot I see that the cus
Hello, we have trouble finding any dts example for USB dual role utilizing STPMIC1 internal boost regulator and power switches. Our design is pretty close to attached scheme (from AN5260 page 6).We need to know how to use stpmic1 linux driver to dynamically start and stop boots regulator and power swich on USB device insertion. We use USB-C witch additional IC but for simplicity just assume oldstyle ID pin and VBUS detection.Could we get information what we need to do for this functionality to work? Any driver modyfications needs to be done? Maybe theory of operation (linux side)?Any starting point for further work will be helpful. Thank you!
Hi there,I'm new to the Yocto project and have been following this tutorial series in order to familiarise myself with the process. In the series, the presenter is using an STM32MP157 Discovery Kit to walk through the process. I initially followed the tutorial to the letter, and managed to build an image using the Poky reference distro, along with the ST BSP. I noticed that no image was made for the board I am using (STM32MP135-DK), so I decided to rebuild my image using the "stm32mp13-disco" machine present under "/meta-st-stm32mp/conf/machine". After rerunning "bitbake core-image-minimal" I was met with the following error: ERROR: Could not invoke dnf. Command '/home/<my username>/Projects/yocto/build-mp1/tmp/work/stm32mp13_disco-poky-linux-gnueabi/st-image-userfs/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/<my username>/Projects/yocto/build-mp1/tmp/work/stm32mp13_disco-poky-linux-gnueabi/st-image-userfs/1.0-r0/rootfs/etc/dnf
Hello Guys.I look at the following wiki Page and try Image Build(https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_machine).The MPU used is stm32mp157f.I am working on modifying a part in stm32mp157f-ev1 in CubeMX to make a My custom board.It was going without a problem.But at the end, the following error appears.ERROR: st-image-userfs-1.0-r0 do_rootfs: Unable to install packages. Command '/home/parksh/STM32MPU_EV1_Workspace/SDK/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-06-24/build-openstlinuxweston-stm32mp1-HSOT_GW01/tmp-glibc/work/stm32mp1_HSOT_GW01-ostl-linux-gnueabi/st-image-userfs/1.0-r0/recipe-sysroot-native/usr/bin/apt-get install --force-yes --allow-unauthenticated --no-remove m4projects-stm32mp1-userfs packagegroup-st-demo linux-examples-stm32mp1-userfs' returned 100: Reading package lists... Building dependency tree... Package m4projects-stm32mp1-userfs is not available, but is referred to by another package. This may mean that
Hi ST Team ,previously i used the MP1 processor where the video lagging issues, so know i decided to move on another processor who can play the high resolution video above 1080 P @30FPS, Note: i do not want any HDMI IC's , i want direct pin(RGB) through the processor to our HDMI port,please suggest me which Processor should be better.
I use the STM32MP135F-DK development version because STM32MP135F-DK does not have a PCIe interface. Is there any way I can use my STM32MP135F-DK in a 4G/5G module?(It can best be applied to the speed requirements of 5G)
Hello, While building the OpenSTLinux distribution, When I do repo init facing the following error#:~/hdd/Light_OS/Distribution_Package$ repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-6.1-yocto-mickledore-mpu-v24.06.26Get https://gerrit.googlesource.com/git-repofatal: unable to connect to gerrit.googlesource.com:gerrit.googlesource.com[0: 142.251.12.82]: errno=Connection timed outgerrit.googlesource.com[1: 2404:6800:4003:c11::52]: errno=Network is unreachablefatal: cloning the git-repo repository failed, will remove '.repo/repo' Thanks in advance for the solution. Regards,Ezvan.
I modified an FSBL example to get to the root of the problem (everything else being as in the example). volatile int rrr = 0; void SGI0_IRQHandler(void) { while (1) { rrr++; }; } int main() { HAL_Init(); SystemClock_Config(); IRQ_Disable(SGI0_IRQn); IRQ_SetPriority(SGI0_IRQn, 0); IRQ_Enable(SGI0_IRQn); while(1) { GIC_SendSGI(SGI0_IRQn, 1, 0); } } This works perfectly in thumb mode, but when I switch to ARM (that probably should give slight performance boost for my DSP task), the interrupt is stuck in Vectors section, without doing anything.The LR is weird, and I cant get my head around how is it possible that is has LR = 0x2ffe0106 (not multiple of 4)As if the core switched to thumb mode without address being odd and started executing instructions in 16 bit mode.Thanks for any advice :)
how to set up the meta-qt5 toolchain, cross compilation and Qt creator in order to deploy Qt applications to a target STM32MP157d-DK1 from a linux host machine.please give me step wise instruction on how to do
Hi there TouchGFX team!I've a STM32MP135F-DK and I would like to run it using QT, where do I start?QT seems to have several examples but there's a lot of apps that I don't even know where to start. Thanks a lot in advance!
I'm playing DOOM on my STM32-Computer (STM32MP151). It's playable for a smal resolution (320x240). For higher resolution, it's not playable.But I think I have the reason why it's slower for higher resolutions. MESA: error: ZINK: failed to choose pdev libEGL warning: egl: failed to create dri2 screen These are the errors and warnings I got when I play DOOM. They are graphics related. So what software do I need to install to make the 3D rendering more proper?I'm guessing that it's the following for STM32MP15X, but what are the name of the .deb packages?OpenGL® ES 1.1 and 2.0OpenVG® 1.1EGL™ 1.4https://wiki.st.com/stm32mpu/wiki/GPU_internal_peripheral#On_STM32MP1-linesNOTE: The DOOM engine is not real 3D. It's pseudo 3D, called 2.5D.
As the headline suggests, I would like to know if ST has a proper API documentation for libiio.All I found was this : https://wiki.st.com/stm32mpu/wiki/How_to_use_the_IIO_user_space_interfaceBut I am not interested in shell commands and scipts.There is the option of accessing iio via the file system interface, i.e. file read() / write() calls to access it via /sys/bus/iio/devices, but this is not my preferred route.Does have ST something like this ?https://wiki.analog.com/resources/tools-software/linux-software/libiio_internalsAnd if not, is this AD wiki also valid for ST's implementation ?
Hi!When I use this device tree nodes, or very similar. I get this error code:As you can see, I'm getting this kind of errors. I don't know if the Device Tree or the IC chip is faulty. I would like to know if there are any ways to find out if the IC chip is the cause of the problem or if there is any way for me to find out if the USB2514B is faulty. Can you give me any suggestions?I have checked the hardware configuration and it seems to be in order. I have checked the voltage levels. It seems very OK as well. All VDD are 3.3VAlla REM[0:1] is 0VVBUS_DET is 3.3VRBIAS is about 1.2V because there is a 12 kOhm pull-down resistor thereAll PRTPWR[0:3] are 0VAll SEL[0:1] are 0VTEST is connected to GNDAll OSC_N[0:3] are closed with their pull-up on about 2.5VRESET_N is 3.3VPLLFILT is connected to a capacitor to GNDXTALIN is 0.63VXTALOUT is 0.64VUSBDM_UP is 0VUSBDP_UP is 3VOnce RESET_N goes low, the error codes in Linux terminal will re-write the error codes again. So I guess that the RESET
Hi,I am now adapting the stm32mp13 bare metal bootloader FSBLA_Sdmmc1 for stm32mp157, and have achieved good results. However, since the sd card partition table of stm32mp13 is different from the common gpt partition table, the full function of this bootloader cannot be fully utilized. I guess it is due to the sd external loader. Therefore, I hereby apply to the STMicroelectronics support teams for the source code including the following content to adapt my subsequent content1.sd external loader2.emmc external loader3.snor external loaderThank you, the following is my github repository for storing the bootloader and program of mp15https://github.com/youngsea2000/STM32MP1xx_Baremetal
Hello everyone.I have a problem compiling my Yocto for stm32mp157c-dk2 project. I run the bitbake command from build "bitbake -e core-image-minimal".I get the error message:Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS:tune-cortexa7}cortexa7 stm32mp157c_dk2) for DEFAULTTUNE (cortexa7) does not contain TUNE_PKGARCH ().Toolchain tunings invalid:Tuning 'cortexa7' has no defined features, and cannot be used.I tried to solve without success.Anyone know how to solve it?ThanksMikiserf
Hi ST Team,Hi i am trying to add the x11 support for Stm32mp1, but how to setup i do not know.* **st-example-image-x11** (with **openstlinux-x11** distro):Image which demonstrates an example of Basic X11 usage.* **st-example-image-xfce.bb** (with **openstlinux-x11** distro):Image which demonstrates an example of X11 usage with XFCE as UI.i found this line into README,how to to this.
We are doing a custom board bring-up and currently trying to display video on our display device. We use CubeMx to generate the device tree for our project and some user code there. we can see DSI data lanes signals but not DSI clk signal. We did some comparison with stm32mp157f dk2 board and we fond the follwoing when we apply this command to check the clocks in the kernel:Note: the image version is:openstlinux-5.15-yocto-kirkstone-mp1-v24.07.17with a BSP layer on top from somlabs:https://github.com/SoMLabs/meta-somlabs cat /sys/kernel/debug/clk/clk_summary | grep -i dsi The results from the dk2 board:The result form our custom board:I have two questions:1- How can I enable the dsi and the dsi_px? (as the enable count is zero here)2- How to enable the ck_dsi_phy in my kernel to be used? (like what is shown with the dk2)Thanks in advance!
Hello,I have a custom STM32MP131AAE6 board and it has a 7GB eMMC storage.I am using Yocto (mickledore) as a build system.I want to allocate 2GB for my rootfs-a and 2GB for my rootfs-b.I have no issue with automatically generating a FlashLayout for 2 partitions for bootfs, rootfs and userfs.In Yocto (meta-st-stm32mp/conf/machine/include/st-machine-storage-device-stm32mp.inc), there is:# 32 GbitDEVICE_MAX_OFFSET:EMMC ?= "0x10000000"This limits eMMC to 4GB.So, I set it to none as done for SDCARD config:# No limit for SDCARDDEVICE_MAX_OFFSET:SDCARD ?= "non" It generated a FlashLayout that looks like:#Opt Id Name Type IP Offset Binary- 0x01 fsbl-boot Binary none 0x0 arm-trusted-firmware/tf-a-stm32mp131a-mm-mx-usb.stm32- 0x03 fip-boot FIP none 0x0 fip/fip-stm32mp131a-mm-mx-optee-emmc.binP 0x04 fsbl1 Binary mmc1 boot1 arm-trusted-firmware/tf-a-stm32mp131a-mm-mx-optee-emmc.stm32P 0x05 fsbl2 Binary mmc1 boot2 arm-trusted-firmware/tf-a-stm32mp131a-mm-mx-optee-emmc.stm32P 0x06 metadata1 FWU_
Hello,We are using st-image-core from recipes-st in yocto and I'm removing some packages from the build that we don't really need. While going through the list, I have found that apt and dpkg are being built and I would like to remove them from my image.I have tried using SKIP_RECIPE[apt] and SKIP_RECIPE[dpkg] in the local.conf file, but all I get is an error saying they are dependencies:ERROR: Required build target 'st-image-core' has no buildable providers. Missing or unbuildable dependency chain was: ['st-image-core', 'apt']ERROR: Required build target 'st-image-core' has no buildable providers. Missing or unbuildable dependency chain was: ['st-image-core', 'dpkg']I have been digging through the recipes and I couldn't find the dependency for those two packages. Is there any way to remove them from the image?Thank you.
Dear ST,Is there any roadmap for the next release of OpenSTLinux based on latest LTS kernel 6.6 ?Thanks in advancePatrick
According to the wiki here: ROM_code_overview, the pins to boot from a serial NOR flash chip can be modified by the OTP Register. I understand that I must set the bit 0 of the word 3 to 1, but how do I define which function I move to another pin? which pins can i use?For example, could I move the QUADSPI_CLK signal from pin PF10 to PA7? And how?ThanksVíctor
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.