Skip to main content
Visitor II
October 12, 2021
Solved

How to download bare code to A7

  • October 12, 2021
  • 1 reply
  • 937 views

0693W00000FCA0tQAH.png 

Whether there is a bare - machine routine for MP1?

    This topic has been closed for replies.
    Best answer by Olivier GALLIEN

    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

    1 reply

    Technical Moderator
    October 13, 2021

    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