First of all you will need a serial cable to do this.
Fetch mkimage from:http://buffalo.nas-central.org/download/LSPro_ARM9/DevelopmentTools/CrossToolchains/mkimage
Debian Installer ramdisk found on:http://www.applieddata.net/forums/topic.asp?TOPIC_ID=2442
The ramdisk must be converted to a u-boot image:
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x0 -e 0x0 -n initrd -d ramdisk.gz initrd.buffalo
Install a cross compiler and build the kernel as described on:http://buffalo.nas-central.org/index.php/Buffalo_ARM9_Kernel_Port
Remember to pick a cross compiler that makes EABI targets.
make ARCH=arm menuconfig
make ARCH=arm uImage
Put kernel and initrd in /tftpboot on a tftp-server that has the IP address 192.168.11.1
ip addr add 192.168.11.1/24 dev eth0
Connect to the Linkstation Pro/Live through a serial connection:
picocom -b 115200 /dev/ttyUSB0
Boot the Linkstation and press any key to switch to tftp boot and stop the
autoboot. The Linkstaions beeps annoying. Press the power button shortly to
stop the noise. Now you are in u-boot.
In u-boot do:
setenv bootargs_root root=/dev/ram0 rw inirtd=0x00800040,15M panic=5 mem=128M
Do NOT make a saveenv within uboot when it is in tftp-mode. Some of the
environment variable has been changed when the bootloader switches to
tftp-mode. You will not easily get back to the mode where it will try to
boot from the harddisk first.
The normal Debian netboot installer now boots
Debian mirror found on:http://wiki.debian.org/DebianPorts/Mirrors
In expert/manual mode I formatted an ext3 partition on sda6 that I mounted on /.
I didn't use the other partitions.
I couldn't set the time correctly.
You will get warnings that the installer couldn't find a kernel, a
bootloader and kernel modules. Skip these warnings and continue your
In u-boot you can boot in tftp mode again like this
setenv bootargs_root root=/dev/sda6 rw inirtd=0x00800040,15M panic=5 mem=128M
Booting from harddisk would probably look like this (untested):
setenv bootcmd ide reset\;ext2load ide 1:6 0x00100000 /\$(kernel)\;ext2load ide 1:6 0x00800000 /\$(initrd)\;setenv bootargs \$(bootargs_base) \$(bootargs_root) \$(buffalo_ver)\;bootm 0x00100000 0x00800000
Watchdog support. Reboot and shutdown doesn't work. I need a link to the new MICON-driver.
kernel + modules should be put into a Debian package and put on a repository on the net.
A packed version of the Miconv2 driver should be there as well.
Feel free to reuse this on the WIKI.
A method to do this safely without the need for a serial cable would make Debian available on the Linkstaion Pro/Live for more people.