
8.1.3.2 Ubuntu build tool chain
On your Ubuntu machine, run the following set of commands to download the linaro tool chain and set the cross compiler before
building the source code.
1. Download the open source gcc linaro tool chain (
gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu
) from the
URL:
https://releases.linaro.org/components/toolchain/binaries/6.3-2017.05/aarch64-linux-gnu/
and save it inside the
DCM_git
directory.
2. Untar the file using
tar -xf gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.xz
.
3. Then, use the following commands:
>>sudo apt install crossbuild-essential-arm64 gcc-aarch64-linux-gnu
>>export CROSS_COMPILE=aarch64-linux-gnu-
>>export ARCH=arm64
>>sudo apt install device-tree-compiler
>>export PATH=$PATH:/home/<user>/DCM_git/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin
8.1.3.3 Apply patches
Create three folders in DCM_git for patches named:
• dcm-linux_patches
• dcm-rcw_patches
• dcm-uboot_patches
Download the patches for RCW, U-Boot, and Linux in ‘dcm-rcw_patches’, ‘dcm-uboot_patches’, and ‘dcm-linux_patches’
directories respectively from the URL:
https://www.codeaurora.org/project/nxp-dual-chip-module-automotive-gateway
.
Click on patches:
Select
DCMRev2_GettingStarted and download the three packages from there.
NXP Semiconductors
How to build the software for LS1043A and MPC5748G
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
22 / 107