enjoy-digital / litex

Build your hardware, easily!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UART output not displayed

naouel-haggui opened this issue · comments

I'm a beginner with LiteX and am attempting to construct a SoC that integrates two RISC-V cores, using the ZCU102 board. Initially, I'm focusing on developing a SoC with a single RISC-V core (FireV). I've successfully completed the build and load phases, but I'm not getting any output from the UART. For testing, I'm utilizing the demo and the linker script provided by LiteX. I've included the code for creating the SoC and the linker script. Could anyone offer guidance on how to address this problem? Your assistance would be greatly appreciated.
linker.zip
zcu102.zip

Hi @naouel-haggui,

as a first step, I would recommend getting the regular LiteX flow working: Maybe you could try to contribute ZCU102 target file to LiteX-Boards by taking inspiration in the ZCU106 target file: https://github.com/litex-hub/litex-boards/blob/master/litex_boards/targets/xilinx_zcu106.py This would also be a nice way to contribute to the project and will also validate your software setup and hardware.

Once you have this, if you still have trouble getting the standalone SoC working, we'll have a closer look and try to provide further help.

@enjoy-digital There is an existing file for the ZCU102 board in the Litex repository, which you can find here: https://github.com/litex-hub/litex-boards/blob/master/litex_boards/targets/xilinx_zcu102.py . I have successfully tested the board using this file, and everything functioned correctly. However, issues arose when I attempted to create my own SoC. Despite following the usual steps, no output appears when I run litex_term.