Flashing the Mr Beam shield via serial and a PCF8575 reset.
cp autoreset /usr/bin
cp avrdude-autoreset /usr/bin
mv /usr/bin/avrdude /usr/bin/avrdude-original
ln -s /usr/bin/avrdude-autoreset /usr/bin/avrdude
avrdude -q -p atmega328p -c arduino -b 115200 -P /dev/ttyAMA0 -U flash:w:grbl.hex:i