What's the purpose of bsp_start_copy_sections?

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jan 13 06:03:45 UTC 2015


Some systems boot form NOR flash and later execute from RAM since this 
is faster.

On 12/01/15 14:52, Martin Galvan wrote:
> I was looking at the common ARM routines and noticed
> bsp_start_copy_sections appears to copy several sections from their
> LMAs to their VMAs. If we were to have a BSP for a board that stores,
> say, the .text section in ROM, bsp_start_copy_sections seems to be
> copying it to RAM. Is this correct? If so, what would be the purpose
> of doing that?

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber 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