Hello All.
I have been trying to run a gadget-side driver on beaglebone black.
The driver has earlier been run on a x86_64 machine using a dummy-HCD and configs, now trying on beaglebone-black. For using configfs, we need to have the /sys/kernel/config/usb_gadget directory, where the driver-function/device details can be specified.
Following are the steps that have been taken (on the beaglebone black machine) :
- git clone GitHub - beagleboard/linux: The official BeagleBoard and BeagleBone kernel repository
- git checkout 4.19.94-ti-r42
- Kernel and modules were built and installed.
Thereafter, following are run after reboot :
$ uname -r
4.19.94+
$ ls -lrth /sys/kernel/config/
total 0
$ sudo modprobe libcomposite
$ lsmod | grep libcomposite
libcomposite 61440 0
$ lrth /sys/kernel/config/
total 0
$ sudo mount none /config -t configfs
$ ls -lrth /sys/kernel/config/
total 0
What am I missing?
Thanks and Regards,
Ajay