cancel
Showing results for 
Search instead for 
Did you mean: 

stm32mp157 Offset in .tsv File

Hwang.11
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Erwan SZYMANSKI
ST Employee

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.

View solution in original post

2 REPLIES 2
Erwan SZYMANSKI
ST Employee

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
Associate II

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.