linux booting cuts while trying to program PFE in s32g274a

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

linux booting cuts while trying to program PFE in s32g274a

Jump to solution
931 Views
0xEC
Contributor IV

hi,

i have custom board which has s32g274a SoC referenced from rdb2 board of s32g274a, while linux booting after TF-A and u-boot, board reset itself which reason i do not know.

i added SS of my booting sequence. it resets while trying to load PFEng. i could not debug it, trying to find out adding printf and some debug messages into u-boot, TF-A. Do you have any idea about my situation or does anyone face such a situation?

best,

0xEC_1-1690874843664.png

 

 

Tags (3)
0 Kudos
Reply
1 Solution
899 Views
0xEC
Contributor IV

hi @MayanksPatel 

actually i did solve this problem by disabling not used PFE_MAC2 in our custom board in the file include/configs/s32g274ardb2.h in u-boot source code as follows:

original was:

#define PFENG_MODE  "enable,sgmii, none, rgmii"

updated as:

#define PFENG_MODE "enable, sgmii, none, none"

by this change, u-boot enables just PFE_MAC0 in sgmii mode and PFE_MAC2 is not bring up so the kernel can boot.

Sorry for not updating this ticket, i forgot this one,

best regards,

View solution in original post

0 Kudos
Reply
2 Replies
911 Views
MayanksPatel
NXP Employee
NXP Employee

Hi @0xEC,

Can you share the building procedure you followed to build the TF-A Firmware?

Also, please share the changes you made on top of the default firmware, if any.

Please share the BSP Version details so, we can try here to reproduce it.

 

Thanks,

Mayank s Patel

0 Kudos
Reply
900 Views
0xEC
Contributor IV

hi @MayanksPatel 

actually i did solve this problem by disabling not used PFE_MAC2 in our custom board in the file include/configs/s32g274ardb2.h in u-boot source code as follows:

original was:

#define PFENG_MODE  "enable,sgmii, none, rgmii"

updated as:

#define PFENG_MODE "enable, sgmii, none, none"

by this change, u-boot enables just PFE_MAC0 in sgmii mode and PFE_MAC2 is not bring up so the kernel can boot.

Sorry for not updating this ticket, i forgot this one,

best regards,

0 Kudos
Reply