qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Qemu atags passing in register.


From: Peter Maydell
Subject: Re: [Qemu-devel] Qemu atags passing in register.
Date: Mon, 6 Feb 2012 16:35:18 +0000

On 6 February 2012 12:19, address@hidden <address@hidden> wrote:
> 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.

No, qemu will correctly pass the atags in r2 if it is booting a linux
kernel (ie if you pass it a non ELF file via the -kernel argument).
Otherwise we wouldn't be able to boot Linux.
How are you starting qemu ?

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]