On 5/1/2014 7:13 AM, Hannes Hörting wrote:
> Hello!
> 
> Guess I passed now some steps:
> https://learn.adafruit.com/introduction-to-the-beaglebone-black-device-tree/exporting-and-unexporting-an-overlay
> 
> Great instruction. I install dtc and can compile your files with "sh 
> make.sh"
> 
> But there is just one problem:
> echo cape-universal > /sys/devices/bone_capemgr.*/slots
> 
> I get:
> bash: echo: write error: File exists
> 
> Can I add the line(s) manual in the slots? Because when I open the slot:
> 0: 54:PF---
> 1: 55:PF---
> 2: 56:PF---
> 3: 57:PF---
> 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
> 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
> 
> I can add BB-UART1 ... but not cape-universal.
> 
> Any idea how I can add the settings?

You load *JUST* the cape-universal.  It provides user-mode selection of
pin multiplexing and also loads most useful hardware drivers (like the
UARTs).

Once loaded, all pins default to inputs with their power-on reset
default pull up/down settings.  To change the pin functions, use the
config-pin utility:

config-pin p9.24 uart
config-pin p9.25 high

Just type config-pin (with no options) to get usage info.

You can also provide a file list of pin settings to the program, to
setup everything at once.  There is even a GUI program to generate the
files, but it doesn't (yet) run on the BeagleBone.  Get the PC, Mac, or
x86 Linux version here:

https://github.com/strahlex/BBIOConfig/releases

-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to