ATF Build Parameters-FIP_QSPI_OFFSET

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

ATF Build Parameters-FIP_QSPI_OFFSET

跳至解决方案
3,469 次查看
Coco111
Contributor III

My NXP friends:

              In the ATF source code, I couldn't find any information about make FIP_ QSPI_ OFFSET, FIP_ MMC_ OFFSET, FIP_ MEMORY_ OFFSET, Can you tell me why? Thank you.

 

Screenshot from 2023-05-18 22-14-43.pngScreenshot from 2023-05-18 22-16-20.png

 

 

标记 (2)
0 项奖励
回复
1 解答
3,422 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback. As said in the BSP Reference Manual:

"For QSPI boot, configure TF-A to read the FIP image from a defined QSPI offset."

"For SD/eMMC boot, configure TF-A to read the FIP image from a defined SD/eMMC offset."

"Configure TF-A to read the FIP image from a defined memory address instead of reading it from the boot source storage (QSPI or MMC)."

These options should let you have control over where you want the ATF to be looking for the FIP image, depending on which interface you want to search over (QSPI, MMC or SRAM).

Please, let us know.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
3,451 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We are not understanding the overall request. We do apologize.

What information are you looking for on regards of "FIP_ QSPI_ OFFSET, FIP_ MMC_ OFFSET, FIP_ MEMORY_ OFFSET"?

We do see they are used under the file you are referring to.

Please, let us know.

0 项奖励
回复
3,442 次查看
Coco111
Contributor III
I have read the Linux BSP user manual and do not quite understand the functions of these three macros. Therefore, I looked at the specific code in the ATF source code, but I found that there is no corresponding C code to handle these three macros
0 项奖励
回复
3,423 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback. As said in the BSP Reference Manual:

"For QSPI boot, configure TF-A to read the FIP image from a defined QSPI offset."

"For SD/eMMC boot, configure TF-A to read the FIP image from a defined SD/eMMC offset."

"Configure TF-A to read the FIP image from a defined memory address instead of reading it from the boot source storage (QSPI or MMC)."

These options should let you have control over where you want the ATF to be looking for the FIP image, depending on which interface you want to search over (QSPI, MMC or SRAM).

Please, let us know.

0 项奖励
回复
3,403 次查看
Coco111
Contributor III

Thank you for your reply. I understand
0 项奖励
回复