Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-23 Thread Pantelis Antoniou
Hi all, I’ve just put up a blog-entry explaining the rationale behind yaml and device tree. https://www.konsulko.com/yaml-and-device-tree/ Please give it a quick glance and give feedback if you can. Regards — Pantelis

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-22 Thread Grant Likely
On Sun, Oct 22, 2017 at 7:23 PM, Pantelis Antoniou wrote: > Hi Grant, > >> On Oct 22, 2017, at 19:54 , Grant Likely wrote: >> >> On Fri, Oct 20, 2017 at 8:16 PM, Pantelis Antoniou >> wrote: >>> Hi Grant, >>> On Oct 20, 2017, at 20:46 , Grant Likely wrote: On Thu, Sep 28, 2017 at

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-22 Thread Pantelis Antoniou
Hi Grant, > On Oct 22, 2017, at 19:54 , Grant Likely wrote: > > On Fri, Oct 20, 2017 at 8:16 PM, Pantelis Antoniou > wrote: >> Hi Grant, >> >>> On Oct 20, 2017, at 20:46 , Grant Likely wrote: >>> >>> On Thu, Sep 28, 2017 at 8:58 PM, Pantelis Antoniou >>> wrote: Hello again,

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-22 Thread Grant Likely
On Fri, Oct 20, 2017 at 8:16 PM, Pantelis Antoniou wrote: > Hi Grant, > >> On Oct 20, 2017, at 20:46 , Grant Likely wrote: >> >> On Thu, Sep 28, 2017 at 8:58 PM, Pantelis Antoniou >> wrote: >>> Hello again, >>> >>> Significant progress has been made on yamldt and is now capable of >>> not only g

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-20 Thread Pantelis Antoniou
Hi Grant, > On Oct 20, 2017, at 20:46 , Grant Likely wrote: > > On Thu, Sep 28, 2017 at 8:58 PM, Pantelis Antoniou > 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

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-20 Thread Grant Likely
On Thu, Sep 28, 2017 at 8:58 PM, Pantelis Antoniou 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. > > Compiling the kernel's DTBs us

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-10 Thread David Gibson
On Tue, Oct 10, 2017 at 06:19:03PM +0300, Pantelis Antoniou wrote: > Hi David, > > > On Oct 10, 2017, at 04:50 , David Gibson > > wrote: > > > > On Mon, Oct 09, 2017 at 06:07:28PM +0300, Pantelis Antoniou wrote: > >> Hi David, > >> > >>> On Oct 9, 2017, at 03:00 , David Gibson > >>> wrote: >

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-10 Thread Pantelis Antoniou
Hi David, > On Oct 10, 2017, at 04:50 , David Gibson wrote: > > On Mon, Oct 09, 2017 at 06:07:28PM +0300, Pantelis Antoniou wrote: >> Hi David, >> >>> On Oct 9, 2017, at 03:00 , David Gibson wrote: >>> >>> On Sun, Oct 08, 2017 at 04:08:03PM -0700, Frank Rowand wrote: On 10/07/17 03:23, P

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-09 Thread David Gibson
On Mon, Oct 09, 2017 at 06:07:28PM +0300, Pantelis Antoniou wrote: > Hi David, > > > On Oct 9, 2017, at 03:00 , David Gibson wrote: > > > > On Sun, Oct 08, 2017 at 04:08:03PM -0700, Frank Rowand wrote: > >> On 10/07/17 03:23, Pantelis Antoniou wrote: > >>> Hi Rob, > >>> > On Oct 6, 2017, a

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-09 Thread Pantelis Antoniou
Hi David, > On Oct 9, 2017, at 03:00 , David Gibson wrote: > > On Sun, Oct 08, 2017 at 04:08:03PM -0700, Frank Rowand wrote: >> On 10/07/17 03:23, Pantelis Antoniou wrote: >>> Hi Rob, >>> On Oct 6, 2017, at 16:55 , Rob Herring wrote: On Tue, Oct 3, 2017 at 12:39 PM, Pantelis An

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-09 Thread Pantelis Antoniou
Hi Frank, > On Oct 9, 2017, at 02:08 , Frank Rowand wrote: > > On 10/07/17 03:23, Pantelis Antoniou wrote: >> Hi Rob, >> >>> On Oct 6, 2017, at 16:55 , Rob Herring wrote: >>> >>> On Tue, Oct 3, 2017 at 12:39 PM, Pantelis Antoniou >>> wrote: Hi Rob, > > < snip > > eBPF is portable

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-08 Thread David Gibson
On Sun, Oct 08, 2017 at 04:08:03PM -0700, Frank Rowand wrote: > On 10/07/17 03:23, Pantelis Antoniou wrote: > > Hi Rob, > > > >> On Oct 6, 2017, at 16:55 , Rob Herring wrote: > >> > >> On Tue, Oct 3, 2017 at 12:39 PM, Pantelis Antoniou > >> wrote: > >>> Hi Rob, > > < snip > > > >>> eBPF is por

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-08 Thread Frank Rowand
On 10/07/17 03:23, Pantelis Antoniou wrote: > Hi Rob, > >> On Oct 6, 2017, at 16:55 , Rob Herring wrote: >> >> On Tue, Oct 3, 2017 at 12:39 PM, Pantelis Antoniou >> wrote: >>> Hi Rob, < snip > >>> eBPF is portable, can be serialized after compiling in the schema file >>> and can be executed in

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-07 Thread Pantelis Antoniou
Hi Rob, > On Oct 6, 2017, at 16:55 , Rob Herring wrote: > > On Tue, Oct 3, 2017 at 12:39 PM, Pantelis Antoniou > wrote: >> Hi Rob, >> >> On Tue, 2017-10-03 at 12:13 -0500, Rob Herring wrote: >>> On Tue, Oct 3, 2017 at 9:13 AM, Pantelis Antoniou >>> wrote: Hi Rob, On Tue, 2017-

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-06 Thread Rob Herring
On Tue, Oct 3, 2017 at 12:39 PM, Pantelis Antoniou wrote: > Hi Rob, > > On Tue, 2017-10-03 at 12:13 -0500, Rob Herring wrote: >> On Tue, Oct 3, 2017 at 9:13 AM, Pantelis Antoniou >> wrote: >> > Hi Rob, >> > >> > On Tue, 2017-10-03 at 08:18 -0500, Rob Herring wrote: >> >> On Mon, Oct 2, 2017 at 2:

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-03 Thread Pantelis Antoniou
Hi Rob, On Tue, 2017-10-03 at 12:13 -0500, Rob Herring wrote: > On Tue, Oct 3, 2017 at 9:13 AM, Pantelis Antoniou > wrote: > > Hi Rob, > > > > On Tue, 2017-10-03 at 08:18 -0500, Rob Herring wrote: > >> On Mon, Oct 2, 2017 at 2:46 PM, Pantelis Antoniou > >> wrote: > >> > Hi Rob, > >> > > >> > On

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-03 Thread Rob Herring
On Tue, Oct 3, 2017 at 9:13 AM, Pantelis Antoniou wrote: > Hi Rob, > > On Tue, 2017-10-03 at 08:18 -0500, Rob Herring wrote: >> On Mon, Oct 2, 2017 at 2:46 PM, Pantelis Antoniou >> wrote: >> > Hi Rob, >> > >> > On Sun, 2017-10-01 at 17:00 -0500, Rob Herring wrote: >> >> On Thu, Sep 28, 2017 at 2:

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-03 Thread Pantelis Antoniou
Hi Rob, On Tue, 2017-10-03 at 08:18 -0500, Rob Herring wrote: > On Mon, Oct 2, 2017 at 2:46 PM, Pantelis Antoniou > wrote: > > Hi Rob, > > > > On Sun, 2017-10-01 at 17:00 -0500, Rob Herring wrote: > >> On Thu, Sep 28, 2017 at 2:58 PM, Pantelis Antoniou > >> wrote: > >> > Hello again, > >> > > >>

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-03 Thread Rob Herring
On Mon, Oct 2, 2017 at 2:46 PM, Pantelis Antoniou wrote: > Hi Rob, > > On Sun, 2017-10-01 at 17:00 -0500, Rob Herring wrote: >> On Thu, Sep 28, 2017 at 2:58 PM, Pantelis Antoniou >> wrote: >> > Hello again, >> > >> > Significant progress has been made on yamldt and is now capable of >> > not only

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-03 Thread Pantelis Antoniou
Hi Geert, On Tue, 2017-10-03 at 09:17 +0200, Geert Uytterhoeven wrote: > Hi Pantelis, > > On Mon, Oct 2, 2017 at 9:46 PM, Pantelis Antoniou > wrote: > > # Note that the YAML example must be validated against this binding > > # to be an accepted entry > > Indeed ;-) > > > yaml: |

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-03 Thread Geert Uytterhoeven
Hi Pantelis, On Mon, Oct 2, 2017 at 9:46 PM, Pantelis Antoniou wrote: > # Note that the YAML example must be validated against this binding > # to be an accepted entry Indeed ;-) > yaml: | > sk11@0: > compatible: "skel,sk11" > reg: 0 > sip-max

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-02 Thread Pantelis Antoniou
Hi Rob, On Sun, 2017-10-01 at 17:00 -0500, Rob Herring wrote: > On Thu, Sep 28, 2017 at 2:58 PM, Pantelis Antoniou > 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 > > a

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-02 Thread Pantelis Antoniou
> On Oct 2, 2017, at 01:00 , Rob Herring wrote: > > On Thu, Sep 28, 2017 at 2:58 PM, Pantelis Antoniou > 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 almos

Re: [RFC] yamldt v0.5, now a DTS compiler too

2017-10-01 Thread Rob Herring
On Thu, Sep 28, 2017 at 2:58 PM, Pantelis Antoniou 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"? > Com

[RFC] yamldt v0.5, now a DTS compiler too

2017-09-28 Thread Pantelis Antoniou
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 accu