foonas:Lsppchd

From foonas

Jump to: navigation, search

Contents

lsppchd - Buffalo LinkStation HD (PowerPC) and Kurobox

Installation

uboot

WARNING: Failure to flash uboot properly can render your system inoperative. Please do not attempt this procedure unless you are equipped and prepared to repair your device with a JTAG cable or are prepared to live with the consequences.

Obtaining uboot

You may either download uboot 1.2.0 for lsppchd from here, or compile one yourself using our openembedded based toolchain. If you are compiling your own u-boot sources you must ensure you are using a version that supports FDT for your device. If you are unsure, use the version provided here. To compile your own uboot install our toolchain and then:

$ cd /stuff/build
$ bitbake u-boot

Installing uboot

Place a copy of uboot on the drive of your Linkstation. Boot into EM-mode or any 2.4 kernel, and flash in the standard way(s). Once you have flashed uboot to your Linkstation, you should be able to connect via netcat from a terminal with the command:

$ nc -u -p 6666 -v 192.168.11.150 6666

Note: If you previously changed any environmental variables in a prior setup of uboot (e.g. an earlier version of uboot), you may have to restore to defaults .

foonas

Obtaining foonas

You may either download foonas for lsppchd from here, or compile one yourself using our openembedded based toolchain. Building from our svn is not supported for users but to do this install our toolchain and then:

$ cd /stuff/build
$ bitbake bootstrap-image

Installing foonas

Assuming that you have already set up your partitions and swap, place a copy of the bootstrap-image on a previously setup ext3 filesystem partition 1 (/sda1) with swap on the second partition (/sda2), and while in EM-mode untar the image file with:

$ tar xzvf foonas-bootstrap-image*tar.gz

If you have more partitions on your hard drive, you will have to declare them in /etc/fstab, but note that foonas uses a PATA driver. Therefore, use /sdaX (instead of /hdaX) in your fstab lines.

Reboot and login

Reboot and wait for about 1-2 minutes. The initial boot requires a bit more time for ssh and http services to be brought up. Subsequent boots will be much faster.

On any dhcp enabled network, you should be able to connect to your Linkstation via web-browser at http://<ip address of your linkstation> or http://lsppchd.local . Login with these:

username = root
password = hydr0g3n

Using ssh and the same password as above, you can also access your foonas-equipped Linkstation this way:

ssh root@<ip address of your linkstation>
Personal tools