According to the make file included in the v0018 bootloaders file you are supposed to be able to type
make mega_isp
and it should program the bootloader.
I get the following error
avrdude: input file ATmegaBOOT_168_atmega1280.hex auto detected as Intel Hex
avrdude: ERROR: address 0x10f010 out of range at line 2 of ATmegaBOOT_168_atmega1280.hex
avrdude: write to file 'ATmegaBOOT_168_atmega1280.hex' failed
Does anyone have the fixes for the makefile to make this work.
I think the issue is the parameters to avrdude to make it handle the larger offset for the bootloader. I know that avrdude can do it because it works fine if you do it from the Arduino menu BURN BOOTLOADER
Thanks
Mark