2019-06-20 08:11 AM
Hi,
I want to create custom SD card for STM32MP157A-DK1board but I did not find any script for it in SDK available. Could you please let me know the procedure to create SD card and how to flash images in it?
Thanks,
Deshvir Malik
Solved! Go to Solution.
2019-06-20 08:26 AM
Hi @DMali
Complete SDcard content and partitioning can be create by using Distribution Package ( Yocto/Bitbake build)
Then you can flash your SDCard using STM32CubeProgrammer Tool :
or either in raw format using dd command :
https://wiki.st.com/stm32mpu/wiki/How_to_populate_the_SD_card_with_dd_command
If you want only to change the content of one partition of an already created SDCard with Developer Package you can use dd .
See one exemple here for update of tf-a and u-boot partition
https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_Package
Hope it help
Olivier
2019-06-20 08:24 AM
Hello,
SD-Card mapping is described in https://wiki.st.com/stm32mpu/wiki/STM32MP15_Flash_mapping#SD_card_memory_mapping
To fill the SD-Card, you could either:
2019-06-20 08:26 AM
Hi @DMali
Complete SDcard content and partitioning can be create by using Distribution Package ( Yocto/Bitbake build)
Then you can flash your SDCard using STM32CubeProgrammer Tool :
or either in raw format using dd command :
https://wiki.st.com/stm32mpu/wiki/How_to_populate_the_SD_card_with_dd_command
If you want only to change the content of one partition of an already created SDCard with Developer Package you can use dd .
See one exemple here for update of tf-a and u-boot partition
https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_Package
Hope it help
Olivier
2019-06-21 12:07 PM
Hi Patrick,
Thank for quick response. I'll try with the above links.
2019-06-21 12:08 PM
Hi Oliver,
Thanks for quick response and detailed information.
Deshvir