From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAxE4-0002ZA-76 for qemu-devel@nongnu.org; Tue, 04 Oct 2011 01:07:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAxE2-0007LI-OK for qemu-devel@nongnu.org; Tue, 04 Oct 2011 01:07:32 -0400 Received: from f4mail-235-223.rediffmail.com ([202.137.235.223]:48505 helo=rediffmail.com) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RAxE2-0007Kn-4c for qemu-devel@nongnu.org; Tue, 04 Oct 2011 01:07:30 -0400 Date: 4 Oct 2011 05:07:23 -0000 Message-ID: <20111004050723.12862.qmail@f4mail-235-223.rediffmail.com> MIME-Version: 1.0 From: "TusharK" Content-Type: multipart/alternative; boundary="=_652808fa9c2066a0cedd6c718d2495d5" Subject: [Qemu-devel] =?utf-8?q?QEMU_+_ARMMP11Core_combination_does_not_wo?= =?utf-8?q?rk?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --=_652808fa9c2066a0cedd6c718d2495d5 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Hi, I tried executing QEMU (realview-smp ARM11MPCore) with Linux kernel 2.6.39.3, but it failed. Kernel itself is not getting decompressed. I am executing below command. qemu-system-arm -M realview-eb-mpcore -cpu arm11mpcore -kernel arch/arm/boot/zImage -m 256M -append "root=/dev/sda console=ttyAMA0" -serial stdio -hda ../flash/flash.bin Nothing is shown on terminal and QEMU window. I am using linux kernel 2.6.39.3 version. I also tried with Linux kernel 2.6.35 + kernel_src_patch-2.6.35-arm1_bak version. Both are failing i.e. nothing is shown on terminal. Kernel itself does not boot. Can you please help me out in this regards? Thanks & Regards, TK --=_652808fa9c2066a0cedd6c718d2495d5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="UTF-8" Hi,

I tried executing QEMU (realview-smp ARM11MPCore) with Linux kernel 2.6.39.= 3, but it failed. Kernel itself is not getting decompressed.
I am executing below command.

qemu-system-arm -M realview-eb-mpcore -cpu arm11mpcore -kernel arch/arm/boo= t/zImage -m 256M -append "root=3D/dev/sda console=3DttyAMA0" -serial stdio = -hda ../flash/flash.bin

Nothing is shown on terminal and QEMU window.

I am using linux kernel 2.6.39.3 version. I also tried with Linux kernel 2.= 6.35 + kernel_src_patch-2.6.35-arm1_bak version. Both are failing i.e. noth= ing is shown on terminal. Kernel itself does not boot.

Can you please help me out in this regards?

Thanks & Regards,
TK



Treat yourself at a resta= urant, spa, resort and much more with Rediff Deal ho jaye! --=_652808fa9c2066a0cedd6c718d2495d5-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBQMe-0001Fs-On for qemu-devel@nongnu.org; Wed, 05 Oct 2011 08:14:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBQMc-0005lt-G3 for qemu-devel@nongnu.org; Wed, 05 Oct 2011 08:14:20 -0400 Received: from f4mail-235-95.rediffmail.com ([202.137.235.95]:33266 helo=rediffmail.com) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RBQMb-0005lZ-Oo for qemu-devel@nongnu.org; Wed, 05 Oct 2011 08:14:18 -0400 Date: 5 Oct 2011 12:14:08 -0000 MIME-Version: 1.0 Message-ID: <1317704843.S.2778.12901.f4mail-235-223.rediffmail.com.old.1317816848.13320@webmail.rediffmail.com> From: "TusharK" Content-Type: multipart/alternative; boundary="=_4b21c864a809671dd6d37ee6ff36a814" Subject: Re: [Qemu-devel] =?utf-8?q?QEMU_+_ARMMP11Core_combination_does_not_wo?= =?utf-8?q?rk?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --=_4b21c864a809671dd6d37ee6ff36a814 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Hello, I am not getting any reply on this query. I do not know how should I use this combination and really stuck because of this. Can somebody from QEMU devel quickly provide me help in this regard? I do not know what is taking time to answer this query. Let me know if anything is needed from my side. I hope to get reply ASAP. Thanks & Regards, Tushar On Tue, 04 Oct 2011 10:37:23 +0530 wrote >Hi, > > I tried executing QEMU (realview-smp ARM11MPCore) with Linux kernel 2.6.39.3, but it failed. Kernel itself is not getting decompressed. > I am executing below command. > > qemu-system-arm -M realview-eb-mpcore -cpu arm11mpcore -kernel arch/arm/boot/zImage -m 256M -append "root=/dev/sda console=ttyAMA0" -serial stdio -hda ../flash/flash.bin > > Nothing is shown on terminal and QEMU window. > > I am using linux kernel 2.6.39.3 version. I also tried with Linux kernel 2.6.35 + kernel_src_patch-2.6.35-arm1_bak version. Both are failing i.e. nothing is shown on terminal. Kernel itself does not boot. > > Can you please help me out in this regards? > > Thanks & Regards, > TK Treat yourself at a restaurant, spa, resort and much more with Rediff Deal ho jaye! --=_4b21c864a809671dd6d37ee6ff36a814 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="UTF-8" Hello,
I am not getting any reply on this query. I do not know how should I use th= is combination and really stuck because of this. Can somebody from QEMU dev= el quickly provide me help in this regard? I do not know what is taking tim= e to answer this query. Let me know if anything is needed from my side.

