support for Freescale MPC8xx (850/860) processors/platforms
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.
Quoted 1 line
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.
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.
Quoted 25 lines · Brendan Simon (eTRIX)
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.
Quoted 1 line
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.
Quoted 5 lines · Brendan Simon (eTRIX)
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
Quoted 24 lines
Thanks for any help.
Brendan.Quoted 17 lines · Brendan Simon (eTRIX)
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.
Quoted 1 line
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.
Quoted 10 lines · Alexander Graf
Quoted 8 lines
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.
Quoted 4 lines
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.
Quoted 6 lines · Benjamin Herrenschmidt
Quoted 5 lines · Alexander Graf
Quoted 5 lines
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.
Quoted 8 lines
Quoted 4 lines
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.