What is the entry for boards.txt for the board you selected? In particular, the upload baud rate?
Where did you get the bootloader which expects to run at 20 MHz?
What is the entry for boards.txt for the board you selected? In particular, the upload baud rate?
Where did you get the bootloader which expects to run at 20 MHz?