We can now proceed to power up Intel Galileo and connect it to its terminal.
Before going forward with the board connection, you need to install a modem control program to your host system in order to connect Intel Galileo from its UART interface with minicom.
To start with Intel Galileo, perform the following steps:
$ sudo apt-get install minicom
Downloading the example code
You can download the example code files from your account at http://www.packtpub.com for all the Packt Publishing books you have purchased. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.
–s
option:$ sudo minicom –s
/dev/ttyUSB0
on our host system. You can check it from your host's device messages (dmesg
) to see the connected USB.–s
option, it will prompt you. From minicom's Configuration menu, select Serial port setup to set the values, as follows:Make sure that you have connected the cables correctly. The black-colored cable on TTL is the ground connection. It is written on TTL pins which one is ground on Intel Galileo.
root
user, where no password is needed.Poky 9.0.2 (Yocto Project 1.4 Reference Distro) 1.4.2 clanton clanton login: root root@clanton:~#
Your board will now look like the following image:
If you have connected Intel Galileo to a local network with an Ethernet cable, you can use Telnet to connect it without using a serial connection, after performing some simple steps:
root@clanton:~# ifup eth0 root@clanton:~# ifconfig root@clanton:~# telnetd
ifup
command brings the Ethernet interface up, and the second command starts the Telnet daemon. You can check the assigned IP address with the ifconfig
command.$ telnet 192.168.2.168