eugene-tarassov / vivado-risc-v

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

cannot read boot.elf : File not found #229

Open wudehua2016 opened 1 month ago

wudehua2016 commented 1 month ago

I used this repo to flash the bin into the kintex-7, following the instructions on the repo. But fails after I flash the img into the sdcard. It say "RISC-V 64, BOOTROM V3.8: cannot read boot.elf: File not found " from the Serial port. I used the kintex-7 fpga, ubuntu 20.04. the mk-sd-card scripts was encountered a error: This disk is currently in use - repartitioning is probably a bad idea. Umount all file systems, and swapoff all swap partitions on this disk. Use the --no-reread flag to suppress this check. to deal with this error, I added a new flag of "--no-reread" in the sfdisk like that:

case "$response" in [yY][eE][sS]|[yY]) sudo dd if=$SD_IMG of=$DEVICE bs=64K status=progress sudo sync sudo partprobe ${DEVICE} sleep 3 echo ", +" | sudo sfdisk -N 2 ${DEVICE} --no-reread sudo partprobe ${DEVICE} sudo fsck -f ${DEVICE}2 sudo resize2fs ${DEVICE}2 sudo sync break ;; *)

and then I got the error of "cannot read boot.elf : File not found", and how can I get rid of it? Thank you

wudehua2016 commented 1 month ago

it is my fault, i find the reason