DTS compiled on x86 Linux causes errors when dtbo is loaded?

Should I be able to compile my dts file on my x86 Linux box and have it work on my Beaglebone Black ??

I would have thought so, but if I build the same DTS file on Ubuntu 16.10 (with the update to date DTC) and install the resulting dtbo on my Beagle Bone Black running Debian with the 4.4.54-ti-r93 kernel, I get all kinds of pinmux errors such as:

18.517928] bone-pinmux-helper ocp:P8_11_pinmux: could not find pctldev for node /ocp/l4_wkup@44c00000/prcm@200000/clocks/clkdiv32k_ick, deferring probe
[ 18.518391] bone-pinmux-helper ocp:P8_12_pinmux: could not find pctldev for node /ocp/l4_wkup@44c00000/prcm@200000/clocks/gpio0_dbclk_mux_ck, deferring probe
[ 18.518678] bone-pinmux-helper ocp:P8_13_pinmux: could not find pctldev for node /ocp/l4_wkup@44c00000/prcm@200000/clocks/stm_pmd_clock_mux_ck, deferring probe
[ 18.518935] bone-pinmux-helper ocp:P8_14_pinmux: could not find pctldev for node /ocp/l4_wkup@44c00000/prcm@200000/clocks/virt_25000000_ck, deferring probe
[ 18.519176] bone-pinmux-helper ocp:P8_15_pinmux: could not find pctldev for node /ocp/mailbox@480C8000/wkup_m3, deferring probe
[ 18.519468] bone-pinmux-helper ocp:P8_16_pinmux: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/dma-router@f90, deferring probe
[ 18.519906] bone-pinmux-helper ocp:P8_09_pinmux: could not find pctldev for node /ocp/l4_wkup@44c00000/prcm@200000/clocks/dpll_per_m2_ck, deferring probe
[ 18.520217] bone-pinmux-helper ocp:P8_10_pinmux: could not find pctldev for node /ocp/l4_wkup@44c00000/prcm@200000/clocks/clk_24mhz, deferring probe
[ 18.582466] bone-pinmux-helper ocp:P8_11_pinmux: could not find pctldev for node /ocp/l4_wkup@44c00000/prcm@200000/clocks/clkdiv32k_ick, deferring probe
[ 18.582920] bone-pinmux-helper ocp:P8_12_pinmux: could not find pctldev for node /ocp/l4_wkup@44c00000/prcm@200000/clocks/gpio0_dbclk_mux_ck, deferring probe
[ 18.583203] bone-pinmux-helper ocp:P8_13_pinmux: could not find pctldev for node /ocp/l4_wkup@44c00000/prcm@200000/clocks/stm_pmd_clock_mux_ck, deferring probe
[ 18.583455] bone-pinmux-helper ocp:P8_14_pinmux: could not find pctldev for node /ocp/l4_wkup@44c00000/prcm@200000/clocks/virt_25000000_ck, deferring probe

If I take the same dts with no changes and copy it over and compile it under Debian on my Beagle Bone Black and it install it, it loads fine with out errors.

Does this make sense ??

Thanks.

Are you using dtc 1.4.4 on your x86 host with the -@ flag?

Regards,

I’m using a clone of the bb.overlay repo and just copied my DTS into the src/arm directory and did a make from the top.

Ran the dtc-overlay.sh script first to get the patched dtc compiler installed into /usr/local/bin

~:91> which dtc
/usr/local/bin/dtc
~:92> dtc -v
Version: DTC 1.4.1-g1e75ebc9

I just migraged that script to dtc 1.4.4 (aka mainline dtc) a few weeks back:

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

Regards,