Re: [PATCH] of: unittest: Statically apply overlays using fdtoverlay
From: Rob Herring <robh+dt@kernel.org>
Date: 2021-01-14 15:02:51
Also in:
linux-kbuild, lkml
From: Rob Herring <robh+dt@kernel.org>
Date: 2021-01-14 15:02:51
Also in:
linux-kbuild, lkml
On Wed, Jan 13, 2021 at 11:03 PM Viresh Kumar [off-list ref] wrote:
On 11-01-21, 09:46, Rob Herring wrote:quoted
On Fri, Jan 8, 2021 at 2:41 AM Viresh Kumar [off-list ref] wrote:quoted
Now that fdtoverlay is part of the kernel build, start using it to test the unitest overlays we have by applying them statically.Nice idea.quoted
The file overlay_base.dtb have symbols of its own and we need to apply overlay.dtb to overlay_base.dtb alone first to make it work, which gives us intermediate-overlay.dtb file.Okay? If restructuring things helps we should do that. Frank?Frank, do we want to do something about it ? Maybe make overlay_base.dts an dtsi and include it from testcases.dts like the other ones ?
No, because overlay_base.dts is an overlay dt. I think we need an empty, minimal base.dtb to apply overlay_base.dtbo to. And then fdtoverlay needs a fix to apply overlays to the root node? Rob