Freescale Linux(tm) Target Image Builder (LTIB)

Board Support Package (BSP) for the Freescale MPC8536DS board.

This "README.BSP" file is included on The Freescale Embedded Linux System

Tools Suite Board Support Package (BSP) CD for the Freescale MPC8536DS

board released on 05/19/2009. The BSP version is 20090519, and

it is the Beta release.

------

BSP New Features Compared to the Prior Release (20080905 version):

1. Hardware

- Add support to MPC8536 CPU Ver1.1 (PVR=0x80210030, SVR=0x803f0091),

with MPC8536DS REV B2 board.

Default frequency: Core/CCB/DDR=1500/500/667 MHz

2. Linux kernel

- Upgraded to 2.6.28

- MTD driver supports NAND flash

- Supports PCI Express running at end point (EP) mode

- Support for Tj and core power monitoring

- Support for IEEE 1588 V1

- Support for USB 2.0, both host mode and device mode. USB memory disk,

mouse and keyboards are supported in host mode.

- eSDHC driver. Supports read/write with SD/MMC card.

- Fully supports Jog mode on Rev1.1 silicon

- SEC3.0 driver. Supports mainline IPsec stack and mainline Talitos driver.

SEC low level driver (SEC23DRVRS) included.

- eSPI driver

- Watchdog driver

- Support for JFFS2 file system

3. Bootloader

- Upgraded to 2009.03-rc1

- Supports booting from eSPI EEPROM device

- Supports loading kernel and root file system from eSDHC

4. Toolchain

- Upgraded to Gcc-4.3.2, eglibc2.8, binutils 2.18, CodeSourcery release 74,

supporting the DPFP/NPTL of e500v2 core, cross version

- Upgraded to Gcc-4.3.2, eglibc2.8, binutils 2.18, CodeSourcery release 74,

supporting the DPFP/NPTL of e500v2 core, local version

------

BSP Details:

* Tool Chain Version:

- Gcc-4.3.2, eglibc2.8, binutils 2.18, CodeSourcery release 74,

supporting the DPFP/NPTL of e500v2 core, cross version

- Gcc-4.3.2, eglibc2.8, binutils 2.18, CodeSourcery release 74,

supporting the DPFP/NPTL of e500v2 core, local version

* U-Boot Version: 2009.03-rc1

* Kernel Version: 2.6.28

Hardware platform support:

- CPU:

MPC8536 CPU Ver1.0 (PVR = 0x80210030, SVR = 0x803f0090)

MPC8536 CPU Ver1.1 (PVR = 0x80210030, SVR = 0x803f0091)

- Board:

MPC8536 REV A4

MPC8536DS REV B2

------

BSP Features:

Linux 2.6.28 kernel

- Targeting Freescale MPC8536DS A4, B2 board

- LTIB integration

- Linux 2.6.28 Kernel supporting the e500 v2 core

- eTSEC with 10M/100M/1000M Ethernet function on RGMII mode

- E500 hardware floating point exception handler patches to support the scalar

SPFP, vector SPFP and DPFP

- DUART driver support 115200 Baud without flow control

- 32-bit PCI host driver for 66MHz to support RTL8139, Intel Pro1000 Ethernet

adaptors

- PCI Express 1-3 Root Complex driver with both MSI and virtual INTx mode,

supporting the combination of x8/x4/x2/x1 PCI Express, x4/x2/x1 PCI Express &

x4/x2/x1 PCI Express, x4/x2/x1 PCI Express & x2/x1 PCI Express & x2/x1

PCI Express

- Supports PCI Express running at end point (EP) mode

- Support for ATI RADEON X800 and X700 PCI Express video card

- Integrated SATA controller driver

- Dynamic Power Management Controller driver. Support Traditional Modes: Run, Doze,

Nap, Sleep. Support JOG mode. Suport Packet-lossless Deepsleep.

- Socket Buffer Recycling (SKB) patch for eTSEC included

- MTD driver supports both NAND and NOR flash

- Support for Tj and power monitoring

- Support for IEEE 1588

- Support for USB 2.0, both host mode and device mode. USB memory disk, mouse and

keyboards are supported in host mode.

- eSDHC driver. Supports read/write with SD/MMC card.

- I2C driver

- SEC3.0 driver. Supports mainline IPsec stack and mainline Talitos driver.

SEC low level driver (SEC23DRVRS) included.

- Watchdog driver

- eSPI driver

