From: "Laurent Desnogues" <laurent.desnogues@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Linux kernel image for Emulator - Regd.
Date: Tue, 24 Jun 2008 15:35:20 +0200 [thread overview]
Message-ID: <761ea48b0806240635j622c52c6h9563e1d995362554@mail.gmail.com> (raw)
In-Reply-To: <4860D781.9090601@amd.com>
On Tue, Jun 24, 2008 at 1:16 PM, Sudheer Papothi
<sudheer.papothi@amd.com> wrote:
> ARM Linux kernel is built with arm-gnu-eabi cross compiler toolchain (from
> code sourcery).
>
> I dont think this will be a problem (correct me if i am wrong). It creates
> normal zImage as well as uImage (with the help of mkimage )
The compiler should not be the problem (at least as long as you
are not targetting armv7 class processor).
> Can you please brief the point "Most implementations will translate that to
> another valid mode, qemu does n't"
If the lower 5 bits written to CPSR don't match valid modes,
most silicon will put another valid mode. I can't say more, but
this is undocumented behaviour. As an example (not tested
on realy HW), if you write 0 to the M field of CPSR it will get
translated of 0x10 = user mode. qemu doesn't do that, it just
aborts.
> Can you please suggest any other options to test/debug my basic linux
> kernel image as I dont have the real hardware yet.
I don't get it, you said the kernel booted on real hardware...
Anyway according to your log your kernel is failing at its
very first instruction (pc = 0x8000). Are you using a boot
loader?
Laurent
next prev parent reply other threads:[~2008-06-24 13:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-24 9:32 [Qemu-devel] Linux kernel image for Emulator - Regd Sudheer Papothi
2008-06-24 9:57 ` Laurent Desnogues
2008-06-24 11:16 ` Sudheer Papothi
2008-06-24 13:35 ` Laurent Desnogues [this message]
2008-06-25 1:43 ` Sudheer Papothi
2008-06-24 10:48 ` Salil Bijur
2008-06-24 10:57 ` Sudheer Papothi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=761ea48b0806240635j622c52c6h9563e1d995362554@mail.gmail.com \
--to=laurent.desnogues@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).