* [Qemu-devel] QEMU + ARMMP11Core combination does not work
@ 2011-10-04 5:07 TusharK
2011-10-05 13:26 ` Peter Maydell
0 siblings, 1 reply; 7+ messages in thread
From: TusharK @ 2011-10-04 5:07 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 677 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1428 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] QEMU + ARMMP11Core combination does not work
@ 2011-10-05 12:14 TusharK
2011-10-09 16:57 ` Andreas Färber
0 siblings, 1 reply; 7+ messages in thread
From: TusharK @ 2011-10-05 12:14 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1225 bytes --]
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!
[-- Attachment #2: Type: text/html, Size: 2150 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] QEMU + ARMMP11Core combination does not work
2011-10-04 5:07 TusharK
@ 2011-10-05 13:26 ` Peter Maydell
2011-11-15 6:59 ` TusharK
0 siblings, 1 reply; 7+ messages in thread
From: Peter Maydell @ 2011-10-05 13:26 UTC (permalink / raw)
To: TusharK; +Cc: qemu-devel
On 4 October 2011 06:07, TusharK <meet_tk@rediffmail.com> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] QEMU + ARMMP11Core combination does not work
2011-11-15 6:59 ` TusharK
@ 2011-10-06 8:13 ` Peter Maydell
2011-10-07 5:03 ` TusharK
0 siblings, 1 reply; 7+ messages in thread
From: Peter Maydell @ 2011-10-06 8:13 UTC (permalink / raw)
To: TusharK; +Cc: qemu-devel
On 6 October 2011 04:43, TusharK <meet_tk@rediffmail.com> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] QEMU + ARMMP11Core combination does not work
2011-10-06 8:13 ` Peter Maydell
@ 2011-10-07 5:03 ` TusharK
0 siblings, 0 replies; 7+ messages in thread
From: TusharK @ 2011-10-07 5:03 UTC (permalink / raw)
To: peter.maydell; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 2157 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 3208 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] QEMU + ARMMP11Core combination does not work
2011-10-05 12:14 [Qemu-devel] QEMU + ARMMP11Core combination does not work TusharK
@ 2011-10-09 16:57 ` Andreas Färber
0 siblings, 0 replies; 7+ messages in thread
From: Andreas Färber @ 2011-10-09 16:57 UTC (permalink / raw)
To: TusharK; +Cc: qemu-devel
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] QEMU + ARMMP11Core combination does not work
2011-10-05 13:26 ` Peter Maydell
@ 2011-11-15 6:59 ` TusharK
2011-10-06 8:13 ` Peter Maydell
0 siblings, 1 reply; 7+ messages in thread
From: TusharK @ 2011-11-15 6:59 UTC (permalink / raw)
To: peter.maydell; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 2401 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 3540 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-11-15 6:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-05 12:14 [Qemu-devel] QEMU + ARMMP11Core combination does not work TusharK
2011-10-09 16:57 ` Andreas Färber
-- strict thread matches above, loose matches on Subject: below --
2011-10-04 5:07 TusharK
2011-10-05 13:26 ` Peter Maydell
2011-11-15 6:59 ` TusharK
2011-10-06 8:13 ` Peter Maydell
2011-10-07 5:03 ` TusharK
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).