Developer support experience survey - We value your feedback
Join conversations with your peers and ST experts. Explore the full potential of STM32 microprocessors for your embedded design.
Most recent activity
Hi,i´m using a stm32mp157-dk2 and want to increase the size of the rootfs partition to 2GB.To create the image follwed the instructions from https://wiki.st.com/stm32mpu/index.php/STM32MP1_Distribution_Package#Installing_the_OpenSTLinux_distribution .Before running the bitbake command changed as suggested in https://community.st.com/s/question/0D53W00000EaFPwSAN/rootfs-size-increasing-on-avenger961) /meta-st/meta-st-stm32mp/conf/machine/include/st-nachine-common-stm32mp.incIMAGE_ROOTFS_MAXSIZE ?= "2097152" ROOTFS_PARTITION_SIZE ?= "2097152"2) /meta-st/meta-st-stm32mp/recipes-devtools/sdcard-raw-tools/sdcard-raw-tools/create_sdcard_from_flashlayout.shDEFAULT_RAW_SIZE=4096 DEFAULT_ROOTFS_PARTITION_SIZE=2097152Then while running the bitbake command an error showed up "The initramfs size 181612 (K) exceeds INITRAMFS_MAXSIZE: 131072 (K) You can set INITRAMFS_MAXSIZE a larger value.... ". To avoid this error i increased INITRAMFS_MAXSIZE to 262144 in layers/openembedded-core/meta/conf/bitbak
..
I create a process A to communicate with M4, another process B every 2 min will be calculate some data cost 230ms. in this inteval, process A cant use OpenAmp to send cmd to M4, until process B complete the calculation.
I try to configure the pins of the MDIOS controler of the STM32MP157C in STM32CubeMX version 6.2.1 . The datasheet states, for pin PA10 -ALT11 the function MDIOS_MDIO. But I cannot select this function for PA10. I also cannot find MDIOS in the devices column.Is MDIOS not supported by CubeMX or did I make something wrong?
Hi,I tired to refer to "https://wiki.st.com/stm32mpu/wiki/How_to_integrate_AWS_IoT_Greengrass_on_top_of_openSTLinux_distribution" to do "bitbake st-image-demo-aws"My compiled OS is UBUNTU 20.04.I got below error:"ERROR: ParseError at /home/zouqz/stm32/DistPkg/openstlinux-5.10/layers/meta-virtualization/recipes-extended/libvirt/libvirt-python.inc:1: Could not inherit file classes/python3targetconfig.bbclass"please advise,Thanks,QiZhang
Hello,we want to bring up our own board with stm32mp157c. Processor is connected to a Microchip LAN8720 through RMII.I configured device tree as described here:https://wiki.st.com/stm32mpu/wiki/Ethernet_device_tree_configuration#RMII_with_Crystal_on_PHY_-28Reference_clock_-28standard_RMII_clock_name-29_is_provided_by_a_Phy_Crystal-29Actual device tree configuration:&ethernet0{ pinctrl-names = "default", "sleep"; pinctrl-0 = <&eth1_pins_mx>; pinctrl-1 = <&eth1_sleep_pins_mx>; status = "okay"; phy-mode = "rmii"; max-speed = <100>; phy-handle = <&phy0>; mdio0 { #address-cells = <1>; #size-cells = <0>; compatible = "snps,dwmac-mdio"; phy0: ethernet-phy@1 { reg = <1>; }; };So far so good. Controller is booting and during boot up it seems that PHY driver is loaded (Output is very equal to eval board we have). So I think it's ok.~# dmesg | grep ethernet [ 2.902084] stm32-dwmac 5800a000.ethernet: IRQ
Hello, In this wiki https://wiki.st.com/stm32mpu/wiki/IKS01A3_MEMS_expansion_boardBoard $> ls -1 /boot/stm32*dk2*/boot/stm32mp157c-dk2-a7-examples.dtb/boot/stm32mp157c-dk2-iks01ax.dtb/boot/stm32mp157c-dk2-m4-examples.dtb/boot/stm32mp157c-dk2.dtbfrm where does the bold dtb comes from? I cant find it on my STM32MPU.Also where is the dts file for this.I cant find it in arch/arm/boot/dts with name stm32mp157c-dk2-iks01ax.dts??Regards,Pv
For one project we would want to use only de M4 core of the SM32MP157 MPU. We want this because we have no time to learn how to develop the whole application using linux and the whole potential of the MPU, but we would want to have the hardware ready for a future update. We have been trying to use the M4 core in engineering mode, but we have been only able to debug the code. When we unplug the board and replug it the code is not executed. The board that we are using is the STM32MP157A-DK1. Thank you in advance for the help
Hello,I'm trying the NAND boot on our STM32MP157AAB3 custom board but until today I could't make the ROM code load the tf-a image from this memory.I'm yet able to boot from uSD (SDMMC1), eMMC (SDMMC2) and serial NOR (QUADSPI). For uSD I partitioned the device as described in wiki, for eMMC the only way I found to make the ROM code able to load the image is programming it via STM32CubeProgrammer (same procedure of uSD won't work), for NOR I wrote it from u-boot with sf commands.Our board is equipped with Winbond W29N08GVSIAA parallel NAND, connected to the FMC default pins as stated in wiki. The NAND datasheet report all the ONFI parameters requested by the ROM code, none of the OTP is blown. I'm building tf-a, u-boot and linux kernel from the ST repos aligned to STM32MP15-ecosystem-v2.1.0 release, the dts are created starting from STM32CubeMX output with USER CODE added according to wiki.When I boot from another device, in u-boot I'm able to detect, write and read the NAND device. Writ
If I order from st, how many days does it usually take to get to Korea?I placed an order last week... it's only for processing.
Hey.. Hi.. hello..Hope you all are doing wellI've my custom made board, which is quite similar with the STM32MP157 DK2 board Unfortunately, it's unable to bootDTS configuration for the PMIC, Clock and UART seems good I need to starts with the SPL/U-boot I need to know, is there any way to debug the SPL/U-boot via CubeIDE ?I'm intended to do GDB debug via JTAG All suggestions and recommendations welcome Thanks :)
Hi,iam trying to get a full understanding of remoteproc and its resource tabel. In the paper i read i understood it that the resource table is used to give the information about the vrings location to the master and the slave. The master parses the ressource table during starting. When i had a look at my code i saw that the adresse of the vrings are set to -1 (attached picture). So iam confused about it really works. Does the master knows the location from the device tree and give it through the slave? And how does the master knows where it has to load the elf-File from the M4, also from the device tree? In the linker script i saw that the regions of the memorys are define but i guess never really used in the code.
Hi,I have been trying to flash the SD card of the STM32MP157A-DK1 following the instructions of the ST Wiki, although in this wiki the board used is the DK2. However the flashing process stops after a while and shows the errors that i attach in the pictures. The CubeProgrammer version is the 2.6. After some research i saw that another option could be execute the flashing process from the command shell but i have not been able to do it because it never finds the file to be flashed, despite copying it in the STM32CubeProgrammer\bin folder. Thanks in advance.
Hi,I am trying to debug in engineering mode with the STM32MP157A-DK1 through a external ST-Link V3 but i am not being able to get it to work. I attacht the error gotten, as well as pictures of the connection and the debug configuration in Cube IDE. The image thas shows the debug configuration has the OpenOCD option configured, however i have also tried the GDB option but the board is not even found in this case. Thank you in advance.
Hy i wanted to ask how i can set the clockspeed on my Device tree so the USART3 will work with 10MB/s my device tree looks at them moment like this:&usart3 { pinctrl-names = "default", "sleep", "idle"; pinctrl-0 = <&usart3_pins_b>; pinctrl-1 = <&usart3_sleep_pins_b>; pinctrl-2 = <&usart3_idle_pins_b>; uart-has-rtscts; status = "okay";};at the moment is is on automatic. I wanted to try it out with the CubeMX but when i want to set the Paramter settings on the Linux context it always tells me that there is no configuration.
Hi,While following the example at https://wiki.st.com/stm32mpu/wiki/How_to_compile_the_device_tree_with_the_Developer_Package#Updating_the_kernel_device_tree, I'm running into problems downloading the SDK.The link provided from instructions below, always downloads the "SOURCES" tar not the "SDK".Developer package:the SDK toolchain, provided within the en.SDK-x86_64-stm32mp1-openstlinux-<YY>-<MM>-<DD>.tar.xz file (download it from st.com)I have tried searching for the SDK at other places on your web-site, all results bring back the en.SOURCES-stm32mp1-openstlinux-5-4-dunfell-mp1-20-06-24.tar.xz not the SDKCould someone please verify this issue and point me to where I can get the SDK.Thanks in advance!
I was planning on using the STM32MP157A-DK2 to drive a three lane DSI display but the Microcontroller only supports two lanes..
We are using SoM MYC-YA157C from MYIR with STM32MP1 onboard. MYIR creates pretty device-tree hierarchy, which is handy for update. CubeMX creates partial single device tree file. I would like to merge some of it parts (pinmxing, for instance) with MYIR device tree into resulting DTS file. What is a proper way for doing it ? PS. Xilinx provides system-user.dtsi file which is included AFTER all system DTSI`s in such way that it adds or overrides contents of system DTSI while merging into final DTS file. It is very convenient. Does STM provide similar capabilities ?
I used the latest official version(2021-03-31) to configure the stm32mp157c-dk2 of the optee version, and used the official tutorial to generate fip.bin and burn it to the corresponding partition, but it seems that the image is not checked,in other worlds, I did not see the successful prompt for the verification of the mirror image.
Can I use STUSB1602 with STM32MP1?The STM32MP157C-DK2 has an STUSB1600, but it is not a PD controller, so I am reviewing the STUSB1602.STUSB1602 seems to support only STM32F0, STM32F4, STM32G, and STM32L.I'm curious to see if it is possible to port and use the STUSB1602 related driver to STM32MP1. Is there any related document?
Hi, I have tried to build the Distribution Package following this guide: https://wiki.st.com/stm32mpu/index.php/STM32MP1_Distribution_Package#Building_the_OpenSTLinux_distributionMy goal is to run a build that is as small as possible. Therefore I choose openstlinux-eglfs as distro (without Wayland and X11): PC $> DISTRO=openstlinux-eglfs MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.shPC $> bitbake st-image-coreI haven't made any modifications in any file but the build fails. I have inserted the output of "PC $> bitbake st-image-core" in bitbake_outputWhy does the build fail?
I'm working with the STM32MP157C-DK2 dev board and I've noticed that sometimes when powering up the board there is a 20-30 second delay where I don't even see the boot up messages. It's doesn't appear to be U-boot related either. Has anyone else notice this? and if so were you able to fix it?
Hi,I have already post a similar issue in the previous post.I'm using initramfs shell using initramfs-framework in Yocto environment.I found that watchdog reboots after some time (the default is 32 seconds) if the initramfs doesn't fully boot the system by entering systemd.The weird thing is though, this happens even WATCHDOG_HANDLE_BOOT_ENABLED is set correctly.According to the source code of watchdog_dev.c in Linux Kernel if WATCHDOG_HANDLE_BOOT_ENABLED=y is set the kernel watchdog thread should handle watchdog correctly until a userspace program (systemd?) takes over /dev/watchdog. However, watchdog still reboots the board.https://elixir.bootlin.com/linux/v4.14/source/drivers/watchdog/watchdog_dev.c#L1124I set similar yocto environments (with WATCHDOG_HANDLE_BOOT_ENABLED=y) in Raspberry Pi 3 and Beaglebone Black, and their kernel seems to handle watchdog correctly as they don't reboot in initramfs environment for a long time. Only STM32MP1 seems to have problems with watchdog.
Hi, we are currently bring up our custom STM32MP157 Board. We get in any constellation a "DDR addr bus test: can't access memory @ 0xc000004"We think that our crystal is correctly running at 24 Mhz because we connecting over USB to the Board. Also the Voltages is correctly. We use the same DDR Chip, that is on the DK2 ( Micron ), with the same settings. We run a little bit out of ideas how to handle this. We also got DDR errors in Uboot SPL.Have you any hints beyond the "Bring up" Guide?Best regards
Hi,I just upgraded my STM32CubeProgrammer to 2.7 and now getting error that can't find tf-a-stm32mp157c-dk2-serialboot.stm32.I tried this on three other images that have worked in past, get same error.tf-a-stm32mp157c-dk2-serialboot.stm32 is not found on file system for any of these images.Specifics:target: stm32mp157c-dk2host: Windows 10Images built on WSL.Unfortunately I deleted 2.4 before installing 2.7, also tried 2.6, 2.5 and get same problem.Have any suggestions ?
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.