openSTlinux build from stm32cubeide to sdcard image
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-09 12:22 AM
I've build all part (linux, tf-a, u-boot) in stm32cubeide, acording to my device tree configured in cube.
I would like to ask if there is short way to create sd-card image from cube gui? If not, could any one share way how to do that from build to ready image.
I found this tutorial https://wiki.stmicroelectronics.cn/stm32mpu/wiki/How_to_populate_the_SD_card_with_dd_command
but i can't find the script.
i'm using vitrual machine with ubuntu 20.04
Sory if question will be trival. I'm new in linux compilation. Usualy i used already prepared.
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-31 12:29 AM
Hi @AlexandrShipovsky​ ,
Unfortunately this is a restriction of STM32CubeIDE today.
It's not capable to generate the *.ext4 ( rootfs, bootfs etc.. ) partitions.
For such you should indeed use Yocto build system.
Hope wiki material may help you to start with it.
Else please elaborate further what you want to do and difficulties you are facing.
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-19 12:56 AM
I would also like to know a quick way to build an image from compiled files in STM32CubeIDE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-23 7:41 AM
Hi,
I'm not expert, but your could rather:
- use individual binaries with STM32CubeProgrammer. See https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer_flashlayout#SD_card_with_FIP
- use the script which is located in starter package (e.g. en.FLASH-stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31.tar.xz), in \images\stm32mp1\scripts folder. Then use dd as described in https://wiki.stmicroelectronics.cn/stm32mpu/wiki/How_to_populate_the_SD_card_with_dd_command
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-24 12:27 AM
Hi! Thank you for the answer! I use what you suggest and it works well, but when compiling I only get files with the extension *. bin *. stm32. For the full package, I also need files with the *.ext4 extension. I should probably use Yocto and the command line, but I have no experience with Yocto and I hope that there are ready-made tools in STM32CubeIDE for generating files with the *.ext4 extension
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-31 12:29 AM
Hi @AlexandrShipovsky​ ,
Unfortunately this is a restriction of STM32CubeIDE today.
It's not capable to generate the *.ext4 ( rootfs, bootfs etc.. ) partitions.
For such you should indeed use Yocto build system.
Hope wiki material may help you to start with it.
Else please elaborate further what you want to do and difficulties you are facing.
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-31 12:33 AM
Hi @Community member​ ! Thank you for answer!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-06 12:26 AM
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
