[U-Boot-Users] [PATCH v2] MIPS:Target support for qemu -M mips

Vlad Lungu vlad at comsys.ro
Tue Jan 29 11:52:00 CET 2008


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





More information about the U-Boot mailing list