Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wishbone-tool throws a socket error and cannot connect #37

Open
lindemer opened this issue Jan 22, 2021 · 0 comments
Open

wishbone-tool throws a socket error and cannot connect #37

lindemer opened this issue Jan 22, 2021 · 0 comments

Comments

@lindemer
Copy link

lindemer commented Jan 22, 2021

I have LiteX running on an Arty board, which was flashed using the following command: /arty.py --cpu-type=vexriscv --cpu-variant=full+debug --with-etherbone --build --load. It's connected via an Ethernet-USB adapter, which I've configured using the following:

sudo ip link set dev enx9cebe8612341 down
sudo ip addr add 192.168.1.100/24 dev enx00249b284adc
sudo ip link set dev enx9cebe8612341 up

This gives me the following:

$ ip route
default via 10.0.2.2 dev enp0s3 proto dhcp metric 100
10.0.2.0/24 dev enp0s3 proto kernel scope link src 10.0.2.15 metric 100
169.254.0.0/16 dev enp0s3 scope link metric 1000
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.1.0/24 dev enx00249b284adc proto kernel scope link src 192.168.1.100

I can now ping the board at 192.168.1.50, but I can't reach it with wishbone-tool --ethernet-host 192.168.1.50 -s gdb. I get the following error every time: Error: "invalid configuration: invalid ethernet address: io error invalid socket address". I've been stuck on this for a while (see enjoy-digital/litex#676) and am now quite confident it's an issue with wishbone-tool and not LiteX.

Edit I've built everything from the latest source as of today (LiteX and wishbone-utils).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant