Telematics SDK - User Guide
v1.46.67
|
This section has instructions to build a yocto platform SDK using code aurora forum (CAF) / open source
NOTE: This is not to be confused with the Telematics SDK. The Yocto platform SDK, includes the tool chain, and libraries necessary to be able to develop any program for a given device. It also includes the stub open source libraries for the Telematics SDK, allowing one to develop application using the Telematics SDK's APIs as well.
You need to have the following in order to proceed:
Sync the CAF build
repo init and sync the sources
For example: Using AU label
repo init -q -u git://codeaurora.org/quic/le/le/manifest.git -b release -m caf_AU_LINUX_EMBEDDED_LE.UM.4.1.1_RB1_TARGET_ALL.01.147.055.xml
or using CRM build-id label
repo init -q -u git://codeaurora.org/quic/le/le/manifest.git -b release -m LE.UM.4.1.1-05510-sa515m.xml
NOTE: AU_LINUX_EMBEDDED_LE.UM.4.1.1_RB1_TARGET_ALL.01.147.055 should be replaced to the AU tag corresponding to the desired device build. "caf_" needs to be prefixed to the AU label.
The tags are listed here - https://source.codeaurora.org/quic/le/le/manifest/refs/tags
Update Telux and Telematics SDK
Add the following lines at the end of poky/build/conf/local.conf:
For all targets except LE.UM.1.3.r5, use
NOTE: For LE.UM.1.3.r5 target, use below.
Setup the build environment
Source the bitbake environment
Set MACHINE and DISTRO values
For LE.UM.3.2.1, Use:
For LE.UM.4.1.1, Use:
For LE.UM.3.2.3, Use:
Build and install the Yocto Platform SDK
Run the following command to create a yocto platform sdk
NOTE: core-image-minimal provides least number of packages including telematics sdk, sufficient for allowing one to develop application using the telematics sdk API's. Any additional packages necessary for application development might need to be added in yocto platform (bitbake) before the build.
Location of Yocto Platform SDK
After successful compilation, you will have have sdk installer on this location
For LE.UM.3.2.1, it will be generated with name poky/build/tmp-glibc/deploy/sdk/oecore-x86_64-armv7at2hf-neon-toolchain-nodistro.0.sh