I hope to get reply ASAP.

Thanks & Regards,
Tushar


On Tue, 04 Oct 2011 10:37:23 +0530 wrote
>Hi,
>

>
I tried executing QEMU (realview-smp ARM11MPCore) with Linux kernel 2.6.39.= 3, but it failed. Kernel itself is not getting decompressed.
>
I am executing below command.
>

>
qemu-system-arm -M realview-eb-mpcore -cpu arm11mpcore -kernel arch/arm/boo= t/zImage -m 256M -append "root=3D/dev/sda console=3DttyAMA0" -serial stdio = -hda ../flash/flash.bin
>

>
Nothing is shown on terminal and QEMU window.
>

>
I am using linux kernel 2.6.39.3 version. I also tried with Linux kernel 2.= 6.35 + kernel_src_patch-2.6.35-arm1_bak version. Both are failing i.e. noth= ing is shown on terminal. Kernel itself does not boot.
>

>
Can you please help me out in this regards?
>

>
Thanks & Regards,
>
TK



Treat yourself at a restaurant, spa, resort and much more with Rediff Deal = ho jaye!



=

Treat yourself at a restaur= ant, spa, resort and much more with Re= diff Deal ho jaye! --=_4b21c864a809671dd6d37ee6ff36a814-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBRUp-0006RW-1P for qemu-devel@nongnu.org; Wed, 05 Oct 2011 09:26:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBRUl-0002n3-9Q for qemu-devel@nongnu.org; Wed, 05 Oct 2011 09:26:51 -0400 Received: from mail-ey0-f173.google.com ([209.85.215.173]:39825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBRUl-0002mo-4r for qemu-devel@nongnu.org; Wed, 05 Oct 2011 09:26:47 -0400 Received: by eyg24 with SMTP id 24so1759785eyg.4 for ; Wed, 05 Oct 2011 06:26:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20111004050723.12862.qmail@f4mail-235-223.rediffmail.com> References: <20111004050723.12862.qmail@f4mail-235-223.rediffmail.com> Date: Wed, 5 Oct 2011 14:26:46 +0100 Message-ID: From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] QEMU + ARMMP11Core combination does not work List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: TusharK Cc: qemu-devel@nongnu.org On 4 October 2011 06:07, TusharK wrote: > I tried executing QEMU (realview-smp ARM11MPCore) with Linux kernel 2.6.39.3, but it failed. Kernel itself is not getting decompressed. > I am executing below command. > > qemu-system-arm -M realview-eb-mpcore -cpu arm11mpcore -kernel arch/arm/boot/zImage -m 256M -append "root=/dev/sda console=ttyAMA0" -serial stdio -hda ../flash/flash.bin > > Nothing is shown on terminal and QEMU window. > > I am using linux kernel 2.6.39.3 version. I also tried with Linux kernel 2.6.35 + kernel_src_patch-2.6.35-arm1_bak version. Both are failing i.e. nothing is shown on terminal. Kernel itself does not boot. 11MPCore isn't in the set of models I usually run. However "just sits there" is often a kernel configuration bug rather than a QEMU bug. (1) Does your kernel boot on the real hardware? (2) If you add "earlyprintk" to your -append string (and ensure early printk is selected as a config option when your kernel was built) do you get any kernel output? -- PMM From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:37514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBj5R-0006Nd-4q for qemu-devel@nongnu.org; Thu, 06 Oct 2011 04:13:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBj5P-0003KL-RY for qemu-devel@nongnu.org; Thu, 06 Oct 2011 04:13:49 -0400 Received: from mail-ww0-f53.google.com ([74.125.82.53]:65469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBj5P-0003KD-Gv for qemu-devel@nongnu.org; Thu, 06 Oct 2011 04:13:47 -0400 Received: by wwg14 with SMTP id 14so3330231wwg.10 for ; Thu, 06 Oct 2011 01:13:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1317821211.S.3010.38055.F.H.TlBldGVyIE1heWRlbGwAUmU6IFtRZW11LWRldmVsXSBRRU1VICsgQVJNTVAxMUNvcmUgY29tYmluYXRpb24_.f4-234-219.old.1317872593.33973@webmail.rediffmail.com> References: <1317821211.S.3010.38055.F.H.TlBldGVyIE1heWRlbGwAUmU6IFtRZW11LWRldmVsXSBRRU1VICsgQVJNTVAxMUNvcmUgY29tYmluYXRpb24_.f4-234-219.old.1317872593.33973@webmail.rediffmail.com> Date: Thu, 6 Oct 2011 09:13:46 +0100 Message-ID: From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] QEMU + ARMMP11Core combination does not work List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: TusharK Cc: qemu-devel@nongnu.org On 6 October 2011 04:43, TusharK wrote: > (1) Does your kernel boot on the real hardware? > I do not have real hardware to test my kernel. But what I did was, I > downloaded pre-built kernel image from > http://code.google.com/p/smp-on-qemu/downloads/list website and > tried to run using QEMU, it boots but my kernel 2.6.39.3 does not boot. If somebody else's kernel boots but yours does not then the chances are very high that there is a problem with your kernel (probably a wrong config) which you'll need to debug the same way you'd debug this kind of misconfiguration on real hardware. Connecting an ARM gdb up to qemu and singlestepping kernel startup may be helpful. > Even decompressing kernel print itself is not coming and hence > I suspect something is wrong with wither kernel or QEMU. If there's no output of the "Uncompressing the kernel" message this is almost certainly a kernel configuration or compilation problem -- QEMU's serial port code is pretty heavily tested. (Why are you using the 11MPCore model anyway, just out of interest?) -- PMM From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RC30Y-0008F6-Bk for qemu-devel@nongnu.org; Fri, 07 Oct 2011 01:30:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RC30W-0002Ck-GV for qemu-devel@nongnu.org; Fri, 07 Oct 2011 01:30:06 -0400 Received: from f4mail-235-131.rediffmail.com ([202.137.235.131]:37613 helo=rediffmail.com) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RC30V-0002Al-GJ for qemu-devel@nongnu.org; Fri, 07 Oct 2011 01:30:04 -0400 Date: 7 Oct 2011 05:03:16 -0000 MIME-Version: 1.0 Message-ID: <1317888832.S.3541.22576.F.H.TlBldGVyIE1heWRlbGwAUmU6IFJlOiBbUWVtdS1kZXZlbF0gUUVNVSArIEFSTU1QMTFDb3JlIGNvbWJpbmE_.f4-235-127.1317963796.25746@webmail.rediffmail.com> in-reply-to: From: "TusharK" Content-Type: multipart/alternative; boundary="=_2ff1978e1a0ea852661482265f5f508a" Subject: Re: [Qemu-devel] =?utf-8?q?QEMU_+_ARMMP11Core_combination_does_not_wo?= =?utf-8?q?rk?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org Cc: qemu-devel@nongnu.org --=_2ff1978e1a0ea852661482265f5f508a Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Hi Peter, Thanks for reply. I seek help from you because I am sort of stuck. As kernel image does not get executed by QEMU. I tried single stepping but I could not debug the initial assembly code. I do not know why. My breakpoint never hits. I would like to use ARM11MPcore because my software will be running on ARM11MPCOre when the hardware is available. Can you please help me in resolving this? If you suspect the configuration is having problem, then can you please share me the configuration file which you test for kernel 2.6.39.3 or let me know what are the mandatary changes for the kernel? I used the default file configuration which is present in the kernel itself i.e. realview-smp-defconfig under arch/arm/configs. I did not make any changes to this configuration and expected that it will work. Can you please comment on this and let me know how can I proceed? It would be good if you could also try this at your end. Thanks & Regards, Tushar On Thu, 06 Oct 2011 13:43:52 +0530 wrote >On 6 October 2011 04:43, TusharK wrote: > (1) Does your kernel boot on the real hardware? > I do not have real hardware to test my kernel. But what I did was, I > downloaded pre-built kernel image from > http://code.google.com/p/smp-on-qemu/downloads/list website and > tried to run using QEMU, it boots but my kernel 2.6.39.3 does not boot. If somebody else's kernel boots but yours does not then the chances are very high that there is a problem with your kernel (probably a wrong config) which you'll need to debug the same way you'd debug this kind of misconfiguration on real hardware. Connecting an ARM gdb up to qemu and singlestepping kernel startup may be helpful. > Even decompressing kernel print itself is not coming and hence > I suspect something is wrong with wither kernel or QEMU. If there's no output of the "Uncompressing the kernel" message this is almost certainly a kernel configuration or compilation problem -- QEMU's serial port code is pretty heavily tested. (Why are you using the 11MPCore model anyway, just out of interest?) -- PMM --=_2ff1978e1a0ea852661482265f5f508a Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="UTF-8" Hi Peter,
Thanks for reply.
I seek help from you because I am sort of stuck. As kernel image does not g= et executed by QEMU. I tried single stepping but I could not debug the init= ial assembly code. I do not know why. My breakpoint never hits. I would lik= e to use ARM11MPcore because my software will be running on ARM11MPCOre whe= n the hardware is available.

Can you please help me in resolving this? If you suspect the configuration = is having problem, then can you please share me the configuration file whic= h you test for kernel 2.6.39.3 or let me know what are the mandatary change= s for the kernel? I used the default file configuration which is present in= the kernel itself i.e. realview-smp-defconfig under arch/arm/configs. I di= d not make any changes to this configuration and expected that it will work= .

Can you please comment on this and let me know how can I proceed? It would = be good if you could also try this at your end.

Thanks & Regards,
Tushar

On Thu, 06 Oct 2011 13:43:52 +0530 wrote
>On 6 October 2011 04:43, TusharK wrote:

> (1) Does your kernel boot on the real hardware?

> I do not have real hardware to test my kernel. But what I did was, I

> downloaded pre-built kernel image from

> http://code.google.com/p/smp-on-qemu/downloads/list website and

> tried to run using QEMU, it boots but my kernel 2.6.39.3 does not boot.


If somebody else's kernel boots but yours does not then the chances

are very high that there is a problem with your kernel (probably

a wrong config) which you'll need to debug the same way you'd

debug this kind of misconfiguration on real hardware. Connecting

an ARM gdb up to qemu and singlestepping kernel startup may be

helpful.



> Even decompressing kernel print itself is not coming and hence

> I suspect something is wrong with wither kernel or QEMU.



