Re: Interested in contributing to Beaglebone BSP

2020-05-04 Thread Christian Mauderer
On 05/05/2020 06:38, Chris Johns wrote:
> On 4/5/20 12:50 am, Vijay Kumar Banerjee wrote:
>> On Sun, May 3, 2020 at 8:12 PM Christian Mauderer > > wrote:
>>
>>     I don't think that would be a good idea before the release. After the
>>     release we should work on a 1.6 build set.
> 
> What about 5.2? :)

I don't have a problem adding it to the 5.2 release as a backport. But
currently I don't think that you would be happy about open patches for
5.1, correct?

> 
>>     The 1.6 only needs libyaml
>>     (or libjson?) which is no default package on FreeBSD. So we need a
>>     solution for that on FreeBSD hosts.
>>
>> I didn't test it with FreeBSD. Yes, after the release we can make a best
>> for 1.6.0 and mention libjson/libyaml as a dependency. We'll just have
>> to figure out a way to check from RSB if the package is present, I hope
>> we'll find some example in the repo already.
> 
> GDB and Python is a example. It is complicated so I hope it provides a
> suitable example
> 
> https://git.rtems.org/rtems-source-builder/tree/source-builder/config/gdb-common-1.cfg#n70
> 
> 
> The `rtems-build-dep` script may help.
> 
> In the bare devel/qemu build set there are checks against pkgconfig and
> if a library is not found on the host it is built for you.
> 
> I hope this helps.
> 
> Chris
> ___
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users

-- 

embedded brains GmbH
Herr Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.maude...@embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Re: Interested in contributing to Beaglebone BSP

2020-05-04 Thread Chris Johns

On 4/5/20 12:50 am, Vijay Kumar Banerjee wrote:
On Sun, May 3, 2020 at 8:12 PM Christian Mauderer > wrote:


I don't think that would be a good idea before the release. After the
release we should work on a 1.6 build set.


What about 5.2? :)


The 1.6 only needs libyaml
(or libjson?) which is no default package on FreeBSD. So we need a
solution for that on FreeBSD hosts.

I didn't test it with FreeBSD. Yes, after the release we can make a best
for 1.6.0 and mention libjson/libyaml as a dependency. We'll just have
to figure out a way to check from RSB if the package is present, I hope
we'll find some example in the repo already.


GDB and Python is a example. It is complicated so I hope it provides a 
suitable example


https://git.rtems.org/rtems-source-builder/tree/source-builder/config/gdb-common-1.cfg#n70

The `rtems-build-dep` script may help.

In the bare devel/qemu build set there are checks against pkgconfig and 
if a library is not found on the host it is built for you.


I hope this helps.

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


25th Birthday of Oldest Commit in Repository

2020-05-04 Thread Joel Sherrill
  Hi

May 4 1995 was the day I took the last snapshot of the RTEMS source code
from the Army research project and imported it into a public CVS
repository. There had been snapshots and releases for years prior to that.
But this was a huge transition as OAR put in place what evolved into the
RTEMS.org infrastructure.  More details at
https://www.rtems.org/node/132 including
a link to the commit and some statistics.

There have been many contributors since then.  It is a tribute to all of
the users and contributors that RTEMS is so vibrant after 30 years.

Happy birthday!!

--joel
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Re: Interested in contributing to Beaglebone BSP

2020-05-04 Thread Christian Mauderer
Hello James,

On 04/05/2020 12:26, James Fitzsimons wrote:
> Hi Christian and Vijay,
> 
> Firstly thank you so much for your replies they were extremely helpful
> and much appreciated.
> 
> On Mon, 4 May 2020 at 02:50, Vijay Kumar Banerjee  > wrote:
> 
> 
> On Sun, May 3, 2020 at 8:12 PM Christian Mauderer  > wrote:
> 
> 
> Note that the repo works only most of the time. It's more of a
> test repo
> for me that just collects the necessary commands and
> repositories so I
> don't have to type everything manually.
> 
> The dtc that I build there currently doesn't work. I removed the
> step
> from the makefile so that the host dtc is used again
> 
> 
> Understood. it is extremely useful for people getting started with rtems
> on the BeagleBone though! On my Ubuntu 18.04 host the system dtc was
> version 1.4.5 which also didn't support the -@ option, so I took Vijays
> advice and downloaded and built 1.6.0 which solved the problem.

