Richard Marko 6c9df40a4b nixos/device-tree: improve overlays support
Now allows applying external overlays either in form of
.dts file, literal dts context added to store or precompiled .dtbo.

If overlays are defined, kernel device-trees are compiled with '-@'
so the .dtb files contain symbols which we can reference in our
overlays.

Since `fdtoverlay` doesn't respect `/ compatible` by itself
we query compatible strings of both `dtb` and `dtbo(verlay)`
and apply only if latter is substring of the former.

Also adds support for filtering .dtb files (as there are now nearly 1k
dtbs).

Co-authored-by: georgewhewell <georgerw@gmail.com>
Co-authored-by: Kai Wohlfahrt <kai.wohlfahrt@gmail.com>
2020-09-09 16:34:58 +02:00
..
2020-09-07 14:20:35 -07:00
2018-05-01 19:57:09 -04:00
2019-09-19 19:17:30 +02:00
2019-09-19 19:17:30 +02:00
2019-09-19 19:17:30 +02:00
2019-09-19 19:17:30 +02:00
2019-09-19 19:17:30 +02:00
2019-09-19 19:17:30 +02:00
2019-09-19 19:17:30 +02:00
2019-11-15 00:32:09 +01:00
2020-09-07 14:20:35 -07:00