- RTC driver

- PIC driver

- I2C 2 driver

- Support for JFFS2 file system

- LTIB RFS on SATA HDD automatically mounted, including native GNU toolchains and

application packages.

- TCP/IP stack

- Both NFS and Ramdisk filesystems are supported

- Integrated AppTRK for Common PPC

- Integrated Nano-X and Nxlib. Support windowing system

- Integrated TestFloat cases

Bootloader version and information

- U-Boot 2009.03-rc1

- E500 v2 core initialization

- DDR2 SDRAM initialization

- Booting from NOR Flash (Defaults)

- Flash Read/Write operation

- Booting from eSDHC via SD memory card

- Booting from eSPI EEPROM device

- Single serial port at 115200 Baud without flow control

- eTSEC operation supporting TFTP

- Support for Frame buffer

- PCI host driver initialization

- PCI-Express initialization

- Reset mechanism

- I2C driver to read SPD information from the DDR2 DIMM

- Support for SATA Hard disk controller.

- Support for loading kernel and file system from both SATA hard disk and eSDHC.

(SATA hard disk by default)

- DDR2 1T timing supported

- ECC turned off by default

Toolchain version

- Upgraded to Gcc-4.3.2, eglibc2.8, binutils 2.18, CodeSourcery release 74,

supporting the DPFP/NPTL of e500v2 core, cross version

- Upgraded to Gcc-4.3.2, eglibc2.8, binutils 2.18, CodeSourcery release 74,

supporting the DPFP/NPTL of e500v2 core, local version

MPC8536DS Configuration File List

File NameDescription

defconfigLTIB default configuration

linux_2.6.28_mpc8536ds_def.configKernel default configuration

For the copyright information of the work, please refer to the End User License

Agreement (EULA) file in the release.

------

Known Issues and Limitations:

1. Seagate 7200RPM, 80G SATA hard disk can only work at 1.5Gbps and can not work

stable at 3Gbps due to hardware board issue.

Workaround: Set the hard disk to 1.5Gbps operation or use Hitachi 7200RPM, 160G

STAT hard disk

Revision Plan: The board will be shipped with Hitachi 7200RPM, 160G STAT hard disk.

2. U-Boot displays "Invalid ID (ff ff ff ff)" at start up if the board doesn't

have a correct ID in EEPROM.

Workaround: Set the following command to U-Boot:

=> mac id NXID

=> mac save

Revision Plan: It depends on hardware board manufacturing process.

3. When running iperf command line as:

iperf -c 192.168.1.10 -V -i5 -P10 -m -M 64 -t 20 -w 8k

Iperf hangs on eTSEC and the board needs to be rebooted. Running the same command

to test PCI or PCIe Ethernet works fine. Also, when running just the default

command "iperf -c 192.168.1.10" without any arguments for eTSEC this also works

fine. The arguments -M and -P could lead to hang with default applying the below

two patches in the BSP:

Patch26: 0017-SKB-recycling-version-1-1-4.patch

Patch27: 0004--gianfar-Fastroute-patch.patch

These two patches can improve the IP-Forwarding performance significantly.

Workaround: when test iperf, comment the following two lines in the spec file:

litb/dist/lfs-5.1/kernel/kernel-2.6.28-mpc8536ds.spec.in

%patch26 -p1

%patch27 -p1

But when testing the IP-Forward, please use the default spec file by not comment

these two lines.

Revision plan: Will be fixed in the final release.

4. The performance test for the USB2.0 Host operation for a USB2.0 U-disk connected

to the port using the open source performance tools iozone and bonnie++, the write

performance is lower than the USB2.0 Hi-Speed specification and also depends on

the brand of the U-disk. For example, it can arrive at 9.3MBps on Nova 4GB U-Disk

and at 6.4MBps on SanDisk 2GB U-Disk.

Workaround: Use different types of USB disk or device

Revision plan: Will be fixed in the final release for the performance issue.

5. When SD boot at 1500/500/667, some board can not correctly boot up.

Workaround: please change the DDR frequency to 600MHz.

6. For other known issues and limitations, please refer to specific User's Manual

found in help/documents/html/ of this DVD image.

------

Helpful Tips:

1. Before using ghost to restore SD card, please change the option as following:

1/ Start ghost.

2/ Select "Options" item in the main menu.

3/ Select "Image/Tape" tab.

4/ On the top half of the page, select "Image Disk" option, then click the "Accept"

button to close the window.