Leon2 RAM configuration
Thomas Doerfler
Thomas.Doerfler at embedded-brains.de
Wed Apr 23 14:19:28 UTC 2008
Stephane,
just a question: do you relate to rtems 4.7.1 as distributed from
www.rtems.com, or a (possibly improved) version from gaisler?
wkr,
Thomas.
Joel Sherrill schrieb:
> 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
>>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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.
More information about the users
mailing list