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

Send and receive through ethernet on arty a7 #307

Open
ashuthosh-mr opened this issue Sep 6, 2022 · 4 comments
Open

Send and receive through ethernet on arty a7 #307

ashuthosh-mr opened this issue Sep 6, 2022 · 4 comments
Labels

Comments

@ashuthosh-mr
Copy link

Hi,

Sorry to have this question. This might be a simple question that I am struggling to solve for sometime. I want to quickly transfer the images and files through ethernet, and also receive the files generated by the vexriscv. I have programmed the arty7-35t fpga with the SMP. The serial boot is working fine. But since I have to debug the applications, it is slow to transfer via serial. I tried setting up TFTP server but was not able to transfer the images through ethernet. I referred the documentation (https://github.com/enjoy-digital/litex/wiki/Load-Application-Code-To-CPU). It would be a great help if there is already other documentation that might be helpful, I have looked at issue #65.

Thank you

@smosanu
Copy link
Contributor

smosanu commented Nov 17, 2022

Hi @ashuthosh-mr, were you able to get it to work? Were you able to see the eth0 interface when you run ifconfig -a? I am struggling with a similar issue on the KC705 board. I was able to boot via TFTP so I know the ethernet interface works in BIOS but was not able to see it in Linux.

To get the TFTP working in BIOS make sure you set the host IP to 192.168.1.100 and have the TFTP server configured on your host machine with the image files in the correct directory.

@ashuthosh-mr
Copy link
Author

No. I wasn't able to get it work.

@enjoy-digital
Copy link
Member

Hi @ashuthosh-mr,

sorry for the delay, are you still trying to get this working? If so, I would recommend following @smosanu advices and also testing the TFPServer manually first and when testing with the board, have Wireshark running to capture packets transfers and be able to provide us more information (like a capture of packets you can see when the BIOS is running the netboot). The Arty-35t is regularly used for this project so is know to work so I really think your issue is a network or TFTP configuration issue.

@ashuthosh-mr
Copy link
Author

Hi. That's okay. I couldn't get it to work and stopped trying. But, I worked out with serial transfer. I will have a look at Wireshark method in the future. Thanks.

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

No branches or pull requests

3 participants