2019-03-05 06:28 AM
Hi all,
yesterday I just booted the amazing STM32MP1 DK2 device with a brand new Yocto build (st-image-weston). Can't find the fw_cortex_m4.sh . Is that available just in the STM32CubeMP1_Package or maybe I need to add another layer and build for another target?
Solved! Go to Solution.
2019-03-06 08:35 AM
You can find more informations about boot modes here :
https://wiki.st.com/stm32mpu/index.php/STM32CubeMP1_Package#Select_boot_mode_for_m4_examples
Otherwise the M4 firmware are also built in yocto image. You can find more informations here :
https://wiki.st.com/stm32mpu/index.php/STM32CubeMP1_Package#Introduction_to_m4projects_recipe
2019-03-05 06:51 AM
Hi,
fw_cortex_m4.sh is specific to an M4 firmware application.
You can find one in each Cube-M4-examples pre-load in the image here :
root@stm32mp1:/usr/local/Cube-M4-examples/STM32MP157C-DK2/Examples/
Olivier
2019-03-05 07:28 AM
I think I'm missing something.
I build and flash the yocto OpenSTLinux then I was following this doc...
https://wiki.st.com/stm32mpu/index.php/OpenSTLinux_directory_structure
But now that I booted with a terminal on /dev/ttyACM0 I got this ...
Select the boot mode
1: stm32mp157c-dk2-sdcard
2: stm32mp157c-dk2-a7-examples-sdcard
3: stm32mp157c-dk2-m4-examples-sdcard
And run some of them:
root@stm32mp1:/usr/local/Cube-M4-examples/STM32MP157C-DK2#
But means that those are built an pushed as separate images?
I can't find event the M4 images, like the OpenAMP_TTY_echo.elf, it's on the board but no in the Yocto build directory.
I'm sure I didn't get where this data comes from :D
2019-03-06 08:35 AM
You can find more informations about boot modes here :
https://wiki.st.com/stm32mpu/index.php/STM32CubeMP1_Package#Select_boot_mode_for_m4_examples
Otherwise the M4 firmware are also built in yocto image. You can find more informations here :
https://wiki.st.com/stm32mpu/index.php/STM32CubeMP1_Package#Introduction_to_m4projects_recipe
2019-03-06 08:53 AM
Thank you very much.
This doc was exactly what I was looking for.
Thank you!