* Is it possible usign QEMU for runnung kernel of sh2a?
@ 2010-03-19 5:27 Fabio Giovagnini
2010-03-19 8:24 ` Magnus Damm
2010-03-19 8:37 ` Paul Mundt
0 siblings, 2 replies; 3+ messages in thread
From: Fabio Giovagnini @ 2010-03-19 5:27 UTC (permalink / raw)
To: linux-sh
Hi, could you tell me please how to find info about using qemu for sh2a if it
is possible?
Thanks
--
Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is it possible usign QEMU for runnung kernel of sh2a?
2010-03-19 5:27 Is it possible usign QEMU for runnung kernel of sh2a? Fabio Giovagnini
@ 2010-03-19 8:24 ` Magnus Damm
2010-03-19 8:37 ` Paul Mundt
1 sibling, 0 replies; 3+ messages in thread
From: Magnus Damm @ 2010-03-19 8:24 UTC (permalink / raw)
To: linux-sh
Hi Fabio,
On Fri, Mar 19, 2010 at 2:27 PM, Fabio Giovagnini
<fabio.giovagnini@aurion-tech.com> wrote:
> Hi, could you tell me please how to find info about using qemu for sh2a if it
> is possible?
QEMU did not support sh2a last time I checked. And I doubt that anyone
added it recently.
It may however be a good idea to use QEMU to learn about initramfs and
user space programs on a different processor or architecture.
If I were you then I'd try to get QEMU working with x86 as target.
When you have initramfs working on x86 in QEMU then you can easily
move over to some other target. With sh2a on real hardware with an old
kernel version there are too many unknowns to make efficient progress.
Cheers,
/ magnus
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is it possible usign QEMU for runnung kernel of sh2a?
2010-03-19 5:27 Is it possible usign QEMU for runnung kernel of sh2a? Fabio Giovagnini
2010-03-19 8:24 ` Magnus Damm
@ 2010-03-19 8:37 ` Paul Mundt
1 sibling, 0 replies; 3+ messages in thread
From: Paul Mundt @ 2010-03-19 8:37 UTC (permalink / raw)
To: linux-sh
On Fri, Mar 19, 2010 at 05:24:04PM +0900, Magnus Damm wrote:
> Hi Fabio,
>
> On Fri, Mar 19, 2010 at 2:27 PM, Fabio Giovagnini
> <fabio.giovagnini@aurion-tech.com> wrote:
> > Hi, could you tell me please how to find info about using qemu for sh2a if it
> > is possible?
>
> QEMU did not support sh2a last time I checked. And I doubt that anyone
> added it recently.
>
Also note that sh2a is a very different architecture from sh4a, it would
take a rather radical redesign of the current backend to even begin to
support it, mixed instruction encodings aside.
If one wanted to experiment with uClinux under QEMU on SH the easier
option would simply be to provide an MMU-less SH-4 target and work with
that. When I first did the uClinux port in the 2.5 days it was to the
SH7091 with the MMU disabled, so the kernel can certainly handle it, even
though it likely needs a bit of updating to do it again on a contemporary
kernel.
> It may however be a good idea to use QEMU to learn about initramfs and
> user space programs on a different processor or architecture.
>
> If I were you then I'd try to get QEMU working with x86 as target.
> When you have initramfs working on x86 in QEMU then you can easily
> move over to some other target.
MMU Linux and uClinux have enough differences that this becomes
impractical. QEMU does support microblaze and some others though which
would be a good starting point, there are also other emulation options
available for blackfin and ARM nommu parts that would at least help with
the userspace side of things.
If your intent is to work with the kernel or the sh2a hardware directly
then you'll still have to spend some time hacking up QEMU. This is
something I've wanted to do in QEMU for ages, but have simply never had
the time or resources for.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-19 8:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-19 5:27 Is it possible usign QEMU for runnung kernel of sh2a? Fabio Giovagnini
2010-03-19 8:24 ` Magnus Damm
2010-03-19 8:37 ` Paul Mundt
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).