The user can connect to the HiFive Unmatched board over USB-UART Serial Console.
With a microUSB cable connected to the HiFive Unmatched, you can access the console. The
console both shows the linux boot process and can be used to log into the device.
From macOS, run:
sudo screen -L /dev/tty.usbserial-*01 115200
From Linux, run:
sudo screen -L /dev/serial/by-path/*-port0 115200
For the commands above, the "-L" flag enables automatic output logging. The default file name
for this logfile is "screenlog.0". This logfile will be created and appended to in the user’s working
directory. If major issues occur, such as kernel crashes and boot stage errors, this logfile can be
used to help the SiFive support team identify the source of an error. More information about the
"-L" flag is available in the manual page (command:
man screen
).
Alternatively, the user can use
minicom
and
picocom
commands to access the console.
Hit enter a few times to see the login prompt. Username
root
, password
sifive
.
To quit screen, hit
Control-a
,
\
,
y
. If you do not quit properly, you can end up with multiple
screens running at the same time. This manifests as lost characters both sent and received.
Installing USB-UART Drivers on macOS
To use the USB-UART serial console on macOS, the user may need to install an external driver
for FTDI chips.
HiFive Unmatched Getting Started Guide
© SiFive, Inc.
Page 13