Skip to contentSkip to conversation

device tree verification tools

DISCUSSION Julia Lawall 4 participants 8 messages Jul 26, 2016 – Nov 4, 2016 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

I saw that there will be a microconference on device trees at Linux Plumbers. Unfortunately, I won't be able to attend, due to another event at the same time, but I was wondering what is the status of verification tools for device tree specifications?

thanks,
julia

#1 lore raw
Quoted 8 lines · Julia Lawall

I saw that there will be a microconference on device trees at Linux Plumbers. Unfortunately, I won't be able to attend, due to another event at the same time, but I was wondering what is the status of verification tools for device tree specifications?

thanks,
julia

Matt, Rob,

Is activity on this topic likely to resume later this year?

-Frank
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Julia Lawall
Quoted 4 lines · Julia Lawall

I saw that there will be a microconference on device trees at Linux Plumbers. Unfortunately, I won't be able to attend, due to another event at the same time, but I was wondering what is the status of verification tools for device tree specifications?

For a few checks that we want to do for OpenPower systems, we've been adding tests to the FirmWare Test Suite (FWTS)
https://wiki.ubuntu.com/FirmwareTestSuite - which does actually catch a case where we messed it up and have something that's technically invalid (i.e. we could have used this a couple of years ago when the mistake was initially made).

Signature · 7 lines
Stewart Smith
OPAL Architect, IBM.

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw
In reply to a message not in the archive
Quoted 6 lines · Stewart Smith
Quoted 4 lines · Julia Lawall

I saw that there will be a microconference on device trees at Linux Plumbers. Unfortunately, I won't be able to attend, due to another event at the same time, but I was wondering what is the status of verification tools for device tree specifications?

Quoted 6 lines

For a few checks that we want to do for OpenPower systems, we've been adding tests to the FirmWare Test Suite (FWTS)
https://wiki.ubuntu.com/FirmwareTestSuite - which does actually catch a case where we messed it up and have something that's technically invalid (i.e. we could have used this a couple of years ago when the mistake was initially made).

Thanks for the information. Is it easy to see in there what tests are done?

thanks,
julia

Quoted 6 lines

--
Stewart Smith
OPAL Architect, IBM.

#5 lore raw
Quoted 15 lines · Julia Lawall
Quoted 6 lines · Stewart Smith
Quoted 4 lines · Julia Lawall

I saw that there will be a microconference on device trees at Linux Plumbers. Unfortunately, I won't be able to attend, due to another event at the same time, but I was wondering what is the status of verification tools for device tree specifications?

Quoted 6 lines

For a few checks that we want to do for OpenPower systems, we've been adding tests to the FirmWare Test Suite (FWTS)
https://wiki.ubuntu.com/FirmwareTestSuite - which does actually catch a case where we messed it up and have something that's technically invalid (i.e. we could have used this a couple of years ago when the mistake was initially made).

Quoted 2 lines

Thanks for the information. Is it easy to see in there what tests are done?

You can have a look at the FWTS source, there's some specific DT tests there (we have one to ensure that when somebody creates a new machine, they change the model name in the device tree from the reference platform model name). Since FWTS uses the same device tree code as everywhere, it's not too hard to follow, and the test report from FWTS is pretty clear (and you can tell it to just run some tests).

Signature · 7 lines
Stewart Smith
OPAL Architect, IBM.

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#6 lore raw
In reply to Julia Lawall
Quoted 8 lines · Julia Lawall

I saw that there will be a microconference on device trees at Linux Plumbers. Unfortunately, I won't be able to attend, due to another event at the same time, but I was wondering what is the status of verification tools for device tree specifications?

thanks,
julia

Hi Julia,

Grant Likely is breathing new life into the verification effort.

-Frank

#8 lore raw
In reply to a message not in the archive
Quoted 6 lines · Frank Rowand
Quoted 5 lines · Julia Lawall

I saw that there will be a microconference on device trees at Linux Plumbers. Unfortunately, I won't be able to attend, due to another event at the same time, but I was wondering what is the status of verification tools for device tree specifications?

Quoted 7 lines
Quoted 3 lines

thanks,
julia

Hi Julia,

Grant Likely is breathing new life into the verification effort.

Hey Julia,

The status is: there are no verification tools for dt. :-)

I'm /hoping/ to fix that. I've started experimenting with a grammar for DT schema and writing a schema validation tool, but this isn't my domain of expertise. I could certainly use your insight. You can see some of what I've been playing with in this git tree:

https://github.com/glikely/dtgendoc

It is little more than prototype code, and nothing has been formalized yet. I'm open to taking other approaches.

Cheers,
g.

Quoted 2 lines

-Frank

#10 lore raw
In reply to a message not in the archive
Quoted 24 lines · Grant Likely
Quoted 6 lines · Frank Rowand
Quoted 5 lines · Julia Lawall

I saw that there will be a microconference on device trees at Linux Plumbers. Unfortunately, I won't be able to attend, due to another event at the same time, but I was wondering what is the status of verification tools for device tree specifications?

Quoted 7 lines
Quoted 3 lines

thanks,
julia

Hi Julia,

Grant Likely is breathing new life into the verification effort.

Hey Julia,

The status is: there are no verification tools for dt. :-)

I'm /hoping/ to fix that. I've started experimenting with a grammar for DT schema and writing a schema validation tool, but this isn't my domain of expertise. I could certainly use your insight. You can see some of what I've been playing with in this git tree:

Quoted 4 lines

https://github.com/glikely/dtgendoc

It is little more than prototype code, and nothing has been formalized yet. I'm open to taking other approaches.

Thanks for the pointer. I haven't had a chance to look into it, but I hope to get to it soon.

julia

Quoted 8 lines

Cheers,
g.

Quoted 2 lines

-Frank