Tux
Communication
Mailing lists
Documentation
User Manual
Target board info.
Target chip info.
Support
Linux support
Bugzilla
Downloads
STLinux
Updates
Search
Google


The web
stlinux.com
Target Board Information
STMicroelectronics STx7111 MBoard (mb618)
ST Logo
  Contents  
mb519
Board name STx7111 MBoard
Board Id mb618
Chip STx7111
Target CPU ST40-300
Memory 128Mb
Flash NOR:32,NAND:64Mb
STEM connector Yes
On board Etherneton-chip

This board was designed as a silicon validation platform for the STx7111. As such it is socketed and has a large array of connectors and jumpers.

Hardware Setup

Switch settings

The boards normally ship with the jumpers set so that the serial ports are disabled. To enable them ensure that J1 and J2 are in the 1-2 position.

Serial ports

Panel name Schematic name Type Chip name Device Cable type for console
UART 0 CN2 ASC UART2 /dev/ttyAS0 Null modem
UART 1 CN1 ASC UART3 /dev/ttyAS1 Null modem

Memory Config

The mb618 is the first board which is only supported through target packs rather than gdb stdcmd files. st40load_gdb is still used to boot targets using a target pack, but the name (or IP address) of the target and the board connection procedure are now combined into a single TargetString. The TargetString has the form:

<stmc_name>:<target_pack>[:<core_name>][,parameter=value...]

where:

<stmc_name>
is the IP-address or name of the ST Micro Connect on the network or PC.
<target_pack>
is the name of the TargetPack describing the target connected.
<core_name>
is the name of a CPU core in the target, as specified by the TargetPack.

For example:

st40load_gdb -t 10.1.2.3:mb618:st40,seuc=1,silent=1 -b vmlinux

For further details of target packs see the documentation provided with the stmc package, which is normally installed in:

/opt/STM/STLinux-2.3/host/stmc/doc/targetpack.pdf
EMI config stlinux23-host-stmc-1.1.1-7 or later
Boot script name mb618:st40

GMAC

To use the embedded GMAC on board you need to have the following setup:

  • Jumper J45: 1-2
  • Switch 7 configuration
    1 2 3 4
    ON OFF OFF OFF (ON for EPLD 05)
  • SW 11, 12 and 13 should have all four switches ON

Note 1: GMAC only works in MII mode

Note 2: PHY on board is SMSC LAN8700

MDIO and U-boot's mii info command

Regarding the Serial Management Interface (SMI) (i.e. the MDIO and MDC signals), the normal convention is a pull-UP resistor is connected to the open-collector/drain MDIO signal. Thus, if for a given address, there is no PHY physically connected, then the MDIO will always be 1. That is, reading data of 0xffff, indicates a "missing device".

However, on the MB618, MII_MDIO pin is connected to MODE[0], and may be pulled either UP or DOWN, depending on SW11-2.

If SW11-2 is ON, then a pull-DOWN resistor used.

  • This is contrary to the SMI standard.
  • The missing PHYs will read as 0x0000, and U-boot's mii info command will report all missing PHYs, as if they were present, with their bits being all zero.

If SW11-2 is OFF, then a pull-UP resistor used.

  • This is the correct behaviour for SMI.
  • The missing PHYs read as 0xffff, the U-boot's mii info command will, treat them is missing, and not display them. Displaying only PHYs which are physically connected.

Note: changing MODE[0], will affect the reference clock selection for ClockGenA, during power-on. This may have an adverse affect on the system. Please ensure you know what you are doing if you change SW11-2.

EPLD

An EPLD with version 04 programming is required to use the GMAC. So far it appears as if rev B boards were shipped with version 03 EPLD programming, and so will need to be upgraded.

Occasionally with the version 04 EPLD the PHY will not be reset correctly. In this case it will be necessary to perform a manual reset. With the board powered on, set SW7-4 ON, press the reset button on the front pannel (SW6), and then set SW7-4 OFF again. It should only be necessary to do this once after powering on the board.

The version 05 EPLD controls the PHY reset in software, and so must only be used with kernel version 2.6.23.16_stm23_0108 or later. To enable software control of the PHY, SW7-4 must be ON.

Patches

Patches are available here for early adoptors. These are against the 2.6.23.13 kernel.

  • linux-sh4-2.6.23.13_stm23_0106-stx7111-mb618-rc1.patch.gz patch against 2.6.23.13_stm23_0106. This includes:
    • basic chip and board support
    • ClockgenA configuration
    • ASC
    • I2C (bit banging and SSC)
    • USB
    • Flash (NOR and NAND - although timings need checking)
    • FDMA
    • PWM (fan control only)
    Still to do:
    • PCI
    • ST coprocessor
    • LiRC
    • PATA (via STEM)
    • SMSC 9118 (via STEM)
    Note that the Ethernet STEM card is still not supported, Either USB Ethernet or GMAC embedded chip need to be used.
  Contents  
Valid HTML 4.01! Last updated: 2008/05/13 15:42:05
© Copyright STMicroelectronics Limited, 2005
Printer