Using the AVR programmer USB, stk500 V2 compatible from:
http://shop.tuxgraphics.org/electronic/microcontroller.html?id=2b93dd
(with thanks to Guido)
Further documentation online at:
http://www.tuxgraphics.org/electronics/200510/article05101.shtml
and also for avr-gcc:
http://www.tuxgraphics.org/electronics/200411/article352.shtml
notes:
mkdir /tmp/mnt
mount -o loop /mnt/cdrom/KNOPPIX/tgr/avr.img /tmp/mnt
cd /tmp/mnt
find avr* | cpio -dump /usr/local/
cd ; umount /tmp/mnt
# and add bin to PATH.
PATH=${PATH}:/usr/local/avr/bin/
export PATH
Makefile is at:
http://main.linuxfocus.org/common/src2/article352/Makefile.html
and uses avr-gcc, avr-objcopy and prg_load_uc shell script which references:
avrdude -p m8 -c avrusb500 -e -U flash:w:"$pfile"
prg_fusebit_uc is also used to "read and write fuse bits of the atmega8"