07-19-2016, 01:15 PM
(07-19-2016, 11:51 AM)martinayotte Wrote: Yes the file is /boot/pine64/sun50i-a64-pine64-plus.dtb
First, backup that file somewhere, then decompile it :
dtc -I dtb -O dts -o file.dts /boot/pine64/sun50i-a64-pine64-plus.dtb
Edit it to place status = "okay", but you need to fix also the buggy 0x40000 in eth with the good value 0x10000.
Recompile it :
dtc -I dts -O dtb -o /boot/pine64/sun50i-a64-pine64-plus.dtb file.dts
In the file.dts I found the following, do we need to edit anything with that also? (says "io_disabled")
spi0@2 {
allwinner,pins = "PC3", "PC2", "PC0", "PC1";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x55>;
phandle = <0x55>;
};