Hi. Mi name is Rodrigo and I was searching for hours the problem in google, but I didn’t found
I have a beagleboard xM with Angstrom running in it. I need to change the mux to use uart 1 and 2, and I read in several places that it is posible writing files in /sys/kernel/debug/omap_mux. However, when I mount debugfs with:
I think that older versions of the kernel don’t support the omap_mux file system. If you built the kernel from source then there are probably build options that you need to add, but I’ve never done that myself.
Linux version 2.6.32 (koen@dominion) (gcc version 4.3.3 (GCC) ) #3 PREEMPT Tue Jul 26 10:56:56 CEST 2011
Do you know if it is an older version to omap_mux?
I am using the demo version that bring with beagleboard-xM rev. C.
I’m currently running Ubuntu on my own BB-XM, with kernel 3.2.13, and omap_mux is definitely there (without having to manually mount it). However, I was previously running one of the Angstrom demo images (I think it was Angstrom-TI-GNOME-image-eglibc-ipk-v2012.01-core-beagleboard-2012.01.11.img.gz, kernel version 3.something), and omap_mux was available there too.
Additionaly, I like to comment that I found another alternative to mux uarts (at least uart2).
In the beagleboard xM revC with Angstrom (kernel 2.6.32):
root@beagleboard:~# devmem2 0x48002178 h 0x0000
root@beagleboard:~# devmem2 0x48002172 h 0x0101
With these command uart2 work. devmem2 read/write /dev/mem. I read that only work with kernels older than 2.6.39.
For uart1, the commands could be:
root@beagleboard:~# devmem2 0x480020E8 h 0x0002
root@beagleboard:~# devmem2 0x480020EA h 0x0102
Where did you get that image? I’m currrently using ubuntu 13.04 arm from elinux method 1 and when I run mount -t debugfs none /sys/kernel/debug it says none is already mounted. When I add debugfs /sys/kernel/debug debugfs 0 0 to my fstab it doesn’t change anything. When I run uname -r it says 3.8.8-bone14.
Will your image be compatible with the new BB black?