* Re: Invitation and RFC: Linux Plumbers Device Tree track proposed
[not found] ` <8251B150E4DF5041A62C3EA9F0AB2E0603A53FE1082E-6yWnlZQfN9JoBVljSLT0Ysm4BeyDBExM@public.gmane.org>
@ 2015-04-12 0:05 ` Rob Landley
[not found] ` <CAOS_Y6Qmt2KTRu6urPs-Y1e2Xv1QPNTaQHH4_N8Kk8XU7n+ecQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-13 5:13 ` David Gibson
` (2 subsequent siblings)
3 siblings, 1 reply; 15+ messages in thread
From: Rob Landley @ 2015-04-12 0:05 UTC (permalink / raw)
To: Rowand, Frank
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
celinux-dev-idqoXFIVOFIh9xQPArXXUATG8MYbGj4l@public.gmane.org,
linux-embedded-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On Sat, Apr 11, 2015 at 2:20 PM, Rowand, Frank
<Frank.Rowand-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org> wrote:
> In recent years there have been proposed tools to aid in the creation of valid
> device trees and in debugging device tree issues. An example of this is the
> various approaches proposed (with source code provided) to validate device tree
> source against valid bindings. As of today, device tree related tools,
> techniques, and debugging infrastructure have not progressed very far. I have
> submitted a device tree related proposal for the Linux Plumbers 2015 conference
> to spur action and innovation in such tools, techniques, and debugging
> infrastructure.
>
> The current title of the track is "Device Tree Tools, Validation, and
> Troubleshooting". The proposal is located at
>
> http://wiki.linuxplumbersconf.org/2015:device_tree_tools_validation_and_trouble_shooting
>
> I am looking for several things at the moment:
>
> 1) Suggestions of additional topics to be discussed.
>
> 2) Emails or other messages expressing an interest in attending the
> device tree track.
>
> 3) Commitments to attend the device tree track (the conference committee
> is looking at attendee interest and commitments as part of the process
> of accepting the device tree track).
>
> 4) Identifying additional people who should attend the device tree track.
>
> The desired outcome of the device tree track is to encourage the future
> development of tools, process, etc to make device tree related development,
> test, review and system administration more efficient, faster, easier, more
> robust, and to improve troubleshooting and debugging facilities. Some
> examples of areas of interest could include:
> - make it easier to create correct device tree source files
> - support for debugging incorrect device tree source files
> - create a kernel that correctly boots one or more specific device trees
> (eg a kernel configured to include the proper drivers and subsystems)
> - create drivers that properly work for a device tree binding definition
> - create drivers that support detecting errors in the related node(s) in
> a device tree
>
> The wiki page lists additional areas of interest.
Is there a device tree porting HOWTO anywhere? If I have a board
that's using explicit C initialization, and I want to convert it over
to device tree, step by step what do I do?
If I'm writing a new board support, what device tree bits do I need to
get a shell prompt on a serial port running out of initramfs?
(Physical memory, interrupt controller, timer to drive the scheduler,
serial chip...)
There's a bunch of device tree reference material out there, but no
tutorial material at all, that I can find...
Rob
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Invitation and RFC: Linux Plumbers Device Tree track proposed
[not found] ` <8251B150E4DF5041A62C3EA9F0AB2E0603A53FE1082E-6yWnlZQfN9JoBVljSLT0Ysm4BeyDBExM@public.gmane.org>
2015-04-12 0:05 ` Rob Landley
@ 2015-04-13 5:13 ` David Gibson
2015-04-14 15:36 ` Rob Herring
2015-05-01 21:22 ` [Celinux-dev] " Rob Landley
3 siblings, 0 replies; 15+ messages in thread
From: David Gibson @ 2015-04-13 5:13 UTC (permalink / raw)
To: Rowand, Frank
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-embedded-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
celinux-dev-idqoXFIVOFIh9xQPArXXUATG8MYbGj4l@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
[-- Attachment #1: Type: text/plain, Size: 1697 bytes --]
On Sat, Apr 11, 2015 at 09:20:33PM +0200, Rowand, Frank wrote:
> In recent years there have been proposed tools to aid in the creation of valid
> device trees and in debugging device tree issues. An example of this is the
> various approaches proposed (with source code provided) to validate device tree
> source against valid bindings. As of today, device tree related tools,
> techniques, and debugging infrastructure have not progressed very far. I have
> submitted a device tree related proposal for the Linux Plumbers 2015 conference
> to spur action and innovation in such tools, techniques, and debugging
> infrastructure.
>
> The current title of the track is "Device Tree Tools, Validation, and
> Troubleshooting". The proposal is located at
>
> http://wiki.linuxplumbersconf.org/2015:device_tree_tools_validation_and_trouble_shooting
>
> I am looking for several things at the moment:
>
> 1) Suggestions of additional topics to be discussed.
>
> 2) Emails or other messages expressing an interest in attending the
> device tree track.
>
> 3) Commitments to attend the device tree track (the conference committee
> is looking at attendee interest and commitments as part of the process
> of accepting the device tree track).
It happens that I'll be in Seattle at the time for the KVM Forum.
It's my intention to attend the Plumbers' device tree track, except
where it collides with things I need to attend at KVM Forum.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Invitation and RFC: Linux Plumbers Device Tree track proposed
[not found] ` <8251B150E4DF5041A62C3EA9F0AB2E0603A53FE1082E-6yWnlZQfN9JoBVljSLT0Ysm4BeyDBExM@public.gmane.org>
2015-04-12 0:05 ` Rob Landley
2015-04-13 5:13 ` David Gibson
@ 2015-04-14 15:36 ` Rob Herring
[not found] ` <CAL_JsqL0FdvKtGTxFNYxtrGWkm3z-1m0v9dHwYezCtkFOW6EgQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
` (2 more replies)
2015-05-01 21:22 ` [Celinux-dev] " Rob Landley
3 siblings, 3 replies; 15+ messages in thread
From: Rob Herring @ 2015-04-14 15:36 UTC (permalink / raw)
To: Rowand, Frank
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-embedded-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
celinux-dev-idqoXFIVOFIh9xQPArXXUATG8MYbGj4l@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Matt Porter,
Jon Loeliger, Arnd Bergmann, Gaurav Minocha
On Sat, Apr 11, 2015 at 2:20 PM, Rowand, Frank
<Frank.Rowand-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org> wrote:
> In recent years there have been proposed tools to aid in the creation of valid
> device trees and in debugging device tree issues. An example of this is the
> various approaches proposed (with source code provided) to validate device tree
> source against valid bindings. As of today, device tree related tools,
> techniques, and debugging infrastructure have not progressed very far. I have
> submitted a device tree related proposal for the Linux Plumbers 2015 conference
> to spur action and innovation in such tools, techniques, and debugging
> infrastructure.
>
> The current title of the track is "Device Tree Tools, Validation, and
> Troubleshooting". The proposal is located at
>
> http://wiki.linuxplumbersconf.org/2015:device_tree_tools_validation_and_trouble_shooting
>
> I am looking for several things at the moment:
>
> 1) Suggestions of additional topics to be discussed.
A few things on my list:
- Supported and not supported overlay usecases
- Tools for overlays - I think overlays has created new challenges in
validation and a need for new tools. How to test an overlay applies?
Generating a dtb from dts + overlay dts. Generating an overlay from a
diff of old and new dts (overlay as a way to update old dtbs)
- Shrinking the binding review fire hose. How to improve binding
documentation structure and review.
- Standardizing Android dtb handling. Appended DTB for arm64? Not
liked by upstream, but already in use.
> 2) Emails or other messages expressing an interest in attending the
> device tree track.
>
> 3) Commitments to attend the device tree track (the conference committee
> is looking at attendee interest and commitments as part of the process
> of accepting the device tree track).
I plan to attend. I'm probably attending some of the Android mini conf
too, so I'll have to split my time.
> 4) Identifying additional people who should attend the device tree track.
Arnd Bergmann
Matt Porter
Jon Loeliger
Gaurav Minocha
Rob
> The desired outcome of the device tree track is to encourage the future
> development of tools, process, etc to make device tree related development,
> test, review and system administration more efficient, faster, easier, more
> robust, and to improve troubleshooting and debugging facilities. Some
> examples of areas of interest could include:
> - make it easier to create correct device tree source files
> - support for debugging incorrect device tree source files
> - create a kernel that correctly boots one or more specific device trees
> (eg a kernel configured to include the proper drivers and subsystems)
> - create drivers that properly work for a device tree binding definition
> - create drivers that support detecting errors in the related node(s) in
> a device tree
>
> The wiki page lists additional areas of interest.
>
> Thanks,
>
> Frank Rowand
> Sony Mobile Communications
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe devicetree-compiler" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <CAL_JsqL0FdvKtGTxFNYxtrGWkm3z-1m0v9dHwYezCtkFOW6EgQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Invitation and RFC: Linux Plumbers Device Tree track proposed
[not found] ` <CAL_JsqL0FdvKtGTxFNYxtrGWkm3z-1m0v9dHwYezCtkFOW6EgQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-04-14 17:14 ` Mark Rutland
0 siblings, 0 replies; 15+ messages in thread
From: Mark Rutland @ 2015-04-14 17:14 UTC (permalink / raw)
To: Rob Herring
Cc: Rowand, Frank, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-embedded-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
celinux-dev-idqoXFIVOFIh9xQPArXXUATG8MYbGj4l@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Matt Porter,
Jon Loeliger, Arnd Bergmann, Gaurav Minocha
On Tue, Apr 14, 2015 at 04:36:15PM +0100, Rob Herring wrote:
> On Sat, Apr 11, 2015 at 2:20 PM, Rowand, Frank
> <Frank.Rowand-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org> wrote:
> > In recent years there have been proposed tools to aid in the creation of valid
> > device trees and in debugging device tree issues. An example of this is the
> > various approaches proposed (with source code provided) to validate device tree
> > source against valid bindings. As of today, device tree related tools,
> > techniques, and debugging infrastructure have not progressed very far. I have
> > submitted a device tree related proposal for the Linux Plumbers 2015 conference
> > to spur action and innovation in such tools, techniques, and debugging
> > infrastructure.
> >
> > The current title of the track is "Device Tree Tools, Validation, and
> > Troubleshooting". The proposal is located at
> >
> > http://wiki.linuxplumbersconf.org/2015:device_tree_tools_validation_and_trouble_shooting
> >
> > I am looking for several things at the moment:
> >
> > 1) Suggestions of additional topics to be discussed.
>
> A few things on my list:
>
> - Supported and not supported overlay usecases
I guess Kernel-driven overlay application (it's been called "quirks"
elsewhere) would fall under this? It's rather scary, and would need
fairly strict rules to be feasible and remain maintainable, which is
going to limit where it can be used.
I think the core guys for that are on the list already?
> - Standardizing Android dtb handling. Appended DTB for arm64? Not
> liked by upstream, but already in use.
If people are going to package a kernel and DTB together, it would be
nice if they could at least be easily decomposed (using something like
FIT).
So +1 for that discussion.
> > 2) Emails or other messages expressing an interest in attending the
> > device tree track.
I'm interested.
> > 3) Commitments to attend the device tree track (the conference committee
> > is looking at attendee interest and commitments as part of the process
> > of accepting the device tree track).
If the DT track goes ahead, I'll be there.
Mark.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Invitation and RFC: Linux Plumbers Device Tree track proposed
2015-04-14 15:36 ` Rob Herring
[not found] ` <CAL_JsqL0FdvKtGTxFNYxtrGWkm3z-1m0v9dHwYezCtkFOW6EgQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-04-14 20:58 ` Arnd Bergmann
2015-05-26 16:31 ` Jon Loeliger
2015-05-01 13:32 ` Matt Porter
2 siblings, 1 reply; 15+ messages in thread
From: Arnd Bergmann @ 2015-04-14 20:58 UTC (permalink / raw)
To: Rob Herring
Cc: Rowand, Frank, devicetree@vger.kernel.org,
devicetree-compiler@vger.kernel.org,
linux-embedded@vger.kernel.org,
celinux-dev@lists.celinuxforum.org, linux-kernel@vger.kernel.org,
Matt Porter, Jon Loeliger, Gaurav Minocha
On Tuesday 14 April 2015 10:36:15 Rob Herring wrote:
>
> > 4) Identifying additional people who should attend the device tree track.
>
> Arnd Bergmann
> Matt Porter
> Jon Loeliger
> Gaurav Minocha
Sorry, I won't be there. I should have replied earlier, but I'll be on
parental leave at the time.
Arnd
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Invitation and RFC: Linux Plumbers Device Tree track proposed
2015-04-14 20:58 ` Arnd Bergmann
@ 2015-05-26 16:31 ` Jon Loeliger
0 siblings, 0 replies; 15+ messages in thread
From: Jon Loeliger @ 2015-05-26 16:31 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Rob Herring, Rowand, Frank,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-embedded-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
celinux-dev-idqoXFIVOFIh9xQPArXXUATG8MYbGj4l@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Matt Porter,
Gaurav Minocha
So, like, Arnd Bergmann said:
> On Tuesday 14 April 2015 10:36:15 Rob Herring wrote:
> >
> > > 4) Identifying additional people who should attend the device tree track.
> >
> > Arnd Bergmann
> > Matt Porter
> > Jon Loeliger
> > Gaurav Minocha
>
> Sorry, I won't be there. I should have replied earlier, but I'll be on
> parental leave at the time.
>
> Arnd
Arnd,
OK. Hard to believe, but it looks like I have enough
ducks in a row to attend Plumber's this year!
Thanks,
jdl
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Invitation and RFC: Linux Plumbers Device Tree track proposed
2015-04-14 15:36 ` Rob Herring
[not found] ` <CAL_JsqL0FdvKtGTxFNYxtrGWkm3z-1m0v9dHwYezCtkFOW6EgQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-14 20:58 ` Arnd Bergmann
@ 2015-05-01 13:32 ` Matt Porter
2 siblings, 0 replies; 15+ messages in thread
From: Matt Porter @ 2015-05-01 13:32 UTC (permalink / raw)
To: Rob Herring
Cc: Rowand, Frank, devicetree@vger.kernel.org,
devicetree-compiler@vger.kernel.org,
linux-embedded@vger.kernel.org,
celinux-dev@lists.celinuxforum.org, linux-kernel@vger.kernel.org,
Jon Loeliger, Arnd Bergmann, Gaurav Minocha
On Tue, Apr 14, 2015 at 10:36:15AM -0500, Rob Herring wrote:
> On Sat, Apr 11, 2015 at 2:20 PM, Rowand, Frank
> <Frank.Rowand@sonymobile.com> wrote:
> > In recent years there have been proposed tools to aid in the creation of valid
> > device trees and in debugging device tree issues. An example of this is the
> > various approaches proposed (with source code provided) to validate device tree
> > source against valid bindings. As of today, device tree related tools,
> > techniques, and debugging infrastructure have not progressed very far. I have
> > submitted a device tree related proposal for the Linux Plumbers 2015 conference
> > to spur action and innovation in such tools, techniques, and debugging
> > infrastructure.
> >
> > The current title of the track is "Device Tree Tools, Validation, and
> > Troubleshooting". The proposal is located at
> >
> > http://wiki.linuxplumbersconf.org/2015:device_tree_tools_validation_and_trouble_shooting
> >
> > I am looking for several things at the moment:
> >
> > 1) Suggestions of additional topics to be discussed.
>
> A few things on my list:
>
> - Supported and not supported overlay usecases
> - Tools for overlays - I think overlays has created new challenges in
> validation and a need for new tools. How to test an overlay applies?
> Generating a dtb from dts + overlay dts. Generating an overlay from a
> diff of old and new dts (overlay as a way to update old dtbs)
> - Shrinking the binding review fire hose. How to improve binding
> documentation structure and review.
> - Standardizing Android dtb handling. Appended DTB for arm64? Not
> liked by upstream, but already in use.
- Clean up of existing hardware-specific bindings to conform to the
generic bindings, working dts files in the kernel tree, and bring
consistency to the documentation style/syntax.
> > 2) Emails or other messages expressing an interest in attending the
> > device tree track.
> >
> > 3) Commitments to attend the device tree track (the conference committee
> > is looking at attendee interest and commitments as part of the process
> > of accepting the device tree track).
>
> I plan to attend. I'm probably attending some of the Android mini conf
> too, so I'll have to split my time.
>
> > 4) Identifying additional people who should attend the device tree track.
>
> Arnd Bergmann
> Matt Porter
> Jon Loeliger
> Gaurav Minocha
I also plan to attend. I have an interest in most of the topics already
mentioned as well as the topic I added above.
-Matt
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Celinux-dev] Invitation and RFC: Linux Plumbers Device Tree track proposed
[not found] ` <8251B150E4DF5041A62C3EA9F0AB2E0603A53FE1082E-6yWnlZQfN9JoBVljSLT0Ysm4BeyDBExM@public.gmane.org>
` (2 preceding siblings ...)
2015-04-14 15:36 ` Rob Herring
@ 2015-05-01 21:22 ` Rob Landley
[not found] ` <5543EE80.5060109-VoJi6FS/r0vR7s880joybQ@public.gmane.org>
3 siblings, 1 reply; 15+ messages in thread
From: Rob Landley @ 2015-05-01 21:22 UTC (permalink / raw)
To: Rowand, Frank, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-embedded-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
celinux-dev-idqoXFIVOFIh9xQPArXXUATG8MYbGj4l@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On 04/11/2015 02:20 PM, Rowand, Frank wrote:
> In recent years there have been proposed tools to aid in the creation of valid
> device trees and in debugging device tree issues. An example of this is the
> various approaches proposed (with source code provided) to validate device tree
> source against valid bindings. As of today, device tree related tools,
> techniques, and debugging infrastructure have not progressed very far. I have
> submitted a device tree related proposal for the Linux Plumbers 2015 conference
> to spur action and innovation in such tools, techniques, and debugging
> infrastructure.
>
> The current title of the track is "Device Tree Tools, Validation, and
> Troubleshooting". The proposal is located at
>
> http://wiki.linuxplumbersconf.org/2015:device_tree_tools_validation_and_trouble_shooting
Want I want to do is:
1) Download an archive of device tree files describing a bunch of
boards. (Both dts and corresponding dtb files, with maybe a .txt telling
me about the board and the -append line qemu needs to give it any
board-specific kernel command line stuff like "console=myserialport".)
2) Feed one of the dtb files to qemu to instantiate a bunch of devices.
3) Feed the same file to a generic-ish linux kernel to bind to those
devices. (Or have qemu do this for me.)
Every year or so I sit down to figure out how to do this, spent fifteen
minutes head scratching, and wander away again.
The archive in 1) should have subdirectories for architectures, with the
same name as the corresponding kernel arch directory. It would be nice
if there was some sort of dts_defconfig that built a vmlinux that
statically linked in all the drivers with a device tree binding. It
would be _really_ nice if qemu's vmlinux loader actually worked on all
the hardware targets.
In theory, this should be easy. In practice, I've never made it work.
Rob
^ permalink raw reply [flat|nested] 15+ messages in thread