opkg install dtc wget http://pignology.net/blackdts.tgz tar xvzf blackdts.tgz cd blackdts sh ./make.sh mv /boot/am335x-boneblack.dtb /boot/am335x-boneblack.orig.dtb mv am335x-boneblack.dtb /boot/ reboot dmesg | grep ttyO1 note “O” = Capital Letter O. Should see output: [0.509652] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89) is a OMAP UART1 ls –al /dev/ttyO1 to verify that /dev/ttyO1 exists. Should see output: crw-rw---- 1 root dialout 250, 1 Jan 1 2000 /dev/tty01 wget http://pignology.net/uart2pinmux.dts dtc –O dtb –o uart2pinmux-00A0.dtbo –b 0 -@ uart2pinmux.dts ^^ ^ ^ ? Note zeros mv uart2pinmux-00A0.dtbo /lib/firmware/ export PINS=/sys/kernel/debug/pinctrl/44e10800.pinmux/pins find / -name bone_capemgr.* take note of the output. It will be something like: /sys/devices/bone_capemgr.9 export SLOTS=insert path from 15 here/slots cat $SLOTS to see what is there. It will appear like: 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-BONE-HDMI cat $Pins | egrep “980|984” to see what is there. It will appear like: pin 96 (44e10980) 00000037 pinctrl-single pin 97 (44e10984) 00000037 pinctrl-single echo uart2pinmux > $SLOTS dmesg | tail should produce lengthy output of unique messages. cat $SLOTS new output should be: 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 6: ff:P-O-L Override Board Name, 00A0, Override Manuf, uart2pinmux cat $PINS | egrep “980|984” pin 96 (44e10980) 00000020 pinctrl-single pin 97 (44e10984) 00000000 pinctrl-single Now, log off of Angrstrom and log into Ubuntu. find / -name am335x-boneblack.dtb and take note of the location in Angstrom’s folder and Ubuntu’s. For example, if the previous path (excluding the filename) was “/media/ubuntu/Angstrom/boot,” you should also see a file path “/boot/uboot/dtbs” cp the path to the Angstrom destination(with filename) the path to Ubuntu Destination ls the path to the Ubuntu Destination –al Make sure that the file you just copied is not “0 bytes.” reboot sudo -s dmesg | grep ttyO1 “O” = capital letter O. This should print something like: [0.509652] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq =89) is a OMAT UART1 ls –al /dev/ttyO1 to verify the existence of “/dev/ttyO1.” find / -name firmware take note of corresponding paths in the Angstrom folder and Ubuntu’s filesystem. find / -name uart2pinmux-00A0.dtbo find this file. ^^ ^ ? Zeros cp Angstrom path to file under “firmware” Corresponding path export PINS=/sys/kernel/debug/pinctrl/44e10800.pinmux/pins find / -name bone_capemgr* take note of the file path that is under the /sys/devices path. Note that “*” represents “all,” as the numbers following bone_capemgr will be different as in step 15. export SLOTS=the complete path found in 35/slots cat $SLOTS should produce a printout like in step 16. echo uart2pinmux > $SLOTS Note: Unless you put this in the autostart, this command will be nessessary upon every boot. dmesg | tail check for a lengthy printout cat $SLOTS now, the 6th line should appear. (like in step 20)