Problems about porting RTEMS on a BSP close to mbx8xx

Thomas Doerfler Thomas.Doerfler at embedded-brains.de
Fri Feb 23 14:49:02 UTC 2007


Hi Julien,

Am Freitag, 23. Februar 2007 15:15 schrieb Julien Delange:
> Hi all,
>
> I'm porting an old BSP (called spif[1]), to RTEMS 4.7, and encounter
> some problems. I read the documentation on rtems.com and I didn't
> find any hints. Therefore, I have some questions about bsp porting :
>
>
> 1. On the wiki[2], I saw that mb8xx bsp does not run out of the box.
> But some patches can be applied to correct this. How could I retrieve
> these patches ?

These patches are already applied, but you can look them up here:

https://www.rtems.org/bugzilla/show_bug.cgi?id=822

>
> 2. Our BSP fails when invoking _IO_Initialize_all_drivers, and hangs
> when trying to initialize the first driver (major number=0). After some
> investigations, it seems to fail in
> libcpu/powerpc/mpc8xx/console-generic/console-generic.c
> in the m8xx_uart_smc_initialize() function. We saw the page [3], but
> we didn't find any idea to fix the error. Does anyone have any idea
> for this bug?

The problem is, that this BSP was designed to be used in many different 
configurations (with/wiithout interrrupt, with/without EPPCbug support, 
with/without termios, with/without NVRAM configuration ....) and my 
impression is, that the many preprocessor options do not work in all 
configurations.

- Can you tell me, which "configure" command line you actually used? 
- Can you tell me more about the differences between your board and an mbx? 
- Can you tell me, whether you are also using the EPPCBug as boot monitor?

wkr,
Thomas.
-- 
Embedded Brains GmbH
Thomas Doerfler           Obere Lagerstr. 30
D-82178 Puchheim          Germany
email: Thomas.Doerfler at embedded-brains.de
Phone: +49-89-18908079-2
Fax:   +49-89-18908079-9



More information about the users mailing list