board is probably already using an early version of marlin - but like mine (probably), might lack a bootloader.

Sounds like maybe you've damaged the endstop. try a new one and check the wiring. Sometimes the connectors come lose inside the rubber shrink tubing where they connect to the stop itself.