yocto build fails after migration of codeaurora to github

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

yocto build fails after migration of codeaurora to github

Jump to solution
2,216 Views
s153022
Contributor III

Hi ,

Recently, Codeaurora has been migrated to GitHub. Following this migration, I attempted to build auto Yocto Linux BSP 34.02 using the link provided below, but encountered build failures.

https://github.com/nxp-auto-linux/auto_yocto_bsp/tree/release/bsp34.2

It seems that the Codeaurora link has been replaced in the manifests/default.xml, however, the Codeaurora links in different Yocto layers' bb files have not been updated yet.

Could you please suggest if there is any working branch or version available that I can use to build the required BSP?

I would like to build this for s32g399aevb machine.

 

Best Regards

 

 

 

 

Tags (1)
0 Kudos
Reply
1 Solution
2,182 Views
IonutV_Vicovan
NXP Employee
NXP Employee

Hello,

1. If you simply want (any) BS34, you can download and build 34.0.1:

repo init -u https://github.com/nxp-auto-linux/auto_yocto_bsp -b release/bsp34.0.1

 

2. If you need 34.2 specifically, then some manual steps are required:

- download the BSP sources by running the "repo init" and "repo sync" commands as usual for BSP 34.2

- download the patches:

https://github.com/nxp-auto-linux/meta-alb/commit/9a8702cf4a0bc290398c3993dd4a501b0e68177b.patch 
https://github.com/nxp-auto-linux/meta-alb/commit/31b5687270e5ac25244a263abf5412604c5a92ed.patch 
https://github.com/nxp-auto-linux/meta-alb/commit/a4da9a67a2a910d22579bbca7d398929e52a0f08.patch

into the meta-alb directory of your BSP (e.g. from a web browser, open above links and right-click then "Save as...").

- go to meta-alb directory of your BSP in a bash shell and apply the three patches:

patch --backup-if-mismatch -F 10 -u -p 1 -i 31b5687270e5ac25244a263abf5412604c5a92ed.patch
patch --backup-if-mismatch -F 10 -u -p 1 -i 9a8702cf4a0bc290398c3993dd4a501b0e68177b.patch
patch --backup-if-mismatch -F 10 -u -p 1 -i a4da9a67a2a910d22579bbca7d398929e52a0f08.patch

After that, you can use the BSP as usual to build whatever you wish (run nxp-setup-alb.sh then bitbake etc.)

 

Best Regards,

Ionuț

View solution in original post

Tags (1)
3 Replies
2,114 Views
s153022
Contributor III

Thank you, that solution proved effective.

May I inquire about the current latest version of BSP?

0 Kudos
Reply
2,107 Views
IonutV_Vicovan
NXP Employee
NXP Employee

Hello,

 

latest full official release is 35.0: https://github.com/nxp-auto-linux/auto_yocto_bsp/tree/release/bsp35.0 

 

Best Regards,

Ionut

0 Kudos
Reply
2,183 Views
IonutV_Vicovan
NXP Employee
NXP Employee

Hello,

1. If you simply want (any) BS34, you can download and build 34.0.1:

repo init -u https://github.com/nxp-auto-linux/auto_yocto_bsp -b release/bsp34.0.1

 

2. If you need 34.2 specifically, then some manual steps are required:

- download the BSP sources by running the "repo init" and "repo sync" commands as usual for BSP 34.2

- download the patches:

https://github.com/nxp-auto-linux/meta-alb/commit/9a8702cf4a0bc290398c3993dd4a501b0e68177b.patch 
https://github.com/nxp-auto-linux/meta-alb/commit/31b5687270e5ac25244a263abf5412604c5a92ed.patch 
https://github.com/nxp-auto-linux/meta-alb/commit/a4da9a67a2a910d22579bbca7d398929e52a0f08.patch

into the meta-alb directory of your BSP (e.g. from a web browser, open above links and right-click then "Save as...").

- go to meta-alb directory of your BSP in a bash shell and apply the three patches:

patch --backup-if-mismatch -F 10 -u -p 1 -i 31b5687270e5ac25244a263abf5412604c5a92ed.patch
patch --backup-if-mismatch -F 10 -u -p 1 -i 9a8702cf4a0bc290398c3993dd4a501b0e68177b.patch
patch --backup-if-mismatch -F 10 -u -p 1 -i a4da9a67a2a910d22579bbca7d398929e52a0f08.patch

After that, you can use the BSP as usual to build whatever you wish (run nxp-setup-alb.sh then bitbake etc.)

 

Best Regards,

Ionuț

Tags (1)