RISC-V booting on DRAM w/o sdcard

Hello,

I’m trying to boot risc-v core w/o sdcard (i.e. no storage) on fpga. My fpga configuration is very simple. It just has uart and core IP then 1G dram. Oh… jtag is enabled. I’ve tested simple firmware on the fpga. In next step, I want to run linux on it. But most of guide is using a sdcard.

The scenario I think is followings:

  1. openocd run
  2. gdb run
  3. load dtb on dram
  4. load bbl on dram
  5. load bzImage on dram
  6. execute bbl

Is this possible scenario ? Any advice for me?

Regards,
cm