On Thursday, March 12, 2015 at 12:36:33 PM UTC-4, Enoch wrote:

>  Is there some /etc/init.d script or equivalent to manipulate the pin mux?
> If not, links to where to start dealing with the source would be 
> appreciated.
>

You need a DTB with the UARTs enabled.  See:

https://github.com/RobertCNelson/dtb-rebuilder/tree/3.14-ti

In particular, for ttyO4 you'll want to look at:

https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-boneblack-ttyO4.dts

The steps are:

git clone https://github.com/RobertCNelson/dtb-rebuilder.git
cd dtb-rebuilder
git checkout 3.14-ti
make src/arm/am335x-boneblack-ttyO4.dtb
cp src/arm/am335x-boneblack-ttyO4.dtb /boot/dtbs/`uname -r`/


Then you'll need to edit /boot/uEnv.txt and add:

dtb=am335x-boneblack-ttyO4.dtb

Then reboot; check dmesg to make sure that the pinmux-helper has properly 
set up the pins for uart mode.

-W

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to