[fedora-arm] Debugging our kernels under qemu + gdb

Michael Hope michael.hope at linaro.org
Sun May 13 20:34:13 UTC 2012


On 12 May 2012 22:12, Richard W.M. Jones <rjones at redhat.com> wrote:
> On Fri, May 11, 2012 at 01:41:43PM -0700, Brendan Conoboy wrote:
>> On 05/11/2012 01:04 PM, Richard W.M. Jones wrote:
>> >Has anyone tried to debug our Fedora/arm kernels under qemu-system-arm?
>> >(In this case, the host is also arm, but I don't think that matters.)
>>
>> Richard,
>>
>> FYI, we as of a few hours ago have nearly-official F17-beta images
>> for versatile express on the following page:
>>
>> http://scotland.proximity.on.ca/arm-nightlies/
>>
>> There's a link for vexpress and vexpress+x rootfs images.  A second
>> link provides a kernel, initramfs, and script for starting qemu.
>> Note that vexpress is much faster than versatile and allows more ram
>> (1GB). Recommend you try this out!
>
> So one issue appears to be lack of PCI support (according to Linaro's
> notes: https://wiki.linaro.org/PeterMaydell/QemuVersatileExpress).
>
> Unfortunately all of the virtio hardware is PCI-based, so it doesn't
> seem like this is going to work for the virt tools :-(

Hi Richard.  The plan is to use virtio-mmio and use Device Tree to set
where the virtio devices are.  virtio-mmio is in the mainline kernel
and in the queue for QEMU.

-- Michael


More information about the arm mailing list