device-tree on BeagleBone Black (enabling UART)

Daniel O'Connor darius at dons.net.au
Sun Feb 7 12:44:24 UTC 2021



> On 7 Feb 2021, at 21:01, Kristoff <kristoff at skypro.be> wrote:
> 
> Hi Daniel,
> 
> 
> 
> Thank you for the very fast reply!
> 
> 
> (inline comments)
> 
> 
> On 7/02/2021 1:10 a.m., Daniel O'Connor wrote:
>>> On 7 Feb 2021, at 10:28, Kristoff <kristoff at skypro.be> wrote:
>>> I am running FreeBSD 12.1 on a beaglebone black. As I want to use it for a time-server (i.e. connect it to a GPS), I want to enable an additional UART (and also a pps gpio-pin, I guess).
>> I have done this, although my kernel is..
>> FreeBSD gps 13.0-CURRENT FreeBSD 13.0-CURRENT #2 41a4c010326-c262109(master)-dirty: Mon Sep  9 10:05:18 ACST 2019     darius at midget.dons.net.au:/usr/obj/arm-src/arm.armv7/sys/GENERIC  arm
> 
> 
> OK, 12.1 just happens to be the version I had installed after playing around with different releases.
> 
> I'll install 13.0 on the BBB.

I don't think that is necessary - I would guess your 12.1 post-dates my 13.0.

>> I never got an overlay working so I modified am335x-boneblack.dts manually..
> 
> Thx!
> 
> I found some posts from people who converted the .dtb to .dts and modified it overthere, but I wanted to do this the proper way.

I tried that but didn't have any luck but perhaps it works now.

> What is strange is that certain device-tree overlay's do work. I found one for the pruss blocks in the am3358 and that one does seams to work.
> 
> (small side-line question: is there application-level support for the pruss blocks in the BBB on freebsd?)

I believe so but I have not used them (although I have under Linux)
> 
--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum



More information about the freebsd-arm mailing list