-
Notifications
You must be signed in to change notification settings - Fork 175
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
No serial on Genesys 2 board #365
Comments
I am also working with Genesys2 board and have similiar issues. I can also upload bitstream to the Genesys2 board using Vivado. But if try to load the bitstream with command "$ ./make.py --board=genesys2 --cpu-count=4 --load", the command runs but nothing happened on the Genesys2 board (proramming done LED not light up and no chasing LEDs animation). Besides, the Load Linux Images over Serial command "$ litex_term --images=images/boot.json /dev/ttyUSB0" did not not work either (It just freezed there, nothing happened.). It seems that the JTAG or litex_term conection is OK but bitstream or linux image programming is not done successfully (or not even started at all). |
I encountered the same issue as you. After digging into the code, I found the serial io pads are mistakenly (due to bugs or other reasons) taken by usb_fifo. Therefore I fixed the bug by adding "serial” (this may be not necessary)and remove “usb_fifo” in class Genesys2(Board) in make.py : class Genesys2(Board): Now, I can do serial boot successfully for linux-on-litex-vexriscv. BTW, if you also want to try booting on Ethernet, remember to have your tftp server configured to have a BLOCKSIZE of 1024 as ~/litex/litex/soc/software/libliteeth/tftp.c has it pre-defined to be 1024: Tparng |
I am working with a Genesys 2 board and succeeded in creating the gateware using:
Creating the bitstream and uploading it to the board using Vivado also went ok, and i see the chaser animation on the leds.
But I don't see any activity on the serial port. Looking at the generated verilog files, I noticed that there is no serial connection to the core:
Looking at
make.py
, I see that a lot of boards getserial
added tosoc_capabilities
during board class initialization. But the Genesys2 does not. Adding it manually made no difference.Am I missing something here? Because I saw several people here posting serial logs from Genesys 2 boards.
Your help is greatly appreciated.
The text was updated successfully, but these errors were encountered: