Hello @DRAVE ,
Actually, building the GoldVIP image using Yocto project is possible.
NXP maintains the meta-gvip layer for this purpose.
The latest version at time of writing is release/goldvip-1.12.0. It is based on Linux BSP 41.0.
The required Yocto layers revisions are listed in here and here.
For this specific release, you may fetch the Yocto layer sources manually by running these commands:
mkdir sources && cd sources
git clone https://git.yoctoproject.org/meta-freescale/ && cd meta-freescale && git checkout 1aa79a0c9b7d6d8af626b2d39a1d518d70d28205 && cd ..
git clone https://git.openembedded.org/meta-python2 && cd meta-python2 && git checkout f02882e2aa9279ca7becca8d0cedbffe88b5a253 && cd ..
git clone https://git.yoctoproject.org/meta-security && cd meta-security && git checkout 1a3e42cedbd94ca73be45800d0e902fec35d0f0f && cd ..
git clone https://git.yoctoproject.org/meta-virtualization && cd meta-virtualization && git checkout cb2bc17e96552cdfc141d27bd9f4dbd95a872846 && cd ..
git clone https://git.openembedded.org/meta-openembedded && cd meta-openembedded && git checkout 8bb16533532b6abc2eded7d9961ab2a108fd7a5b && cd ..
git clone https://git.yoctoproject.org/poky/ && cd poky && git checkout 6d1a878bbf24c66f7186b270f823fcdf82e35383 && cd ..
git clone https://git.yoctoproject.org/meta-java && cd meta-java && git checkout 2926885ebb4c3780789918e0d2ce5ee42cf115a5 && cd ..
git clone https://git.yoctoproject.org/meta-aws && cd meta-aws && git checkout 7c32ab97047e0ac3f5e2c90a8021bf70e02f6d95 && cd ..
git clone https://github.com/nxp-auto-goldvip/meta-gvip && cd meta-gvip && git checkout 1e749d340290f92edba7b87ca35fc800fa9c814b && cd ..
git clone https://github.com/nxp-auto-linux/meta-alb && cd meta-alb && git checkout 3d9b44b8ef908c9745db191b6e8657f7ef36fa12 && cd ../.. && cp sources/meta-alb/nxp-setup-alb.sh .
Alternatively, you may use the Repo tool to fetch these sources from Git automatically.
Once all the sources are downloaded, you can run the shell script:
. nxp-setup-alb.sh -m s32g399ardb3
to initialize the build environment. This will create the folder build_s32g399ardb3.
Modify the file build_s32g399ardb3/conf/bblayers.conf to include the additional Yocto layers:
BBLAYERS ?= " \
...
<path to sources/meta-aws> \
<path to sources/meta-java> \
<path to sources/meta-gvip> \
"
Then you can start the build by running:
bitbake fsl-image-goldvip