Re: [beagleboard] DTS compiled on x86 Linux causes errors when dtbo is loaded?

2017-05-16 Thread cjohnson
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


On Tuesday, May 16, 2017 at 9:44:52 AM UTC-7, RobertCNelson wrote:
>
> On Tue, May 16, 2017 at 11:41 AM,  > 
> wrote: 
> > 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@44c0/prcm@20/clocks/clkdiv32k_ick, deferring 
> probe 
> > [   18.518391] bone-pinmux-helper ocp:P8_12_pinmux: could not find 
> pctldev 
> > for node /ocp/l4_wkup@44c0/prcm@20/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@44c0/prcm@20/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@44c0/prcm@20/clocks/virt_2500_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@44c0/scm@21/dma-router@f90, deferring 
> probe 
> > [   18.519906] bone-pinmux-helper ocp:P8_09_pinmux: could not find 
> pctldev 
> > for node /ocp/l4_wkup@44c0/prcm@20/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@44c0/prcm@20/clocks/clk_24mhz, deferring 
> probe 
> > [   18.582466] bone-pinmux-helper ocp:P8_11_pinmux: could not find 
> pctldev 
> > for node /ocp/l4_wkup@44c0/prcm@20/clocks/clkdiv32k_ick, 
> deferring 
> > probe 
> > [   18.582920] bone-pinmux-helper ocp:P8_12_pinmux: could not find 
> pctldev 
> > for node /ocp/l4_wkup@44c0/prcm@20/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@44c0/prcm@20/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@44c0/prcm@20/clocks/virt_2500_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 ?? 
>
> Are you using dtc 1.4.4 on your x86 host with the -@ flag? 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 


DISCLAIMER: This email correspondence and any attachments may contain 
confidential and privileged information intended only for the use of the 
designated recipient(s) listed above and is the property of ZincFive, Inc. 
If you are not the intended recipient(s) of this message, you are hereby 
notified that any disclosure, copying, distribution or the taking of any 
action in reliance on the contents of this information is prohibited. If 
you are not the intended recipient of this email, please notify the sender 
immediately.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/630eb98e-589c-44ae-bad3-0e76cd498679%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-05-16 Thread cjohnson
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@44c0/prcm@20/clocks/clkdiv32k_ick, deferring 
probe
[   18.518391] bone-pinmux-helper ocp:P8_12_pinmux: could not find pctldev 
for node /ocp/l4_wkup@44c0/prcm@20/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@44c0/prcm@20/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@44c0/prcm@20/clocks/virt_2500_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@44c0/scm@21/dma-router@f90, deferring probe
[   18.519906] bone-pinmux-helper ocp:P8_09_pinmux: could not find pctldev 
for node /ocp/l4_wkup@44c0/prcm@20/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@44c0/prcm@20/clocks/clk_24mhz, deferring probe
[   18.582466] bone-pinmux-helper ocp:P8_11_pinmux: could not find pctldev 
for node /ocp/l4_wkup@44c0/prcm@20/clocks/clkdiv32k_ick, deferring 
probe
[   18.582920] bone-pinmux-helper ocp:P8_12_pinmux: could not find pctldev 
for node /ocp/l4_wkup@44c0/prcm@20/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@44c0/prcm@20/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@44c0/prcm@20/clocks/virt_2500_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.


-- 


DISCLAIMER: This email correspondence and any attachments may contain 
confidential and privileged information intended only for the use of the 
designated recipient(s) listed above and is the property of ZincFive, Inc. 
If you are not the intended recipient(s) of this message, you are hereby 
notified that any disclosure, copying, distribution or the taking of any 
action in reliance on the contents of this information is prohibited. If 
you are not the intended recipient of this email, please notify the sender 
immediately.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/2673a000-54de-4580-838b-eb6bd776f20c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Enabling CAN and GPIOs at the same time.

2017-05-07 Thread cjohnson
We are using a Beaglebone Black rev-C and need to have both DCAN1 and some 
of the GPIOs enabled at the same time.

So we've tried loading both the BB-CAN1-00A0 and the univ-emmc-00A0 
overlays.  That of course does not work since P9.24 and P9.26 conflict 
between the two.  So I modified univ-emmc-00A0.dts to not configure P9.24 
and P9.26.

Both overlays load and the GPIOs work fine.  But dcan1 does not.  If I do 
not load univ-emmc-00A0 and only load BB-CAN1-00A0, dcan1 works great but I 
loose my GPIOs.

CAN also does not work if I just load univ-emmc-00A0 and manually configure 
P9.24 and P9.26 to "can" using the config-pin script.   
(Not working means no data transferred when monitoring with a logic 
analyzer.)

Since this is my first time with dts files, I must be missing something 
here.Any hints would be appreciated.

--Charles Johnson





-- 


DISCLAIMER: This email correspondence and any attachments may contain 
confidential and privileged information intended only for the use of the 
designated recipient(s) listed above and is the property of ZincFive, Inc. 
If you are not the intended recipient(s) of this message, you are hereby 
notified that any disclosure, copying, distribution or the taking of any 
action in reliance on the contents of this information is prohibited. If 
you are not the intended recipient of this email, please notify the sender 
immediately.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/7b4fa5fc-bbdf-4eeb-8998-23a2d25f0aff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.