From: henryk@ploetzli.ch Date: Thu, 27 Aug 2009 23:29:49 +0000 (+0000) Subject: Add Makefile for fpga directory (Windows codepath is untested, in any case, go.bat... X-Git-Tag: v1.0.0~514 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/e73e717239300d6b47d5f5d81256d8feb493299f?hp=e73e717239300d6b47d5f5d81256d8feb493299f Add Makefile for fpga directory (Windows codepath is untested, in any case, go.bat is still there) Retire rbt2c.pl, instead use objcopy to directly convert the .bit file into an .o that can be linked with the flash image Rename armsrc/fpga.c to armsrc/fpgaloader.c (since there is now a new fpga.o, created from fpga.bit) Remove fpgaimg.c from subversion, add fpga.bit Instead of creating fpgaimage.elf and osimage.elf separately, now create a joined fullimage.elf first (obsoleting ldscript-full), then extract only the fpga and os sections with objcopy (This creates unspecific warnings about an empty segment, need to investigate) Implement a rudimentary .bit parser in the firmware, use that to locate the bitstream in the new fpgaimage (which is just a plain copy of the fpga.bit file) and send it to the FPGA The code will check the format that's in flash and fall back to the legacy format ---