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 getting the following error after trying to build the imageThe rootfs size 5956484(K) exceeds IMAGE_ROOTFS_MAXSIZE: 763904(K)and I don't find anything related to this problem apart from this line that should be implemented in the local.conf file:MENDER_STORAGE_TOTAL_SIZE_MB=.... Will this solve my problem? If not how do I solve this problem please I am a beginner with yocto.I want to use the maximum space that I can so that this error won't come again. I will add a lot of packages and modules after so please tell me if there is a default size to apply. Thank you
HelloI am trying to build an Image based on the Yocto Project for my stm32mp157c-DK2 according to st-wiki.When I try to build the image I get the following error.ERROR: Task do_populate_sdk in /home/mehdi/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-weston.bb rdepends upon non-existent task do_package_write_deb in /home/mehdi/Distribution-Package/openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-st/meta-st-openstlinux/recipes-st/images/st-image-weston.bb ERROR: Command execution failed: 1What did I miss or what did I do wrong in my local.conf file ?Best regards.I can share with you the content of the file.
I wanted to flash my image using the command STM32_Programmer_CLI.exe -c port=usb1 -w flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsvBut I end up getting the following error:Error: Unable to open the file st-image-bootfs-openstlinux-weston-stm32mp1-disco.ext4 Error: Download partition 0x21 failed Error: TSV flashing service failedI am working in the following directory which has the following files in it:~/DP1/openstlinux-5.4-dunfell-mp1-20-11-12/build-openstlinuxweston-stm32mp1-disco/tmp-glibc/deploy/images/stm32mp1-disco$ ls -s total 1685864 4 arm-trusted-firmware 4 bootloader 4 build-st-image-weston-openstlinux-weston-stm32mp1-disco 4 flashlayout_st-image-weston 4 kernel 4 scripts 15532 st-image-bootfs-openstlinux-weston-stm32mp1-disco-20201214112610.bootfs.ext4 4 st-image-bootfs-openstlinux-weston-stm32mp1-disco-20201214112610.bootfs.manifest 10392 st-image-bootfs-openstlinux-weston-stm32mp1-disco-20201214112610.bootfs.tar.x
Are the low level interfaces such as LL_GPIO_MODE available for STM32MP157C? If so, where can I find the headers? I created a project using STM32CubeIDE but can only see headers for HAL.
I am working with the STM32MP1-DK2 development board and am trying to use RAUC to do image updates. I am using an SD card with two bootfs and rootfs partitions with one pair being active at a time. Currently I'm in the uboot integration stage where I need to create a script to change the active bootfs and rootfs, below is an example that rauc provides. I've looked at the uboot environment variables but can't seem to find which ones set boot and rootfs partition to use?I see reference to a scan that is done to detect a bootfs but not sure how to modify it. For this application the partitions are going to not change so maybe it's better to remove the scan all together and hardcode the values.uboot env:altbootcmd=run bootcmd android_mmc_boot=mmc dev ${devnum};run android_mmc_splash;run android_mmc_fdt;run android_mmc_kernel;bootm ${kernel_addr_r} - ${fdt_addr_r}; android_mmc_fdt=if part start mmc ${devnum} dt_${suffix} dt_start &&part size mmc ${devnum} dt_${suffix} dt_size;then m
Is there a way to enable onscreen keyboard (on STM32MP1 with touchscreen)? For example to type something in terminal or use it with graphical libraries like GTK.
We want to display a camera stream in a QML application on our STM32MP157C-based board. When we use the default QML widgets, the framerate is too low, under 10 fps.We try to solve the problem by using GStreamer's qmlglsink with GstGLVideoItem: it works on PC, but on the STM32MP157C it crashes with a segmentation fault in the "gcoTEXTURE_GetMipMap()" function, provided by the GCnano firmware. The GCnano source code is not available.How could we solve the crash?Note: more complete description on https://community.st.com/s/question/0D53W00000Mh8kqSAB/hellowe-have-an-issue-with-qml-multimedia-to-display-camera-stream-the-result-is-not-smooth-while-with-qt-widgets-it-works-fine-gstreamer-pipeline-from-command-line-works-as-well
I am super new to this and I need guidance. Does anyone have experience with using Android Studio to build an app and then using Bluetooth or WiFi so the app can connect to a STM32 Eval board? Where would be a good place to start? I have found the "STM32MP1 Distribution Package for Android" page here: https://wiki.st.com/stm32mpu-ecosystem-v1/wiki/STM32MP1_Distribution_Package_for_Android#Development_setup but can someone explain what any of this means?
I am using UART5 on an STM32MP151 to communicate with an external processor. The Cortex-A7 is running Linux and DMA is in use for both receive and transmit. Hardware flow control is also enabled and the transfer rate is 6 Mbps. Currently we are running test code to repeatedly send messages between the processors in both directions simultaneously. During this test, eventually the MP151 will send part of a message, and then the transmission will stop and never complete. I have verified this both by examining what is received on the other processor, as well as by using an oscilloscope. Here is the data that I have about the problem:Hardware flow control is not activating in this scenario, as verified by the oscilloscopeThe DMA transfer is still active. This has been verified by noting that the EN bit of the SCR register is still set and the SNDTR register still has the correct count of the remaining bytes that haven't yet been sent.The serial port is still active. This has been verified b
I have an STM32MP157A-DK1 dev board and I have successfully build and flashed the st-image-core (Distribution-Package) and flashed to sdcard.I want to add ModemManager and NetworkManager to the build. I see that meta-oe layer appears to be included and within meta-oe is a recipes-connectivity which contains ModemManager. How can I enable this in the build?Additionally, I don't see NetworkManager in any layers. Is thare an equivalent functionality within another package?Thank you
Hello,I'm trying to send a CAN frame with can-utils library on STM32MP157F-EVAL board.I read the following sites [1] and [2] and tried the commands:root@stm32mp1:~# ip link set can0 up type can bitrate 1000000 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 root@stm32mp1:~# cansend can0 055#11223344 write: No buffer space availableno messages are sent and after some trys I get the error: No buffer space available.root@stm32mp1:~# candump can0candump also receives no frames. The opposite station sends can messages and they are arriving the stm32 eval board. I have measu
Hello ST Teams!Question, again! I'd like to know if the image "st-image-core" or "st-image-weston" are compatible with the "read-only-rootfs" from yocto append? (thud or dunfell) Well I've already tried on the st-image-core and bitbake compilation failed, saying something about user-fs.Any hints would be welcome!Have a nice confined day!
Hi, I'm trying to make a headless system using the STM32MP153 and I would like to disable all graphical layers in the standard distribution.I'm using openstlinux-5.4-dunfell-mp1-20-06-24 (ECO V2 I believe)I have made my-own distro layer and was able to bitbake st-image-core( have added to my own_distro.conf file:DISTRO_FEATURES_remove = " wayland "DISTRO_FEATURES_remove = " x11 ")Next step is to remove the graphical layers starting with qt5If I do a bitbake-layers show-layers I don't want to find meta-qt5 (or meta-gnome, meta-xfce)Question: how do I do that?BTW I'm using the STM32MP157C evaluation board to get my headless distro up and running.
I am working with the STM32MP157 creating an SD card image using OpenSTLinux. I would like to use RAUC to perform updates but to do so I need to create a second rootfs partition. One active partition and the other for updates. I couldn't find in the wiki how to modify the partitions and general flash layout. Does anyone have any recommendations on where to start looking or what to modify in OpenSTLinux to modify the generated partition layout. Also any advice with RAUC is appreciated. https://github.com/rauc/rauc
What I want to achieve is starting the DFU ROM bootloader (like on a MCU) from a running Linux (maybe via a dedicated kernel module) or, if this helps, via re-configuring u-boot and doing a software reboot cycle.
Hello everybody,Here is my problem. I am using the buildroot distro instead of OpenSTLinux and want toconnect my STM32 via ethernet using SSH. I use MobaXterm as remote control software.P.s After a system boot I get the following response although the ethernet LEDs are not blinkingbuildroot login: [ 4.237860] stm32-dwmac 5800a000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 4.251707] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes readyAfter ifconfig -a I get the following response:eth0 Link encap:Ethernet HWaddr 00:80:E1:42:6B:16 inet addr:192.168.8.45 Bcast:192.168.8.255 Mask:255.255.255.0 inet6 addr: fe80::280:e1ff:fe42:6b16/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:107 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:10299 (10.0 KiB) TX bytes:866 (866.0 B) Interrupt:60 Base addres
..
When building a distro for our custom board with a STM32MP153AAC, u-boot-stm32mp fails to build when UBOOT_CONFIG is set to "basic". We would like to do a ddr3 test, this is the reason for the config.Here is the relevant section from conf/machine/stm32mp1-raichu-v2.conf file########################################################################### # # User machine customization sections # ########################################################################### # Boot Scheme # ========================================================================= BOOTSCHEME_LABELS += "trusted" # WORKAROUND to generate U-BOOT SPL for DDR Tuning tools usage UBOOT_CONFIG += "basic"It seems that the dsi block is defined in arch/arm/dts/stm32mp157.dtsi, but we have a stm32mp153, and the device tree generated by CubeMX only includes stm32mp153.dtsi. So obviously, this isn't going to work:https://github.com/STMicroelectronics/meta-st-stm32mp/blob/dunfell/recipes-bsp/u-boot/u-boot-stm32mp/0004-ARM
Hello,I am trying to figure out how to drive the USB traffic (any of the available ports acting as device) from/to the M4 core. I can see that the SoC interconnection allows for the data to flow between the peripheral and the M4 core but I cannot find a way to achieve this form of operation.The runtime operation of the USB-OTG peripheral is assigned to the A7 core but I assume there is a way to allow the endpoint data to be handled by the M4 core in some way (maybe some DMA-based scheme?). I would really appreciate if somebody can cast some light over this issue to get started evaluating this use case.The target application requires real-time operation for the data being transmitted over USB and this feature being handled by the M4 core is quasi-mandatory. I do not see a clear way of achieving the real-time performance by transmitting all the data over the IPCC interface, even using indirect more, as this would require a very high frequency polling of this memory region by the A7 core.
Hello ST Teams!Question again!I'd like to set up an access point on my st_image_core, SDK1.2i've added hotspot in layer append, and i can configure hostapd.confI've followed the howto :https://wiki.st.com/stm32mpu/wiki/How_to_configure_a_wlan_interface_on_hotspot_modeBut it seems that somethings goes wrong. Even if i try with your st-hotspot-wifi-service.sh.My question is:Do i need to add a dhcp server like udhcp server (udhcpd)?I've looked on the starter kit for DK2, and i cannot find any of these! What package from Starter kit I need to import to make things work?What am i missing?Seeya!
I've setup the distribution package, i'm able to build the default image, and have created a custom image that includes some additional recipes.Now I want to continue with creating my custom machine. I've created a custom device tree with cubeMX and placed it in meta-st-stm32mp-addons/mx/<projectname>. I followed the steps https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_machineMy .conf looks like this:#@TYPE: Machine #@NAME: stm32mp1-mx #@DESCRIPTION: Configuration for STM32CubeMX generated project #@NEEDED_BSPLAYERS: layers/meta-openembedded/meta-oe layers/meta-openembedded/meta-python ########################################################################### # # Default machine configuration sections # ########################################################################### include conf/machine/include/st-machine-common-stm32mp.inc include conf/machine/include/st-machine-providers-stm32mp.inc # Define specific common machine name MACHINEOVERRID
Any plans to upstream support for STM32H757? Currently kernel tree seems to have stm32h743.
Found while building the openstlinux-weston DISTRO st-image-weston image.Missing ${S}/ in front of stm32wrapper4dbg. Line 13 should be:install -D -m 0755 ${S}/stm32wrapper4dbg -t ${D}${bindir}
Hi All, Please , I`m pretty new here but so far using standard layer it works correctly hover when trying to use the QT / Distro openstlinux-eglfs layers meta-st I`m getting error related to make-mod-scripts.ERROR: Task (/local/STM32MP15-Ecosystem-v2.0.0/Developer-Package/stm32mp1-openstlinux-5.4-dunfell-mp1-20-06-24/layers/openembedded-core/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb:do_configure) failed with exit code '1'Can any good soul help-me on that ? Anything I can do here ?Thank You so Much !
I've assigned the UART8 device in the devicetree of the linux kernel (OpenSTLinux):&pinctrl { // ... uart8_pins: uart8-0 { pins1 { pinmux = <STM32_PINMUX('E', 0, AF8)>; /* UART8_RX */ bias-disable; }; pins2 { pinmux = <STM32_PINMUX('E', 1, AF8)>; /* UART8_TX */ bias-disable; drive-push-pull; slew-rate = <0>; }; }; uart8_sleep_pins: uart8-sleep-0 { pins { pinmux = <STM32_PINMUX('E', 0, ANALOG)>, /* UART8_RX */ <STM32_PINMUX('E', 1, ANALOG)>; /* UART8_TX */ }; }; // ... } // ... &uart8 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart8_pins>; pinctrl-1 = <&uart8_sleep_pins>; /delete-property/dmas; /delete-property/dma-names; status = "okay"; };The uart8 (0x40019000) is detected upon boot and the device /dev/STM1 is created:[ 1.196012] stm32-usart 40010000.serial: interrupt mode for rx (no dma) [ 1.196036] stm32-usart 40010000.serial: interrupt mod
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.