Closed tanvirarafin closed 1 year ago
Hi @tanvirarafin
Turns out, endianness of the base_ret_addr
was being swapped, when it shouldn't. That is, we didn't convert it from network to host, but we still converted it from host to network.
This caused the issue with changes from https://github.com/enjoy-digital/litex/pull/1504. As reply ID didn't match, the packets were being dropped and no response were being received.
We will release a new prebuilt image for the ZCU104 soon.
Until then, you can rebuild the server with the following patch https://github.com/antmicro/rowhammer-tester/pull/166/commits/f061c80100130aeb828b7dd8b7b924abfe5ff50b and replace the one on the SD card under /bin/zcu104_etherbone
.
If you want to replace it via the SSH, you may need to first killall zcu104_etherbone
to stop the server currently running, then do the scp
and then reboot the ZCU104.
As there was a bug introduced during recent cleanup with the US(+) FPGAs, you may need to wait for https://github.com/antmicro/rowhammer-tester/pull/166 to be merged if you want to build and use a new bitstream.
It's working now :).
Hi,
I am having some issues with the litex_server connection on the ZCU 104 board. I am using the latest prebuilt image posted here and I was having the same connection issues discussed in #74.
As per previous discussions on issue #74, I have recompiled the Etherbone server with gcc-aarch64-linux-gnu and the debug option on. I can see that now the
make srv
command works and sends and receive some data. However, as I try the leds.py test, it fails.The output during the test looks something like below:
Before running the test (only the server running), host:
zcu104:
After running the test:
host (terminal 1):
host (terminal 2)
ZCU104:
....
Any suggestion why this might happen? Is there any updated ZCU 104 image that have the fixed Etherbone server? Thanks 🙏