I've spent some time updating my guide to installing the stock firmware from scratch on all the various NAS devices to have a more friendly layout and include some additional details which should make it work on all models of Linkstation/Terastation.
https://buffalonas.miraheze.org/wiki/Restoring_Stock_Firmware_without_TFTPLet me know if you have any questions or come across additional details I should add.