[Qemu-devel] [PATCH] QEMU: ARM: boot: Load kernel at an Image friendly address

Peter Crosthwaite peter.crosthwaite at xilinx.com
Wed Apr 2 05:58:20 PDT 2014

On Wed, Apr 2, 2014 at 10:47 PM, Peter Maydell <peter.maydell at linaro.org> wrote:
> On 2 April 2014 13:11, Peter Crosthwaite <peter.crosthwaite at xilinx.com> wrote:
>> Like others, I have been carrying this change locally. Good to see it up!
> Why are you all booting raw Images anyway (just out of curiosity)? All my
> test cases boot either a zImage or a uImage, or occasionally a full SD card
> image, or I'd have noticed this earlier...

Simplicity more than anything. It is much easier to debug against
head.S (esp. with the -d in_asm option), when you can see the head.s
asm as the very first thing the CPU executes. Otherwise you gotta
filter out the zImage stuffs. There have also been occasions where I
have broken QEMU locally as part of some random work-in-progress
development such that the zImage head doesnt work and i'd rather just
move my debug efforts to kernel proper. None of them are fantastic
reasons from a user perspective but it's just a little easier on


> thanks
> -- PMM

More information about the linux-arm-kernel mailing list