Leon2 RAM configuration

Joel Sherrill joel.sherrill at OARcorp.com
Wed Apr 23 13:57:18 UTC 2008


Thomas Doerfler wrote:
> Hello,
>
> Arquer Stephane schrieb:
>   
>> Hello,
>>
>> This is not the same behaviour with rtems 4.7.1, the RAM size is correctly found.
>> Is there something different in the boot between these version  ?
>>     
>
> At least the CVS says, that there is no substantial difference in the
> file "start.S".
>   
There are some differences in the file libbsp/sparc/shared/bspstart.c.
Hard to tell if they matter.   It looks mostly cosmetic except for the
cache snooping setup.

I attached the diff.
> Since I don't have a LEON target here, I really can't tell you more ATM,
> sorry.
>
> wkr,
> Thomas.
>
>
>   
>> Thanks.
>>
>> sa
>>
>>
>>     
>>> -----Message d'origine-----
>>> De : Thomas Doerfler [mailto:Thomas.Doerfler at imd-systems.de]
>>> Envoyé : mercredi 16 avril 2008 13:16
>>> À : Arquer Stephane
>>> Cc : rtems-users at rtems.com
>>> Objet : Re: Leon2 RAM configuration
>>>
>>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Hi,
>>>
>>> if I remember right, the LEON BSP startup function assumes,
>>> that the stack pointer points to top of the usable RAM when
>>> it is called from the boot monitor.
>>>
>>> It should be worth a try :-)
>>>       
>> What do you mean ?
>>
>>
>>     
>>> wkr,
>>> Thomas.
>>>
>>>
>>> Arquer Stephane schrieb:
>>> | Hi,
>>> |
>>> | I work with rtems 4.8.0 and bsp leon2.
>>> | I use Redboot to load rtems application on the target.
>>> | When I load a bin file with Redboot, I don't have all the
>>> SRAM size =
>>> | 8 MB available. Otherwise, when I load the same application with
>>> | GRMON, there is no problem.
>>> |
>>> | MCFG2 register is configured with the correct amount of SRAM:
>>> | 0xB0801460
>>> |
>>> | Does anyone knows if there is another leon2 register used by Rtems
>>> | during the initialization to calculate the heap space ?
>>> |
>>>
>>>       
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.com
>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>     
>
>
> --
> --------------------------------------------
> embedded brains GmbH
> Thomas Doerfler           Obere Lagerstr. 30
> D-82178 Puchheim          Germany
> Tel. : +49-89-18 90 80 79-2
> Fax  : +49-89-18 90 80 79-9
> email: Thomas.Doerfler at embedded-brains.de
> PGP public key available on request
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bspstart.diff
Type: text/x-patch
Size: 3660 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20080423/bc3491e9/attachment-0001.bin>


More information about the users mailing list