BBB Jessie image with UART4 support

47 views
Skip to first unread message

Enoch

unread,
Mar 11, 2015, 3:35:44 PM3/11/15
to beagl...@googlegroups.com
Hello Robert,

I am yet reluctant to build images by myself... Having seen your rapid
jessie updates... will you provide support for UART4 any soon as
curretly it recognizes just /dev/ttyS[0-3] ?

Have to demo an application to a cient on the BBB next week and hate to
go back to 2014 wheezy for issues with Python :-(

TIA, Enoch.





Robert Nelson

unread,
Mar 11, 2015, 4:12:48 PM3/11/15
to Beagle Board
I have my serial capes today, so i'm testing, this change:

+CONFIG_SERIAL_8250_NR_UARTS=10
+CONFIG_SERIAL_8250_RUNTIME_UARTS=10

Once i verfiy that, i'll push them out asap..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

Robert Nelson

unread,
Mar 11, 2015, 4:54:56 PM3/11/15
to Beagle Board
and pushed out.. should hi the repo's a few hours:

sudo apt-get update ; sudo apt-get install linux-image-3.14.35-ti-r55
; sudo reboot

Otherwise a *.deb will be available here shortly:

http://builds.beagleboard.org/builders/build-kernel/builds/8

Enoch

unread,
Mar 11, 2015, 5:41:35 PM3/11/15
to beagl...@googlegroups.com
Thank you!

By the way, isn't an ./update_kernel.sh supposed to do the same?

Regards, Enoch.


Robert Nelson <robert...@gmail.com>
writes:

Robert Nelson

unread,
Mar 11, 2015, 5:53:10 PM3/11/15
to Beagle Board
On Wed, Mar 11, 2015 at 4:41 PM, Enoch <ix...@hotmail.com> wrote:
> Thank you!
>
> By the way, isn't an ./update_kernel.sh supposed to do the same?

it 'should'.... (that script is just a wrapper around apt-get..)

Enoch

unread,
Mar 11, 2015, 6:54:05 PM3/11/15
to beagl...@googlegroups.com
Now please excuse my ignorance... how to collect the binary from the "buildslave" machine?

Thanks, Enoch.


On 03/11/2015 05:52 PM, Robert Nelson wrote:

Robert Nelson

unread,
Mar 11, 2015, 7:01:13 PM3/11/15
to Beagle Board
On Wed, Mar 11, 2015 at 5:53 PM, Enoch <ix...@hotmail.com> wrote:
> Now please excuse my ignorance... how to collect the binary from the
> "buildslave" machine?

http://builds.beagleboard.org/linux/8.html

but my builds are done..

http://rcn-ee.homeip.net:81/farm/deb/

and rsync is running... So give a it a few minutes.. ;)

Enoch

unread,
Mar 12, 2015, 12:02:58 AM3/12/15
to beagl...@googlegroups.com
Hi Robert,

Sorry, this created /dev/ttyS4 indeed but it does not seem to work.
I also checked for echo by shorting UART4 RXD P9-11 to TXD P9-13.
and UART1 RXD P9-26 to TXD P9-24.

TIA, Regards, Enoch.


Robert Nelson <robert...@gmail.com>
writes:

Graham

unread,
Mar 12, 2015, 10:51:40 AM3/12/15
to beagl...@googlegroups.com, ix...@hotmail.com
Enoch:
I am confused about your problem.
I am running the March 1 jessie snapshot.
I am using UART4 to talk to a GPS.
In this case, UART4 appears on ttyO4.
It works fine, and Termios is also happy.
You do have to create a custom ".dtb" using Robert Nelson's dtb-rebuilder to
both enable the driver and remap the pin-mux, so that the UART4 is connected to
the P9-11 and P9-13.

Have you created the necessary ".dtb" ?

--- Graham

==

Enoch

unread,
Mar 12, 2015, 12:36:33 PM3/12/15
to beagl...@googlegroups.com
Thanks Graham,

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.

Thanks, Enoch.
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

smith.wi...@gmail.com

unread,
Mar 12, 2015, 1:21:48 PM3/12/15
to beagl...@googlegroups.com, ix...@hotmail.com
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:


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


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

Graham Haddock

unread,
Mar 12, 2015, 2:20:40 PM3/12/15
to beagl...@googlegroups.com
If all that you want different from the default configuration is ttyO4 working, then Winston's advice is good.

If there are other/additional changes, then you will need to make additional edits or changes to the ".dts" or ".dti" files.

--- Graham

==

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/E0D26y1wypU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

Enoch

unread,
Mar 12, 2015, 3:52:29 PM3/12/15
to beagl...@googlegroups.com
Thanks Winston & Graham:

I will soon follow your steps but candidly, that's improper to require an application developer to go this deep to tweak the available platform resources.
With so many people invested in the BBB platform it should not be too much to expect having a GUI to configure the use of P8/P9/etc... :-)

Regards, Enoch.
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...@googlegroups.com.

Robert Nelson

unread,
Mar 12, 2015, 4:01:37 PM3/12/15
to Beagle Board
On Thu, Mar 12, 2015 at 2:52 PM, Enoch <ix...@hotmail.com> wrote:
> Thanks Winston & Graham:
>
> I will soon follow your steps but candidly, that's improper to require an
> application developer to go this deep to tweak the available platform
> resources.
> With so many people invested in the BBB platform it should not be too much
> to expect having a GUI to configure the use of P8/P9/etc... :-)

Just need someone to build it. ;)

The best place is in the 'getting started' which is already powered by nodejs...
Reply all
Reply to author
Forward
0 new messages