DTC issue with new kernel 4.1.18-bone-rt-r20

Hi everybody,

There is my configuration :

Beaglebone Black Rev.C
kernel 4.1.18-bone-rt-r20

DTV version 1.4.1-g1e75ebc9

I’m tryin to update my plateform to new kernel 4.1 but it’s seem to have an issue when i load my dtbo file. (all is ok with a 3.8.13-bone73 kernel)

There is the error output in dmesg :

[ 189.772569] bone_capemgr bone_capemgr: part_number ‘INTERNET-HUB’, version ‘N/A’
[ 189.772633] bone_capemgr bone_capemgr: slot #5: override
[ 189.772672] bone_capemgr bone_capemgr: Using override eeprom data at slot 5
[ 189.772712] bone_capemgr bone_capemgr: slot #5: ‘Override Board Name,00A0,Override Manuf,INTERNET-HUB’
[ 189.776974] __of_adjust_tree_phandle_references: Illegal property (size) ‘fixup’ @/local_fixups
[ 189.786246] bone_capemgr bone_capemgr: slot #5: Failed to resolve tree

My dts file :

`

/dts-v1/;

/ {
compatible = “ti,beaglebone”, “ti,beaglebone-black”;
version = “00A0”;
manufacturer = “EACH”;
part-number = “INTERNET-HUB”;
exclusive-use = “P9.25”, “P9.27”, “P9.42”;

fragment@0 {
target = <0xdeadbeef>;

overlay {

pinctrl_gpio_pins {
pinctrl-single,pins = <0x1ac 0x27 0x1a4 0x27 0x164 0x7 0x1a0 0x7>;
linux,phandle = <0x1>;
phandle = <0x1>;
};
};
};

fragment@1 {
target = <0xdeadbeef>;

overlay {
#address-cells = <0x1>;
#size-cells = <0x1>;

gpio {
compatible = “bone-pinmux-helper”;
pinctrl-names = “default”;
pinctrl-0 = <0x1>;
status = “okay”;
};
};
};

symbols {
pinctrl_gpio = “/fragment@0/overlay/pinctrl_gpio_pins”;
};

fixups {
am33xx_pinmux = “/fragment@0:target:0”;
ocp = “/fragment@1:target:0”;
};

local_fixups {
fixup = “/fragment@1/overlay/gpio:pinctrl-0:0”;
};
};

`

Please, can you help me to understand what appened ?

Many thanks.

If it works on 3.8.x but not, 4.1.x, this means you didn't use the
correct version of dtc:

https://github.com/beagleboard/bb.org-overlays/

Regards,

Hi Robert,

it’s that i thinked on the fisrt time but it seems to be the good version : Version: DTC 1.4.1-g1e75ebc9

that why i don’t understand.

I think i found the problem.

i’m trying to compile a dts file provided by a dtbo file compile with the old version of dtc.

I’m looking for the original dts file to verify that.

not the solution, same error, i really think that it’s the dts file.

I re-write my dts file with new spec of 4.1 kernel, all seems fine.