cancel
Showing results for 
Search instead for 
Did you mean: 

How to download bare code to A7

李放.1
Associate II

0693W00000FCA0tQAH.png 

Whether there is a bare - machine routine for MP1?

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

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

Olivier GALLIEN
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.

View solution in original post

1 REPLY 1
Olivier GALLIEN
ST Employee

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

Olivier GALLIEN
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.