Re: [Qemu-devel] [PATCH] Workaround to the real-mode/protected-mode conflict in GDB.

2012-01-24 Thread Francis Moreau
Hello, On Tue, Jan 24, 2012 at 1:40 PM, Laurent Vivier laur...@vivier.eu wrote: By adding a breakpoint at startup, we can connect GDB to qemu gdb server when CPU is already in protected mode. Not tried yet, but usefull workaround IMHO. Thanks ! -- Francis

[Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support)

2012-01-22 Thread Francis Moreau
Hello, I'm trying to debug a 64 bits kernel (3.2) using qemu (with and without KVM support). The host is also 64 bits. Version of gdb I'm using is 7.1. To do that I simply start qemu like the following: $ qemu-system-x86_64 -kernel bzImage -append root=/dev/sda1 console=ttyS0 3 -serial stdio

Re: [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support)

2012-01-22 Thread Francis Moreau
Hello, On Sun, Jan 22, 2012 at 6:11 PM, Michael Tokarev m...@tls.msk.ru wrote: On 22.01.2012 18:20, Francis Moreau wrote: Hello, I'm trying to debug a 64 bits kernel (3.2) using qemu (with and without KVM support). The host is also 64 bits. Version of gdb I'm using is 7.1. I'm not sure

Re: [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support)

2012-01-22 Thread Francis Moreau
Hello, Thanks for you hints ! On Sun, Jan 22, 2012 at 7:49 PM, Jan Kiszka jan.kis...@web.de wrote: On 2012-01-22 15:20, Francis Moreau wrote: Hello, I'm trying to debug a 64 bits kernel (3.2) using qemu (with and without KVM support). The host is also 64 bits. Version of gdb I'm using

Re: [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support)

2012-01-22 Thread Francis Moreau
hello, On Sun, Jan 22, 2012 at 8:16 PM, Max Filippov jcmvb...@gmail.com wrote: When stopping the guest with -S before it booted, gdb will interrupt it while it is still in 16-bit real mode. Later on, when Linux runs, the guest is in 64-bit protected mode. gdb is not prepared for such a

Re: [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support)

2012-01-22 Thread Francis Moreau
On Sun, Jan 22, 2012 at 8:28 PM, Jan Kiszka jan.kis...@web.de wrote: On 2012-01-22 20:25, Francis Moreau wrote: Hello, Thanks for you hints ! On Sun, Jan 22, 2012 at 7:49 PM, Jan Kiszka jan.kis...@web.de wrote: On 2012-01-22 15:20, Francis Moreau wrote: Hello, I'm trying to debug a 64

Re: [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support)

2012-01-22 Thread Francis Moreau
On Sun, Jan 22, 2012 at 8:21 PM, Jan Kiszka jan.kis...@web.de wrote: On 2012-01-22 20:16, Max Filippov wrote: When stopping the guest with -S before it booted, gdb will interrupt it while it is still in 16-bit real mode. Later on, when Linux runs, the guest is in 64-bit protected mode. gdb is

Re: [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support)

2012-01-22 Thread Francis Moreau
On Sun, Jan 22, 2012 at 10:15 PM, Jan Kiszka jan.kis...@web.de wrote: On 2012-01-22 20:58, Francis Moreau wrote: On Sun, Jan 22, 2012 at 8:21 PM, Jan Kiszka jan.kis...@web.de wrote: On 2012-01-22 20:16, Max Filippov wrote: When stopping the guest with -S before it booted, gdb will interrupt

Re: [Qemu-devel] Is realview-pb-a8 fully supported ?

2011-10-13 Thread Francis Moreau
On Wed, Oct 12, 2011 at 10:46 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 12 October 2011 20:39, Francis Moreau francis.m...@gmail.com wrote: On Wed, Oct 12, 2011 at 11:23 AM, Peter Maydell peter.mayd...@linaro.org wrote: I think the mainline kernel sources should in theory work

Re: [Qemu-devel] Is realview-pb-a8 fully supported ?

2011-10-12 Thread Francis Moreau
On Wed, Oct 12, 2011 at 11:23 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 10 October 2011 14:48, Francis Moreau francis.m...@gmail.com wrote: On Mon, Oct 10, 2011 at 10:42 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 10 October 2011 08:35, Francis Moreau francis.m...@gmail.com

Re: [Qemu-devel] Is realview-pb-a8 fully supported ?

2011-10-10 Thread Francis Moreau
On Sun, Oct 9, 2011 at 6:22 PM, Francis Moreau francis.m...@gmail.com wrote: On Sun, Oct 9, 2011 at 2:51 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 9 October 2011 13:06, Francis Moreau francis.m...@gmail.com wrote: On Sun, Oct 9, 2011 at 12:48 PM, Peter Maydell peter.mayd

Re: [Qemu-devel] Is realview-pb-a8 fully supported ?

2011-10-10 Thread Francis Moreau
On Mon, Oct 10, 2011 at 10:42 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 10 October 2011 08:35, Francis Moreau francis.m...@gmail.com wrote: I noticed another point for the realview platofrm: if I boot with -M 512, it works however if I set -M 256 then it doesn't. Perhaps your

[Qemu-devel] Is realview-pb-a8 fully supported ?

2011-10-09 Thread Francis Moreau
Hello, I'm trying to use qemu to emulate the ARM realview-pb-a8 and more specifically I'd like to boot using the SD interface. However it looks like some devices are not emulated at all on this platform. I added a couple of trace to see which one cannot be probed by the kernel and I got them:

Re: [Qemu-devel] Is realview-pb-a8 fully supported ?

2011-10-09 Thread Francis Moreau
Hello Peter, On Sun, Oct 9, 2011 at 12:48 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 9 October 2011 09:28, Francis Moreau francis.m...@gmail.com wrote: I'm trying to use qemu to emulate the ARM realview-pb-a8 and more specifically I'd like to boot using the SD interface. However

Re: [Qemu-devel] Is realview-pb-a8 fully supported ?

2011-10-09 Thread Francis Moreau
On Sun, Oct 9, 2011 at 2:51 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 9 October 2011 13:06, Francis Moreau francis.m...@gmail.com wrote: On Sun, Oct 9, 2011 at 12:48 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 9 October 2011 09:28, Francis Moreau francis.m...@gmail.com

Re: [Qemu-devel] [PATCH 0/3] Add PL111, implement PL110 BGR mode

2011-07-26 Thread Francis Moreau
than always assuming RGB565. This issue was originally reported on IRC by Francis Moreau, who has now kindly tested these patches and tells me that they do indeed fix the issues he was seeing. Yes I confirm. -- Francis