How to download bare code to A7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-10-11 8:57 PM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-10-13 12:47 AM
Hi,
I recall that ST is not supporting any bare solution but only Linux for A7 in its ecosystem.
Anyway, if I assume rtthread.stm32 is a bare code for A7, you can't load it into mmc0 ( SDCard) with the single line TSV I see in screenshot.
The minimal TSV might be (for a DK board ) :
#Opt Id Name Type IP Offset Binary
- 0x01 fsbl1-boot Binary none 0x0 arm-trusted-firmware/tf-a-stm32mp157c-dk2-usb.stm32
- 0x03 fip-boot Binary none 0x0 fip/fip-stm32mp157c-dk2-trusted.bin
P 0x04 fsbl1 Binary mmc0 0x00004400 rtthread.stm32
This load in DDR Tf-a and U-boot enabling DFU service to flashload the fsbl1 paritition in SDCard.
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
2021-10-13 12:47 AM
Hi,
I recall that ST is not supporting any bare solution but only Linux for A7 in its ecosystem.
Anyway, if I assume rtthread.stm32 is a bare code for A7, you can't load it into mmc0 ( SDCard) with the single line TSV I see in screenshot.
The minimal TSV might be (for a DK board ) :
#Opt Id Name Type IP Offset Binary
- 0x01 fsbl1-boot Binary none 0x0 arm-trusted-firmware/tf-a-stm32mp157c-dk2-usb.stm32
- 0x03 fip-boot Binary none 0x0 fip/fip-stm32mp157c-dk2-trusted.bin
P 0x04 fsbl1 Binary mmc0 0x00004400 rtthread.stm32
This load in DDR Tf-a and U-boot enabling DFU service to flashload the fsbl1 paritition in SDCard.
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.
