I just submitted a quick patch to Marlin to add correct support for sanguinololu boards with the atmega 1284 chips. The current fuses are incorrect as they leave jtag enabled (end stops dont work) and its not setup to use a ceramic resonator which I think most are shipping with now.