Download an NXP Linux BSP pre-built image
.sdcard file is a disk image that is flashed directly into any SD card. This is the simplest way to load all necessary components required to boot the i.MX8MQuad EVK board. The latest pre-built images for the i.MX8MQuad EVK is available on the Linux download page.
The pre-built NXP Linux binary demo image provides a typical system and basic set of features for using and evaluating the processor. Without modifying the system, users can evaluate hardware interfaces, test SoC features, and run userspace applications.
To bring up the board and run Linux, four elements are needed on the boot image:
- Boot loader (U-Boot)
- Linux kernel image (
- A device tree file (
.dtb) for the board being used
- A root file system (
rootfs) for the particular Linux image
.sdcard images contain these four elements in a single file.
When more flexibility is desired, an SD card can be loaded with individual components (boot loader, kernel, dtb file, and rootfs file) one-by-one or the
.sdcard image is loaded and the individual parts are overwritten with the specific components.
Burn an SD card disk image from a Linux host computer
Once the BSP package is downloaded from the Linux download page, ensure that a pre-built SD card image built specifically for the i.MX8MQuad EVK board is in the compressed file. The SD card image is named:
Connect the SD/MMC card reader with a SD card to your host machine running the Linux OS.
The Linux OS kernel running on the host assigns a device node to the SD/MMC card reader.
To identify the device node assigned to the SD/MMC card, perform the following command in the host computer:
The instructions below will permanently delete existing content on the SD card and are dangerous to your PC if run incorrectly. If you have questions or would like further details, consult the i.MX Linux User Guide.
Run the following command to copy the SD card image to the SD/MMC card. Change
/dev/sdX below to match the one used by the SD card.
$ sudo dd if=<image name>.sdcard of=/dev/sdX bs=1M && sync</image>
To setup the partition manually, read 4.3.3 in i.MX Linux User Guide.
To load individual components separately when the full SD card image is not used, refer to 4.3.4-3.4.6 in i.MX Linux User Guide.
With the source code and documentation, the users can customize the Linux image built for the device. For example, add or remove system components.
Build your own Linux BSP image (optional)
To build an NXP Linux BSP image, you can obtain the source code from the i.MX CodeAurora repository.
Detailed instructions on how to build an image are available in the Linux User Guide.
The Yocto Project
As an option, NXP provides a framework to build custom images. The Yocto Project is the framework of choice with NXP professional support to build custom images that are used for booting a Linux kernel, although other methods can be used.
Details on how to set up the Yocto Project go beyond this getting started guide. For details, refer to the NXP Yocto Users Guide.