10-22-2020, 01:36 PM
(This post was last modified: 10-22-2020, 01:36 PM by sigmaris.
Edit Reason: typo
)
"overlayfs" is different from support for device tree overlays; overlayfs is used to build up a filesystem from several overlayed layers, e.g. when building up a Docker container filesystem from layers in the image.
It sounds like what you are looking for is dynamic device tree overlay support configured via configfs. For that you need a patched kernel as the patches for this are not in mainline Linux. The patches are included in some kernel trees, e.g. the Raspberry Pi kernel and Ayufan's mainline kernel tree (the top three commits here: https://github.com/ayufan-rock64/linux-m...13afa0059c )
It sounds like what you are looking for is dynamic device tree overlay support configured via configfs. For that you need a patched kernel as the patches for this are not in mainline Linux. The patches are included in some kernel trees, e.g. the Raspberry Pi kernel and Ayufan's mainline kernel tree (the top three commits here: https://github.com/ayufan-rock64/linux-m...13afa0059c )