[PATCH] ppc32: ppc_sys fixes for 8xx and 82xx

STALE7590d

5 messages, 4 authors, 2005-10-20 · open the first message on its own page

[PATCH] ppc32: ppc_sys fixes for 8xx and 82xx

From: Vitaly Bordug <hidden>
Date: 2005-10-11 13:54:46

This patch fixes a numbers of issues regarding to that both 8xx and 82xx 
began to use ppc_sys model:
	- Platform is now identified by default deviceless SOC, if no 
BOARD_CHIP_NAME is specified in the bard-specific header. For the list 
of supported names refer to (arch/ppc/syslib/) mpc8xx_sys.c and 
mpc82xx_sys.c for 8xx and 82xx respectively.
	- Fixed a bug in identification by name - if the name was not found, it 
returned -1 instead of default deviceless ppc_spec.
	- fixed devices amount in the 8xx platform system descriptions


Signed-off-by: Vitaly Bordug <redacted>

-- 
Sincerely,
Vitaly

Re: [PATCH] ppc32: ppc_sys fixes for 8xx and 82xx

From: Marcelo Tosatti <hidden>
Date: 2005-10-18 18:57:42

Hi Vitaly,
This patch fixes a numbers of issues regarding to that both 8xx and 82xx 
began to use ppc_sys model:
	- Platform is now identified by default deviceless SOC, if no 
BOARD_CHIP_NAME is specified in the bard-specific header. For the list 
of supported names refer to (arch/ppc/syslib/) mpc8xx_sys.c and 
mpc82xx_sys.c for 8xx and 82xx respectively.
	- Fixed a bug in identification by name - if the name was not found, 
	it returned -1 instead of default deviceless ppc_spec.
	- fixed devices amount in the 8xx platform system descriptions
Patch looks good. 

For 8xx, I was wondering if the PARTNUM field of the IMMR 
(section 10.4.1 of MPC860UM.pdf) does have meaningful 
information which could be used to identify the CPU.

Re: [PATCH] ppc32: ppc_sys fixes for 8xx and 82xx

From: Dan Malek <hidden>
Date: 2005-10-18 19:41:25

On Oct 18, 2005, at 10:24 AM, Marcelo Tosatti wrote:
For 8xx, I was wondering if the PARTNUM field of the IMMR
(section 10.4.1 of MPC860UM.pdf) does have meaningful
information which could be used to identify the CPU.
It has meaningful information, but not the way you want
to use it :-)  The PARTNUM/MASKNUM is only useful
once you know the type of processor (like 823, 850, 885, etc)
The PARTNUM is only useful within the "family."  For
example, the 860 and 880 are two different families, and
will contain the similar PARTNUM values through their life.
I believe it's tied to the fabrication process.

You may as well stop looking for an easy (or possibly
any) way to differentiate these parts in software, but
due to they way they are fabricated, I don't think that's
ever going to happen. :-)


	-- Dan

Re: [PATCH] ppc32: ppc_sys fixes for 8xx and 82xx

From: Christopher Cordahi <hidden>
Date: 2005-10-20 00:36:02

On 18/10/05, Dan Malek [off-list ref] wrote:
On Oct 18, 2005, at 10:24 AM, Marcelo Tosatti wrote:
quoted
For 8xx, I was wondering if the PARTNUM field of the IMMR
(section 10.4.1 of MPC860UM.pdf) does have meaningful
information which could be used to identify the CPU.
It has meaningful information, but not the way you want
to use it :-)  The PARTNUM/MASKNUM is only useful
once you know the type of processor (like 823, 850, 885, etc)
The PARTNUM is only useful within the "family."  For
example, the 860 and 880 are two different families, and
will contain the similar PARTNUM values through their life.
I believe it's tied to the fabrication process.
I don't understand in what way Marcelo wants to use it, but
from my understanding and a quick look of the Freescale product
summary pages it's the opposite of what you're indicating.
I believe the PARTNUM identifies the family not the part.
You can't tell an 885 from an 870 (IMMR contains 0x09xx).
Similarly you can't tell an 860EN from an 860T (IMMR
contains 0x00xx or 0x05xx).
But you can tell an 860 from an 880 which are in different
families.  Note that it's not always obvious which parts
are in the same family.
You may as well stop looking for an easy (or possibly
any) way to differentiate these parts in software, but
due to they way they are fabricated, I don't think that's
ever going to happen. :-)
Also just because a feature isn't supposed to be present
doesn't mean it's not.
We bought 860EN (4 SCCs) parts but Motorola accidentily
shipped us 860DE (2 SCCs) parts.  We installed, tested and
shipped a few of these parts using all 4 SCCs without
problem.  It wasn't until another unrelated problem occurred
that we noticed that we had used a tray of the wrong part.

Chris

Re: [PATCH] ppc32: ppc_sys fixes for 8xx and 82xx

From: Dan Malek <hidden>
Date: 2005-10-20 04:09:29

On Oct 19, 2005, at 8:29 PM, Christopher Cordahi wrote:
I don't understand in what way Marcelo wants to use it, but
from my understanding and a quick look of the Freescale product
summary pages it's the opposite of what you're indicating.
OK.  I can't find an up to date one any more.  From the processor
manuals there are overlapping numbers (unless that was just
an oversight during editing).
Also just because a feature isn't supposed to be present
doesn't mean it's not.
Yeah, some people have tried probing peripherals to discover
the type of processor, but that was quickly proven to not work.

Thanks.

	-- Dan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help