Skip to content

Add overlaycheck2 - #206

Open
pelwell wants to merge 2 commits into
raspberrypi:masterfrom
pelwell:overlaycheck2
Open

Add overlaycheck2#206
pelwell wants to merge 2 commits into
raspberrypi:masterfrom
pelwell:overlaycheck2

Conversation

@pelwell

@pelwell pelwell commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Reinvent overlaycheck as a Python utility that, for the most part,
replaces the pairing of ovmerge as a preprocessor and separate passes
for each test with the internalisation of the DT as a data structure
on which the various checkers work. The end result has been a new bug
found (apds9660 wasn't referencing its pinctrl node) and a two thirds
reduction in run time.

pelwell added 2 commits July 27, 2026 16:51
ovmerge.py is a reimplementation of ovmerge in Python. It should be
identical, output-wise, compared to the Perl original.

To enable the creation of related tools, the parsing and DT manipulation
parts of the utility have been placed in ovmerge_engine.py.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Reinvent overlaycheck as a Python utility that, for the most part,
replaces the pairing of ovmerge as a preprocessor and separate passes
for each test with the internalisation of the DT as a data structure
on which the various checkers work. The end result has been a new bug
found (apds9660 wasn't referencing its pinctrl node) and a two thirds
reduction in run time.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant