xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* ARM bare metal application test
@ 2016-05-09  8:34 Ivan Pavić2
  2016-05-09  9:16 ` Julien Grall
  0 siblings, 1 reply; 14+ messages in thread
From: Ivan Pavić2 @ 2016-05-09  8:34 UTC (permalink / raw)
  To: xen-devel@lists.xenproject.org

Hello,

I'm trying to build simple bare metal application on ARM Cortex A7.
I reached the phase in which I successfully created domain. Now,
I would like to check if application is really running (it runs according
xl list). But i need some simple interaction or at least console output.

So far this is my code:

    .section ".start", "x"
    .align
    .globl    _start

_start:
    @ zImage header
.rept   8
    mov     r0, r0
.endr
    b       work
    .word   0x016f2818      @ Magic numbers to help the loader
    .word   _start          @ absolute load/run zImage address
    .word   _end - _start   @ zImage size
    @ end of zImage header

work:  b work

I've made linker script so that entry point is at address _start and
it is initial value of PC (it is 0x80008000). So is there any quick
way to check registers from dom0 so I can be sure that "work" is
being done? I'm testing this on Odroid XU3 platform...





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

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

end of thread, other threads:[~2016-05-10  9:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-09  8:34 ARM bare metal application test Ivan Pavić2
2016-05-09  9:16 ` Julien Grall
2016-05-09 10:29   ` Ivan Pavić2
2016-05-09 15:50     ` Konrad Rzeszutek Wilk
2016-05-09 16:21       ` Odgovor: " Ivan Pavić2
2016-05-09 16:31     ` Julien Grall
2016-05-09 16:43       ` Ivan Pavić2
2016-05-09 16:47         ` Julien Grall
2016-05-09 16:55           ` Odgovor: " Ivan Pavić2
2016-05-09 17:39           ` Wei Liu
2016-05-09 17:57             ` Julien Grall
2016-05-10  9:49               ` Wei Liu
2016-05-09 17:59             ` Ivan Pavić2
2016-05-10  9:49               ` Wei Liu

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).