nengo/nengo-fpga

Not able to login nor ssh into the FPGA.

pedrombmachado opened this issue · 2 comments

I followed the installation steps for both DE1 images (i.e. 20190521_DE1_0.2.0b.img and 20200124_DE1_v0.2.1.img) and I cannot ssh into the FPGA. In fact, I cannot even log into the board via the serial port (i.e. ttyUSB0 because it never gets into the login stage).
The DE1-SoC boots well using the Terasic LXDE image.

Output via the serial port

[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting Restore Sound Card State...
         Starting sshd.socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Started Restore Sound Card State.
[  OK  ] Listening on sshd.socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Login Service...
[  OK  ] Started Timestamping service.
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Service...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Connection service...
[  OK  ] Started Kernel Logging Service.
         Starting (null)...
         Starting Network Time Service (one-shot ntpdate mode)...
[  OK  ] Started System Logging Service.
[  OK  ] Started Network Service.
[  OK  ] Started Network Time Service (one-shot ntpdate mode).

output via ssh

$ ssh root@10.162.177.236 -c aes256-ctr
ssh: connect to host 10.162.177.236 port 22: No route to host

output of the ifconfig

$ ifconfig eth4
eth4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.162.177.10  netmask 255.255.255.0  broadcast 10.162.177.255
        inet6 fe80::ae74:a799:3ace:17ab  prefixlen 64  scopeid 0x20<link>
        ether b4:96:91:0f:54:ef  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2239  bytes 148620 (148.6 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0x90200000-902fffff
xchoo commented

The latest SD image for the DE1 platform is 20200124_DE1_v0.2.1.img, so you should be using that.

As for why it is not going into the login screen, check that the dipswitches have been set correctly, according to: https://www.nengo.ai/nengo-de1/getting-started.html#setup-the-de1-soc-board

Also, just to check, do you see 4 red leds light up and follow a binary counter pattern after you power cycle the board?

HI @xchoo ,
It worked, the problem were the dipswitches. Many thanks