Re: DTB for BBB?

2021-07-07 Thread Vijay Kumar Banerjee
On Wed, Jul 7, 2021 at 1:27 PM Shiro  wrote:
>
>
> >
> >> Question regarding the correct DTS for BBB:  in section 8.2.3.2 of the 
> >> online docs:
> >> https://docs.rtems.org/branches/master/user/bsps/bsps-arm.html?highlight=dts#beagle
> >>
> >> I don't follow this:
> >>
> >> We build the dtb from the FreeBSD source matching the commit hash from the 
> >> libbsd HEAD of freebsd-org.  For example if the HEAD is at 
> >> “19a6ceb89dbacf74697d493e48c388767126d418” …
> >>
> > The HEAD is determined by the HEAD of the freebsd-org submodule in the
> > rtems-libbsd repository, which is basically the FreeBSD source. Though
> > the documentation says that we should always take commit hash matching
> > with the submodule HEAD, the commit id that you found in the
> > documentation (i.e 19a6ceb) is the last one that has been thoroughly
> > tested. You might want to use that id and build the dtb.
> >
> > To build the DTB, you can use the script provided by FreeBSD in the
> > following source directory:
> > sys/tools/fdt/make_dtb.sh
> >
> > And the right dts to build is sys/gnu/dts/arm/am335x-boneblack.dts
>
No problem! Glad it helped.
Maybe we need to make it clear in the documentation as well. :)
>
> Thank you for the detailed explanation.  Now I get it!
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: DTB for BBB?

2021-07-07 Thread Shiro

> 
>> Question regarding the correct DTS for BBB:  in section 8.2.3.2 of the 
>> online docs:
>> https://docs.rtems.org/branches/master/user/bsps/bsps-arm.html?highlight=dts#beagle
>> 
>> I don't follow this:
>> 
>> We build the dtb from the FreeBSD source matching the commit hash from the 
>> libbsd HEAD of freebsd-org.  For example if the HEAD is at 
>> “19a6ceb89dbacf74697d493e48c388767126d418” …
>> 
> The HEAD is determined by the HEAD of the freebsd-org submodule in the
> rtems-libbsd repository, which is basically the FreeBSD source. Though
> the documentation says that we should always take commit hash matching
> with the submodule HEAD, the commit id that you found in the
> documentation (i.e 19a6ceb) is the last one that has been thoroughly
> tested. You might want to use that id and build the dtb.
> 
> To build the DTB, you can use the script provided by FreeBSD in the
> following source directory:
> sys/tools/fdt/make_dtb.sh
> 
> And the right dts to build is sys/gnu/dts/arm/am335x-boneblack.dts


Thank you for the detailed explanation.  Now I get it!
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: DTB for BBB?

2021-07-07 Thread Vijay Kumar Banerjee
Hi David,


On Tue, Jul 6, 2021 at 1:34 PM Shiro  wrote:
>
> Hello,
>
> I’m new to RTEMS (but not new to embedded RTOS deployment).  I worked through 
> the BBB QuickStart and have run hello.exe on a BBB.
>
Welcome to RTEMS!

> Question regarding the correct DTS for BBB:  in section 8.2.3.2 of the online 
> docs:
> https://docs.rtems.org/branches/master/user/bsps/bsps-arm.html?highlight=dts#beagle
>
> I don't follow this:
>
> We build the dtb from the FreeBSD source matching the commit hash from the 
> libbsd HEAD of freebsd-org.  For example if the HEAD is at 
> “19a6ceb89dbacf74697d493e48c388767126d418” …
>
The HEAD is determined by the HEAD of the freebsd-org submodule in the
rtems-libbsd repository, which is basically the FreeBSD source. Though
the documentation says that we should always take commit hash matching
with the submodule HEAD, the commit id that you found in the
documentation (i.e 19a6ceb) is the last one that has been thoroughly
tested. You might want to use that id and build the dtb.

To build the DTB, you can use the script provided by FreeBSD in the
following source directory:
sys/tools/fdt/make_dtb.sh

And the right dts to build is sys/gnu/dts/arm/am335x-boneblack.dts

>
> Can anyone point me to where HEAD is determined?  And how it matched into the 
> FreeBSD.org tree?
>
Hope this helps.

Best regards,
Vijay
>
> Best regards,
> -david
>
>
>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

DTB for BBB?

2021-07-06 Thread Shiro
Hello,

I’m new to RTEMS (but not new to embedded RTOS deployment).  I worked through 
the BBB QuickStart and have run hello.exe on a BBB.

Question regarding the correct DTS for BBB:  in section 8.2.3.2 of the online 
docs: 

https://docs.rtems.org/branches/master/user/bsps/bsps-arm.html?highlight=dts#beagle

I don't follow this:

We build the dtb from the FreeBSD source matching the commit hash from the 
libbsd HEAD of freebsd-org.  For example if the HEAD is at 
“19a6ceb89dbacf74697d493e48c388767126d418” …

Can anyone point me to where HEAD is determined?  And how it matched into the 
FreeBSD.org  tree?


Best regards,
-david



___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel