Skip to content

Instantly share code, notes, and snippets.

@ChristopherJD
Created March 24, 2016 06:13

Revisions

  1. ChristopherJD created this gist Mar 24, 2016.
    19 changes: 19 additions & 0 deletions Enable UART BeagleBone Black
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    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