I got it working! The X-axis end-stop cable was not making good contact on the motherboard end.