I can't find the file "omap_mux" in /sys/kernel/debug,
so how to set pin mode on my beaglebone black with angstrom distribution?
many thanks!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Jason,
The BeagleBone Black uses a new kernel - 3.8. The /sys/kernel/debug/omap_mux is gone and device trees are used to describe hardware. The 3.8 kernel uses Device Tree Overlays (DTO) for pin muxing.
Here are some useful links to help you understand DTOs:
https://github.com/jadonk/validation-scripts/tree/master/test-capemgr
http://devicetree.org/Device_Tree_Usage
http://hipstercircuits.com/adding-beaglebone-cape-support-to-a-kernel-with-device-tree-in-ubuntu/
http://hipstercircuits.com/enable-pwm-on-beaglebone-with-device-tree-overlays/
http://hipstercircuits.com/enable-spi-1-0-and-1-1-with-device-tre-overlays-on-beaglebone/
Best regards,
Miroslav
Hi Jason,
As stated here, the BeagleBone kernels are implemented and maintained as a set of patches ahead of the mainline kernel, along with a script to download a mainline kernel and patch it accordingly. This is the same kernel (mainline and patches) which is in the Angstrom build.
To Build a kernel, check out the beagleboard/kernel Github project, branch beaglebone-3.2 or branch 3.8. The README.md files contains exact steps for building the kernel and copying it to your BeagleBone.
There is also this page with building instructions for the Angstrom distribution.
Best regards,
Miroslav