It's only relevant if you want to build overlays (which I do in my
repo). That is necessary for example when you want to use HDMI. If you
don't want HDMI you can just build the base FDT without the -@ option
and load only that. That should work fine too. If it doesn't work you
found a bug.

>  
> 
> That's correct. The -@ or --symbols is only there in newer dtc
> versions.
> Out of interest: Where did you find that the option is
> deprecated? It is
> still there in 1.6.0.
> 
> 
> That must be my mistake. I was sure I read that the other night but
> can't find the website or thread I was reading now so it was probably
> either bad information or my misinterpretation - apologies for that.

No problem. I would have just tried to move to an alternative if that
option would have been deprecated.

Best regards

Christian

> 
> >     If I then run the following steps in the makefile manually,
> >     bootstrap and bsp complete, but libbsd fails with the
> following error:
> >
> >     [1497/2193] Compiling freebsd/sys/netpfil/pf/pf_lb.c
> >     ../../freebsd/sys/arm/freescale/imx/imx6_ccm.c:54:10:
> fatal error:
> >     arm/freescale/imx/imx_ccmvar.h: No such file or directory
> >      #include 
> >               ^~~~
> >     compilation terminated.
> >
> > This bug was recently fixed in the rtems-libbsd ( for both
> master and
> > 5-freebsd-12 branches), if you update to recent HEAD of the
> libbsd, then
> > this error will hopefully not be there.
> 
> 
> Thanks for this. I thought my rtems-libbsd repo was up to date, but I
> did a git pull --recurse-submodules and now make libbsd succeeds.
> Loading the hello world test app onto the board produces the expected
> output in a terminal session, so I think I am now in a position to make
> a start on the eQEP driver. 
> 
> Many thanks for your help!
> 
> Regards
> James Fitzsimons
>  
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Re: Interested in contributing to Beaglebone BSP

2020-05-04 Thread James Fitzsimons
Hi Christian and Vijay,

Firstly thank you so much for your replies they were extremely helpful and
much appreciated.

On Mon, 4 May 2020 at 02:50, Vijay Kumar Banerjee  wrote:

>
> On Sun, May 3, 2020 at 8:12 PM Christian Mauderer 
> wrote:
>
>>
>> Note that the repo works only most of the time. It's more of a test repo
>> for me that just collects the necessary commands and repositories so I
>> don't have to type everything manually.
>>
>> The dtc that I build there currently doesn't work. I removed the step
>> from the makefile so that the host dtc is used again
>>
>
Understood. it is extremely useful for people getting started with rtems on
the BeagleBone though! On my Ubuntu 18.04 host the system dtc was version
1.4.5 which also didn't support the -@ option, so I took Vijays advice and
downloaded and built 1.6.0 which solved the problem.


> That's correct. The -@ or --symbols is only there in newer dtc versions.
>> Out of interest: Where did you find that the option is deprecated? It is
>> still there in 1.6.0.
>>
>
That must be my mistake. I was sure I read that the other night but can't
find the website or thread I was reading now so it was probably either bad
information or my misinterpretation - apologies for that.

> If I then run the following steps in the makefile manually,
>> > bootstrap and bsp complete, but libbsd fails with the following
>> error:
>> >
>> > [1497/2193] Compiling freebsd/sys/netpfil/pf/pf_lb.c
>> > ../../freebsd/sys/arm/freescale/imx/imx6_ccm.c:54:10: fatal error:
>> > arm/freescale/imx/imx_ccmvar.h: No such file or directory
>> >  #include 
>> >   ^~~~
>> > compilation terminated.
>> >
>> > This bug was recently fixed in the rtems-libbsd ( for both master and
>> > 5-freebsd-12 branches), if you update to recent HEAD of the libbsd, then
>> > this error will hopefully not be there.
>>
>
Thanks for this. I thought my rtems-libbsd repo was up to date, but I did
a git pull --recurse-submodules and now make libbsd succeeds.
Loading the hello world test app onto the board produces the expected
output in a terminal session, so I think I am now in a position to make a
start on the eQEP driver.

Many thanks for your help!

Regards
James Fitzsimons
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users