|
|
 |
Target Board Information
STMicroelectronics STx7200 MBoard (mb519)
|
|
| Board name | STx7200 Processor Board |
| Board Id | mb519 |
| Chip | STx7200 |
| Target CPU | ST40-210 |
| Memory | 2x64Mb |
| Flash | 32Mb |
| STEM connector | Yes |
| On board Ethernet | on-chip |
The mb519 is the processor board for the STx7200 MBoard. It can be
used stand-alone, or plugged into an application specific motherboard.
Hardware Setup
Switch settings
To use the on-board STE101P Ethernet PHY, jumper TP45 must be fitted
in the 2-3 position.
Serial ports
| Panel name |
Schematic name |
Type |
Chip name |
Device |
Cable type for console |
| - | J16-1 (lower) | ASC | UART2 | /dev/ttyAS0 | Null modem |
| - | J16-2 (upper) | ASC | UART3 | /dev/ttyAS1 | Straight |
EMI Config
| EMI config | Standard |
| Boot script name | mb519bypass |
Known problems
Ethernet PHY
When probing for an Ethernet PHY, the STx7200 tends to lock up if
the PHY is not correctly detected. There can be several reasons
for this:
-
There are two Ethernet interfaces on the STx7200, the first uses
a PHY on the mb519: U26 which is an STE101P. Sometimes the mb519
ships without this chip on the board, and so it will need to be
fitted (it is located just behind the RJ45).
The second PHY is connected using J2, and so requires daughter board.
An example of this is the mb536 which uses a SMSC LAN8700.
To disable one or both of these interfaces in case the PHY is not
present, it needs to be removed from the kernel devices list.
In arch/sh/boards/st/mb519/setup.c:
static struct platform_device *stx7200mboard_devices[] __initdata = {
&stmmaceth_device[0],
&stmmaceth_device[1],
|
|
|
Remove which ever device is causing problems.
-
In addition, to use the on board Ethernet, a few jumpers need to be set:
-
TP45 must be in the 2-3 position
-
TP50 and TP51 should be open
-
Switches SW4 need to be all off except position 5 should be on.
-
For correct operation of the PHY interrupt, switch SW1 position
4 needs to be on.
-
The board must be using EPLD revision v1r2 or later.
Linux prints the EPLD revision as it boots, however versions
2.6.17.14_stm22_0039 and 2.6.17.14_stm23ear_0100 format this
incorrectly, using decimal rather than hex, so on these boards
use need version 18 or later.
For example:
mb519 PCB rev 12 EPLD rev 17
|
|
|
is not sufficient, but:
mb519 PCB rev 11 EPLD rev 19
|
|
|
is OK.
USB 1.1
A bug has been found in the
2.6.17.14_stm22_0039 and 2.6.17.14_stm23ear_0100 kernel which prevents
USB 1.1 devices from being recognised correctly.
A simple fix for this is to add:
ctrl_outl(0, 0xFD701048);
|
|
|
to platform_setup() in arch/sh/boards/st/mb519/setup.c.
Patches
Support for the STx7200 and mb519 is provided in the 2.3EAR distribution.
Patches are also available here against the kernels provided
in the 2.2 distribution, but this is only an interim solution,
and will not be maintained in the long term.
|