
• Building images
$ cd openil
$ make nxp_ls1021aiot_defconfig
$ make
# or make with a log
$ make 2>&1 | tee build.log
• Programming U-Boot on the SD card
Power on the LS1021A-IoT board to U-Boot command environment. Then, use the commands below:
=>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-iot.dtb
=>bootm 83000000 88000000 8f000000
3.5 LS1043ARDB, LS1046ARDB and LS1046AFRWY
The QorIQ LS1043A and LS1046A reference design boards are designed to exercise most capabilities of the LS1043A and
LS1046A devices. These are NXP’s first quad-core, 64-bit ARM
®
-based processors for embedded networking and industrial
infrastructure.
3.5.1 Switch settings
OpenIL supports only the SD card boot mode for LS1043ARDB and the LS1046ARDB platforms.
Table 13. LS1043ARDB/LS1046ARDB SD boot software settings
Platform
Boot source
Software setting
LS1043ARDB
SD card
SW4[1-8] +SW5[1] = 0b'00100000_0
LS1046ARDB
SD card
SW5[1-8] +SW4[1] = 0b'00100000_0
LS1046AFRWY
SD card
SW1[1-9] = 0b'0_01000000
In order to identify the LS1043A silicon correctly, users should ensure that the SW5[7-8] is = 0b’11.
NOTE
3.5.2 Updating target images
For LS1043ARDB, LS1046AFRWY and LS1046ARDB platforms, the OpenIL can support 64-bit systems. Use the following
commands to build the images for the LS1043ARDB, LS1046AFRWY or LS1046ARDB platforms:
NXP Semiconductors
NXP OpenIL platforms
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
28 / 199