Today I *finally* managed to get the FPGA to load the bitstream and display something. Mainly because I was missing a VGA monitor :-)
I'm using monitor_load, it works pretty well from my ubuntu dev vm inside virtualbox if I forward the Digilent USB device to it. In case anyone finds this post looking for information, in order for it to work you need to git clone and make / make install both git clone
https://github.com/cambridgehackers/fpgajtag fpgajtag and git clone
https://github.com/cambridgehackers/pciescan pciescan -- that's not entirely clear from the instructions. Also, the MODE jumper on the board must be in JTAG mode, and the board must be ON when using monitor_load (more stuff that's probably obvious but I'm a bit unfamiliar with all of this).
Now, what happens next is that the hypervisor (I guess?) keeps complaining about not being able to find the MBR. If I hold shift I get dropped into a menu from which I can 1. configure mega65 or 2. format the sd card. I'm assuming I need to format my sd card, right now it's one big FAT32 partition and from the docs it seems like there should be a special partition at the beginning. However, whether I type 1, 2 or nothing at all, the system seems stuck. The busy LED seems to blink very quickly and no input from the keyboard seems to work (but the keyboard worked fine to press shift, so *something* works).
Question: how do I move on from here? Is there a way to drop into C64 mode automatically (monitor_load ... -4 doesn't do that)? Is there a simple routing in the hypervisor to test the keyboard?
For the records, I've tried both with commit 691a5f6c8222f112609a5249ae15fd102f12179e and 63611c013736d4c66bb1c870d2611cb4b6f4707a.
Thanks!
Pierluigi