I want to report that I managed to get the 3.18.5 rootfs running on a Iomega storcenter ix4-200d.
After a lot research about the device tree and fiddling around with dts files I also managed to get the four sata ports and dual gigabit ports to work. There is a second sata controller on the PCI bus, and the ethernet interfaces had to be configured based on a very old kernel patch I found online that never made it into the kernel (http://lists.infradead.org/pipermail/linux-arm-kernel/2009-November/003906.html)
I have not managed to get the gpio or i2c devices working since it is very hard (not impossible, but a lot of hassle) to actually get the source code for this NAS. Lenovo wants a cheque or money order to cover expenses before they will mail it to you on a cd. (https://lenovo-na-en.custhelp.com/app/answers/detail/a_id/34787)
The uboot does not support a separate dtb, so it has to be appended to the kernel (see bodhi's excellent instructions in http://forum.doozan.com/read.php?2,12096)
DTS file for the ix4-200d
Serial:
115200 baud 3.3v, pinout in attachment.
I hope this helps someone else trying to run debian on their ix4!
Edit: added info about the serial port.
After a lot research about the device tree and fiddling around with dts files I also managed to get the four sata ports and dual gigabit ports to work. There is a second sata controller on the PCI bus, and the ethernet interfaces had to be configured based on a very old kernel patch I found online that never made it into the kernel (http://lists.infradead.org/pipermail/linux-arm-kernel/2009-November/003906.html)
I have not managed to get the gpio or i2c devices working since it is very hard (not impossible, but a lot of hassle) to actually get the source code for this NAS. Lenovo wants a cheque or money order to cover expenses before they will mail it to you on a cd. (https://lenovo-na-en.custhelp.com/app/answers/detail/a_id/34787)
The uboot does not support a separate dtb, so it has to be appended to the kernel (see bodhi's excellent instructions in http://forum.doozan.com/read.php?2,12096)
DTS file for the ix4-200d
/dts-v1/;
#include "kirkwood.dtsi"
#include "kirkwood-6281.dtsi"
/ {
model = "Iomega ix4-2OOd";
compatible = "marvell,rd88f6281-a", "marvell,rd88f6281","marvell,kirkwood-88f6281", "marvell,kirkwood";
memory {
device_type = "memory";
reg = <0x00000000 0x20000000>;
};
chosen {
bootargs = "console=ttyS0,115200n8 earlyprintk";
stdout-path = &uart0;
};
mbus {
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
};
ocp@f1000000 {
serial@12000 {
status = "ok";
};
sata@80000 {
status = "okay";
nr-ports = <2>;
};
};
};
&nand {
status = "okay";
partition@0 {
label = "u-boot";
reg = <0x0000000 0x100000>;
read-only;
};
partition@100000 {
label = "uImage";
reg = <0x0100000 0x200000>;
};
partition@300000 {
label = "rootfs";
reg = <0x0300000 0x500000>;
};
};
&mdio {
status = "okay";
ethphy0: ethernet-phy@8 {
device_type = "ethernet-phy";
reg = <8>;
};
ethphy1: ethernet-phy@9 {
device_type = "ethernet-phy";
reg = <9>;
};
};
ð0 {
status = "okay";
ethernet0-port@0 {
phy-handle = <ðphy0>;
};
};
ð1 {
status = "okay";
ethernet1-port@0 {
phy-handle = <ðphy1>;
};
};
Serial:
115200 baud 3.3v, pinout in attachment.
I hope this helps someone else trying to run debian on their ix4!
Edit: added info about the serial port.