
5. Pass the command
make clean
for cleaning all the existing object files.
6. Run
make
in the same directory to build. An elf
ls_rx
will be created in
..\ls_rx\build
directory. To add the elf
generated to the root file system of the Linux image, follow the below steps:
a. Copy
fsl-image-core-ls1043ardb.ext2
to a new directory
ramdisk_fs
.
b. Copy the executable
ls_rx
to
ramdisk_fs
.
c. In the
ramdisk_fs
directory, make a new directory
TEMP
.
d. Run the following commands inside the
ramdisk_fs
directory:
>sudo gunzip fsl-image-core-ls1043ardb.ext2
>sudo mount fsl-image-core-ls1043ardb.ext2 TEMP/
>sudo cp ls_rx TEMP/home/root/
>sudo umount TEMP/
>sudo gzip -9 fsl-image-core-ls1043ardb.ext2
7. Copy this updated
fsl-image-core-ls1043ardb.ext2
directory to
../DCM_git/linux
directory.
8. Run the below command:
../u-boot/tools/mkimage -f kernel-ls1043a-rdb.its kernel-ls1043a-rdb.itb
The executable
ls_rx
will be placed in
/home/root
as Linux is booted on MPC-LS VNP EVB.
8.1.4.2 Package 2: IPCF based communication
To build the IPCF Linux Application, follow the below steps:
1. The
ls_ipcf_tx_rx_app
folder contains the application for LS1043A.
2. Copy the folder to an Ubuntu machine.
3. On terminal, go inside the
ls_ipcf_tx_rx
directory that will contain the
makefile
.
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
35 / 107