Leon2 RAM configuration
stephane.arquer at c-s.cnes.fr
Wed Apr 23 08:22:07 CDT 2008
Sorry for my late answer,
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 ?
> -----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
> 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 ?
> 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 ?
More information about the rtems-users