eugene-tarassov / vivado-risc-v

Xilinx Vivado block designs for FPGA RISC-V SoC running Debian Linux distro
825 stars 186 forks source link

Arty-a7-100t: Error for running bitstream #144

Open L0stMyN4me opened 1 year ago

L0stMyN4me commented 1 year ago

We followed the steps of readme completely, firstly we execute the command (make CONFIG=rocket64b2 BOARD=arty-a7-100t vivado-gui )to generate the system arty a7-100t. tcl file, and then executing the tcl file in Vivado(2020.2) to generate the bd. The first time we did not modify the bd, we directly generated bitstream. Error reported: Insufficient LUT resources. Subsequently, we deleted some IPs, such as ethernet, and then generated bitstream, but the result was still an error report indicating insufficient resources. fd5a4da79b46bd2c20e75da4384cfb8 The development board we use is Arty-a7-100t,vivado version is 2020.2 Could you please tell me which step we did may have problems?

eugene-tarassov commented 1 year ago

2-core system is too large for this board - insufficient LUT resources. Use single core configuration: CONFIG=rocket64b1

L0stMyN4me commented 1 year ago

excuse me, according to your suggestion, we successfully created the project, but still cannot start Linux.It has the following error

Starting systemd-udevd version 252~rc3-2 [ 7.934202] mmc0: error -22 whilst initialising SD card Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. done. Gave up waiting for root file system device. Common problems:

We refer to this comment but it still dosen't work.

this is the pmod sdcard we used 2c1c37b79a9e5df98b089c4bf5bdaff there is no sdio_cd pin, so we annotated it out from riscv_wrapper, and assign it a value of 1 PS: the same problem occurs when the sdio_cd pin is not modified 745c2c213ae542143dbc2f299efb8c7 Is it because of the pmod issue? Do we need to modify anything else?

eugene-tarassov commented 1 year ago

The project is setup for Digilent Pmod SD adapter. Your adapter has different pinout. You need to modify board/arty-a7-100t/sdc.xdc to match your adapter. Also, make sure you use right socket on the Arty board - socket JB.