mwachs5
(Megan A. Wachs)
March 22, 2018, 5:35pm
2
If you build your own image, you need to specify a program to include in the MCS. You can see more in this thread (though the relevant line number link is now:
)
Ah, makes sense. I didn’t register that you were compiling from scratch!
See this part of the FPGA build Makefile:
https://github.com/sifive/freedom/blob/master/fpga/e300artydevkit/Makefile#L9
When we built the image that’s posted online, we used the FLASHED_PROGRAM variable to include a binary version of demo_gpio from the Freedom E SDK
This requires a binary format (slightly different than the actual ELF file that Freedom E SDK creates). You can generate it from the ELF with objcopy also i…