dynamic device tree on 4.14 not working

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

Posts: 2
Joined: Wed Feb 06, 2019 10:54 am

dynamic device tree on 4.14 not working

Wed Feb 06, 2019 11:53 am


I wanted to use a dynamic device tree to speed up my development cycle.

I based myself on this link:
https://www.96boards.org/documentation/ ... ys.md.html

I have these config options:

Code: Select all

However, the 'device-tree' subdirectory is not mounted after the final mount command.
Yet I changed the kernel configuration to support configfs, which works as I do get the 'usb_gadget' subdirectory. (I don't want to use the usb_gadget specifically, I just followed these steps to check on configfs being supported by the kernel, as this is a requirement for dynamic device tree overlays.)

Concrete I invoke these commands:

Code: Select all

modprobe libcomposite 
mount -t configfs none /sys/kernel/config 
ls /sys/kernel/config 
The 'ls' command, shows only 'usb_gadget' and not 'device-tree'.

I assume this is wrong, can someone elaborate on this?
How can I load a device tree overlay dynamically?

Thanks in advance.


Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 4 guests