How to configure Minicom

Usb-Serial

On your Host Operating System (not on guest operating system running with the Virtual Machine) you need to have a serial communication program like minicom (for Linux as host operating systems) or HyperTerminal (for Windows as host operating system). In this document only the setup of minicom program will be treated.

The required steps to get the usb-serial link work are:

  1. clean the kernel messages buffer with the following command:
  Host    select
sudo dmesg -c
  1. connect the Pengwyn board to the PC with mini-USB cable near DVI connector.
  2. determine the serial device name with this command:
  Host    select
dmesg | grep ttyUSB

on the standard output you will see something like:

  Host    select
[11401.006607] usb 1-1.1: FTDI USB Serial Device converter now attached to ttyUSB0

In such an example, ttyUSB0 is the serial device name, and /dev/ttyUSB0 is the serial device

  1. run command (sudo password is architech)
  Host    select
sudo minicom -w -s
  1. select select port setup and press enter.
  2. setup the port with the following configuration:
  Host    select
A -    Serial Device      : /dev/ttyUSB0
B - Lockfile Location     : /var/lock
C -   Callin Program      :
D -  Callout Program      :
E -    Bps/Par/Bits       : 115200 8N1
F - Hardware Flow Control : No
G - Software Flow Control : No
  1. once you are done configuring the serial port, you are back to minicom main menu and you can select exit.
  2. Control that the SD card is in the slot of Pengwyn board if is in it, you can press the reset button.
  3. if everything has been properly configured, the target board will boot and finally, the login will appear:
  Board    select
Yocto (Built by Poky 7.0.1) 1.2.1
ttyO0

pengwyn login:

Login with username root, no password is required.