Open K16DIABLO opened 3 years ago
Can you give more insight into what "fails to copy" means? What symptoms are you observing and how is it different from what you expect?
FSBL should copy BBL from SD card to DRAM. Destination address is 0xBF00_0000 ~ 0xBFFF_FFFF in both cases. Since the destination address is unchanged, FSBL should have copied BBL. Only DRAM access is not successful. UART shows printf successfully.
Here are two ideas to debug this issue:
I'm building a shell on VC707 (not sifive/freedom repo). My system works well when the address map can be represented in 32-bit.
However, if not, it fails to copy the BBL to DRAM during FSBL.
I just modified parameters in src/main/subsystem/Config.scala. Should I modify other files?