3.6.8.2.7 Step 7 - Accessing Linux on Board and Determining the IP Address

In the Linux Serial Terminal, after Linux boots you should see a login screen:

The login is root, and no password is required. After logging in, you should be able to see a terminal.

Troubleshooting if Linux does not boot:

  • If you see an error message when booting Linux there could have been a problem/corruption when writing the Linux image to the board. Please repeat the steps in Step 5: Flashing the Linux Image to the Board and try again.
  • Also check the serial terminal output from the other UART Interface 0 and if you see “boot image failed CRC” as shown below. This error means there is a mismatch between your FPGA job file (which writes the HSS bootloader) and the Linux image. Double check that you used the exact files specified in this document. The Linux image will only boot with a compatible FPGA job file.
Make sure the ethernet cable is connected as described in Step 1: Setup Required Board Connections. Now enter ifconfig eth0, and take note of the IP address that should have been assigned to the Icicle Kit by the network:
root@icicle-kit-es:~# ifconfig eth0eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500inet 192.168.0.173  netmask 255.255.255.0  broadcast 192.168.0.255inet6 fe80::204:a3ff:fefb:406f  prefixlen 64  scopeid 0x20<link>ether 00:04:a3:fb:40:6f  txqueuelen 1000  (Ethernet)RX packets 17882  bytes 3231759 (3.0 MiB)RX errors 0  dropped 4843  overruns 0  frame 0TX packets 4963  bytes 1478718 (1.4 MiB)TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0device interrupt 18
If the network is not setup or if you want to assign a static IP address, for example 192.168.0.173 to eth0 using 192.168.0.161 as the gateway, you can create a file like this: /etc/systemd/network/70-static-eth0.network with the following content:
$> vim /etc/systemd/network/70-static-eth0.network
[Match]
Name=eth0

[Network]
Address=192.168.0.173/24
Gateway=192.168.0.161
DCHP=no
Save the file and restart the network and confirm the status:
$> systemctl restart systemd-networkd
$> networkctl status
*        State: routable
Online state: online
    Address: 192.168.0.173 on eth0
             fe80::204:a3ff:fefb:406f on eth0
             fe80::204:a3ff:fefb:406e on eth1
    Gateway: 192.168.0.161 on eth0
Now you should be able to ping and ssh into the board.