Ask questions and find answers on STM32 microprocessors and dedicated embedded software solutions, such as Yocto SDK, Qt, and OP-TEE.
Most recent activity
Hii try to install qt-wpe-simple-browser on my board but it fails with error wpewebkit-qtwpe-qml-plugin. ERROR: st-image-qt-1.0-r0 do_rootfs: Unable to install packages. Command '/home/md/Workspace/Demo_file_fr/MPU_EDS_V1.0/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/st-image-qt/1.0-r0/recipe-sysroot-native/usr/bin/apt-get install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove apt cog dpkg packagegroup-base-extended packagegroup-core-boot packagegroup-core-eclipse-debug packagegroup-core-ssh-dropbear packagegroup-core-tools-profile packagegroup-framework-core packagegroup-framework-core-base packagegroup-framework-core-extra packagegroup-framework-tools packagegroup-framework-tools-base packagegroup-optee-core packagegroup-optee-test packagegroup-st-demo packagegroup-x-linux-qt psplash-drm qt-wpe-simple-browser qtbase-plugins qtwayland-plugins resize-helper run-postinsts wpeweb
I have followed this guide, https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_machine but that doesn't work well and requires a lot of manual changing to get the image booting. (it breaks extlinux stuff)My custom board is too different as one that are supported by DK or EV devkits. What is the best way of adding my board to yocto? I don't seem to find a tutorial or guide about this.
Hello,According to the doc, the Padding header extension adds the rest of the bytes in the header to complete the 512 bytes.When parsing a signed binary with STM32MP_SigningToolCLI, I find that the padding bytes have “random” values every time. Could you explain how these bytes are calculated?Thanks
Hello,I am trying to set up a web browser on my STM32MP157F-DK2 board.Following https://wiki.st.com/stm32mpu/wiki/How_to_install_a_simple_web_browser.I tried:root@stm32mp15-disco:~# apt-get install qt-wpe-simple-browserReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneE: Unable to locate package qt-wpe-simple-browserapt-get update was successful. Using apt-search doesn't locate the package.However, source.list file seems properly configured.Any clue would be appreciated.Best Regards,Vincent
HI There, I am getting error installing wireguard in STM32mp135s. I have added wireguard-tool by adding in local.conf, its successfully builts. but when I add wireguard-module I get compilation error. So I skipped it wireguard-module. Some kernel setting also done for Wireguard by following this site https://www.wireguard.com/compilation/#kernel-requirements. When I try create inteface I get following error. What is the solution for this, how can I add wireguard in my build?Error-wg-quick up wg0[#] ip link add wg0 type wireguard[ 129.799785] wireguard: Unknown symbol curve25519_null_point (err -2)[ 129.799834] wireguard: Unknown symbol udp_sock_create4 (err -2)[ 129.799858] wireguard: Unknown symbol udp_tunnel6_xmit_skb (err -2)Error: Unknown device type.[ 129.799894] wireguard: Unknown symbol chacha20poly1305_encrypt_sg_inplace (er r -2)[ 129.799939] wireguard: Unknown symbol chacha20poly1305_encrypt (err -2)[ 129.800041] wireguard: Unknown symbol chacha20poly1305_decr
TL;DR: is there an "ST approved" method to put have a custom machine's CubeMX project AND generated code under source control?I am trying to do something similar to OP's goal in this post, which didn't receive a full response, I think.I have also gone through the "create your own machine" guide and I managed to generate a custom machine, except a couple of snags (e.g. CubeMX 6.12 adds a CA7/ element to the generated device tree path, which the guide seems to ignore, I guess it's out of date?).Now, this work needs to go to source control somehow, and the guide doesn't provide any guidance on how to do that.One option would be to fork meta-st-stm32mp-addons, point your manifest to your fork and store your work there. This has a minor drawback (the need to keep your fork up-to-date with the official meta-st-stm32mp-addons), but also it seems to be explicitly discouraged by the meta-st-stm32mp-addons repo, since it puts the mx folder in .gitignoreAnother option, which would
Hello,Would the B‑LCDAD‑HDMI1 adapter board work "out of the box" to connect a HDMI display to the STM32MP257F-EV1 running STM32MP2Starter ?
Hello, I am wondering can the ST Linux Starter Package(or indeed any of the STLinux packages) be interacted with via a command line via serial port and if so how would this be set up ? as the additional display for this board is unavailable to me.
Hi,I use "Develop on Arm Cortex-A7" -> "Install the SDK".It re-direction me to "https://docs.yoctoproject.org/4.2.4/singleindex.html#build-host-packages".When I follow this, I got error message: "Unable to locate package libegl1-mesa".How I can fix this ?Any advice or guidance would be greatly appreciated. Thanks in advance for your help!
Hello,I have 8 pairs of public and private keys with the hashes of each public key and I would like to calculate the associated PKHTH value without necessarily using the STM32MP_KeyGen_CLI tool (for integration with our manufacturing tool).I tried to calculate the sha256 of all the concatenated hashes of the public keys but this value does not correspond to the one calculated by STM32MP_KeyGen_CLI. Is there anything else I should include in my PKHTH calculation?Thank you
Hello.I am a developer working with the STM32MP135F-DK.I have a question, so I’m reaching out like this.I would like to modify the st-machine-flashlayout-extensible-stm32mp.inc file in the machine folder to add the following line to the TSV file:PE 0x13 rootfs_rw FileSystem mmc0 0x105984400 noneCould you please let me know how to add this line?I look forward to your response.
I have installed OpenSTLinux SDK + Sources (linux, tf-a, u-boot, optee-os) on a STM32CubeIDE project.I have compiled optee-os for my custom board, but it did not work so well for tf-a.This is clearly a bug because I cannot add "i2c2_pin_a" into the .dts file of stm32mp151-stm32-computer-pin-configuration-mx.dts. If I renamei2c4_pins_mx -> i2c2_pins_amanually inside the .dts file, then the error disapear when I compile. But I cannot do that in STM32CubeIDE because it does not allow me to add "i2c2" for TF-A.So is there any walk around for this bug? 23:03:35 **** Build of configuration Default for project stm32-computer-pin-configuration_CA7_tf-a-2.8.15-r2 **** make -f ../Makefile.sdk.ide TF_A_DEVICETREE=stm32mp151a-stm32-computer-pin-configuration-mx TF_A_CONFIG=optee-sdcard stm32 metadata Wrapper for /opt/st/stm32cubeide_1.16.0/plugins/com.st.stm32cube.ide.mpu.linux.toolchain_2.1.0.202305092038/tools/bin/make FIP_DEPLOYDIR_ROOT: /home/lubuntu/Dokument/GitHub/stm32-computer/STM
Hi in my custom board (stm32mp157f) i removed the IC (STUSB1600). and i try to flash the images on sd card through the USB (DFU mode using cubeprogrammer). and it works,but while flashing the images i saw to logs. CPU: STM32MP157DAC Rev.ZModel: STMicroelectronics STM32MP157F-DK2 Discovery BoardBoard: stm32mp1 in trusted mode (st,stm32mp157f-dk2)DRAM: 512 MiBoptee optee: OP-TEE: revision 3.19 (afacf356)Clocks:- MPU : 800 MHz- MCU : 208.878 MHz- AXI : 266.500 MHz- PER : 24 MHz- DDR : 533 MHzCore: 363 devices, 43 uclasses, devicetree: boardWDT: Started watchdog with servicing (32s timeout)NAND: 0 MiBMMC: STM32 SD/MMC: 0, STM32 SD/MMC: 1Loading Environment from nowhere... OKIn: serialOut: serialErr: serialinvalid MAC address 0 in OTP 00:00:00:00:00:00Net: Error: ethernet@5800a000 address not set.No ethernet found.Card did not respond to voltage select! : -110No EFI system partitionError: ethernet@5800a000 address not set.Error: ethernet@5800a000 address not set.Hit any key to sto
HiIn my custom board (stm32mp157F) i added the JTAG , i try to connect JTAG for flashing the firmware into the M4 processor, i change the boot pins as Engineering mode, but not connected to cub programmer as well as cube IDE.i attached the screenshot of the Schematic diagram of JTAG. please let me know where i am missing.
Hi, I am trying to run spidev on the stm32mp157f-dk2 using python and I have set my SPI4 max frequency above 40MHz, but I can't seem to run it more than 16MHz. I have checked the clock tree configurations and the device tree configuration; I seem to have set everything correctly but I can't seem to run it faster.
Hello @Erwan SZYMANSKI I hope your week started well.I think the script didn’t work because I couldn't adjust the paths correctly. Could you please assist me in finding the correct paths and adjusting my script accordingly? # !/bin/sh export QSG_INFO=1 export QML2_IMPORT_PATH=~/imports/ export PATH=/usr/local/qt5-install/bin/:/usr/local/apitrace/bin:$PATH export QT_QPA_PLATFORM=wayland #Execute the Qt program export XDG_RUNTIME_SESSION=wayland; export XDG_RUNTIME_DIR=/run/user/1000; export WAYLAND_DISPLAY=wayland-1; cd /usr/bin && ./automotivenesnes@nesnes-ABRA-A5-V19-2:/usr/local$ tree -L 2 . ├── bin ├── etc ├── games ├── include ├── lib │ └── python3.10 ├── man -> share/man ├── sbin ├── share │ ├── ca-certificates │ ├── fonts │ ├── man │ ├── sgml │ ├── texmf │ └── xml └── src
I did flash "stm32mp1-openstlinux-6.1-yocto-mickledore-mpu-v24.06.26" image to this STM32MP135F-DK.Boot is good, every screen like website noticed, terminal work fine.But ssh doesn't work, attached the error message.Then I try create new user, but change to new user, even ifconfig command doesn't work, only work for default root user.compare with Beaglebone black, this board software is too bad.Reagrds,Richard Li
Hi!Just want to say that I have made a linux distro called STM32-OS that works with all of STM32MP1.The reason why I built my own linux distro is because I had a lot of problems with OpenSTLinux and seeing other facing the same issues too. I'm also wanted a rich package system based on Ubuntu 24.04 LTS. Also I did not want to depend on ST's support. There are many reasons.STM32-OS having support for the same packages as Ubuntu 24.04 LTS have.VNCSSHQtMesaetc.Anyway! Here is the repository to STM32-OS: https://github.com/danielmartensson/STM32-OSGive it a star. ;) Pullrequest are welcome!Only run ./create_stm32_os.sh and you will get a file called rootfs.ext4 inside the same folder. Then you can use that .ext4 together with your FlashLayout and flashing your device with STM32CubeProgrammer as usual. The file bootfs.ext4 contains your compiled kernel and .dts file that suits your platform.This is an example of a FlashLayout that suits STM32-Computer. I have removed the userfs.ext4 and ven
Hello, I am starting work on X-STM32MP-GNSS1 along with STM32MP157F-DK2. I am having some trouble with the initial setup following the instructions in UM2909. I have built the SDK, but having trouble with the Linux kernel and dtb build.Where can I find the pre-built image and dtb for my setup? I would like to initially focus more on the application side and not spend much time on the kernel. The user guide says "The software package already contains the binaries (dtb) which can be transferred using scp command." But I could not find this under Binaries.
Hello,I’m trying to add Wi-Fi support to my STM32MP257F-EV1board. I’m using Panda Wireless PAU0A Wi-Fi USB dongle, it uses MT7610U chipset. I have followed example of Modifying kernel configuration in How to cross-compile with the Distribution Package. In fact, the example uses Realtek RTL192CU chipset, I’m using MediaTek MT76x0U in configuration, that’s the only difference.I updated the kernel image on board. However, when I plug in the dongle I get the error:It looks like all necessary modules are present:I tried to restart the module, same result:I checked, this Wi-Fi dongle works with Ubuntu 22.04 and Raspbian.Please, advise, what I’m doing wrong.
I use STM32MP157D. The Linux version is 6.1.28. When I use the USB-OTG virtual network port, my computer recognizes it as a USB serial device and cannot be recognized as a network port. Does anyone know how to solve this problem? Here is my module loading process:
I reported the following error when debugging the M4 kernel of STM32MP157D using STM32CubeIDE:After my troubleshooting, I found that there was a problem with the file permissions when uploading the script "fw-cortex_m4.sh" from STM32CubeIDE. On the computer, the file permissions were "- rwxr-xr-x", but after uploading it to my board through STM32CubeIDE, the file permissions changed to "- rw-------" and I lost my executable permissions.Does anyone know how to solve this problem?
Hi there TouchGFX team!I want to run a UI on the STM32MP135 DK. I'n following the tutorial on: https://wiki.st.com/stm32mpu/wiki/How_to_install_X-TouchGFX_MPU_Addon I'm able to select the mp135 dk in TouchGFX designer and create the files. Then, I open the files from the TouchGFX designer button and go to STM32CubeIDE/.project At this moment I can find 2 errors:1. I can't open CubeMX with the .ioc file. 2. I can't build the project using CubeIDE. If I do the same process with a different board setup, the project builds as expected. Thanks a lot in advance
Hi there TouchGFX team I've a ui running on the simulator and I would like to start running it on my dk. I can't find any examples on how to run it on the stm32mp135-dk, can you me guide on this? Thanks a lot in advance
Hi there TouchGFX team! I have a STM32MP135-dk. I intend to run embedded Linux on it and I have a GUI developed on TouchGFX. It is possible to run the TouchGFX app in my embedded Linux image? If so, what's the documentation I can refer to. Thanks a lot in advance
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.