public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] ARM: interrupt_init before relocation, write fails
@ 2013-10-23 17:41 Joe Kulikauskas
  2013-10-24 21:37 ` Andrew Ruder
  0 siblings, 1 reply; 7+ messages in thread
From: Joe Kulikauskas @ 2013-10-23 17:41 UTC (permalink / raw)
  To: u-boot

Hi,

v2013.10-rc1 (and after) has a patch (
http://lists.denx.de/pipermail/u-boot/2013-June/156298.html) which sets up
the abort stack before relocation. However, what I am seeing:
IRQ_STACK_START_IN
is in flash at that time, so this write fails.

interrupt_init:
FF0A0FA8 e59f3010   LDR       R3,ff0a0fc0 (ff0a0050=IRQ_STACK_START_IN)

Before this patch, abort stack setup was done after relocation, so target
location is in RAM and writeable.

interrupt_init:
9FFB4020 e59f3010   LDR       R3,9ffb4038 (9ffb3054=IRQ_STACK_START_IN)

If I revert that patch, I don't see that problem.

Joe Kulikauskas

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

end of thread, other threads:[~2013-11-07  9:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-23 17:41 [U-Boot] ARM: interrupt_init before relocation, write fails Joe Kulikauskas
2013-10-24 21:37 ` Andrew Ruder
2013-11-05 16:22   ` Rob Herring
2013-11-05 19:17     ` Albert ARIBAUD
2013-11-05 19:46       ` Rob Herring
2013-11-06 16:18         ` Joe Kulikauskas
2013-11-07  9:15           ` Albert ARIBAUD

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