• Building images
$ cd openil
$ make nxp_ls1021atsn_defconfig
$ make
# or make with a log
$ make 2>&1 | tee build.log
• Programming U-Boot in SD card
Power on the LS1021A-TSN board to the U-Boot command environment, then use the following commands:
=>tftp 81000000 u-boot-with-spl-pbl.bin
=>mmc erase 8 0x500
=>mmc write 0x81000000 8 0x500
#then reset the board
• Deploying kernel and Ramdisk from TFTP
1. Set the U-Boot environment.
=>setenv bootargs ‘root=/dev/ram0 rw ramdisk_size=50000000 console=ttyS0,115200’
=>saveenv
2. Boot up the system.
=>tftp 83000000 uImage
=>tftp 88000000 rootfs.cpio.uboot
=>tftp 8f000000 ls1021a-tsn.dtb
=>bootm 83000000 88000000 8f000000
3.3 LS1021A-TWR
The NXP
®
TWR-LS1021A module is a development system based on the QorIQ
®
LS1021A processor.
This feature-rich, high-performance processor module can be used standalone or as part of an assembled Tower
®
System
development platform.
Incorporating dual Arm
®
Cortex
®
-A7 cores running up to 1 GHz, the TWR-LS1021A delivers an outstanding level of performance.
The TWR-LS1021A offers HDMI, SATA3 and USB3 connectors as well as a complete Linux software developer's package.
The module provides a comprehensive level of security that includes support for secure boot, Trust Architecture and tamper
detection in both standby and active power modes, safeguarding the device from manufacture to deployment.
3.3.1 Switch settings
The following table lists and describes the switch configuration for LS1021ATWR board.
Platform
Boot source
SW setting
LS1021ATWR
SD
IFC enabled: SW2[1~8] = 0b'00101000; SW3[1-8] = 0b'01100001
QSPI enabled: SW2[1-8] = 0b'00100000; SW3[1-8] = 0b'01100001
3.3.2 Updating target images
Use the following commands to build the images for LS1021A-TWR platform:
NXP Semiconductors
NXP OpenIL platforms
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
26 / 199