Hi,
We are developing an application for s32grdb3 evaluation board. we want to cross compile our application using Yocto BSP version 39 - https://github.com/nxp-auto-linux/auto_yocto_bsp/tree/release/bsp39.0
We followed the process described in "S32G-VNP-GLDBOX3SOFTWARE ENABLEMENT GUIDE" (with necessary modifications ) to generate SDK so that we have all the libs that we need with compiler. The build process fails everytime with strange errors(its different every time). Question is, is the SDK available online ? Because we dont want to invest lot of time to build the SDK weirs our usecase in the end is only to cross compile our application
Solved! Go to Solution.
Thanks for the question.
Yes, the BSP is indeed available online, I understand that you may need the BSP itself, also, the compiler is needed due to the cross compiling for your own application.
Carefully following the README from
https://github.com/nxp-auto-linux/auto_yocto_bsp/tree/release/bsp39.0, the following commands may be useful for your reference:
mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
PATH=${PATH}:~/bin
mkdir fsl-auto-yocto-bsp
cd fsl-auto-yocto-bsp
repo init -u https://github.com/nxp-auto-linux/auto_yocto_bsp -b release/bsp39.0
repo sync
./sources/meta-alb/scripts/host-prepare.sh
. nxp-setup-alb.sh -m s32g399ardb3
cd build_s32g399ardb3
bitbake fsl-image-auto
After the building, the BSP components including ATF, u-boot, Linux kernel and rootfs should be built successfully.
According to the BSP39.0 User manual, the link for a compatible pre-built GCC 11.3.0 for ARM64 toolchain, as delivered by Arm at:
Once you have downloaded the toolchain package, in order to install it, you just need to untar it in a directory of your choice, for example, you put it into the /home/test/toolchain
Then this toolchain could be used with your own application for cross compiling.
Hope it helps.
Best Regards
Chenyin
Thanks for the question.
Yes, the BSP is indeed available online, I understand that you may need the BSP itself, also, the compiler is needed due to the cross compiling for your own application.
Carefully following the README from
https://github.com/nxp-auto-linux/auto_yocto_bsp/tree/release/bsp39.0, the following commands may be useful for your reference:
mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
PATH=${PATH}:~/bin
mkdir fsl-auto-yocto-bsp
cd fsl-auto-yocto-bsp
repo init -u https://github.com/nxp-auto-linux/auto_yocto_bsp -b release/bsp39.0
repo sync
./sources/meta-alb/scripts/host-prepare.sh
. nxp-setup-alb.sh -m s32g399ardb3
cd build_s32g399ardb3
bitbake fsl-image-auto
After the building, the BSP components including ATF, u-boot, Linux kernel and rootfs should be built successfully.
According to the BSP39.0 User manual, the link for a compatible pre-built GCC 11.3.0 for ARM64 toolchain, as delivered by Arm at:
Once you have downloaded the toolchain package, in order to install it, you just need to untar it in a directory of your choice, for example, you put it into the /home/test/toolchain
Then this toolchain could be used with your own application for cross compiling.
Hope it helps.
Best Regards
Chenyin