If there's no output of the "Uncompressing the kernel" message

this is almost certainly a kernel configuration or compilation

problem -- QEMU's serial port code is pretty heavily tested.



(Why are you using the 11MPCore model anyway, just out of interest?)



-- PMM




=

Treat yourself at a restaur= ant, spa, resort and much more with Re= diff Deal ho jaye! --=_2ff1978e1a0ea852661482265f5f508a-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCwgf-0006au-1o for qemu-devel@nongnu.org; Sun, 09 Oct 2011 12:57:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCwgd-0001lr-Uk for qemu-devel@nongnu.org; Sun, 09 Oct 2011 12:57:17 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:45250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCwgd-0001ld-Lj for qemu-devel@nongnu.org; Sun, 09 Oct 2011 12:57:15 -0400 Message-ID: <4E91D271.6030504@web.de> Date: Sun, 09 Oct 2011 18:57:21 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <1317704843.S.2778.12901.f4mail-235-223.rediffmail.com.old.1317816848.13320@webmail.rediffmail.com> In-Reply-To: <1317704843.S.2778.12901.f4mail-235-223.rediffmail.com.old.1317816848.13320@webmail.rediffmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: andreas.faerber@web.de Subject: Re: [Qemu-devel] QEMU + ARMMP11Core combination does not work List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: TusharK Cc: qemu-devel@nongnu.org Hello Tushar, Am 05.10.2011 14:14, schrieb TusharK: > I am not getting any reply on this query. I do not know how should I use > this combination and really stuck because of this. Can somebody from > QEMU devel quickly provide me help in this regard? I do not know what is > taking time to answer this query. It may be urgent for you but it's not exactly the most commonly used board for which everyone has kernels lying around. This a developers' mailing list, not a 24/7 support hotline with guaranteed response times. Your command line looks okay, so it's either your kernel, a bug in QEMU or both. If you've tested this on an old release version, then it might be working better on git master; if you're on git master then there may be regressions, Blue fixed a segfault recently and the Memory API conversion has been breaking things left and right especially in rarely used code. > Let me know if anything is needed from > my side. Please respect general netiquette: Don't post the same question over and over. I made you aware that your question was missing some essential information for anyone to answer (in addition, you still didn't mention what version of QEMU you are using), instead of you supplying it on the list I now have three personal emails from you and you still no solution - thus always reply to the list. Avoid HTML email format (which in your case is bugging people with external ad images!), don't top-post, and send any additional information or queries as reply to the existing thread. Thanks, Andreas From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:47996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQCzQ-0002Dm-Vl for qemu-devel@nongnu.org; Tue, 15 Nov 2011 01:59:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RQCzP-0003JQ-Kh for qemu-devel@nongnu.org; Tue, 15 Nov 2011 01:59:28 -0500 Received: from [203.199.83.111] (port=47372 helo=f4mail-83-111.rediffmail.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQCzP-0003J4-1x for qemu-devel@nongnu.org; Tue, 15 Nov 2011 01:59:27 -0500 Received: from rediffmail.com (f4mail-235-234.rediffmail.com [202.137.235.234]) by f5mail-83-111.rediffmail.com (Postfix) with SMTP id 640F6236D269 for ; Thu, 6 Oct 2011 09:10:15 +0530 (IST) MIME-Version: 1.0 Message-ID: <1317821211.S.3010.38055.F.H.TlBldGVyIE1heWRlbGwAUmU6IFtRZW11LWRldmVsXSBRRU1VICsgQVJNTVAxMUNvcmUgY29tYmluYXRpb24_.f4-234-219.old.1317872593.33973@webmail.rediffmail.com> in-reply-to: From: "TusharK" Content-Type: multipart/alternative; boundary="=_eba2c10e1fb9bd68886bfbd8cdf224db" Subject: Re: [Qemu-devel] =?utf-8?q?QEMU_+_ARMMP11Core_combination_does_not_wo?= =?utf-8?q?rk?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 15 Nov 2011 06:59:30 -0000 To: peter.maydell@linaro.org Cc: qemu-devel@nongnu.org --=_eba2c10e1fb9bd68886bfbd8cdf224db Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Hello Peter, Thanks for reply. Please find the comments below. (1) Does your kernel boot on the real hardware? I do not have real hardware to test my kernel. But what I did was, I downloaded pre-built kernel image from http://code.google.com/p/smp-on-qemu/downloads/list website and tried to run using QEMU, it boots but my kernel 2.6.39.3 does not boot. (2) If you add "earlyprintk" to your -append string and ensure early printk is selected as a config option when your kernel was built) do you get any kernel output? No. As I said nothing is coming on the terminal. Even decompressing kernel print itself is not coming and hence I suspect something is wrong with wither kernel or QEMU. As I am able to run the pre-built image, I would like to know whether I do need to make / enable some configuration so that QEMU + ARM11MPCore will work? What sort of changes do I need to make so that this works. I tried with linux kernel 2.6.35 also and this also failed as of 2.6.39.3 version. Have you tested these combinations with QEMU? 1) I am using realview-smp_defconfig while compiling the linux kernel. 2) Enabled early printk option too. 3) Compilation is successful and zImage is created. I am using gcc version 4.5.2 (Sourcery G++ Lite 2011.03-41) Please let me know if I am missing something. Thanks & Regards, Tushar On Wed, 05 Oct 2011 18:56:51 +0530 wrote >On 4 October 2011 06:07, TusharK wrote: > I tried executing QEMU (realview-smp ARM11MPCore) with Linux kernel 2.6.39.3, but it failed. Kernel itself is not getting decompressed. > I am executing below command. > > qemu-system-arm -M realview-eb-mpcore -cpu arm11mpcore -kernel arch/arm/boot/zImage -m 256M -append "root=/dev/sda console=ttyAMA0" -serial stdio -hda ../flash/flash.bin > > Nothing is shown on terminal and QEMU window. > > I am using linux kernel 2.6.39.3 version. I also tried with Linux kernel 2.6.35 + kernel_src_patch-2.6.35-arm1_bak version. Both are failing i.e. nothing is shown on terminal. Kernel itself does not boot. 11MPCore isn't in the set of models I usually run. However "just sits there" is often a kernel configuration bug rather than a QEMU bug. (1) Does your kernel boot on the real hardware? (2) If you add "earlyprintk" to your -append string (and ensure early printk is selected as a config option when your kernel was built) do you get any kernel output? -- PMM --=_eba2c10e1fb9bd68886bfbd8cdf224db Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="UTF-8" Hello Peter,

Thanks for reply.
Please find the comments below.

(1) Does your kernel boot on the real hardware?
I do not have real hardware to test my kernel. But what I did was, I downlo= aded pre-built kernel image from http://code.google.com/p/smp-on-qemu/downl= oads/list website and tried to run using QEMU, it boots but my kernel 2.6.3= 9.3 does not boot.

(2) If you add "earlyprintk" to your -append string and ensure early printk= is selected as a config option when your kernel was built) do you get any = kernel output?
No. As I said nothing is coming on the terminal. Even decompressing kernel = print itself is not coming and hence I suspect something is wrong with with= er kernel or QEMU.

As I am able to run the pre-built image, I would like to know whether I do = need to make / enable some configuration so that QEMU + ARM11MPCore will wo= rk? What sort of changes do I need to make so that this works. I tried with= linux kernel 2.6.35 also and this also failed as of 2.6.39.3 version. Have= you tested these combinations with QEMU?

1) I am using realview-smp_defconfig while compiling the linux kernel.
2) Enabled early printk option too.
3) Compilation is successful and zImage is created. I am using gcc version = 4.5.2 (Sourcery G++ Lite 2011.03-41)

Please let me know if I am missing something.


Thanks & Regards,
Tushar

On Wed, 05 Oct 2011 18:56:51 +0530 wrote
>On 4 October 2011 06:07, TusharK wrote:

> I tried executing QEMU (realview-smp ARM11MPCore) with Linux kernel 2.6.3= 9.3, but it failed. Kernel itself is not getting decompressed.

> I am executing below command.

>

> qemu-system-arm -M realview-eb-mpcore -cpu arm11mpcore -kernel arch/arm/b= oot/zImage -m 256M -append "root=3D/dev/sda console=3DttyAMA0" -serial stdi= o -hda ../flash/flash.bin

>

> Nothing is shown on terminal and QEMU window.

>

> I am using linux kernel 2.6.39.3 version. I also tried with Linux kernel = 2.6.35 + kernel_src_patch-2.6.35-arm1_bak version. Both are failing i.e. no= thing is shown on terminal. Kernel itself does not boot.



11MPCore isn't in the set of models I usually run. However

"just sits there" is often a kernel configuration bug

rather than a QEMU bug.



(1) Does your kernel boot on the real hardware?

(2) If you add "earlyprintk" to your -append string

(and ensure early printk is selected as a config option

when your kernel was built) do you get any kernel output?



-- PMM




=

Treat yourself at a restaur= ant, spa, resort and much more with Re= diff Deal ho jaye! --=_eba2c10e1fb9bd68886bfbd8cdf224db--