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,