Openil User Guide
Total Page:16
File Type:pdf, Size:1020Kb
NXP Semiconductors Document identifier: OpenILUG User's Guide Rev. 1.7.1, 02/2020 Open Industrial User Guide Contents Contents Chapter 1 Introduction........................................................................................... 7 1.1 Acronyms and abbreviations..................................................................................................... 7 1.2 Reference documentation......................................................................................................... 8 1.3 About OpenIL............................................................................................................................ 9 1.3.1 OpenIL Organization................................................................................................................... 9 1.3.2 Host system requirements........................................................................................................ 10 1.4 Feature set summary...............................................................................................................12 1.4.1 Compilation features................................................................................................................. 12 1.4.2 Supported industrial features.................................................................................................... 13 1.5 Supported NXP platforms........................................................................................................13 1.5.1 Default compilation settings for NXP platforms.........................................................................14 Chapter 2 Getting started.....................................................................................16 2.1 Getting OpenIL........................................................................................................................ 16 2.2 OpenIL quick start................................................................................................................... 16 2.2.1 Important notes......................................................................................................................... 16 2.2.2 Building the final images........................................................................................................... 16 2.3 Booting up the board............................................................................................................... 18 2.3.1 SD card bootup......................................................................................................................... 19 2.3.2 QSPI/FlexSPI bootup................................................................................................................ 19 2.3.3 Starting up the board.................................................................................................................20 2.4 Basic OpenIL operations......................................................................................................... 20 Chapter 3 NXP OpenIL platforms........................................................................ 22 3.1 Introduction..............................................................................................................................22 3.2 LS1021A-TSN......................................................................................................................... 22 3.2.1 Switch settings.......................................................................................................................... 22 3.2.2 Updating target images ............................................................................................................ 23 3.3 LS1021A-IoT........................................................................................................................... 23 3.3.1 Switch settings ......................................................................................................................... 23 3.3.2 Updating target images ............................................................................................................ 24 3.4 LS1043ARDB and LS1046ARDB............................................................................................24 3.4.1 Switch settings.......................................................................................................................... 24 3.4.2 Updating target images ............................................................................................................ 25 3.5 LS1012ARDB.......................................................................................................................... 25 3.5.1 Switch settings.......................................................................................................................... 26 3.5.2 Updating target images ............................................................................................................ 26 3.6 i.MX6QSabreSD......................................................................................................................27 3.6.1 Switch settings for the i.MX6Q SabreSD.................................................................................. 27 3.6.2 Updating target images............................................................................................................. 27 3.7 LS1028ARDB.......................................................................................................................... 28 3.7.1 Switch settings.......................................................................................................................... 28 3.7.2 Interface naming....................................................................................................................... 28 3.7.3 Updating target images............................................................................................................. 31 3.8 LX2160ARDB.......................................................................................................................... 32 3.8.1 Switch settings.......................................................................................................................... 32 3.8.2 Updating target images ............................................................................................................ 32 Open Industrial User Guide, Rev. 1.7.1, 02/2020 2 NXP Semiconductors Contents Chapter 4 Industrial features................................................................................34 4.1 NETCONF/YANG....................................................................................................................34 4.2 TSN......................................................................................................................................... 34 4.3 Xenomai.................................................................................................................................. 35 4.3.1 Xenomai running mode............................................................................................................. 35 4.3.2 RTnet ....................................................................................................................................... 37 4.4 IEEE 1588............................................................................................................................... 41 4.4.1 Introduction............................................................................................................................... 41 4.4.2 PTP device types...................................................................................................................... 41 4.4.3 Linux PTP stack........................................................................................................................ 42 4.4.4 Quick start guide for setting up IEEE standard 1588 demonstration........................................ 42 4.4.5 Known issues and limitations.................................................................................................... 46 4.4.6 Long term test results for Linux PTP.........................................................................................46 4.5 OP-TEE................................................................................................................................... 47 4.5.1 Introduction............................................................................................................................... 48 4.5.2 Deployment architecture........................................................................................................... 48 4.5.3 DDR memory map.....................................................................................................................49 4.5.4 Configuring OP-TEE on LS1021A-TSN platform...................................................................... 50 4.5.5 Running OP-TEE on LS1021A-TSN platform........................................................................... 50 4.6 SELinux................................................................................................................................... 52 4.6.1 Running SELinux demo............................................................................................................ 52 Chapter 5 IEEE 1588/802.1AS............................................................................ 62 5.1 Introduction..............................................................................................................................62 5.2 Device