Connecting amd interacting the NXP i.MX8M Plus board with the host machine.
Getting started with AI on NXP i.MX8M Plus RidgeRun documentation is currently under development. |
First contact with the board
In this wiki, we are going to follow some steps required for use and interaction with the board from the host machine. As a first step, please connect the microUSB & USB between the board and the host machine in order to connect by a serial protocol.
Install serial application
In this case, we are going to use picocom, and to install it please execute the following command:
sudo apt-get install -y picocom
After turning on the board and issuing the following command you will be able to interact with the board by serial:
sudo picocom -b 115200 /dev/ttyUSB0
Note: the default user for the board is root.
Configuring the ethernet interface for Internet connection on i.MX8M Plus
Before start, please make sure you do not have internet connection:
# Ping to Google's IP ping 8.8.8.8
If you do not have internet in the board please follow the steps below.
To list the available Network interfaces issue the following command:
ip a
Probably you will have a eth0 interface, so let's configure this interface:
1) Turn on the interface:
ifconfig eth0 up
2) Assign manually an IP:
ifconfig eth0 192.168.x.y
3) Assign the default gateway in your network:
route add default gw 192.168.x.1
4) Test the connection:
# Ping to Google's IP ping 8.8.8.8