BSP for 405EX
Till Straumann
strauman at slac.stanford.edu
Sat Mar 29 00:36:49 UTC 2008
Thomas Doerfler wrote:
> Nigel,
>
> the 405 core is supported.
>
> Don't be confused: quite recently we dropped support for a"gen405" BSP,
> because it was still stuck to the "old exception model". Background: For
> some years, there were two methods to hook exception handlers and
> interrupt handlers to a PowerPC-based system. gen405 was one of the last
> BSPs that used the "old exception handling" scheme and was dropped some
> weeks ago.
>
> But: the "virtex" BSP is also based on a 405 CPU, and it works with the
> "new exception processing", so this BSP will be a better base for your work.
>
I'd like to add my 2 cents here; recently a framework for supporting
exceptions
and interrupts has been added under
libcpu/powerpc/new-exceptions/bspsupport
please consider using that framework rather than deriving your own variants
from
libbsp/powerpc/shared/irq/irq_asm.S
libbsp/powerpc/shared/vectors/vectors.S
libbsp/powerpc/virtex/irq_init.c
etc.
Cheers
-- T.
> The next step for you should really be to build a set of drivers,
> possibly in "c/src/lib/libcpu/powerpc/ppc405" and a BSP in
> "c/src/lib/libbsp/powerpc/haleakala" (or which name might ever be
> applicable).
>
> wkr,
> Thomas.
>
>
> Nigel Spon schrieb:
>
>> I have been experimenting with RTEMS 4.8 on my Mac under OSX, and
>> things seem to be working. I have managed to build a powerpc-gdb and
>> connect to my target board via a PC running the Macraigor remote gdb
>> tool, so it looks as though I can actually develop and debug with this
>> configuration, which is pretty encouraging (and a bit of a surprise,
>> to be honest).
>>
>> The target board is an AMCC Haleakala eval board and has a PPC405EXr
>> processor, for which no BSP exists. I presume my next step is going to
>> be to build a BSP, but the documentation seems to indicate that if the
>> processor isn't supported I have to take other steps first. I'm not
>> sure if the processor is supported; the 405 appears to be, is that all
>> I need? I'm also wondering what to base my BSP on, and if I should
>> stay with 4.8 or go to 4.9? The PPC405EX has quite a few onboard
>> facilities (Ethernet, timers, UARTs) that I presume could go into a
>> fairly generic BSP for the 405EX. Is this the right way to proceed?
>>
>>
>> --
>> "The command could not be completed because it cannot be moved into
>> itself"
>>
>> Michael Hamel
>>
>>
>>
>>
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.com
>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>
>
>
>
More information about the users
mailing list