Generate the SDK(toolchain) using YOCTO
Last updated
Last updated
This guide describes a method of generating the software development kit (Toolchain) using yocto for rugged board i.MX6UL and install it.
PC(Personal computer)/System
Ubuntu 20.04
Step-1: To generate the SDK,need to compile the yocto in your pc using Yocto Compilation For Rugged Board i.MX6UL document.
Step-2: After completion of yocto. Go to build folder in yocto and follow below command to generate the SDK.
Step-3: It will take much time to complete(depends on your PC performance and speed) and go to below path to get the SDK script with the name "phytec-ampliphy-glibc-x86_64-phytec-qt5demo-image-cortexa7t2hf-neon-vfpv4-toolchain- BSP-Yocto-Ampliphy-i.MX6UL-PD21.2.1.sh"
phytec-ampliphy-glibc-x86_64-phytec-qt5demo-image-cortexa7t2hf-neon-vfpv4-toolchain- BSP-Yocto-Ampliphy-i.MX6UL-PD21.2.1.sh
Step-4: Give the permissions to the toolchain script file as below and install it.
Step-5: To cross compile any sample application(hello_world.c) or compile any source, please run the below command.
Step-6: Cross compiling the c application as below