Skip to content

Instantly share code, notes, and snippets.

@ChristopherJD
Created March 24, 2016 06:13
Show Gist options
  • Save ChristopherJD/0cf3ed8003ff4697828f to your computer and use it in GitHub Desktop.
Save ChristopherJD/0cf3ed8003ff4697828f to your computer and use it in GitHub Desktop.
root@beaglebone:/home/debian# echo > BB-UART1 > /sys/devices/bone_capemgr.9/slots
root@beaglebone:/home/debian# cat /sys/devices/bone_capemgr.9/slots
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
7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART1
debian@beaglebone:~$ ls -l /dev/ttyO*
crw-rw---- 1 root tty 248, 0 May 15 2014 /dev/ttyO0
crw-rw---T 1 root dialout 248, 1 Mar 24 05:17 /dev/ttyO1
root@beaglebone:/dev# nano /boot/uboot/uEnv.txt
##Example
#cape_disable=capemgr.disable_partno=
#cape_enable=capemgr.enable_partno=BB-UART1
@pra-dan
Copy link

pra-dan commented Jan 19, 2021

I was able to enable all the 4.5 UARTs automatically at bootup on Debian 10 using this method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment