Building a BSP for rtems7

Joel Sherrill joel at rtems.org
Fri Nov 12 15:01:11 UTC 2021


On Fri, Nov 12, 2021 at 7:46 AM Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> On 11/11/2021 22:31, Joel Sherrill wrote:
> > On Thu, Nov 11, 2021 at 12:56 PM Sebastian Huber
> > <sebastian.huber at embedded-brains.de>  wrote:
> >>
> >>
> >> On 11/11/2021 17:47, Joel Sherrill wrote:
> >>> Hi
> >>>
> >>> I was looking at the logs for building the rtems7 tools and it seems
> >>> that I am missing something on the waf configure for rtems to build
> >>> for rtems7. Assuming it is possible. My command was:
> >>>
> >>> ./waf configure --rtems-tools=/home/joel/rtems-cron-7/tools/7
> >>> --rtems-bsps=sparc/leon3 --out=b-leon3
> >>> --prefix=/home/joel/rtems-cron-7/tools/7/bsp-install
> >>> --rtems-config=config-sparc-leon3.ini
> >>>
> >>> And it still tried to find sparc-rtems6-gcc.  Is there an argument i am mising?
> >> Try to add
> >>
> >> __RTEMS_MAJOR__ = 7
> >>
> >> to the config.ini.
> > That isn't in the set dumped by bsp_defaults and using it didn't
> > appear to change anything.
>
> Ok, I seem to remember a discussion about this some time ago. Options with
>
> default: null
>
> cannot be changed by the user. I think for the RTEMS version the reason
> was that users should be forced to use the right tool chain.
>
> We could change the RTEMS version options to
>
> default: 6
>
> for example.
>
> At the moment you have to patch spec/build/cpukit/optvermaj.yml to build
> with a tool chain of the wrong version.

It took a bit more than that but a patch is coming. This should let my build
sweep do a bit more with rtems 7. I am still unsure if rtems-bsp-builder will
work with 7. That's a question for Chris.

--joel

>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax:   +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list