S32G2 Enabling Multicore Application

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

S32G2 Enabling Multicore Application

147 Views
zhipeng
Contributor III

Hi, nxp fellows:

 

We are preparing to use multi-core to run programs in the S32G274A chip, using A53 to run Linux and M7 to run LLCE_CAN.

We referred to "Enabling Multicore Application on S32G2 using S32G2 Platform Software Integration", according to 5.2. Configure the bootloader, installed the recommended software packages, and configured them following the steps.

zhipeng_7-1786181958976.png

There is an error in 5.3. Build The Bootloader during compilation.

The launch.bat file was edited.

zhipeng_0-1786182860528.png

An error occurred after running launch.bat. 

zhipeng_0-1786180508617.png

After commenting out the relevant code.

zhipeng_5-1786181360466.png

zhipeng_2-1786180921774.png

I found the CryptoDal.h file in the installation directory.

zhipeng_4-1786181305215.pngzhipeng_6-1786181450684.png

Where could there be any mistakes?

Thanks.

 

 

 

 

 

0 Kudos
Reply
3 Replies

114 Views
Joey_z
NXP Employee
NXP Employee

Hi,zhipeng

For your issue, will there be an error if the following contents are added? Is it commenting out won't cause an error?

Joey_z_0-1786328574726.png

BR

Joey

0 Kudos
Reply

103 Views
zhipeng
Contributor III

Hi, @Joey_z 

Yes, after adding, it will show "undeclared" on the third image.

Commenting out will show "No such file or directory", on the fifth image.

zhipeng_1-1786347067301.png

"CryptoDal.h" is located in D:\NXP\Integration_Reference_Examples_S32G2_2022_06\code\framework\realtime\bsw\dal\cryptodal\generic\include

"Hse_Ip.h" is located in D:\NXP\SW32G_RTD_4.4_3.0.2_HF01\eclipse\plugins\Crypto_TS_T40D11M30I2R0\include

I have found both files in their respective folders, and the file paths are also written in launch.bat.

The current problem feels like the plugin path was not included during the compilation process.

BR

0 Kudos
Reply

93 Views
Joey_z
NXP Employee
NXP Employee

Hi,zhipeng

Is Secure Boot enabled in the configuration? Try to enable the Secure boot, check if the issue will disappear.

Joey_z_2-1786353784256.png

BR

