
Table 8. Default configuration (continued)
Platform
Configuration file in OpenIL
i.MX6Q SabreSD
configs/imx6q-sabresd_defconfig
i.MX6Q SabreSD (Baremtal)
configs/imx6q-sabresd_baremetal_defconfig
i.MX6Q SabreSD (Ubuntu)
configs/imx6q-sabresd_ubuntu_defconfig
The “
configs/nxp_xxxx_defconfig
” files listed in the preceding table include all the necessary U-Boot, kernel
configurations, and application packages for the filesystem. Based on the files without any changes, you can build a complete
Linux environment for the target platforms.
To build the final images for an NXP platform (for example, LS1046ARDB), run the following commands:
$ cd openil
$ make nxp_ls1046ardb-64b_defconfig
$ make
# or make with a log
$ make 2>&1 | tee build.log
The
make clean
command should be implemented before any other new compilation.
NOTE
The
make
command generally performs the following steps:
• Downloads source files (as required and at the first instance);
• Configures, builds, and installs the cross-compilation toolchain;
• Configures, builds, and installs selected target packages;
• Builds a kernel image, if selected;
• Builds a bootloader image, if selected;
• Creates the BL2, BL31, BL33 binary from ATF;
• Creates a root filesystem in selected formats.
• Generates the Image file for booting;
After the correct compilation, you can find all the images for the platform at
output/images
.
images/
├── bl2_sd.pbl --- BL2 + RCW
├── fip.bin --- BL31 + BL33 (uboot)
├── rcw_1800_sdboot.bin --- RCW binary
├── boot.vfat
├── fmucode.bin
├── fsl-ls1046a-rdb-sdk.dtb --- dtb file for ls1046ardb
├── rootfs.ext2
├── rootfs.ext4
├── rootfs.tar
├── sdcard.img --- entire image can be programmed into the SD
├── uboot-env.bin
├── u-boot-dtb.bin --- uboot image for ls1046ardb
└── Image --- kernel image for ls1046ardb
Notice: Image file name used for each configurations as following described:
• xspi.cpio.img: *xspi_defconfig
NXP Semiconductors
Getting started
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
20 / 199