eugene-tarassov / vivado-risc-v

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

Trying to add our custom bootloader #220

Open suyogchaudhary opened 2 months ago

suyogchaudhary commented 2 months ago

****Hello sir, Here we are trying to add our custom bootloader on genesys2 board.We have our elf file. We flashed that elf file on SD card but we are facing following issues. invalid SD card format error

We also tried to put it into mcs file but still issue remains the same.:- RISC-V 64, Boot ROM V3.6 Cannot access SD: Timeout Cannot mount SD: Disk not ready

Guide us on how can we add our own bootloader for it. Is there any partucular address where we need to put our elf file? or any other method?

eugene-tarassov commented 2 months ago

Before trying your custom bootloader, try to build and run provided bare-metal example. Then use it as a reference.

suyogchaudhary commented 2 months ago

Thank you for your help. I tried with hellow world its working.But i am nt getting from where to start the writimng of bootloader. How you will approach if you are writing the bootloader for the same? i am trying at add coreboot to this riscv-server Needed your help

suyogchaudhary commented 2 months ago

Hello i used hello world as reference for my custom bootloader. but only blank screen is appearing