Ticker problem on ppc405 - FIXED
Joel Sherrill <joel@OARcorp.com>
joel.sherrill at OARcorp.com
Wed Oct 20 17:58:14 UTC 2004
Ralf Corsepius wrote:
> On Wed, 2004-10-20 at 18:32, Smith, Gene wrote:
>
>>Ralf Corsepius wrote, On 10/20/2004 10:49 AM:
>>
>><big snip>
>>
>>>>Just add
>>>>#define <bsp.h>
>>>>?
>>>
>>>Yes, cf. PR 696
>>>http://www.rtems.org/cgi-bin/gnatsweb.pl?debug=&database=RTEMS&cmd=view+audit-trail&cmd=view&pr=696
>>>
>>
>>How do you get a uid/pw to enter bugs or comments here?
>>(guest seems to work for read-only)
>
> guest/guest should at least be able to create PRs and probably to append
> to PRs. If not, something is broken.
Guest and read and create.
FWIW I emailed the person who did the gcc gnats->bugzilla conversion
to see what needs to be done. Bugzilla is more open about the whole
process and seems to be the preferred solution these days.
>>>>>To let bspopts.h contain it, you have to add the corresponding
>>>>>configure-script magic to your BSP's configure.ac
>>>>>(cf. c/src/lib/libbsp/powerpc/helas403/configure.ac) and then to run
>>>>
>>>>configure.ac here already contains line:
>>>>RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[1])
>>>>Is this the "magic" for defining it to 1?
>>>
>>>Not quite, it is the magic to let it default to 1.
>>>
>>>You can override it when invoking the configure script via an
>>>environment variable.
>>
>>So if I want PPC_USE_SPRG to zero in bspopts.h I could do something like:
>>$ export PPC_USE_SPRG=0
>>$ ../configure ......
>>$ make all
>> ?
>
> Yes, this is one possibility. A better possibility would be to
> configure --rtemsbsp=<one single BSP> PPC_USE_SPRG=0 [more options]
>
> However, you mentioned your BSP to be a merger of several other BSPs.
> So, the easiest way for you would be to implement a BSP of your own and
> change the default there.
>
> RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[0])
>
> [Check other powerpc BSPs' configure.ac's. Several let PPC_USE_SPRG
> default to 0]
>
> Ralf
>
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list