qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Qemu atags passing in register.
@ 2012-02-06 12:19 dpc
  2012-02-06 16:35 ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: dpc @ 2012-02-06 12:19 UTC (permalink / raw)
  To: qemu-devel, linaro-toolchain

Hi,

I'm doing some tricks with Linux kernel and I'm dependent on
bootloader atags passing.

On PandaBoard the u-boot is always passing DTF/Atags pointer in r2
register, and I'm kind of depending on it. I need to emulate this
behavior by -initrd qemu's argument. However it seems that
qemu-system-arm zeros the registers on the start, and places atags in
some hardcoded memory address no matter what.

Is this behaviour really OK? Isn't r2 register a proper way to pass
atags on ARM platform? If so, would you merge into mainline a patch
that implement this? I could write it, but I don't want end-users of
my work to have to patch and compile Qemu manually.

Please CC me, I'm not following actively these mailinglists.

Regards,
-- 
Dawid Ciężarkiewicz

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

end of thread, other threads:[~2012-02-06 17:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-06 12:19 [Qemu-devel] Qemu atags passing in register dpc
2012-02-06 16:35 ` Peter Maydell
2012-02-06 17:48   ` dpc
2012-02-06 17:59     ` dpc

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