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
..
2019-02-24 00:09:11 +03:00
2020-04-28 05:25:38 +00:00
2020-08-08 10:54:16 +10:00
2019-11-03 14:42:43 +01:00
2019-02-22 19:26:47 +01:00
2019-08-26 21:40:19 +00:00
2020-07-07 23:15:57 +01:00
2020-02-03 10:00:35 -08:00
2020-03-31 17:24:37 +03:00
2019-05-05 19:39:50 +09:00
2020-07-22 21:08:11 -04:00