xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* undefined instruction error during HYP mode switch for arndale-octa board
@ 2014-04-18 21:26 HyonYoung Choi
  2014-04-21 12:39 ` Julien Grall
  0 siblings, 1 reply; 6+ messages in thread
From: HyonYoung Choi @ 2014-04-18 21:26 UTC (permalink / raw)
  To: Andre Przywara, xen-devel@lists.xen.org; +Cc: Meng Xu


[-- Attachment #1.1: Type: text/plain, Size: 1237 bytes --]

Hello Andre,

I am trying to port xen to arndale-octa board.

I am using u-boot modified for arndale-octa
from tracking-arndale_octa branch of
http://landing-teams/working/samsung/u-boot.git

Because there is no HYP mode switch code in the u-boot,
I tried to port your code in
http://git.linaro.org/git/people/andre.przywara/u-boot.git.
I also put debug code.

In booting, it reboot infinitely with following error message:
======================
   switch_hyp: GIC dist enabled
  switch_hyp: 224 interrupts supportd
  switch_hyp: all interrupts switched to non-secure
  switch_hyp: setting SP start start address (0x9f86d6b4)
  switch_hyp: kicked all CPUs
  VBAR before: 0x9f86c000
undefined instruction
pc : [<9f86d748>]          lr : [<9f86d600>]
sp : 9f7638c0  ip : 0000000f     fp : 9f86e4b4
r10: 9f8ad294  r9 : 00000000     r8 : 9f763f10
r7 : 00000000  r6 : ffffffff     r5 : 00000007  r4 : 9f86c000
r3 : 10482000  r2 : 10480000     r1 : 016e3600  r0 : 00010000
Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...
========================

The problematic code is "mcr     p15, 0, r1, c1, c1, 2"
in arch/arm/cpu/armv7/nonsec_virt.S , nonsec_init function

Do you have any idea about this error?

Regards,
Hyonyoung Choi

[-- Attachment #1.2: Type: text/html, Size: 1910 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

end of thread, other threads:[~2014-04-29  3:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-18 21:26 undefined instruction error during HYP mode switch for arndale-octa board HyonYoung Choi
2014-04-21 12:39 ` Julien Grall
2014-04-21 23:11   ` HyonYoung Choi
2014-04-22 14:09     ` Julien Grall
2014-04-29  3:18       ` Tushar Behera
2014-04-29  3:18       ` Tushar Behera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).