Setting Up the i.MX 8M Mini SOM Starter Kit |
The i.MX 8M Mini kit arrives packaged into a plastic box. The following picture illustrates the package you would be receiving from Emcraft: Please notice the printed label on the top of the box. Please store or photograph the label, it may be needed if you need to contact Emcraft Support with questions or support issues. Note that the various boards included in the kit are secured to the plastic box using velcro patches. This is done to ensure mechanical security of the kit while in transit. You will need to remove the boards from the plastic box. To do so, carefully unfasten the boards from the velcro patches and separate the boards from the plastic box. The following picture illustrates the kit at the final stage of unpacking:
As shipped by Emcraft, the kit is assembled as a miniature 3-layers "Cube". This "Cube", when assembled together, presents an i.MX 8M Mini-based embedded computer, composed of the following stacked hardware modules:
The following add-on boards are included in the kit:
The following cables are included in the kit:
Setting Up Serial Console The serial console UART interface is used to get access to the i.MX 8M Mini U-Boot and Linux serial console. This is the primary user interface the kit provides to software developers. You won't be able to do much unless you have access to the serial console. Both U-Boot and Linux are configured to use the i.MX 8M Mini UART2 port for the serial console. The kit provides UART2 as a 3.3V interface on the 6-pin "U2" connector residing on the HGI board. In order to connect the serial console to a PC, you must convert the 3.3V UART interface to a USB serial interface. This requires connecting an external device ("USB-to-UART converter dongle") to the kit. The kit comes cabled to such a dongle, so all you have to do to plug the USB end of the dongle to your PC. Just in case, the following table provides pin-out of the "U2" port on the HGI board:
Linux running on the PC will recognize the new serial device and make it available in the system as a /dev/ttyUSBx TTY device. Use the dmesg utility to determine a specific TTY device Linux has assigned to the serial console port on your kit: $ dmesg | tail On the kit side, U-Boot and Linux configure the serial console as follows: 115200 bps, N, 8, 1 (8 bit, no parity, no flow control). Use your favorite Linux serial terminal utility to connect to the kit serial console from the Linux host. For instance: $ picocom –l /dev/ttyUSB0 –b 115200
To power the kit up, plug the USB Type C to USB Type A cable between the USB Type C port on the HGI board and a free USB port on your PC host. The kit will power up as soon as power is applied via the USB cable: Note: Power consumption of the kit, comprised of the 3 stacked hardware modules with the add-on boards and depending on software configuration, may exceed 7-8W or be even higher in some I/O intensive configurations. We recommend connecting the kit to the following USB power supplies:
Running First Linux Session The i.MX 8M Mini SOM arrives with default Linux images pre-installed to eMMC storage. As soon as the kit is powered up, Linux will boot up, with the following messages showing up in your serial terminal window:
Enter the root account, with an empty password. At this point, you are running the Linux shell on the i.MX 8M Mini and have access to all Linux controls and capabilities as the superuser.
Use of the advanced I/O interfaces provided by the kit, such as 1GB Ethernet, MIPI-DSI, MIPI-CSI, HMDI and others, is discussed in the follow-up application notes available on the Emcraft web site.
In case you are unable to get a Linux session on your kit, step through the following troubleshooting steps, in the descending order:
$ sudo mv /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service.disabled |