2020-01-22 05:48 AM
I am using the STM32MP157C-DK2
For testing purpose I need to build and replace the BSP and in particular the bootloader.
The documentation is a bit messy and I'm not able to find the information I need.
I need to rebuild and replace TF-A and u-boot.
I read so far:
https://wiki.st.com/stm32mpu/wiki/TF-A_overview
https://wiki.st.com/stm32mpu/wiki/STM32MP1_Starter_Package_-_images
https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer_flashlayout
Where I can find all the sources and documentation explaining how to rebuild TF-A (Trusted Firmware-A)?
Thank you.
Solved! Go to Solution.
2020-01-22 06:00 AM
Hi @koan
Please have a look to this page :
https://wiki.st.com/stm32mpu/wiki/STM32MP1_Developer_Package
Hope it help,
Olivier
2020-01-22 06:00 AM
Hi @koan
Please have a look to this page :
https://wiki.st.com/stm32mpu/wiki/STM32MP1_Developer_Package
Hope it help,
Olivier
2020-01-22 06:12 AM
Hi @Community member ,
thank you for answering.
I read in chapter 5.4 Installing the TF-A
tf-a-stm32mp-2.0-r0 TF-A installation directory
├── [*].patch ST patches to apply during the TF-A preparation (see next chapter)
├── arm-trusted-firmware-2.0 TF-A source code directory
├── Makefile.sdk Makefile for the TF-A compilation
├── README.HOW_TO.txt Helper file for TF-A management: reference for TF-A build
├── series List of all ST patches to apply
└── v2.0.tar.gz Tarball file of the TF-A source code
Where is next chapter ?
2020-01-22 06:19 AM
Hi @koan
See section 3 of the TF-A related README.HOW_TO.txt
Olivier
2020-01-23 04:06 AM
Hi @Community member
thanks to your clarification I built
make -f $PWD/../Makefile.sdk all
I see the *.stm32 files, but I don't have the *.tsv needed to run STM32CubeProgrammer.
What's missing?
2020-01-23 04:14 AM
Hi @koan
This is normal, developper package does not manage .tsv generation.
Please see section 6 in same readme to update the TF-A partition without STM32CubeProgrammer/.tsv
Else you can still use STM32CubeProgrammer by updating the .tsv provided in Starter Package with your custom TF-A binary.
Hope it help,
Olivier