Thnx for the info. i've got linux running.
I generated the socfpga.dts with the following command
sopc2dts --input ghrd_5astfd5k3.sopcinfo
--output socfpga.dtb
--type dtb
--bridge-removal all
--clocks
I didn't use the XML files. But you need to edit the socfpga.dts file a little to get it working.
i changed the first part to
model = "Altera SOCFPGA Cyclone V";
compatible = "altr,socfpga-cyclone5", "altr,socfpga";
# address-cells = <0x1>;
# size-cells = <0x1>;
aliases {
ethernet0 = "/sopc/ethernet@0xff700000";
};
cpus {
# address-cells = <0x1>;
# size-cells = <0x0>;
cpu@0x0 {
device_type = "cpu";
compatible = "arm,cortex-a9-14.0", "arm,cortex-a9";
reg = <0x0>;
next-level-cache = <0x1>;
};
cpu@0x1 {
device_type = "cpu";
compatible = "arm,cortex-a9-14.0", "arm,cortex-a9";
reg = <0x1>;
next-level-cache = <0x1>;
};
};
So another thing i changed to get it running is the EMAC.
ethernet@ff700000 {
+ phy-mode = "rgmii";
After those two things I got Linux running.