Question about Yocto build multi BSP version

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Question about Yocto build multi BSP version

跳至解决方案
762 次查看
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 项奖励
回复
1 解答
739 次查看
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 项奖励
回复
1 回复
740 次查看
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 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2141493%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%85%B3%E4%BA%8E%20Yocto%20%E7%89%88%E6%9C%AC%E5%A4%9A%E7%94%B5%E8%B7%AF%E6%9D%BF%E6%94%AF%E6%8C%81%E5%8C%85%E7%89%88%E6%9C%AC%E7%9A%84%E9%97%AE%E9%A2%98%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2141493%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%8CNXP%E5%9B%A2%E9%98%9F%EF%BC%9A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E5%AF%B9%E4%BA%8E%E4%B8%80%E4%B8%AA%E5%85%B7%E6%9C%89%E4%B8%8D%E5%90%8C%E7%94%B5%E8%B7%AF%E6%9D%BF%E6%94%AF%E6%8C%81%E5%8C%85%E3%80%82%20%E7%89%88%E6%9C%AC%E7%9A%84%E4%BB%A3%E7%A0%81%E5%BA%93%E6%96%87%E4%BB%B6%E5%A4%B9%3C%2FP%3E%3CP%3E%E6%98%AF%E5%90%A6%E9%9C%80%E8%A6%81%E5%B0%86%20Downloads%E3%80%81sstate-cache%20%E5%92%8C%20build_s32g399ardb3%20%E6%96%87%E4%BB%B6%E5%A4%B9%E5%88%86%E5%BC%80%EF%BC%9F%20%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E6%88%91%E7%9F%A5%E9%81%93%E4%B8%8B%E8%BD%BD%E5%8F%AF%E8%83%BD%E6%98%AF%E4%B8%80%E6%A0%B7%E7%9A%84%EF%BC%8C%E4%BD%86%E6%98%AF%E6%88%91%E4%B8%8D%E7%A1%AE%E5%AE%9Asstate-cache%E5%92%8C%E7%89%88%E6%9C%AC%E6%96%87%E4%BB%B6%E5%A4%B9%E7%9B%B8%E5%90%8C%E6%98%AF%E5%90%A6%E4%BC%9A%E6%9C%89%E4%BB%BB%E4%BD%95%E9%A3%8E%E9%99%A9%E3%80%82%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%E5%A6%82%E6%9E%9C%E9%9C%80%E8%A6%81%E5%88%86%E7%A6%BB%EF%BC%8Cnxp-setup-alb.sh%20%E4%B8%AD%E6%98%AF%E5%90%A6%E6%9C%89%E4%BB%BB%E4%BD%95%E5%8F%82%E6%95%B0%E5%8F%AF%E4%BB%A5%E5%9C%A8%E5%88%9D%E5%A7%8B%E5%8C%96%E8%BF%87%E7%A8%8B%E4%B8%AD%E5%B0%86%E5%AE%83%E4%BB%AC%E5%88%86%E5%BC%80%EF%BC%9F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E8%B0%A2%E8%B0%A2%EF%BC%81%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%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%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%3C%2FP%3E%0A%3CP%3E%E8%B0%A2%E8%B0%A2%E6%82%A8%E7%9A%84%E5%B8%96%E5%AD%90%E3%80%82%3C%2FP%3E%0A%3CP%3E1%E3%80%82%E5%AE%98%E6%96%B9%E5%BB%BA%E8%AE%AE%E5%B0%86%E4%B8%8D%E5%90%8C%E7%9A%84%E7%94%B5%E8%B7%AF%E6%9D%BF%E6%94%AF%E6%8C%81%E5%8C%85%E5%8F%91%E8%A1%8C%E7%89%88%E6%94%BE%E5%88%B0%E4%B8%8D%E5%90%8C%E7%9A%84%E7%9B%AE%E5%BD%95%E4%B8%AD%E4%BD%BF%E7%94%A8%EF%BC%8C%E5%9B%A0%E4%B8%BA%E4%BD%A0%E6%8F%90%E5%88%B0%E7%9A%84%E6%83%85%E5%86%B5%E6%B2%A1%E6%9C%89%E7%BB%8F%E8%BF%87%E6%AD%A3%E5%BC%8F%E6%B5%8B%E8%AF%95%E3%80%82%3C%2FP%3E%0A%3CP%3E2.%E6%A0%B9%E6%8D%AE%E6%88%91%E7%9A%84%E4%B8%AA%E4%BA%BA%E7%BB%8F%E9%AA%8C%EF%BC%8C%E4%B8%BA%E4%BA%86%E8%8A%82%E7%9C%81%E6%96%87%E4%BB%B6%E5%A4%A7%E5%B0%8F%EF%BC%8C%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%E7%9B%B8%E5%90%8C%E7%9A%84%E4%B8%8B%E8%BD%BD%E7%9B%AE%E5%BD%95%EF%BC%8C%E6%88%91%3CSPAN%3E%E4%BB%A5%E5%89%8D%3C%2FSPAN%3E%E6%B2%A1%E6%9C%89%E7%94%A8%E7%9B%B8%E5%90%8C%E7%9A%84sstate-cache%E6%B5%8B%E8%AF%95%E8%BF%87%EF%BC%8C%E4%BD%86%20Yocto%20%E7%BB%B4%E5%9F%BA%E4%B8%AD%E6%8F%90%E5%88%B0%E4%BA%86%E8%BF%99%E4%B8%80%E7%82%B9%EF%BC%9A%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%3E%E6%82%A8%E5%8F%AF%E4%BB%A5%E8%BF%9B%E8%A1%8C%E6%B5%8B%E8%AF%95%EF%BC%8C%E6%A3%80%E6%9F%A5%E6%98%AF%E5%90%A6%E6%AD%A3%E7%A1%AE%E6%97%A0%E8%AF%AF%E3%80%82%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3E%E5%88%87%E5%AE%81%3C%2FP%3E%3C%2FLINGO-BODY%3E