How to rebuild TF-A (Trusted Firmware-A) for STM32MP157C-DK2 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-22 5: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.
- Labels:
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-22 6:00 AM
Hi @koan​
Please have a look to this page :
https://wiki.st.com/stm32mpu/wiki/STM32MP1_Developer_Package
Hope it help,
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
‎2020-01-22 6:00 AM
Hi @koan​
Please have a look to this page :
https://wiki.st.com/stm32mpu/wiki/STM32MP1_Developer_Package
Hope it help,
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
‎2020-01-22 6: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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-22 6:19 AM
Hi @koan​
See section 3 of the TF-A related README.HOW_TO.txt
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
‎2020-01-23 4: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-23 4: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
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.
