All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] MPC5200 + BestComm support in QEMU
@ 2011-08-23 14:52 steve.belanger
  2011-08-24  3:50 ` Alexander Graf
  0 siblings, 1 reply; 2+ messages in thread
From: steve.belanger @ 2011-08-23 14:52 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 2563 bytes --]

Hi, 

I'm Steve, an embedded software developper for Bombardier Transportation 
Canada. We use the MPC5200 for most of our onboard computers inside train 
control systems. To enhance our SW engineering process, we would like the 
emulate the MPC5200 processor using QEMU, an open source software CPU 
emulator. This software supports the MPC5200 CPU emulation. 

However, the network interface is handled with the BestComm DMA engine and 
it seems very difficult to simulate this co-processor with our current 
knowledge level. In that sense, I would like to know if someone was able 
to emulate correctly the MPC5200 with the BestComm DMA using QEMU 
software? 

Steve Bélanger, ing. / Eng.
TCMS - Développeur logiciel / Embedded Software Developper
Bombardier Transport- St-Bruno
450-441-2020 ext.6148

 
  
Please consider the environment before you print / Merci de penser à 
l'environnement avant d'imprimer 

_______________________________________________________________________________________________________________ 

This e-mail communication (and any attachment/s) may contain confidential 
or privileged information and is intended only for the individual(s) or 
entity named above and to others who have been specifically authorized to 
receive it. If you are not the intended recipient, please do not read, 
copy, use or disclose the contents of this communication to others. Please 
notify the sender that you have received this e-mail in error by reply 
e-mail, and delete the e-mail subsequently. Please note that in order to 
protect the security of our information systems an AntiSPAM solution is in 
use and will browse through incoming emails. 
Thank you. 
_________________________________________________________________________________________________________________ 


Ce message (ainsi que le(s) fichier(s)), transmis par courriel, peut 
contenir des renseignements confidentiels ou protégés et est destiné à 
l?usage exclusif du destinataire ci-dessus. Toute autre personne est, par 
les présentes, avisée qu?il est strictement interdit de le diffuser, le 
distribuer ou le reproduire. Si vous l?avez reçu par inadvertance, 
veuillez nous en aviser et détruire ce message. Veuillez prendre note 
qu'une solution antipollupostage (AntiSPAM) est utilisée afin d'assurer la 
sécurité de nos systèmes d'information et qu'elle furètera les courriels 
entrants.
Merci. 
_________________________________________________________________________________________________________________ 



[-- Attachment #2: Type: text/html, Size: 2973 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] MPC5200 + BestComm support in QEMU
  2011-08-23 14:52 [Qemu-devel] MPC5200 + BestComm support in QEMU steve.belanger
@ 2011-08-24  3:50 ` Alexander Graf
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Graf @ 2011-08-24  3:50 UTC (permalink / raw)
  To: steve.belanger; +Cc: qemu-devel


On 23.08.2011, at 09:52, steve.belanger@ca.transport.bombardier.com wrote:

> 
> Hi, 
> 
> I'm Steve, an embedded software developper for Bombardier Transportation Canada. We use the MPC5200 for most of our onboard computers inside train control systems. To enhance our SW engineering process, we would like the emulate the MPC5200 processor using QEMU, an open source software CPU emulator. This software supports the MPC5200 CPU emulation. 

Well, Qemu can emulate a 603e reasonably well. The MPC5200 is 603e + soc devices. And I'm fairly sure we don't implement those :)

> However, the network interface is handled with the BestComm DMA engine and it seems very difficult to simulate this co-processor with our current knowledge level. In that sense, I would like to know if someone was able to emulate correctly the MPC5200 with the BestComm DMA using QEMU software? 

The PPC device emulation is fairly limited when it comes to any peripheral devices that are not the actual core. And even the core emulation is lacking at times :).

So I'm fairly sure there is no emulation support for the BestComm DMA engine. Speaking of which - what exactly is this engine supposed to do? What devices talk to it? You also need to have the devices using the DMA engine be implemented, right? So you need the DMA engine plus the network interface?

What you could do is try to get decent specs of all of the devices that you need implemented and get someone to just write emulation code for them. Fortunately, you don't need to start off doing CPU emulation, as that's covered by the awesome open source nature of Qemu - someone else did it before you. But as far as this specific device goes, I think you really need to implement it yourselves.

That said, I'd gladly look at patches implementing those parts (provided I can also check-compare them with the specs) and if the device emulation is useful to anyone outside of your company, I'll also gladly pull them into the tree.


Alex

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-24  3:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-23 14:52 [Qemu-devel] MPC5200 + BestComm support in QEMU steve.belanger
2011-08-24  3:50 ` Alexander Graf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.