/sys/kernel/config/device-tree/overlays not exist

Hi,

I customize kernel on BBB, enabled

CONFIG_OF_OVERLAY=y
CONFIG_CONFIGFS=y

and called:

mount -t configfs none /sys/kernel/config

No error but I don’t see the folder /sys/kernel/config/device-tree/overlays exist.
only /sys/kernel/config is available.

Anyone know what I am missing, please?

That was last supported in the v4.14.x-ti kernel…

Regards,

Hi,

I am using buildroot with am335x-boneblack config, but point to 5.10 kernel.

if I back to 4.14 this feature should work? If so, is there any similar way to do that on 5.10?

The patchset that enables that needs rework after v4.15.x

Regards,

I thought CONFIG_OF_OVERLAY and CONFIG_CONFIGFS are linux standard config flags, once enabled then good to go :cry:

Could you please give the link of the patchset?

they are… but the patchset to make them work together is not mainline…

Regards,

Seems a lot of rework between 4.14 and 5.10

Is there any other simple way to load dynamic device tree overlay, please?

it was going to be a lot of rework from 4.14.x → 4.15.x/4.16.x hence why it wasn’t done by me…

Nope…

Regards,

Thank Robert, from your hint, I got it working by weekend. Not easy!

I would like to install the config-pin which is really nice. I remember there is an overlay that need for this tool but could not find anywhere now. Can you show us if you know where it is?