...With an Arduino Yun shield? I can setup the hardware - ICSP configuration is easy enough - but how do I go about using the IDE to do this? Cheers
It's highly unlikely you will be able to do it from the IDE. Instead you will have to do it from the Yun's command line (SSH) using
avrdude and the
linuxgpio driver, or the handy
$ sudo run-avrdude bootloader.hex
bootloader.hex is the bootloader file found somewhere in the IDE that you need to copy over to the Yun with
You may find you need to tweak the fuse settings in the script to get the bootloader to work. I am not familiar with AVR fuses, but IIRC there is one that tells it to run the bootloader instead of the sketch. Just copy the values out of the boards.txt in the IDE and place them into a copy of
/usr/bin/run-avrdude in your home directory.