mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* arm: Question on linker script and start/end variables
@ 2016-03-07 16:37 Renaud Barbier
  2016-03-08  7:22 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Renaud Barbier @ 2016-03-07 16:37 UTC (permalink / raw)
  To: barebox

I have a ARM-based board for which we have a running barebox.

In the low level code, when running from flash, I would like to get the
start and end address of a section. For instance, &__barebox_cmd_start
and &__barebox_cmd_end.

For both I am getting 0 unless I am running from memory.

Even assigning these addresses to variables always returns 0.

This is not an issue on PPC platforms.

All my tests and research to get the correct address on ARM has led to
no positive results.

Has anybody an explanation why these addresses cannot be obtained on ARM
platforms?

Cheers,
Renaud






_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-08  7:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-07 16:37 arm: Question on linker script and start/end variables Renaud Barbier
2016-03-08  7:22 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox