If the signature is all zeros the problem is very likely wrong wiring or the target is not clocked.
If the signature is invalid the problem is very likely loose wiring, unconnected wiring, or the SPI rate is too high.
If the signature is valid bug wrong the boards.txt entry is wrong or you have the wrong board selected.