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-ar
Adjusted my 64-bit shifts patch to address Richard Earnshaw's concerns,
tested it, and posted the new one upstream.
Continued trying to figure out how ira-costs.c works, and in particular,
why it doesn't choose to do 64-bit stuff in NEON when I think it should.
Basically, the problem seems to
On 6 February 2012 12:19, 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,
On Mon, Feb 6, 2012 at 5:35 PM, Peter Maydell wrote:
> 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 ?
Well it's a bit complex:
On Mon, Feb 6, 2012 at 6:48 PM, d...@ucore.info wrote:
> In the sourcode (current release) I couldn't find any place where any
> register except PC is being modified.
While looking for some data to paste here, I've notice that the
pointers should be set by "the smallest bootlader in the world". I