Getting Started
This guide documents how to quickly get up and running with the Ezurio's Nitrogen8M Mini SMARC module and Universal SMARC Carrier.
In the Box
The development kit contains the follwoing items:
- 1x Nitrogen8M Mini SMARC module
- 1x Universal SMARC Carrier
- 2x Mounting Screws
- 1x Power Supply 5V
- 1x Serial Cable
On the Board
The Nitrogen8M Mini SMARC module and Universal SMARC Carrier contains the following components and interfaces:


- Nitrogen8M Mini SMARC module
- DSI 0 Display Connector (J13)
- LVDS I2C connector - Touch (J23)
- LVDS 0 Display Connector (J22)
- Barrel Plug Power Adapter (J17)
- 3 Pin Molex Connector for Mic (J8)
- 3.5mm Audio Jack (J4)
- 2 Pin Molex Connector for Line In (J6)
- 2 Pin Molex Connector for Speaker Right (J7)
- 2 Pin Molex Connector for Speaker Left (J5)
- 2x USB-A 2.0 Ports (J24)
- 1x USB-A 2.0 Port (J2)
- High-Speed USB-C OTG Connector (J25)
- 6 Pin Molex Connector for Serial (J18)
- On/Off Switch (SW2)
- Reset Switch (SW1)
- Gigabit Ethernet 0 Connector (J31)
- Boot Mode Switches (S1)
- 2x Expansion Connectors (J27 and J28)
- M.2 Connector (Note: PCI/UART only, SDIO possible with BOM change, no USB) (J15)
- CSI 1 Connector (J10)
- Micro SD Card Slot (J26)
Board Assembly
The Nitrogen8M Mini SMARC module and Universal SMARC Carrier arrive disassembled. In order to assemble, you will need to insert the Nitrogen8M Mini SMARC module into the Universal SMARC Carrier and mount it using the screws.
To assemble, complete the following steps:
-
Insert the Nitrogen8M Mini SMARC module into J1 of the Universal SMARC Carrier.
-
Use the mounting screws to mount the Nitrogen8M Mini SMARC module on the Universal SMARC Carrier.
Serial Console
A console cable is provided with our Nitrogen8M Mini SMARC module and Universal SMARC Carrier.
-
Attach the DB9 connector labeled "CONSOLE" to a serial port or a USB-to-Serial Converter.
-
Connect the other end of the console cable to J18 on the SMARC Carrier.
Connecting USB-To-Serial Converter to Linux
Verify mounting information by grepping dmesg
Type the following command:
dmesg | grep ttyUSB You will notice that it mounts on :
/dev/ttyUSB0 Connecting USB-To-Serial Converter to Windows
Verify under Device manager:

Serial Configuration
- The default serial speed rate is 115200.
Linux: minicom
Use the following command to set the correct permissions:
sudo usermod -a -G dialout $USER The minicom command is simple:
minicom -wD /dev/ttyUSBx Windows: PuTTY
Download PuTTY Here.
For Windows, you will need to configure the serial port under Device Manager. See the following steps:
-
Open up the Device Manager.
-
Expand the Ports (COM & LPT) tab
-
Right click on Keyspan USB Serial Port and select Properties

-
Select the Port Settings tab and change the Bits per Second to 115200

-
Open PuTTY and select the serial radio button and enter the COM# shown in Device Manager as well as setting the baud rate to 115200 and open the console.

Programming eMMC
The Nitrogen8M Mini SMARC module comes with U-Boot flashed into the eMMC. An OS image can either be flashed on a SD card or the eMMC.
Using U-Boot USB Mass Storage Gadget
-
Plug a USB-C cable from your host machine to the target
-
Connect the board serial output (console) to your computer
- On the host machine, start a terminal software
-
Power up the board and stop auto-boot process to get U-Boot prompt
- Enter any character on the terminal software to stop auto-boot
-
Enable the UMS Gadget for the eMMC . eMMC wil always be 0
- Inside uboot type the following command:
ums 0 mmc 0:0 -
At this stage you should now see a new USB drive attached, you can now flash it. It is recommended to use balenaEtcher utility to flash the eMMC. Download Here
Using Fastboot
-
Connect the board serial output (console) to your computer
-
On the host machine, start a terminal software
-
Power up the board and stop auto-boot process to get U-Boot prompt
-
Go into Fastboot Mode on the Board by using the following command
fastboot 0
Android
-
Download android platform tools from the following link and install it
Download Here
For Windows users, use this link Here
-
Use the flashing script below
./device/boundary/scripts/flash_fastboot.sh
Other OSes
-
Make sure your U-Boot is up-to-date (2022.04+)
-
Use the following commands:
$ gunzip image.img.gz $ img2simg image.img image.simg $ fastboot flash emmc image.simg
Auto Programming in Uboot Using SD Card or USB Flash Drive
-
Get the autoprogram_emmc package using the following command:
wget -r -np -nH -R "index.html*" \linode.boundarydevices.com/autoprogram_emmc/ cd autoprogram_emmc/ && chmod +x *.sh -
Copy your image file to the same directory as scripts. (Lets assume your image file name is ubuntu.img.gz)
-
Determine whether your eMMC is “mmc 0” or “mmc 1” using the following command in uboot:
mmc list -
Run the following command on your host machine: (here we assume that emmc is: mmc 0)
~/autoprogram_emmc$ ./create_autoprogram_image.sh 0 ubuntu.img.gz out.img -
At this stage the out.img image is created, you can now flash it onto your SD Card or USB flash drive
Windows
Put the SD Card or USB flash drive onto the board, turn on the board, and let it automatically flash emmc. You can also monitor the process through serial console.
Additional Resources
Additional resources can be found Here.
Additional information regarding the Sona IF573 module can be found as follows:
Sona IF and Sterling LWBx Regulatory Utility Sona IF573 Tutorials
Flashing Yocto Mickledore on the Nitrogen8M Mini SMARC
Yocto Mickledore
Overview
Here you will see an example of how to flash Yocto Mickledore onto the eMMC of the N8MM_SMARC_SOM. In this example, we will use balenaEtcher as follows.
Downloading balenaEtcher
-
Download balenaEtcher Here for Linux.

-
Once downloaded, locate and right click the balenaEtcher icon. Select Properties.

-
Select the Permissions tab and check the box in front of Allow executing file as program.
Flashing eMMC
-
Download the Yocto Mickledore Image here
-
Connect the serial cable to the SMARC Carrier and the serial output (console) to your computer.
-
Connect a USB-C cable from your host machine to the SMARC Carrier.
-
On the host machine, start the terminal software.
-
Set the connection baud rate to 115200 with no hardware flow control.
-
Power up the board and stop auto-boot process to get U-Boot prompt. Enter any character on the terminal software to stop auto-boot. Open up balenaEtcher.
-
Enable the UMS Gadget for the eMMC . (If your emmc is mmc 1, use 1 instead of 0). Type the following command:
ums 0 mmc 0:0 -
Click Flash from file and select the Yocto Mickledore image. Then click on Select Target and select Linux UMS. After this, select Flash
-
The image will begin to flash and it will verify once flashing is complete.
Once the image have been flashed, reset the board and it will boot into Yocto. See image above for fully booted image.
/filters:background_color(white)/2024-10/Nitrogen 8M Mini SMARC1.267 without wireless.png)
/filters:background_color(white)/2024-06/SMARC_CAR%20Kit.png)



