I have the same problem. Thats why i wanted to edit the .DTS file. If you replace "dtb --output socfpga.dtb" bij DTS. You get the DTS file.
sopc2dts --input soc_system.sopcinfo -t dts --output socfpga.dts --board soc_system_board_info.xml --board hps_clock_info.xml
You can also rewrite to "sopc2dts -i soc_system.sopcinfo -t dts -o socfpga.dts"
So the Debuf console=ttyAL0, Normaly i would chose "bootargs = "console=ttyS0,115200";"
chosen {
bootargs = "debug console=ttyAL0,115200";
}; //end chosen
Also the memory is not correct i thing.
memory@0 {
device_type = "memory";
reg = < 0xC0000000 0x00010000
0xFFFF0000 0x00010000
0x00000000 0x80000000 >;
}; //end memory@0
I have 256 MB , so it has to be (i think).
memory {
device_type = "memory";
reg = <0x0 0x10000000>;
};
So the Question = How do you convert a Socfpga.dts to a Socfpga.dtb