1
Out of the Box2
Embedded LinuxSign in to save your progress. Don't have an account? Create one.
The following section describes the steps to boot the i.MX 7ULP EVK.
Development kit contains:
Something went wrong! Please try again.
The kit includes an SD card (J1
) with a pre-built NXP Linux binary demo image. Without modifying the
binary inside the SD card, booting from this SD card provides a default system with certain features
for building other applications on top of Linux. The software is described in the following sections.
Something went wrong! Please try again.
Connect the micro-B end of the supplied USB cable into Debug UART port
J6
. Connect the other end of
the cable to a host computer.
If you are not sure about how to use a terminal application, try one of the following tutorials depending on the operating system of the host machine: Tera Term Tutorial, PuTTY Tutorial, Minicom Tutorial.
Something went wrong! Please try again.
To see the user interface provided with the image binary connect a monitor via the HDMI
connector on the baseboard (J4
).
Something went wrong! Please try again.
The boot sequence is detailed in the i.MX 7ULP Reference Manual. In short, the boot modes of the i.MX boards are controlled by the boot configuration switches.
The switches set the boot media (depending on board, i.e. SD card, eMMC, NAND), the serial download protocol mode (SDP) or the value set on eFuses.
The SDP is also the fallback for the boot media, in other words, when the switches are configured to boot from SD card but the SD card slot is empty, or the SD card binary content is not bootable, the boot sequence continues to the SDP boot.
The following table lists the boot switch settings on the i.MX 7ULP EVK board. The same information can be found on i.MX 7ULP Reference Manual and on silkscreen on the board near the switches.
Table 1. Boot modes available for i.MX 7ULP EVK.
Boot Media | SW1 [D1-D4] |
---|---|
SD card | 1001 |
eMMC | 1000 |
SDP | 01XX |
Note: Make sure the boot switch is configured to boot from SD card.
Something went wrong! Please try again.
Connect the power supply cable to the power connector on the baseboard (P1
).
Power the board by flipping the switch (SW1
).
The processor starts executing from the on-chip ROM code. With the default boot switch setup, the code reads the fuses to define the media where it is expected to have a bootable image. After it finds a bootable image, the U-Boot execution should begin automatically.
Information is printed on the serial console for the Cortex®-A7. If you do not stop the U-Boot process, it continues to boot the kernel.
Something went wrong! Please try again.
Once Linux is booted, log in using the user name root
and no password.
Note: To proceed to U-Boot, press any key before the value of the U-Boot environment variable, bootdelay
, decreases and before it times out (default 3 seconds). If you stop the U-Boot process, you can run the following command to continue with the Linux boot process: # boot
.
Something went wrong! Please try again.
This section is applicable ONLY if attempting to load a Linux operating system on the board.
The i.MX Linux Board Support Package (BSP) is a collection of binary files, source code, and support files that are used to boot an Embedded Linux image on a specific i.MX development platform.
Current releases of Linux binary demo files can be found on the i.MX Linux download page. Additional documentation is available in the i.MX Linux documentation bundle under the Linux sections of the i.MX Software and Development Tool.
Before the Linux OS kernel can boot on i.MX board, the Linux kernel is loaded to a boot device (SD card, eMMC and so on) and the boot switches are set to boot that device.
There are various ways to download the Linux BSP image for different boards and boot devices.
For this getting started guide, only a few methods to transfer the Linux BSP image to an SD card are listed. Experienced Linux developers can explore other options.
Something went wrong! Please try again.
The latest pre-built images for the i.MX 7ULP EVK is available on the Linux download page under the most current version on Linux.
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 user space applications.
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.
Something went wrong! Please try again.
In addition to the connections from Out of the Box chapter, connect the USB Type-C cable (SOM J2
) to the host machine.
Turn off the board. Consult Boot Switch Setup and configure the board to boot on SDP (Serial Download Protocol) mode.
Depending on the OS used in the host machine, the way to transfer the Linux BSP image onto an SD card can vary. Choose an option below for detailed instructions:
Download the latest stable files from UUU GitHub page . An extensive tutorial for UUU can be found in mfgtools .
uuu
By default, this procedure flashes the image to the SD card flash. Check the UUU GitHub page for reference on how to flash the image to other devices.
uuu
and the latest Linux
distribution for i.MX 7ULP EVK are located. Add execution permission to the uuu
file and
execute it. uuu
waits for the USB device to connect$ chmod a+x uuu
$ sudo ./uuu L4.14.78_1.0.0_ga_images_MX7DSABRESD.zip
uuu
starts to copy the images to the boardDownload the latest stable files from UUU GitHub page . An extensive tutorial for UUU can be found in mfgtools .
uuu.exe
By default, this procedure flashes the image to the SD card flash. Check the UUU GitHub page for reference on how to flash the image to other devices.
uuu.exe
file and the Linux release for the i.MX 7ULP EVK are locateduuu.exe
<kernel_version>_images_<SOC>.zip
uuu
starts to copy the images to the boardSomething went wrong! Please try again.
Tera Term is a very popular open source terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.
PuTTY is a popular terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.
*.exe
file you downloaded or from the Start menu, depending on the type of download you selected
On the command prompt of the Linux host machine, run the following command to determine the port number:
$ ls /dev/ttyUSB*
The smaller number is for Cortex-A7 and the bigger number is for Cortex-M4.
Use the following commands to install and run the serial communication program (minicom
as an example):
Install Minicom using Ubuntu package manager
$ ls /dev/ttyUSB*
Launch Minicom using a console window using the port number determined earlier
$ sudo minicom /dev/ttyUSB* -s
When working with embedded systems, it is important to bear in mind that the documentation is wide and diverse. It is common to have different levels of documentation. The i.MX 7ULP EVK board has some documents. However, this board’s processor is i.MX 7ULP which is documented with SoC level documents. The BSPs available are documented with the BSP level documents.
Choose an option below for related documents:
In the case of i.MX 7ULP EVK the following documents are available.
In the case of i.MX 7ULP SoC the following documents are available.
For i.MX 7ULP EVK the following BSPs are available.
Each BSP has a set of documents, below all the BSP documentation is described. The order the documents appear is the recommended read order.
Get Familiar with the Board
Insert the SD card
Connect USB Debug Cable
Connect the HDMI Cable
Boot Switch Setup
Connect Power Supply
Congratulations! Linux has booted!