Can software discover MPC8xx variant?

Marius Groeger mag at sysgo.de
Thu Jan 30 01:13:35 EST 2003


On Wed, 29 Jan 2003, Alex Zeffertt wrote:

> Can anybody tell me if there is a way to identify which processor from
> the MPC8xx family software is running on.  I hoped I could use the IMMR
> special purpose register.  However, this only tells you the silicon
> revision, which can have the same value even if the processors are
> different!
>
> Does the processor type (e.g. 862, 857T, 857DSL) reside anywhere in the
> processor?

U-Boot/PPCboots cpu/mpc8xx/cpu.c contains a lot of generic type
detection code, but even there the assumes that the basic type is
known at compile time.

Regards,
Marius

-----------------------------------------------------------------------------
Marius Groeger           SYSGO Real-Time Solutions AG       mgroeger at sysgo.de
Software Engineering     Embedded and Real-Time Software    www.sysgo.de
Voice: +49-6136-9948-0   Am Pfaffenstein 14                 www.osek.de
FAX:   +49-6136-9948-10  55270 Klein-Winternheim, Germany   www.elinos.com

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list