Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1741801 > unrolled thread
| Started by | Pantelis Antoniou <pantelis.antoniou@konsulko.com> |
|---|---|
| First post | 2017-09-28 22:10 +0200 |
| Last post | 2017-10-02 09:40 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[RFC] yamldt v0.5, now a DTS compiler too Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2017-09-28 22:10 +0200
Re: [RFC] yamldt v0.5, now a DTS compiler too Rob Herring <robherring2@gmail.com> - 2017-10-02 00:10 +0200
Re: [RFC] yamldt v0.5, now a DTS compiler too Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2017-10-02 09:40 +0200
| From | Pantelis Antoniou <pantelis.antoniou@konsulko.com> |
|---|---|
| Date | 2017-09-28 22:10 +0200 |
| Subject | [RFC] yamldt v0.5, now a DTS compiler too |
| Message-ID | <uuNi9-536-7@gated-at.bofh.it> |
Hello again, Significant progress has been made on yamldt and is now capable of not only generating yaml from DTS source but also compiling DTS sources and being almost fully compatible with DTC. Compiling the kernel's DTBs using yamldt is as simple as using a DTC=yamldt. Error reporting is accurate and validation against a YAML based schema works as well. In a short while I will begin posting patches with fixes on bindings and DTS files in the kernel. Please try it on your platform and report if you encounter any problems. https://github.com/pantoniou/yamldt I am eagerly awaiting for your comments. Regards -- Pantelis
[toc] | [next] | [standalone]
| From | Rob Herring <robherring2@gmail.com> |
|---|---|
| Date | 2017-10-02 00:10 +0200 |
| Message-ID | <uvUAV-7D7-7@gated-at.bofh.it> |
| In reply to | #1741801 |
On Thu, Sep 28, 2017 at 2:58 PM, Pantelis Antoniou <pantelis.antoniou@konsulko.com> wrote: > Hello again, > > Significant progress has been made on yamldt and is now capable of > not only generating yaml from DTS source but also compiling DTS sources > and being almost fully compatible with DTC. Can you quantify "almost"? > Compiling the kernel's DTBs using yamldt is as simple as using a > DTC=yamldt. Good. > > Error reporting is accurate and validation against a YAML based schema > works as well. In a short while I will begin posting patches with > fixes on bindings and DTS files in the kernel. What I would like to see is the schema format posted for review. I would also like to see the bindings for top-level compatible strings (aka boards) as an example. That's something that's simple enough that I'd think we could agree on a format and start moving towards defining board bindings that way. Rob
[toc] | [prev] | [next] | [standalone]
| From | Pantelis Antoniou <pantelis.antoniou@konsulko.com> |
|---|---|
| Date | 2017-10-02 09:40 +0200 |
| Message-ID | <uw3uy-4tG-17@gated-at.bofh.it> |
| In reply to | #1742893 |
> On Oct 2, 2017, at 01:00 , Rob Herring <robherring2@gmail.com> wrote: > > On Thu, Sep 28, 2017 at 2:58 PM, Pantelis Antoniou > <pantelis.antoniou@konsulko.com> wrote: >> Hello again, >> >> Significant progress has been made on yamldt and is now capable of >> not only generating yaml from DTS source but also compiling DTS sources >> and being almost fully compatible with DTC. > > Can you quantify "almost”? The —sort option and /include-bin/ doesn’t work yet. It’s a day or so to add them but there are no kernel dtb files that rely on them. > >> Compiling the kernel's DTBs using yamldt is as simple as using a >> DTC=yamldt. > > Good. > >> >> Error reporting is accurate and validation against a YAML based schema >> works as well. In a short while I will begin posting patches with >> fixes on bindings and DTS files in the kernel. > > What I would like to see is the schema format posted for review. > It is based on your binding schema you’ve posted but tweaked slightly to be parseable by the YAML subset that matches the DTS style. In particular bare sequences do not map to DT at all, so: - name: foo is changed to name: foo And so on. > I would also like to see the bindings for top-level compatible strings > (aka boards) as an example. That's something that's simple enough that > I'd think we could agree on a format and start moving towards defining > board bindings that way. > I’ll see what I can do. > Rob Regards — Pantelis
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web