<br><font size=2 face="sans-serif">Where in CVS is this BSP? I hunted around
for it, but couldn't find it. I'm working with an LPC3180 board and hope
that the LPC214x is somewhat close.</font>
<br>
<br><font size=2 face="sans-serif">Todd Peterson</font>
<br><font size=2 face="sans-serif">Management Sciences, Inc.</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Joel Sherrill <joel.sherrill@oarcorp.com></b>
</font>
<br><font size=1 face="sans-serif">Sent by: rtems-users-bounces+todd_peterson=mgtsciences.com@rtems.org</font>
<p><font size=1 face="sans-serif">06/11/2007 08:04 AM</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">dave madden <dhm@mersenne.com></font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top><font size=1 face="sans-serif">rtems-users@rtems.org</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: LPC214x's BSP for RTEMS</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>dave madden wrote:<br>
>>>>>> "RXU" == ray  <xr@trasin.net>
writes:<br>
>>>>>>             <br>
><br>
>     RXU> Hi Joel and I had made some changes in RTEMS
CVS.  The<br>
>     RXU> current rtl22xx BSP need 7K bss/data for hello.
If you change<br>
>     RXU> the definition for stack size(RTEMS_MINIMUM_STACK_SIZE)from<br>
>     RXU> 4K to 1K. You can also save some memory.  Hope
you can put<br>
>     RXU> RTEMS into you lpc214x board.<br>
><br>
> Hi Ray.<br>
><br>
> I had some free time, so I copied the rtl22xx BSP and started hacking<br>
> on it.  I got it to boot and prink() some messages, but it dies
in<br>
> rtems_termios_initialize with error 5.  I'm not very familiar
with GDB<br>
> remote debugging, so it's hard for me to move around efficiently,
but<br>
> I think it was trying to allocate a semaphore when it failed.<br>
>   <br>
<br>
You have to configure the number of each type of RTEMS object<br>
you want.  You didn't configure any semaphores and probably<br>
didn't link in  the semaphore manager either.<br>
<br>
But the bigger question is.. is Ray using the termios console<br>
driver?  I thought he was only using printk() and avoiding the<br>
full featured console device driver and the termios subsystem<br>
entirely.<br>
> Is there a way to get GDB's "next" and "step"
commands to use hardware<br>
> breakpoints by default?  That would make my life *much* easier!<br>
> (Can't use normal breakpoints because the code is in flash.  Also,<br>
> there are only 2 hardware breakpoints...talk about tedious!)<br>
><br>
>   <br>
This is for someone else.<br>
> If you're interested, I can send what I've done.  Mostly, I adjusted<br>
> the linker script and startup code to reflect the 2148 memory map.<br>
>   <br>
When it works, I would like to see another BSP merged.<br>
If the hardware is close enough, you might be able to<br>
share a BSP and use a "variant" to change compile time<br>
options.<br>
<br>
--joel<br>
> Regards,<br>
> dave madden<br>
> _______________________________________________<br>
> rtems-users mailing list<br>
> rtems-users@rtems.com<br>
> http://rtems.rtems.org/mailman/listinfo/rtems-users<br>
>   <br>
<br>
_______________________________________________<br>
rtems-users mailing list<br>
rtems-users@rtems.com<br>
http://rtems.rtems.org/mailman/listinfo/rtems-users<br>
</font></tt>
<br>