]> code.ossystems Code Review - openembedded-core.git/commit
kernel: introduce python3-dtschema-wrapper
authorBruce Ashfield <bruce.ashfield@gmail.com>
Fri, 14 Jan 2022 13:21:50 +0000 (13:21 +0000)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 4 Feb 2022 03:03:15 +0000 (11:03 +0800)
commitcc9d4a69e6c6aa99ff58232b37a607ee3ac48a67
tree55eddf7a2f830103ff3af626b4ec4dd0f228594a
parent2d3c5b078feb34cb729902292d2805c9288ebc4c
kernel: introduce python3-dtschema-wrapper

The 5.16 kernel introduced mandatory schema checking on any dtb file
built through the kernel.

That funcionality is provided via python3-dt-schema.

The dependencies to enable that functionality is not small, and may
not always be desired (in particular on architectures that do not
support dtbs, or in development cycles). It may also be useful for
allowing a non-conformant dts to be compiled.

This commit introduces a set of wrapper scripts that when added
as a depenency to the kernel, can pass both the validation testing
and validation steps of a dts.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backported from oe-core commit 2566563ad49d.
Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/conf/distro/include/maintainers.inc
meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-doc-validate [new file with mode: 0644]
meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-mk-schema [new file with mode: 0644]
meta/recipes-kernel/dtc/python3-dtschema-wrapper/dt-validate [new file with mode: 0644]
meta/recipes-kernel/dtc/python3-dtschema-wrapper_2021.10.bb [new file with mode: 0644]