it is the first time to visit this form and i am very glad to see it

i wont to ask about which firmware to be put on the ATMEG 8

If you want a bootloader firmware that compatible with the one used by Arduino, you can find the .hex file in the bootloader/ directory of the Arduino distribution. Check out: for more details.