I need help atmega1284av

Okay, you need to create a new entry in your local copy of ardude.conf with the signature bytes for the non-P version of the 1284.
Then create a new entry in boards.txt for that part.
Should be good to go after that.