Jump to content

MIDAM MPC5200 DB1: Difference between revisions

From HW wiki
Samekm1 (talk | contribs)
No edit summary
Samekm1 (talk | contribs)
No edit summary
Line 28: Line 28:


==Boot loader==
==Boot loader==
These boards are preinstalled with [http://www.denx.de/wiki/DULG/Manual Das u-Boot] bootloader.
These boards are preinstalled with [http://www.denx.de/wiki/DULG/Manual Das u-Boot] boot loader.
Behaviour of the uBoot can be handled by its environment variables. Here are some useful commands:


==Cross-toolchain==
* '''printenv [variable]''' prints complete environment or only given variable.
Necessary cross-toolchain for PowerPC platform can be build using Crossdev tool. You can install Crossdev on your Gentoo distro very simply:
 
==Cross-tool chain==
Necessary cross-tool chain for PowerPC platform can be build using Crossdev tool. You can install Crossdev on your Gentoo distro very simply:


  emerge -av crossdev
  emerge -av crossdev


Some dependencies may go before. Building of toolchain itself will take some time, so let's go to take some coffee.
Some dependencies may go before. Building of tool chain itself will take some time, so let's go to take some coffee.


  crossdev --b 2.18-r3 --k 2.6.23-r3 --g 4.1.2 --without-headers -t powerpc-unknown-linux-gnu
  crossdev --b 2.18-r3 --k 2.6.23-r3 --g 4.1.2 --without-headers -t powerpc-unknown-linux-gnu

Revision as of 09:58, 29 August 2008

Description

Two sets of the MIDAM MPC5200 was delivered by the Mikroklima s.r.o. for our purposes. Each set consist of the:

  • Shark MPC52000 CPU module (pin compatible with TQ Components TQM5200 module),
  • MPC5200 v1.1 2008/02 carrier board.

Set #1 has s/n: 008770 and it's Ethernet MAC address was set to 00:04:9f:00:28:01.

Set #2 has s/n: 008771 and it's Ethernet MAC address was set to 00:04:9f:00:28:02.


Board overview

Serial line (system console)

  • Loader system console is attached to the ttyPSC0 port.
  • The ttyPSC0 port is done in the LVTTL 3.3V logic, so appropriate 3.3V to RS-232 converter (e.g. MAX3232) is required for the serial console.

Communication parameters:

  • baud rate: 115200 bps
  • bits: 8 bit
  • stop bits: 1 bit
  • Parity: none
  • Flow control: none

Boot loader

These boards are preinstalled with Das u-Boot boot loader. Behaviour of the uBoot can be handled by its environment variables. Here are some useful commands:

* printenv [variable] prints complete environment or only given variable.

Cross-tool chain

Necessary cross-tool chain for PowerPC platform can be build using Crossdev tool. You can install Crossdev on your Gentoo distro very simply:

emerge -av crossdev

Some dependencies may go before. Building of tool chain itself will take some time, so let's go to take some coffee.

crossdev --b 2.18-r3 --k 2.6.23-r3 --g 4.1.2 --without-headers -t powerpc-unknown-linux-gnu