by yaroze » Mon Jun 05, 2017 10:34 pm
So far I have this I dont know if the target is corrrect as the one in the blob is called memory@0. But dts will not compile with that name.
And memory in the original blob looks like this I dont know what the last 2 addresses are for?
memory {
reg = <0x0 0x80000000 0x80000000 0x7efeb000>;
};
But it does compile, it moans but what do I do with this dtb file now? Where do I put it?
/dts-v1/;
/plugin/;
/ {
compatible = "google,veyron-minnie-rev4", "google,veyron-minnie-rev3", "google,veyron-minnie-rev2", "google,veyron-minnie-rev1", "google,veyron-minnie-rev0", "google,veyron-minnie", "google,veyron", "rockchip,rk3288";
model = "Google Minnie";
fragment@0 {
target = <&memory>;
__overlay__ {
reg = <0x0 0xFDF00000>;
};
};
};
becomes
<stdout>: Warning (reg_format): "reg" property in /fragment@0/__overlay__ has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
<stdout>: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
<stdout>: Warning (unit_address_vs_reg): Node /fragment@0/__overlay__ has a reg or ranges property, but no unit name
<stdout>: Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@0/__overlay__
<stdout>: Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@0/__overlay__
/dts-v1/;
/ {
compatible = "google,veyron-minnie-rev4", "google,veyron-minnie-rev3", "google,veyron-minnie-rev2", "google,veyron-minnie-rev1", "google,veyron-minnie-rev0", "google,veyron-minnie", "google,veyron", "rockchip,rk3288";
model = "Google Minnie";
fragment@0 {
target = <0xffffffff>;
__overlay__ {
reg = <0x0 0xfdf00000>;
};
};
__fixups__ {
memory = "/fragment@0:target:0";
};
};
Feel free to advise - my head hurts!