* [Qemu-devel] support for Freescale MPC8xx (850/860) processors/platforms
@ 2011-08-05 11:31 Brendan Simon (eTRIX)
2011-08-08 1:36 ` Brendan Simon (eTRIX)
0 siblings, 1 reply; 5+ messages in thread
From: Brendan Simon (eTRIX) @ 2011-08-05 11:31 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 800 bytes --]
Hello,
Does QEMU support the Freescale MPC8xx (MPC850) processors or platforms
(e.g FADS860) ??
Googling shows some code that suggests that it is not supported.
> cpu_abort(env, "/MPC8xx/ MMU model is not implemented\n");
If not supported, does anyone have any idea how much work there would be
to add support for MPC850/860 and to create a platform that has supports
DRAM, Flash, the CPM peripherals (SMC/USARTS, SCC/UARTS, SCC/Ethernet,
BRG timers, etc) ??
The platform I would like to build has 1 x Ethernet (using SCC2), 1 x
UART (on SMC1), 1 x UART (on SCC3), 1 x UART (external UART chip), and
an Altera CPLD with digital I/O.
Are there any other similar platforms I could look at, to either port or
use as a reference, to build an MPC850 platform as described ??
Thanks,
Brendan.
[-- Attachment #2: Type: text/html, Size: 1190 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] support for Freescale MPC8xx (850/860) processors/platforms
2011-08-05 11:31 [Qemu-devel] support for Freescale MPC8xx (850/860) processors/platforms Brendan Simon (eTRIX)
@ 2011-08-08 1:36 ` Brendan Simon (eTRIX)
2011-08-08 13:57 ` Alexander Graf
0 siblings, 1 reply; 5+ messages in thread
From: Brendan Simon (eTRIX) @ 2011-08-08 1:36 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]
Hi,
Anyone working on Freescale MPC8xx (embedded PowerPC) processors ??
I'm trying to ascertain if the MPC8xx (MPC850) processors are supported,
and if not, how much effort would be required to get it working.
Thanks for any help.
Brendan.
On 5/08/11 9:31 PM, Brendan Simon (eTRIX) wrote:
> Hello,
>
> Does QEMU support the Freescale MPC8xx (MPC850) processors or
> platforms (e.g FADS860) ??
>
> Googling shows some code that suggests that it is not supported.
>
> > cpu_abort(env, "/MPC8xx/ MMU model is not implemented\n");
>
>
> If not supported, does anyone have any idea how much work there would
> be to add support for MPC850/860 and to create a platform that has
> supports DRAM, Flash, the CPM peripherals (SMC/USARTS, SCC/UARTS,
> SCC/Ethernet, BRG timers, etc) ??
>
> The platform I would like to build has 1 x Ethernet (using SCC2), 1 x
> UART (on SMC1), 1 x UART (on SCC3), 1 x UART (external UART chip), and
> an Altera CPLD with digital I/O.
>
> Are there any other similar platforms I could look at, to either port
> or use as a reference, to build an MPC850 platform as described ??
>
> Thanks,
> Brendan.
>
[-- Attachment #2: Type: text/html, Size: 1776 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] support for Freescale MPC8xx (850/860) processors/platforms
2011-08-08 1:36 ` Brendan Simon (eTRIX)
@ 2011-08-08 13:57 ` Alexander Graf
2011-08-08 14:12 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 5+ messages in thread
From: Alexander Graf @ 2011-08-08 13:57 UTC (permalink / raw)
To: brendan.simon; +Cc: qemu-devel Developers
[-- Attachment #1: Type: text/plain, Size: 1447 bytes --]
On 08.08.2011, at 03:36, Brendan Simon (eTRIX) wrote:
> Hi,
>
> Anyone working on Freescale MPC8xx (embedded PowerPC) processors ??
>
> I'm trying to ascertain if the MPC8xx (MPC850) processors are supported, and if not, how much effort would be required to get it working.
I'm not aware of anyone working on MPC8xx CPU support. In fact, I don't really know what they look like - I guess they're 601 derived?
Ben, any idea how much different 8xx is?
Alex
>
> Thanks for any help.
> Brendan.
>
>
> On 5/08/11 9:31 PM, Brendan Simon (eTRIX) wrote:
>>
>> Hello,
>>
>> Does QEMU support the Freescale MPC8xx (MPC850) processors or platforms (e.g FADS860) ??
>>
>> Googling shows some code that suggests that it is not supported.
>> > cpu_abort(env, "MPC8xx MMU model is not implemented\n");
>>
>> If not supported, does anyone have any idea how much work there would be to add support for MPC850/860 and to create a platform that has supports DRAM, Flash, the CPM peripherals (SMC/USARTS, SCC/UARTS, SCC/Ethernet, BRG timers, etc) ??
>>
>> The platform I would like to build has 1 x Ethernet (using SCC2), 1 x UART (on SMC1), 1 x UART (on SCC3), 1 x UART (external UART chip), and an Altera CPLD with digital I/O.
>>
>> Are there any other similar platforms I could look at, to either port or use as a reference, to build an MPC850 platform as described ??
>>
>> Thanks,
>> Brendan.
>>
>
[-- Attachment #2: Type: text/html, Size: 2226 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] support for Freescale MPC8xx (850/860) processors/platforms
2011-08-08 13:57 ` Alexander Graf
@ 2011-08-08 14:12 ` Benjamin Herrenschmidt
2011-08-09 1:17 ` Brendan Simon (eTRIX)
0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Herrenschmidt @ 2011-08-08 14:12 UTC (permalink / raw)
To: Alexander Graf; +Cc: brendan.simon, qemu-devel Developers
On Mon, 2011-08-08 at 15:57 +0200, Alexander Graf wrote:
> > Hi,
> >
> > Anyone working on Freescale MPC8xx (embedded PowerPC) processors ??
> >
> > I'm trying to ascertain if the MPC8xx (MPC850) processors are
> > supported, and if not, how much effort would be required to get it
> > working.
> >
>
>
> I'm not aware of anyone working on MPC8xx CPU support. In fact, I
> don't really know what they look like - I guess they're 601 derived?
>
> Ben, any idea how much different 8xx is?
Gothic horrors :-)
They have an MMU of their own. SW loaded TLB but different from anything
else. They have a lot of other "quirks" too.
Cheers,
Ben.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] support for Freescale MPC8xx (850/860) processors/platforms
2011-08-08 14:12 ` Benjamin Herrenschmidt
@ 2011-08-09 1:17 ` Brendan Simon (eTRIX)
0 siblings, 0 replies; 5+ messages in thread
From: Brendan Simon (eTRIX) @ 2011-08-09 1:17 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: qemu-devel Developers
On 9/08/11 12:12 AM, Benjamin Herrenschmidt wrote:
> On Mon, 2011-08-08 at 15:57 +0200, Alexander Graf wrote:
>>> Anyone working on Freescale MPC8xx (embedded PowerPC) processors ??
>>>
>>> I'm trying to ascertain if the MPC8xx (MPC850) processors are
>>> supported, and if not, how much effort would be required to get it
>>> working.
>> I'm not aware of anyone working on MPC8xx CPU support. In fact, I
>> don't really know what they look like - I guess they're 601 derived?
>>
>> Ben, any idea how much different 8xx is?
> Gothic horrors :-)
>
> They have an MMU of their own. SW loaded TLB but different from anything
> else. They have a lot of other "quirks" too.
I know, I know, the processor is over 10 years old and I'd thought I'd
left it behind over 5 years ago, but I'm now working with it again ....
sigh.
What I am trying to do is run (emulate) an existing binary image on QEMU
so that I can do some accelerated system testing. The images are S19
files programmed into flash that have an embedded RTOS (ThreadX) and a
networking stack (Interniche).
Anyhow, it sounds like I would have to add support for this processor,
so I'm trying to gauge how much work would be involved.
Is it a lot of work, or is it a matter of filling out some existing
stubbed out functions ??
Do I need to emulate all the hardware right down to the register level.
The MPC850 has a lot of registers for configuring itself, the CPM
(Communications Processor Module -- a separate RISC co-processor for
comms), etc.
There seems to be better support (complete ??) for the MPC82xx (8250,
8260, etc) processors which have a G2 core an enhanced CPM.
Are there MPC82xx platforms supported in QEMU that I could use as a
basis to add support for MPC8xx platforms ??
Is there support for the SCCs and SMCs (part of CPM) for MPC82xx that I
can reuse for the MPC8xx ??
Where should I start (assuming the task is not horrific) ??
Thanks for any insight or suggestions.
Brendan.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-08-09 1:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-05 11:31 [Qemu-devel] support for Freescale MPC8xx (850/860) processors/platforms Brendan Simon (eTRIX)
2011-08-08 1:36 ` Brendan Simon (eTRIX)
2011-08-08 13:57 ` Alexander Graf
2011-08-08 14:12 ` Benjamin Herrenschmidt
2011-08-09 1:17 ` Brendan Simon (eTRIX)
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).