For x86 I am able to use -initrd to load an additional ramdisk alongside my kernel.
I am now working on ARM (-machine integratorcp) and I have a bit of problem understanding what data QEMU should provide to my kernel about where it has placed the ramdisk. When I look through the QEMU code it seems like it is suppose to provide the kernel with a table filled with ATAGS both at base + 0x100 and in register r2 but that does not seem to be the case.
Has anyone had any luck getting this to work? In that case what did you do?
QEMU initrd option for arm
QEMU initrd option for arm
Fudge - Simplicity, clarity and speed.
http://github.com/Jezze/fudge/
http://github.com/Jezze/fudge/
Re: QEMU initrd option for arm
I use it on the r-pi target (non-mainstream) which always puts it at 128M or halfway up the memory, which for all RPIs is 128M. No idea if there's any other way to find out where it is, I just looked up the location in the qemu sources and called it a day as it's a development-time only thing anyway for me.