Question about Yocto build multi BSP version

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

Question about Yocto build multi BSP version

Jump to solution
764 Views
GG0712
Contributor III

Hi NXP team,

 

For one code base folder with different BSP version

Does the Downloads, sstate-cache and build_s32g399ardb3 folders need to be separated? 

 

My understand that Downloads can be the same, but I'm not sure it will have any risk if sstate-cache and build folder are the same.


If separation is required, is there any parameter in nxp-setup-alb.sh that can separate them during initialization?

 

Thanks

0 Kudos
Reply
1 Solution
741 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @GG0712 

Thanks for your post.

1. Officially, it is suggested putting different BSP distributions to the different directory for use, since the situation you mentioned is not formally tested.

2. From my personal experience, in order for saving the size, you may use the same downloads directory, I did not test with the same sstate-cache before, but it is said from the Yocto wiki that:

chenyin_h_0-1753757230280.png

You may test it and check if it is correct without issues.

 

BR

Chenyin

View solution in original post

0 Kudos
Reply
1 Reply
742 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @GG0712 

Thanks for your post.

1. Officially, it is suggested putting different BSP distributions to the different directory for use, since the situation you mentioned is not formally tested.

2. From my personal experience, in order for saving the size, you may use the same downloads directory, I did not test with the same sstate-cache before, but it is said from the Yocto wiki that:

chenyin_h_0-1753757230280.png

You may test it and check if it is correct without issues.

 

BR

Chenyin

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2141493%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EQuestion%20about%20Yocto%20build%20multi%20BSP%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2141493%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20NXP%20team%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EFor%20one%20code%20base%20folder%20with%20different%20BSP%20version%3C%2FP%3E%3CP%3EDoes%20the%20Downloads%2C%20sstate-cache%20and%20build_s32g399ardb3%20folders%20need%20to%20be%20separated%3F%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EMy%20understand%20that%20Downloads%20can%20be%20the%20same%2C%20but%20I'm%20not%20sure%20it%20will%20have%20any%20risk%20if%20sstate-cache%20and%20build%20folder%20are%20the%20same.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EIf%20separation%20is%20required%2C%20is%20there%20any%20parameter%20in%20nxp-setup-alb.sh%20that%20can%20separate%20them%20during%20initialization%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2142169%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Question%20about%20Yocto%20build%20multi%20BSP%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2142169%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F236748%22%20target%3D%22_blank%22%3E%40GG0712%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20post.%3C%2FP%3E%0A%3CP%3E1.%20Officially%2C%20it%20is%20suggested%20putting%20different%20BSP%20distributions%20to%20the%20different%20directory%20for%20use%2C%20since%20the%20situation%20you%20mentioned%20is%20not%20formally%20tested.%3C%2FP%3E%0A%3CP%3E2.%20From%20my%20personal%20experience%2C%20in%20order%20for%20saving%20the%20size%2C%20you%20may%20use%20the%20same%20downloads%20directory%2C%20I%20did%20not%20test%20with%20the%20same%26nbsp%3B%3CSPAN%3Esstate-cache%20before%2C%20but%20it%20is%20said%20from%20the%20Yocto%20wiki%20that%3A%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%22chenyin_h_0-1753757230280.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22chenyin_h_0-1753757230280.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349841iA4CB48460BA9BD0D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22chenyin_h_0-1753757230280.png%22%20alt%3D%22chenyin_h_0-1753757230280.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EYou%20may%20test%20it%20and%20check%20if%20it%20is%20correct%20without%20issues.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EChenyin%3C%2FP%3E%3C%2FLINGO-BODY%3E