S32G with TFA boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32G with TFA boot

490 Views
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 Kudos
Reply
3 Replies

468 Views
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 Kudos
Reply

451 Views
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 Kudos
Reply

430 Views
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 Kudos
Reply