S32G with TFA boot

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

S32G with TFA boot

1,539 次查看
piaochunri
Contributor II

The question is why we need to skip 256 bytes from the beginning of the SD-card.And with bsp-35.0 ,how should I config TFA?Thank u.

0 项奖励
回复
3 回复数

1,517 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We might be misunderstanding the overall inquiry. If so, we do apologize.

The 256 bytes skip seems to be related to the image structure itself. As for building BSP35.0 with TF-A, we understand that BSP35.0 is already available with TF-A, there is no additional configuration required.

Please, let us know.

0 项奖励
回复

1,500 次查看
piaochunri
Contributor II

If I build image without yocto,I use the following line to deploy.

sudo dd if=<path/to/fip.s32> of=/dev/ skip=512 seek=512 \ iflag=skip_bytes oflag=seek_bytes conv=fsync,notrunc

 

And if I build with yocto,in the log I find I need to copy 256 bytes first then skip 512 bytes.

256 bytes copied, 0.00766673 s, 33.4 kB/s

What is the difference and are they both work ok?Thank u.

0 项奖励
回复

1,479 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback.

In general, the following command should be used if TF-A is build manually and modified under the current SD card image:

DanielAguirre_0-1717506332622.png

For more information, we can recommend looking into the BSP35.0 User Manual.

Please, let us know.

0 项奖励
回复