qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: Filip Navara <filip.navara@gmail.com>
Cc: Vincent Sanders <vince@kyllikki.org>,
	qemu-devel@nongnu.org, Paul Brook <paul@codesourcery.com>
Subject: Re: [Qemu-devel] ARM v4t support
Date: Sun, 29 Nov 2009 15:12:46 -0600	[thread overview]
Message-ID: <200911291512.47136.rob@landley.net> (raw)
In-Reply-To: <5b31733c0911290157r3119fc56rec48df279b469666@mail.gmail.com>

On Sunday 29 November 2009 03:57:37 Filip Navara wrote:
> On Sun, Nov 29, 2009 at 8:00 AM, Rob Landley <rob@landley.net> wrote:
> > On Friday 27 November 2009 05:35:26 Filip Navara wrote:
> >> On Fri, Nov 27, 2009 at 12:17 PM, Vincent Sanders <vince@kyllikki.org>
> >
> > wrote:
> >> > I appear to be unable to take a hint, your silence on this patch in
> >> > the past probably ought to have been a clue. however this will be the
> >> > last time I bother to try and get anything merged so you wont have to
> >> > be disturbed again.
> >> >
> >> > The attached patch adds V4t support to the ARM emulation, its pretty
> >> > much the same as the last time it was posted. It is correct in
> >> > everything it does to the best of my knowledge however you will as
> >> > usual no doubt find a corner case it does not cover and reject it.
> >>
> >> I have already sent more complete patch for ARM7TDMI emulation:
> >>
> >> http://www.mail-archive.com/qemu-devel@nongnu.org/msg17205.html
> >> http://patchwork.ozlabs.org/patch/36841/
> >
> > That's a link to an archive that gives you html but not a raw patch.
> >  (Huh, it says you sent it to the list but I'm not finding it in my mail
> > folder. Rummage, rummage, rummage...  Ah, your original patch was dated
> > December 31 1969.)
>
> Yep, a bug in TortoiseGIT that was later fixed.
>
> > Ok, dug it up, applied it, booted an -M versatilepb kernel built with an
> > armv4tl compiler that I'm assured works for real armv4tl hardware, and I
> > get no boot messages if I say "-cpu arm7tdmi", but it boots fine if I
> > don't say that.
> >
> > Let's try my armv4l setup (which I've booted on real armv4tl hardware,
> > albeit with a different kernel .config but qemu hasn't got a board
> > emulation for the Tin Can Tools Hammer, last I checked...)  That's an
> > OABI which doesn't depend on the Thumb extensions...
> >
> > Nope, that's armv4 OABI, and I've tested the output of that compiler on
> > real hardware, albeit with a different kernel .config.
> >
> > Your patch does not work for me.  Is there a kernel .config change I need
> > to do for this?  Looking in the kernel kconfig stuff, the only way to
> > select arm7tdmi is to disable MMU support.  Is this a nommu processor?
> >  (I know there are armv4t processors _with_ mmu...)
>
> It is nommu processor, so I would be surprised to see any of the
> kernels running. Unfortunately I don't have a ready-to-use kernel
> .config file for it, since I never even tried it with Linux.

Did you add any armv4t processors with mmu?  I believe the actual hardware I 
tested was an ARM920T.  Vincent's patch claims to add arm920T, I tested yours 
because you claimed it was "more complete".

I guess I should go test vincent's.

> > What kernel .config, -M, and -cpu and  did you use to test an armv4t
> > system image with your patch?
>
> -M at91pes (which is included in other patches from around the same
> time, but was never merged)

"Included in other patches"...  How _many_ other patches?  And how far is 
"around"?

If you'd like to resubmit them as a batch, I can try coming up with a kernel 
.config.  (And a uClibc .config since I haven't actually tried a nommu system 
yet.)

Thanks,

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds

  reply	other threads:[~2009-11-29 21:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-27 11:17 [Qemu-devel] ARM v4t support Vincent Sanders
2009-11-27 11:35 ` Filip Navara
2009-11-29  7:00   ` Rob Landley
2009-11-29  9:57     ` Filip Navara
2009-11-29 21:12       ` Rob Landley [this message]
2009-11-30  9:10         ` Filip Navara
2009-11-27 13:46 ` Marc Andre Tanner
2009-12-01  8:15 ` Rob Landley

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=200911291512.47136.rob@landley.net \
    --to=rob@landley.net \
    --cc=filip.navara@gmail.com \
    --cc=paul@codesourcery.com \
    --cc=qemu-devel@nongnu.org \
    --cc=vince@kyllikki.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).