eugene-tarassov / vivado-risc-v

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

Kernel boot fail on Arty 100T board #240

Open imocanu opened 4 months ago

imocanu commented 4 months ago

OS system : Ubuntu 22.04 ( Vivado v2024.1 64-bit ) project release : commit cdca76bbeebe8ea02333fd41829ffdf69d21a03c ( Linux kernel 6.9.6 ) project build : make CONFIG=rocket64b1 BOARD=arty-a7-100t bitstream

.......... Gave up waiting for root file system device. Common problems:

Boot log : boot_log.txt

One possible issue is the default address range for ddr3 :

default_address_range

Seems that is a similar issue with boot sequence from : https://github.com/eugene-tarassov/vivado-risc-v/issues/235

Any idea how can be fixed this boot issue ?

eugene-tarassov commented 4 months ago

The kernel failed to detect SD card. Perhaps because you are trying to boot kernel 5.19.16, which is about 2 years old. Or the kernel was not built properly, e.g. missing SD card driver. The current supported kernel version is 6.9.6.

imocanu commented 4 months ago

Thanks for feedback. boot_log was a quick check for an older kernel.

With latest kernel is the same output : kernel_6.9.6_log.txt

eugene-tarassov commented 4 months ago

Then it is some other problem with SD card, like incompatible Pmod SD card adapter. During boot, the kernel should show messages about SD card like this:

[    8.044848] mmc0: host does not support reading read-only switch, assuming write-enable
[    8.067856] mmc0: new high speed SDHC card at address aaaa
[    8.093032] mmcblk0: mmc0:aaaa SL16G 14.8 GiB