From NAS-Central Buffalo - The Linkstation Wiki
Get the Source
Open OCD supports parallel port and USB interface cables out of the box.
Board Support (Configuration file)
We need a config file and an init script for the Linkstation boards. If anyone has worked this out tfor OpenOCD, please upload it to the wiki, and link to it here.
Running the following code should reprogram the flash chip. Please double check Flash ROM to verify the address of the flash for your board.