ATF: BL2 stack area conflicts with BL33(uboot) content

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

ATF: BL2 stack area conflicts with BL33(uboot) content

534 Views
ZhiguoZhong
Contributor I

Hi ,

In my ATF program, Maybe the BL2 stack area conflicts with BL33. When init_xlat_tables() function is executed, the content of BL33(uboot) will be destroyed(Valid BL33(uboot) Magic ID=0x1400000a, but changed to 0xffbc8743). Therefore, BL33(uboot) startup failed.

ZhiguoZhong_2-1676881873659.png

Without reducing the size of stack space, I want to move the position of BL33 in fip.bin to avoid conflicts.

So, how to modify the BL33 image offset of fip.bin in ATF?

ZhiguoZhong_1-1676881358606.png

thanks!

0 Kudos
Reply
1 Reply

523 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Could you tell us which platform/BSP you are working with?

Are you using the specific Linux User Guide For S32G platform? Chapter 3 Build the Linux BSP should provide this information you are looking for.

Please, let us know.

0 Kudos
Reply