trouble with image bone-debian-8.5 / 2016-06-05

92 views
Skip to first unread message

TJF

unread,
Jun 11, 2016, 9:38:30 AM6/11/16
to BeagleBoard
capemgr doesn't load device tree overlays: dmesg reports

...
[  200.132514] bone-pinmux-helper ocp:pruio-08: could not find pctldev for node /ocp/interrupt-controller@48200000, deferring probe

but node name is

 ocp/48200000.interrupt-controller
 

Rahul K Singh

unread,
Jun 13, 2016, 9:37:39 PM6/13/16
to BeagleBoard
try this path for latest image:
/sys/devices/platform/ocp/

TJF

unread,
Jun 14, 2016, 5:43:45 AM6/14/16
to BeagleBoard
Thanks for your answer, Rahul. Unfortunatelly you didn't understand the problem.

In the path you mentioned, the bone-pinmux-helper looks for a node named

interrupt-controller@48200000

and failed to find it, obviously because its name is now

48200000.interrupt-controller

This has to get fixed in the kernel source.

Wally Bkg

unread,
Jun 20, 2016, 8:42:49 AM6/20/16
to BeagleBoard
Why all these changes to /sys/devices tree?
Its ugly and will remain ugly no matter what they do with the names, but these changes break existing code and documentation to what benefit?

John Syne

unread,
Jun 20, 2016, 12:09:36 PM6/20/16
to beagl...@googlegroups.com
What was ugly was the original board files with duplicate code in the kernel source for each platform. Anyway, why is this ugly? It is simply a device address and a label. The driver needs this information, so you can either hard code it (not a good idea because it leads to duplicate code) or you can define it in the device tree. Same thing for gpio numbers, interrupts, dma channels, etc. Take the time to understand the format and it won’t seem so confusing.

Regards,
John




> On Jun 20, 2016, at 5:42 AM, Wally Bkg <wb666...@gmail.com> wrote:
>
> Why all these changes to /sys/devices tree?
> Its ugly and will remain ugly no matter what they do with the names, but these changes break existing code and documentation to what benefit?
>
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/af94584f-72fd-4a0c-9221-d3f59b79e91a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

TJF

unread,
Jun 20, 2016, 1:10:34 PM6/20/16
to BeagleBoard

Am Montag, 20. Juni 2016 18:09:36 UTC+2 schrieb john3909:
It is simply a device address and a label. The driver needs this information, so you can either hard code it (not a good idea because it leads to duplicate code) or you can define it in the device tree. Same thing for gpio numbers, interrupts, dma channels, etc. Take the time to understand the format and it won’t seem so confusing.

If it is that easy, why do kernel developers have the same problems like Wally Bkg and myself, and problems of this kind are everywhere?

Guys like Derek Molloy spend a lot of effort in writing good tutorials. And most documentations are outdated with the next small kernel update?

Names in /sys should never change! OK, sometimes it needs a clean-up. But that should only happen when the major kernel version number changes. And a clear documentation is obligatory.

BR

John Syne

unread,
Jun 20, 2016, 1:52:55 PM6/20/16
to beagl...@googlegroups.com
Because Devicetree is new and there is an effort to achieve consistency between all architectures. Remember, devicetree started on the PowerPC platform and it was only when Linus complained about the code duplication and conflicts between ARM platforms that Devicetree was adopted by the ARM community. There are still architectures who still have board files so expect more churn as these architectures adopt devicetree. In addition, as companies like TI mainstream their patches, they are also making changes to the devicetree, so it will be some time before this settles down. 

Regards,
John




--
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...@googlegroups.com.

Robert Nelson

unread,
Jun 20, 2016, 2:19:45 PM6/20/16
to Beagle Board, jeli.f...@gmail.com
No one is forcing you to upgrade either..

We go out of our way to allow you to install almost any kernel version.

3.8.13-boneX -> 4.7.X

Regards,

--
Robert Nelson
https://rcn-ee.com/
Reply all
Reply to author
Forward
0 new messages