Open newinnovations opened 11 months ago
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).
@newinnovations,
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): def init(self): from litex_boards.targets import digilent_genesys2 Board.init(self, digilent_genesys2.BaseSoC, soc_capabilities={
"serial",
#"usb_fifo",
"ethernet",
# Storage
"sdcard",
})
Now, I can do serial boot successfully for linux-on-litex-vexriscv. You can take a try!
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.