Skip to main content
Hwang.11
Associate
July 13, 2025
Solved

stm32mp157 Offset in .tsv File

  • July 13, 2025
  • 2 replies
  • 263 views

How to obtain the Offset in the tsv file , Especially for SD cards。

1.SD

Hwang11_2-1752384306695.png

2.EMMC

Hwang11_1-1752384199907.png

Best answer by Erwan SZYMANSKI

Hello @Hwang.11 ,
You can check on our OpenSTLinux Yocto delivery. I think that the information you are looking for is located in this file: https://github.com/STMicroelectronics/meta-st-stm32mp/blob/scarthgap/conf/machine/include/st-machine-storage-device-stm32mp.inc

Kind regards,
Erwan.

2 replies

Erwan SZYMANSKI
Erwan SZYMANSKIBest answer
Technical Moderator
July 25, 2025

Hello @Hwang.11 ,
You can check on our OpenSTLinux Yocto delivery. I think that the information you are looking for is located in this file: https://github.com/STMicroelectronics/meta-st-stm32mp/blob/scarthgap/conf/machine/include/st-machine-storage-device-stm32mp.inc

Kind regards,
Erwan.

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.
Hwang.11
Hwang.11Author
Associate
July 30, 2025

Hello ,

First of all,Thank you very much for your reply.

But I actually want to know how this offset is defined, including the offset in this header file(st-machine-storage-device-stm32mp.inc). Maybe I want to ask  , how does bootrom determine the address to load

TFA (tf-a-sdcard.stm32) from sdcard  into RAM. 

I tried to modify these address and burned successfully . this mp157 can still start normally.