public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Vlad Lungu <vlad@comsys.ro>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH v2] MIPS:Target support for qemu -M mips
Date: Tue, 29 Jan 2008 12:52:00 +0200	[thread overview]
Message-ID: <479F0550.9070605@comsys.ro> (raw)
In-Reply-To: <479E8A04.5010907@necel.com>

Shinya Kuribayashi wrote:
> Ladislav Michl wrote:
>   
>> Just FYI, Qemu platform has been removed from Linux kernel. Reasons are
>> summarized in following commit:
>> http://www.linux-mips.org/g/linux/3fbfb704
>>     
>
> Yeah, summarized also on this thread:
>
> http://www.linux-mips.org/archives/linux-mips/2008-01/msg00121.html
>
>   
That's a bunch of crap, if you'll excuse my french. The Qemu-Malta 
implements (not very exactly) support
for the Malta/CoreLV variant, which uses in real-life a (buggy) Galileo 
GT64120 PCI northbridge, which you can't
get documentation for, unless you probably sign an NDA or something, and 
it's apparently EOL-ed, and Galileo was
bought by Marvell anyway. So if you want to use network or mass storage, 
you're SOL if the PCI doesn't work, and it usually
doesn't unless you use Linux 2.6.x for very specific values of x. I used 
a (recent) VxWorks bootrom image with latest Qemu and
the network simply won't work because of endianness issues with the PCI. 
And yes, I have the sources. I ported U-Boot to it and
I had to hack the PCI driver like crazy,  I'm too embarassed to show it 
on the mailing list and too disgusted to rework it.

The Qemu platform (as in qemu -M mips) is underfeatured, but it just 
works. And that's a big plus for me.
> I know this in real-time, and that is a part of the reason why I wan't
> going to push in rush. I wanted to see how things go for a while.
>
>   
>> Would it make sense to do the same?
>>     
>
> Hmm, U-Boot doesn't have Malta supported, so I don't think the same.
> FWIW if we're going to drop the current qemu-mips target, it would be
> interesting to have QEMU Malta target supported instead.
>
>   
See above for Malta support. I don't have a Malta board available and I 
won't submit board support that doesn't work
on the real board, but if anyone has a Malta/CoreLV and is willing to 
add the missing bits and pieces like SDRAM init and
flash and stuff, I'll send him (or her) what I have. Privately.

Vlad

      reply	other threads:[~2008-01-29 10:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-16 17:27 [U-Boot-Users] [PATCH v2] MIPS:Target support for qemu -M mips Vlad Lungu
2008-01-16 23:37 ` Shinya Kuribayashi
2008-01-28 19:55 ` Ladislav Michl
2008-01-29  2:05   ` Shinya Kuribayashi
2008-01-29 10:52     ` Vlad Lungu [this message]

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=479F0550.9070605@comsys.ro \
    --to=vlad@comsys.ro \
    --cc=u-boot@lists.denx.de \
    /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