On 6 February 2012 12:19, d...@ucore.info <d...@ucore.info> 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 _______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain