* [Qemu-devel] The process of kernel cross-compiling in arm-test-0.2.tar.gz
@ 2011-05-23 9:26 daixiaoke
2011-05-23 11:19 ` Brad Hards
0 siblings, 1 reply; 3+ messages in thread
From: daixiaoke @ 2011-05-23 9:26 UTC (permalink / raw)
To: qemu-devel; +Cc: fnst-ulinux
[-- Attachment #1: Type: text/plain, Size: 1228 bytes --]
Hi,
I am trying to run uClinux by qemu. The problem is:
The files generated after cross-compiling uClinux can't be used by qemu to
run uClinux successfully.
However, qemu can successfully run the system via the files in arm-test-0.2.tar.gz,
which can be downloaded from sector "QEMU disk images" on http://wiki.qemu.org/Download.
My process:
1.Installing qemu-0.14.1 and Sourcery G++ in my virtual system(RHEL6.0).
2.Downloading uClinux-dist-20080808-20090112.patch.gz & uClinux-dist-20080808.tar.bz2
3.Compiled uClinux following steps in the attachment(Chapter 4: Building the uClinux image).
“STM3210E-EVAL-jffs” was selected for "Porduct" while Configure uClinux for STM3210E-EVAL.
4.After compiled, 3 files generated: xipImage.bin, rootfs.img.bin and logo.bin
5.Executed following command on command line:
qemu-system-arm -kernel xipImage.bin -initrd rootfs.img.bin -nographic -append "console=ttyAMA0"
But it didn't work and nothing was shown out on the command line.
So could Paul Brook or someone else tell me the process of kernel cross-compiling in
arm-test-0.2.tar.gz?
Or, how should I compile uClinux to make the files created usefully for qemu?
Thanks,
Dai Xiaoke
[-- Attachment #2: CD00242717.pdf --]
[-- Type: application/pdf, Size: 890333 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] The process of kernel cross-compiling in arm-test-0.2.tar.gz
2011-05-23 9:26 [Qemu-devel] The process of kernel cross-compiling in arm-test-0.2.tar.gz daixiaoke
@ 2011-05-23 11:19 ` Brad Hards
2011-05-24 1:44 ` daixiaoke
0 siblings, 1 reply; 3+ messages in thread
From: Brad Hards @ 2011-05-23 11:19 UTC (permalink / raw)
To: qemu-devel, daixiaoke
On Monday 23 May 2011 19:26:45 daixiaoke wrote:
> 3.Compiled uClinux following steps in the attachment(Chapter 4: Building
> the uClinux image). “STM3210E-EVAL-jffs” was selected for "Porduct" while
> Configure uClinux for STM3210E-EVAL.
So you have built the images to install into a STM3210E board.
> 5.Executed following command on command line:
> qemu-system-arm -kernel xipImage.bin -initrd rootfs.img.bin -nographic
> -append "console=ttyAMA0" But it didn't work and nothing was shown out on
> the command line.
I think this is the problem: qemu-system-arm isn't emulating an STM3210E
board. The default machine type with qemu-system-arm is the "integratorcp"
(ARM Integrator/CP (ARM926EJ-S) board). See qemu-system-arm -M ? for a full
list of options.
You have to build code that matches the environment you are going to run it
in.
Brad
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] The process of kernel cross-compiling in arm-test-0.2.tar.gz
2011-05-23 11:19 ` Brad Hards
@ 2011-05-24 1:44 ` daixiaoke
0 siblings, 0 replies; 3+ messages in thread
From: daixiaoke @ 2011-05-24 1:44 UTC (permalink / raw)
To: Brad Hards; +Cc: qemu-devel
于 2011-5-23 19:19, Brad Hards 写道:
> On Monday 23 May 2011 19:26:45 daixiaoke wrote:
>> 3.Compiled uClinux following steps in the attachment(Chapter 4: Building
>> the uClinux image). “STM3210E-EVAL-jffs” was selected for "Porduct" while
>> Configure uClinux for STM3210E-EVAL.
> So you have built the images to install into a STM3210E board.
>
>> 5.Executed following command on command line:
>> qemu-system-arm -kernel xipImage.bin -initrd rootfs.img.bin -nographic
>> -append "console=ttyAMA0" But it didn't work and nothing was shown out on
>> the command line.
> I think this is the problem: qemu-system-arm isn't emulating an STM3210E
> board. The default machine type with qemu-system-arm is the "integratorcp"
> (ARM Integrator/CP (ARM926EJ-S) board). See qemu-system-arm -M ? for a full
> list of options.
>
> You have to build code that matches the environment you are going to run it
> in.
OK.
Thanks a lot.
Dai Xiaoke
>
> Brad
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-24 1:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23 9:26 [Qemu-devel] The process of kernel cross-compiling in arm-test-0.2.tar.gz daixiaoke
2011-05-23 11:19 ` Brad Hards
2011-05-24 1:44 ` daixiaoke
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.