Joey

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2403079%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32G2%20Enabling%20Multicore%20Application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2403079%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20nxp%26nbsp%3Bfellows%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EWe%20are%20preparing%20to%20use%20multi-core%20to%20run%20programs%20in%20the%20S32G274A%20chip%2C%20using%20A53%20to%20run%20Linux%20and%20M7%20to%20run%20LLCE_CAN.%3C%2FP%3E%3CP%3EWe%20referred%20to%20%22Enabling%20Multicore%20Application%20on%20S32G2%20using%20S32G2%20Platform%20Software%20Integration%22%2C%20according%20to%205.2.%20Configure%20the%20bootloader%2C%20installed%20the%20recommended%20software%20packages%2C%20and%20configured%20them%20following%20the%20steps.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zhipeng_7-1786181958976.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_7-1786181958976.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_7-1786181958976.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_7-1786181958976.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_7-1786181958976.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F394034i7FC881D235D6A1A0%2Fimage-size%2Fsmall%3Fv%3Dv2%26amp%3Bpx%3D200%22%20role%3D%22button%22%20title%3D%22zhipeng_7-1786181958976.png%22%20alt%3D%22zhipeng_7-1786181958976.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThere%20is%20an%20error%20in%205.3.%20Build%20The%20Bootloader%20during%20compilation.%3C%2FP%3E%3CP%3EThe%20launch.bat%20file%20was%20edited.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zhipeng_0-1786182860528.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_0-1786182860528.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_0-1786182860528.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_0-1786182860528.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_0-1786182860528.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F394035iBABD3835BE1E4364%2Fimage-size%2Fsmall%3Fv%3Dv2%26amp%3Bpx%3D200%22%20role%3D%22button%22%20title%3D%22zhipeng_0-1786182860528.png%22%20alt%3D%22zhipeng_0-1786182860528.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAn%20error%20occurred%20after%20running%20launch.bat.%E2%80%83%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zhipeng_0-1786180508617.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_0-1786180508617.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_0-1786180508617.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_0-1786180508617.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_0-1786180508617.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F394026iFD0C0B33356DC106%2Fimage-size%2Fsmall%3Fv%3Dv2%26amp%3Bpx%3D200%22%20role%3D%22button%22%20title%3D%22zhipeng_0-1786180508617.png%22%20alt%3D%22zhipeng_0-1786180508617.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAfter%20commenting%20out%20the%20relevant%20code.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zhipeng_5-1786181360466.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_5-1786181360466.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_5-1786181360466.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_5-1786181360466.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_5-1786181360466.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F394032i8F6220B9AE4555F2%2Fimage-size%2Fsmall%3Fv%3Dv2%26amp%3Bpx%3D200%22%20role%3D%22button%22%20title%3D%22zhipeng_5-1786181360466.png%22%20alt%3D%22zhipeng_5-1786181360466.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zhipeng_2-1786180921774.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_2-1786180921774.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_2-1786180921774.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_2-1786180921774.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_2-1786180921774.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F394029iB2667C5AC086A76E%2Fimage-size%2Fsmall%3Fv%3Dv2%26amp%3Bpx%3D200%22%20role%3D%22button%22%20title%3D%22zhipeng_2-1786180921774.png%22%20alt%3D%22zhipeng_2-1786180921774.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20found%20the%20CryptoDal.h%20file%20in%20the%20installation%20directory.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zhipeng_4-1786181305215.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_4-1786181305215.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_4-1786181305215.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_4-1786181305215.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_4-1786181305215.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F394031i9A78379D98315D4B%2Fimage-size%2Fsmall%3Fv%3Dv2%26amp%3Bpx%3D200%22%20role%3D%22button%22%20title%3D%22zhipeng_4-1786181305215.png%22%20alt%3D%22zhipeng_4-1786181305215.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zhipeng_6-1786181450684.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_6-1786181450684.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_6-1786181450684.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_6-1786181450684.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_6-1786181450684.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F394033iE5EC95B5CCCB994F%2Fimage-size%2Fsmall%3Fv%3Dv2%26amp%3Bpx%3D200%22%20role%3D%22button%22%20title%3D%22zhipeng_6-1786181450684.png%22%20alt%3D%22zhipeng_6-1786181450684.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EWhere%20could%20there%20be%20any%20mistakes%3F%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2403257%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G2%20Enabling%20Multicore%20Application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2403257%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%EF%BC%8C%3CSPAN%3Ezhipeng%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIs%20Secure%20Boot%20enabled%20in%20the%20configuration%3F%20Try%20to%20enable%20the%20Secure%20boot%2C%20check%20if%20the%20issue%20will%26nbsp%3Bdisappear.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Joey_z_2-1786353784256.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Joey_z_2-1786353784256.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Joey_z_2-1786353784256.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Joey_z_2-1786353784256.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F394079iD96FF2822F40DD41%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Joey_z_2-1786353784256.png%22%20alt%3D%22Joey_z_2-1786353784256.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EJoey%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2403200%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G2%20Enabling%20Multicore%20Application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2403200%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F236188%22%20target%3D%22_blank%22%3E%40Joey_z%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%20after%20adding%2C%20it%20will%20show%20%22undeclared%22%20on%20the%20third%20image.%3C%2FP%3E%3CP%3ECommenting%20out%20will%20show%20%22No%20such%20file%20or%20directory%22%2C%20on%20the%20fifth%20image.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zhipeng_1-1786347067301.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_1-1786347067301.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhipeng_1-1786347067301.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F394063i5D0CF48B98CEDECB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22zhipeng_1-1786347067301.png%22%20alt%3D%22zhipeng_1-1786347067301.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%22CryptoDal.h%22%20is%20located%20in%20D%3A%5CNXP%5CIntegration_Reference_Examples_S32G2_2022_06%5Ccode%5Cframework%5Crealtime%5Cbsw%5Cdal%5Ccryptodal%5Cgeneric%5Cinclude%3C%2FP%3E%3CP%3E%22Hse_Ip.h%22%20is%20located%20in%20D%3A%5CNXP%5CSW32G_RTD_4.4_3.0.2_HF01%5Ceclipse%5Cplugins%5CCrypto_TS_T40D11M30I2R0%5Cinclude%3C%2FP%3E%3CP%3EI%20have%20found%20both%20files%20in%20their%20respective%20folders%2C%20and%20the%20file%20paths%20are%20also%20written%20in%20launch.bat.%3C%2FP%3E%3CP%3EThe%20current%20problem%20feels%20like%20the%20plugin%20path%20was%20not%20included%20during%20the%20compilation%20process.%3C%2FP%3E%3CP%3EBR%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2403132%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G2%20Enabling%20Multicore%20Application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2403132%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3CSPAN%3Ezhipeng%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFor%20your%20issue%2C%20will%20there%20be%20an%20error%20if%20the%20following%20contents%20are%20added%3F%20Is%20it%20commenting%20out%20won't%20cause%20an%20error%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Joey_z_0-1786328574726.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Joey_z_0-1786328574726.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F394045iA063ACB7F8AE2FA0%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Joey_z_0-1786328574726.png%22%20alt%3D%22Joey_z_0-1786328574726.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBR%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EJoey%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E