
Chapter 2
Getting started
After reading this section, you should be able to get the OpenIL source code, build and program the NXP platform images, and
run the OpenIL system on the supported NXP platforms.
2.1 Getting OpenIL
OpenIL releases are available every a few months. The Release Number follows the format 'YYYYMM', for example, 201708.
Release tarballs are available at:
https://github.com/openil/openil
To follow development, make a clone of the Git repository. Use the below command:
$ git clone https://github.com/openil/openil.git
$ cd openil
# checkout to the 2020.05 v1.8 release
$ git checkout OpenIL-v1.8-202005 -b OpenIL-v1.8-202005
2.2 OpenIL quick start
The steps below help the user to build the NXP platform images with OpenIL quickly. Ensure to follow the important notes provided
in the following section.
2.2.1 Important notes
• Build everything as a normal user. There is no need to be a root user to configure and use OpenIL. By running all commands
as a regular user, you protect your system against packages behaving badly during compilation and installation.
• "sudo" permission is required when building ubuntu root file system.
• The
PERL_MM_OPT
issue: You might encounter an error message for the
PERL_MM_OPT
parameter when using the
make
command in some host Linux environment as shown below:
You have PERL_MM_OPT defined because Perl local::lib is installed on your system.
Please unset this variable before starting Buildroot, otherwise the compilation of Perl
related packages will fail.
make[1]: *** [core-dependencies] Error 1
make: *** [_all] Error 2
To resolve this issue, just unset the
PERL_MM_OPT
parameter.
$ unset PERL_MM_OPT
2.2.2 Building the final images
For the NXP platforms supported by OpenIL, the default configuration files can be found in the
configs
directory. The following
table describes the default configuation files for the NXP-supported OpenIL platforms.
Table 8. Default configuration
Platform
Configuration file in OpenIL
ls1021atsn
configs/nxp_ls1021atsn_defconfig
ls1021atsn (OP-TEE-SB)
configs/nxp_ls1021atsn_optee-sb_defconfig
Table continues on the next page...
NXP Semiconductors
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
18 / 199