[PATCH 7/9] ARM: move exception vectors away from start of binary

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Dec 31 23:37:17 EST 2011


On 15:52 Sat 17 Dec     , Sascha Hauer wrote:
> Traditionally U-Boot and barebox have the exception vectors at
> the start of the binary. There is no real reason in doing so,
> because in the majority of cases this data will not be at 0x0
> where it could be used as vectors directly anyway.
> This patch puts the vectors into a separate linker section and
> defines an head function which is placed at the start of the
> image instead. Putting this in a separate function also has
> the advantage that it can be placed at the start of images
> which require an additional header like several Freescale i.MX
> images. As the head function contains the barebox arm magic
> those images can now also be detected aas barebox images.
> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---
I've to make it optionnal as on AT91 for boot we must have it at the bigeniing
of the binary

Best Regards,
J.



More information about the barebox mailing list