MPC-LS Vehicle Network Processing Evaluation Board User
Manual
All information provided in this document is subject to legal disclaimers
Rev. 0 — Feb 2019
Contents
1 Introduction
The NXP MPC-LS VNP EVB brings an advanced automotive gateway solution
using NXP's MPC5748G gateway microcontroller and LS1043A
communications processor SoCs. The combination of a real-time
microcontroller with microprocessor application processing enables new
gateway use cases and service-oriented gateways. The complete MPC-LS
VNP EVB solution consists of two boards - a Processor Module and a Platform
Board with a wide array of automotive interfaces.
This document provides detailed reference information for the MPC-LS VNP
Evaluation Board (EVB) comprising a Processor Module and a Platform Board.
This includes detailed board configuration including connectors, jumpers, LED
notifications, board programming, and recovery instructions. The document
also includes usage of software tools and environment for building, flashing,
and debugging the board.
To get familiar with the system, the user needs to follow the below work flow:
1. Bring up the MPC-LS VNP EVB as described in the Quick Start Guide.
(Requires MPC-LS VNP EVB)
2. Install required software per section Software Requirements.
3. Build Linux and MPC5748G images as per section How to Build.
4. Flash images on LS1043A and MPC5748G per section How to flash the
board or perform board recovery on page 61. (Requires MPC-LS VNP
VirtualBox 5.2.22 for
Windows Host with Ubuntu
18 installed to build the
LSDK images on the same
machine. Required for both
Bare-metal and AUTOSAR
package.
FTDI driver for
Windows 10
CDM v2.12.28 WHQL driver
to access the serial console
of LS1043A in Windows 10.
Required for both Baremetal and AUTOSAR
package.
4 MPC-LS Processor Module details
The figure below displays the actual diagram of the MPC-LS Processor Module with components marked:
"Dual Chip Module" or "DCM" are legacy and refer to the MPC-LS Processor Module.
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
Refer section VirtualBox
on Windows Host.
Refer Quick Start Guide
for installing FTDI driver.
J2212 V power jackDC power jackConnects to 12 V, 5 A power supply
SW5MPC5748G reset
J17MPC5748G JTAG2x7 pin ARM JTAG header
J5USB port18-pin USB3.0 connector-open-
J7Micro USB portMicro USB to UARTConnects to the computer
P2ENET portSGMII Ethernet port-open-
J6MMC slotMicro SD slot-open-
J16LS1043A JTAG2x5 pin ARM JTAG headerConnects to the CodeWarrior TAP
SW3LS1043A reset
Resets MPC5748GConnects to the MPC5748G reset line
Resets LS1043AConnects to the LS1043A reset line
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
4 / 107
NXP Semiconductors
MPC-LS Processor Module details
4.2 Jumpers
The table below shows the default jumper settings for the MPC-LS Processor Module:
Table 4. MPC-LS Processor Module jumper settings
JumperSizeName/functionDescription
J131x2 pinLS Secure Boot Programming Enable Off: Normal Operation
On: Programming Mode
J281x3 pinUART to USB Rx pin1-2: LS Serial port
2-3: MPC5748G Serial Port
J291x3 pinUART to USB Tx pin1-2: LS Serial port
2-3: MPC5748G Serial Port
J311x2 pinUSB_PWRFAULT Pull SelectOff: No external pull
On: Pin pulled to GND (may be required by
USB software)
J321x2 pinDisable RESET_REQ_B from LSOff: RESET_REQ_B pin will trigger a reset
On: RESET_REQ_B pin is masked and will
not trigger reset
The default jumper setting on J28 and J29 is set to 1-2.
On the LS1043A side, the U-Boot is by default booted from the NOR flash.
LED indicators
4.3
The table below describes the MPC-LS Processor Module LEDs:
Table 5. MPC-LS Processor Module LEDs
LED
DS1Red5 V switching regulator output5 V power present
DS2Red3.3 V switching regulator output 3.3 V power present
DS3BlueMPC5748G general purpose
ColorNameDescription
General purpose port – PB[14]
LED
DS4RedLS general purpose LEDGeneral purpose
DS7RedLS1043A resetLS MPU in reset
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
Table continues on the next page...
5 / 107
NXP Semiconductors
Table 5. MPC-LS Processor Module LEDs (continued)
MPC-LS Platform Board details
LED
DS8RedMPC5748G target resetReset on JTAG or reset button
DS9RedMPC5748G MCU resetMPC5748G MCU in reset
ColorNameDescription
4.4 Resistor configurations
The resistor settings define the boot source of the LS1043A on MPC-LS Processor Module. The default boot source is kept to
NOR boot. The below resistor settings can be done for the respective boot source.
NOTE
Every resistor value is 4k7.
1. NOR Boot (default settings)
R85, R493 are unmounted.
R86, R88, R89, R90, R92, R492, R667 are mounted.
2. NAND Boot
R492, R493, R667 will be unmounted.
R85, R86, R88, R89, R90, R92 will be mounted.
3. SD Boot
R85 will be unmounted.
R86, R88, R89, R90, R92, R492, R493, R667 will be mounted.
MPC-LS Platform Board details
5
MPC-LS Platform board is equipped with connection to power supply. When used in Stacked mode (MPC-LS Processor Module
installed on the MPC-LS Platform Board), the power supply must be connected to the MPC-LS Platform power jack for all the
interfaces to be available. The MPC-LS Processor Module stacked over the MPC-LS Platform Board is shown in the figure below.
NOTE
MPC-LS Processor Module can be powered independently and used standalone.
Figure 2. MPC-LS Processor Module and MPC-LS Platform Board in Stacked mode
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
6 / 107
MPC-LS Processor
Module
RGMII_C
RGMII_B
MII x2RGMII_A x2SGMII
MPC5748G
Platform Board
Power Jack
FlexRay x2
CAN 4x2
TJA1048T
LIN x4
SJA1105Q
micro USB port
SPI2CAN breakout
connector
TJA1081
TJA1024HG
MPC-LS-VNP-MOD
NXP Semiconductors
MPC-LS Platform Board details
5.1 MPC-LS Processor Module connections to the MPC-LS Platform Board
The connections from MPC-LS Processor Module to the MPC-LS Platform Board can be referred from the schematics as shown
below:
MPC-LS Processor Module MPC-LS Platform Board
1. J1 <-> J80
Figure 4. J1<->J80 connection
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
7 / 107
NXP Semiconductors
MPC-LS Platform Board details
2. J2 <-> J66
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
8 / 107
NXP Semiconductors
MPC-LS Platform Board details
Figure 5. J2 to J66
3. J3 <-> J81
Figure 6. J3 to J81
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
9 / 107
NXP Semiconductors
MPC-LS Platform Board details
4. J4 <-> J87
Figure 7. J4 to J87
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
10 / 107
NXP Semiconductors
Debugger connections
6 Debugger connections
This section shows the hardware connection setup required to connect the debugger of LS1043A and MPC5748G with the MPCLS VNP EVB.
CodeWarrior TAP
6.1
The CodeWarrior TAP allows you to debug and control the LS1043A system on MPC-LS VNP EVB using the CodeWarrior IDE.
To attach the CodeWarrior TAP to MPC-LS VNP EVB, follow the steps below:
1. Attach the CodeWarrior TAP probe “CWH-CTP-CTX10-YE” to the CodeWarrior TAP as shown in the figure below:
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
11 / 107
NXP Semiconductors
Debugger connections
Figure 8. Cable connections for the CodeWarrior TAP
2. Connect the 10-wire cable to the JTAG headers on MPC-LS Processor Module. When aligned properly, the red stripe will
be on Pin 1 toward the inner side of the board.
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
12 / 107
Pin 1
NXP Semiconductors
Debugger connections
Figure 9. Connecting the 10-wire cable to JTAG headers on MPC-LS Processor module
3. Connect the mini USB cable from CodeWarrior TAP to UART on PC.
The CodeWarrior TAP is now ready to be used.
Lauterbach
6.2
Lauterbach for PPC allows you to debug and control the MPC5748G system on the MPC-LS VNP EVB using T32mppc software.
To attach the Lauterbach to MPC-LS VNP EVB, follow the steps below:
1. Attach the standard 7.9 V Lauterbach supply to Lauterbach.
2. Connect the cable from Lauterbach to PC.
3. Connect the 14-wire cable to the JTAG header on MPC-LS VNP EVB with Pin 1 of the JTAG connector near the outside
of the board, the connector nipple should be on the side of the Ethernet connector as shown in the image below, as
shown below:
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
13 / 107
Pin 1
NXP Semiconductors
Quick Start with MPC-LS VNP EVB
Figure 10. Connecting the 14-wire cable to JTAG header on MPC-LS VNP EVB with Pin 1
7 Quick Start with MPC-LS VNP EVB
There are two getting started packages released for MPC-LS VNP EVB:
1. Package 1:
MPC5748G – Bare-metal code
LS1043A - Open Source Linux Software Development Kit (LSDK), with MPC-LS VNP EVB patches
2. Package 2:
MPC5748G - ARCCORE’s AUTOSAR, with MPC-LS VNP EVB customizations and integrated IPCF
LS1043A - Open Source Linux Software Development Kit (LSDK), with MPC-LS VNP EVB patches and IPCF application
The user may refer to Quick Start Guide provided with each package.
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
14 / 107
NXP Semiconductors
How to build the software for LS1043A and MPC5748G
NOTE
QSG is related only to the package which is pre-flashed on the board, which is AutoSAR + LSDK. The QSG for
Package 1 will be provided later on.
8 How to build the software for LS1043A and MPC5748G
The below section provides instructions to setup and build the software for LS1043A and MPC5748G.
• For LS1043A: Linux SDK.
• For MPC5748G: Bare-metal examples and AUTOSAR.
NOTE
A simplified Yocto build will be provided for MPC-LS-VNP EVB in near future.
8.1 LS1043A: Linux SDK Build
The build environment for the LS1043A can be either set up on Linux machine with Ubuntu 14/16/18 installed or on a VirtualBox
on a Windows host with Ubuntu 18. Once the build environment is set, all the proceeding steps to build are same irrespective of
whether it is a separate Linux machine or Linux on VirtualBox.
8.1.1 Linux Ubuntu machine
For a separate Linux Ubuntu machine, no external packages are required to be installed. The tool chain required to build the LSDK
images will be explained further in the scope of this document.
8.1.2 VirtualBox on Windows host
1. Open the webpage: https://www.virtualbox.org/wiki/Downloads.
2. Click on “VirtualBox 5.2 builds as highlighted in the snapshot below.
3. Download VirtualBox 5.2.22 for Windows Host as highlighted in the snapshot below.
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
15 / 107
NXP Semiconductors
4. Run the installer.
How to build the software for LS1043A and MPC5748G
5. Download Ubuntu 18.04.
a. Go to https://www.ubuntu.com/desktop/developers .
b. Click on “Get Ubunto now” box.
c. Click on “Download” box for Ubunto 18.0.4.1 LTS.
d. The downloaded file is an ISO image. You will need this to mount it on the virtual drive. Steps to do that are
explained later in this section.
6. Open the VirtualBox Manager.
7. Click on New icon.
8. Provide Name: Ubuntu 18.04 , the type will be automatically selected to Linux, select version as Ubuntu (64-bit) only.
NOTE
If you see option only to run the 32-bit Ubuntu, follow section Run 64 bit guest on VirtualBox of Annexure section
B.
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
16 / 107
NXP Semiconductors
How to build the software for LS1043A and MPC5748G
9. Allocate RAM of at least 2048 MB. Recommended RAM is 4096 MB if your PC machine has a RAM more than 8 MB.
10. Select create a virtual hard disk now.
11. Select hard disk file type as VDI (VirtualBox Disk Image).
12. Select storage on physical hard disk to be Fixed size.
13. Select virtual hard disk size to 40 GB as shown in the snapshot below.
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
17 / 107
NXP Semiconductors
How to build the software for LS1043A and MPC5748G
14. The Install Manager will confirm if you need to create the virtual hard disk. Select Create.
15. Select the default directory for the file location.
16. The virtual hard disk will be created.
17. If not selected as shown below, select the Ubuntu 18.04 disk and click on Start.
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
18 / 107
NXP Semiconductors
How to build the software for LS1043A and MPC5748G
18. The Manager will ask to select the startup disk. Provide the Ubuntu 18.04 iso file ‘ubuntu-18.04.1-desktop-amd64.iso’
here that is downloaded in step 5. Click on Start once loaded.
19. The install wizard for Ubuntu will come up. Select the language and click on Install Ubuntu.
20. Select Keyboard layout as per your convenience. Selected “English(UK)” in our case.
21. Select Normal Installation option and tick the Download updates while installing Ubuntu button.
22. Select Erase disk and install Ubuntu, click on Install Now
23. Click Continue on the pop-up window.
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
19 / 107
NXP Semiconductors
24. Provide your location and your login credentials.
25. Ubuntu will be installed.
26. If you get the message “Remove Media”, then just hit enter.
All the further instructions and steps mentioned for Linux are common and applicable to both Linux Ubuntu machine
as well as Ubuntu on VirtualBox.
NOTE
How to build the software for LS1043A and MPC5748G
8.1.3 Linux LSDK17.12 setup and build
Open Source Linux Software Development Kit (LSDK).
8.1.3.1 Source path
1. The LSDK source and binaries can be found at “https://lsdk.github.io/”. For details on downloading them, follow the below
steps.
2. In total 5 images will be flashed on LS1043A. Out of which the binaries of ‘ppa.itb’ and ‘fsl_fman’ will be readily available
on git hub and the source code for ‘rcw’, ‘U-Boot’ and ‘Linux’ will be downloaded/cloned from git hub and built locally.
Here is a brief description of all these images used:
a. RCW: Reset configuration word.
b. U-Boot: Universal Boot Loader.
c. PPA: Primary Protected Application.
d. Fman: Frame manager hardware accelerator.
e. Linux: Linux image.
3. Create DCM_git directory at /home/<user> to store the LSDK17.12 source code.
4. For rcw source, go inside the DCM_git directory and pass the below commands. Copy and paste may not work by
default in the virtual box. If this is the case, follow section Enable copy and paste from/to VirtualBox of Annexure.
DCM_git directory will have the below three directories:
• rcw
• u-boot
• linux
6. Change the directory to u-boot by using cd and enter the command git checkout -b LSDK-17.12 LSDK-17.12 to
make sure the tag used for LSDK is 17.12.
7. For fsl_fman and ppa.itb, binaries are provided on the webpage.
8. Fsl_fman: Go to https://github.com/NXP/qoriq-fm-ucode
In the directory, download fsl_fman_ucode_ls1043_r1.1_106_4_18.bin. This binary will be later used in the "how to flash
section.
Ppa.itb: Go to https://github.com/NXP/qoriq-ppa-binary/blob/integration/soc-ls1043/ppa.itb
Select soc-ls1043.
Download the .itb file.
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
21 / 107
NXP Semiconductors
How to build the software for LS1043A and MPC5748G
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.
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.
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
22 / 107
NXP Semiconductors
The patches need to be downloaded one at a time. For example:
1. Click on the first patch to be downloaded:
2. Patch text file opens. Right-click anywhere in file and select Save Page As….
How to build the software for LS1043A and MPC5748G
3. The default name appears. Click on Save.
4. Repeat for all patches.
5. Change the name of the following patch:
0001-armv8-ls1043adcm-Enable-USB-support.patch to
0014-armv8-ls1043adcm-Enable-USB-support.patch.
6. Apply patches as instructed below:
a. Go to U-Boot directory
>cd u-boot>>
sudo git am ../dcm-uboot_patches/*
The patch will be applied to U-Boot.
b. Go back to DCM_git directory.
>>cd linux
>>sudo git am ../dcm-linux_patches/*
The patch will be applied to Linux.
c. Go back to DCM_git directory.
>>cd rcw
>>sudo git am ../dcm-rcw_patches/*
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
23 / 107
NXP Semiconductors
How to build the software for LS1043A and MPC5748G
The patch will be applied to rcw directory.
NOTE
If there are errors while applying the patches, the user can run the command “sudo git am -abort” in the u-boot,
linux, and rcw directories. This ensures that there is no patch error initially. If still the error persists, the user can
clone the sources again and try applying patches again.
7. Create two new folders in DCM_git folder:
• dcm-linux_patches_addons
• dcm-uboot_patches_addons
8. From the CAF link, download patches from remaining folders into the two new folders as shown in the table below.>
>cd ../linux
>sudo git am ../dcm-linux_patches_addons/*
8.1.3.4 Build RCW
Use the steps described in this section to build RCW.
1. Run the below commands to build the image for rcw:
export CROSS_COMPILE=aarch64-linux-gnuexport ARCH=arm6
export PATH=$PATH:/home/<user>/DCM_git/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin
cd ../rcw/ls1043ardb
make
How to build the software for LS1043A and MPC5748G
2. If the user gets the “Python2 command not found” error, the user can run the below commands to install python:
>>sudo apt install python -minimal
If the user gets “tclsh command not found” error, the user can run the below commands to install tcl:
After running the above commands, use the commands in the following section to build specific U-Boot.
8.1.3.5.1 DDR boot
1. make distclean && make ls1043adcm_sdcard_defconfig && make -j3
2. In the same directory, the file “u-boot-dtb.bin” is the U-Boot created for dram.
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
26 / 107
NXP Semiconductors
How to build the software for LS1043A and MPC5748G
3. Copy the binary to /DCM_git/u-boot_binary/ddr/ and rename it to “u-boot-dtb_ramboot.bin”.
NOTE
The U-Boot binary in the /DCM_git/u-boot directory will be replaced by the binary of the latest U-Boot build i.e after
the instructions to build QSPI NOR U-Boot are passed, the U-Boot binary for DDR is overwritten.
8.1.3.5.2 QSPI NOR boot
1. make distclean && make ls1043adcm_defconfig && make -j3
2. In the same directory, the file “u-boot-dtb.bin” is the U-Boot created for QSPI.
3. Copy the binary to /DCM_git/u-boot_binary and rename it to “u-boot-dtb_qspi.bin”.
8.1.3.5.3 NAND boot
1. make distclean && make ls1043adcm_nand_defconfig && make -j3
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
27 / 107
NXP Semiconductors
How to build the software for LS1043A and MPC5748G
2. In the same directory, the file “u-boot-with-spl-pbl.bin” is the U-Boot created for NAND.
3. Copy the binary to /DCM_git/u-boot_binary/nand and rename it to “u-boot-with-spl-pbl-nand.bin”.
8.1.3.5.4 SD boot
1. make distclean && make ls1043adcm_sdcard_defconfig && make -j3
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
28 / 107
NXP Semiconductors
How to build the software for LS1043A and MPC5748G
2. In the same directory, the file “u-boot-with-spl-pbl.bin” is the U-Boot created for sd memory.
3. Copy the binary /DCM_git/u-boot_binary/sd and rename it to “u-boot-with-spl-pbl_sd.bin”.
8.1.3.6 Build Linux
Run the following set of command to build the Linux image. Go to DCM_git directory and run the following set of commands:
1. Download rootfs for Linux from https://github.com/qoriq-open-source/ramdiskrfs. Download
“ramdisk_rootfs_arm64.ext4.gz” as shown in the snapshot:
2. After download completes, copy “ramdisk_rootfs_arm64.ext4.gz” to a new directory “ramdisk_fs” created in /home/
<user> directory.
NOTE
The below package versions can change without notice.
3. Download tcpdump binary from the following link https://packages.debian.org/jessie/arm64/tcpdump/download . Click on
following link ftp.us.debian.org/debian on above webpage. It will download “tcpdump_4.9.2-1_deb8u1_arm64.deb” file.
Copy this to the “ramdisk_fs” directory.
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
29 / 107
NXP Semiconductors
How to build the software for LS1043A and MPC5748G
4. Go to the webpage https://packages.debian.org/jessie/tcpdump and download “libpcap0.8” and “libssl1.0.0” for arm64
architecture. “libpcap0.8_1.6.2-2_arm64.deb” and “libssl1.0.0_1.0.1t-1+deb8u7_arm64.deb” files will be downloaded.
Download from the North America server as highlighted below:
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
30 / 107
Loading...
+ 77 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.