Forum Discussion
Altera_Forum
Honored Contributor
12 years agoEDS 14.0 tool dtc
So i'm trying to edit my socfpga.dtb file bij using the socfpga.dts file. But with EDS 13.1 you could do "dtc -I dts -O dtb -o socfpga.dtb socfpga.dts". Only with EDS 14.0 the command doesn't work...
Altera_Forum
Honored Contributor
12 years agoThnx 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.