Uploading to ATmega328 from Raspberry Pi

Using crystal plus two condensers did not help. About 70 eurocents of components wasted.

I think that communication protocols are robust enough to tolerate small differences in timing. Plus resonators are most probably better than your estimate.