Booting from Serial RapidIO / PCI Express on PowerQUICC III and QorIQ P1xx/P2xx

Similar documents
MPC5200(b) ATA MDMA, UDMA Functionality BestComm Setup Recommendations

SGTL5000 I 2 S DSP Mode

Utilizing Extra FC Credits for PCI Express Inbound Posted Memory Write Transactions in PowerQUICC III Devices

MPC7410 RISC Microprocessor Hardware Specifications Addendum for the MPC7410TxxnnnLE Series

Using the PowerQUICC II Auto-Load Feature

Using an I 2 C EEPROM During MSC8157 Initialization

MC56F825x/MC56F824x (2M53V) Chip Errata

Design Recommendations to Implement Compatibility Between the MC13783VK and the MC13783VK5

MTIM Driver for the MC9S08GW64

Differences Between the DSP56301, DSP56311, and DSP56321

Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME)

MCF54451, MCF54452, MCF54453, MCF54454,

MPC8349E-mITX-GP Board Errata

Errata to MPC8569E PowerQUICC III Integrated Processor Reference Manual, Rev. 2

MSC8144AMC-S Getting Started Guide

Migrating from the MPC852T to the MPC875

USB Bootloader GUI User s Guide

PowerQUICC HDLC Support and Example Code

Upgrade the Solution With No Changes 2 Upgrade the Solution With No Changes If a Codebase does not contain updates to its properties, it is possible t

VortiQa Enterprise Quick Start Guide

MPR121 Jitter and False Touch Detection

IIC Driver for the MC9S08GW64

MPR121 Proximity Detection

MSC8144 Device Reset Configuration For the MSC8144ADS Board

MC33696MODxxx Kit. 1 Overview. Freescale Semiconductor Quick Start Guide. Document Number: MC33696MODUG Rev. 0, 05/2007

Changing the i.mx51 NAND Flash Model for Windows Embedded CE TM 6.0

Using the ColdFire+ Family Enhanced EEPROM Functionality Melissa Hunter Derrick Klotz

PDB Driver for the MC9S08GW64

Introduction to the S12G Family EEPROM Including a Comparison between the S08DZ, S12XE, and S12P Families

MCF5445x Configuration and Boot Options Michael Norman Microcontroller Division

Converting Earlier Versions of CodeWarrior for StarCore DSPs Projects to Version

1 Introduction. 2 Problem statement. Freescale Semiconductor Engineering Bulletin. Document Number: EB727 Rev. 0, 01/2010

Using the CAU and mmcau in ColdFire, ColdFire+ and Kinetis

PCB Layout Guidelines for the MC1321x

Using the Kinetis Family Enhanced EEPROM Functionality

Errata to the MPC8280 PowerQUICC II Family Reference Manual, Rev. 1

Using DMA to Emulate ADC Flexible Scan Mode on Kinetis K Series

Managing Failure Detections and Using Required Components to Meet ISO7637 pulse 1 on MC33903/4/5 Common Mode Choke Implementation

Interfacing and Configuring the i.mx25 Flash Devices

etpu General Function Set (Set 1) David Paterson MCD Applications Engineer

Electrode Graphing Tool IIC Driver Errata Microcontroller Division

MPC8260 IDMA Timing Diagrams

Interfacing MPC5500 Microcontrollers to the MFR4310 FlexRay Controller Robert Moran MCD Applications, East Kilbride, Scotland

i.mx31 PDK Power Measurement with GUI

Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage

16-bit MCU: S12XHY256 Automotive Cluster Demo by: Jose M. Cisneros Steven McLaughlin Applications Engineer Microcontroller Solutions Group, Scotland

Mask Set Errata for Mask 2M40J

Support for IEEE 1588 Protocol in PowerQUICC and QorIQ Processors

Using the Asynchronous DMA features of the Kinetis L Series

etpu Automotive Function Set (Set 2)

Using GCR4 to Adjust Ethernet Timing in MSC8144 DSPs

EchoRemote Evaluation Software for Windows

MPC8569E Instruction RAM Microcode Package Release 169

Pad Configuration and GPIO Driver for MPC5500 Martin Kaspar, EMEAGTM, Roznov Daniel McKenna, MSG Applications, East Kilbride

56F8300 BLDC Motor Control Application

PowerQUICC II Parity and ECC Capability

Keil uvision 4 Kinetis Support for Freescale MQX RTOS Release Notes

SCI Driver for the MC9S08GW64

Use of PGA on MC56F800x Interaction of PDB, PGA and ADC

Using the Project Board LCD Display at 3.3 volts

ColdFire Convert 1.0 Users Manual by: Ernest Holloway

Component Development Environment Installation Guide

Mask Set Errata for Mask 5L35K

HC912D60A / HC912Dx128A 0.5µ Microcontrollers Mask sets 2K38K, 1L02H/2L02H/3L02H & K91D, 0L05H/1L05H/2L05H

Using IIC to Read ADC Values on MC9S08QG8

MC9S08DZ60 Flash Usage Considerations Andy McKechan Applications Engineer East Kilbride

Mechanical Differences Between the 196-pin MAP-BGA and 196-pin PBGA Packages

Configuring the MCF5445x Family for PCI Host Operation

i.mx51 WinCE Clock Setting

56F805. BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers

Power Cycling Algorithm using the MMA73x0L 3-Axis Linear Accelerometer

Functional Differences Between the DSP56307 and DSP56L307

Sensorless BLDC Motor Control Based on MC9S08PT60 Tower Board User Guide

Interfacing MPC5xx Microcontrollers to the MFR4310 FlexRay Controller David Paterson MCD Applications, East Kilbride

MC9S08DZ60 Migrating from the 3M05C to M74K Mask Set D. Scott Brown Applications Engineering Microcontrollers Solutions Group Austin, TX, USA

Mask Set Errata for Mask REV3.1_2N89D

Using the Multi-Axis g-select Evaluation Boards

Using the Knock Window etpu Function

Interfacing mddr and DDR2 Memories with i.mx25

Mask Set Errata for Mask 2N40C

Errata to MPC8308 PowerQUICC II Pro Processor Reference Manual, Rev. 0

Interfacing HCS12 Microcontrollers to the MFR4200 FlexRay Controller

Integrating the MC9S08JS16/8 USB Bootloader to Your Application

TLB Translation Setup for MPC745x and MPC744x in Non-Extended Mode

MPR083 Proximity Evaluation Kit User s Guide

56F805. Digital Power Factor Correction using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers. freescale.

Multichannel Communication Controller HDLC Superchannel Mode on the MPC8560

MCF5216 Device Errata

Affected Chips Description Impact and Workaround

MPC8260 SDRAM Timing Diagrams

MPC5200B (M62C) Errata Microcontroller Division

i.mx31 PDK 1.3 to PDK 1.4 Revision Changes Linux

NetComm Software Errata

Optically-Isolated Multilink BDM Interface for the S08/S12 Microcontrollers by Michael A. Steffen

Symphony SoundBite: Quick Start with Symphony Studio. Installation and Configuration

Writing Touch Sensing Software Using TSI Module

Clock Mode Selection for MSC8122 Mask Set K98M

Media Streaming to i.mx31 PDK over Wireless LAN

MC33794 Touch Panel System Using E-Field Sensor Setup Instructions

Table 1. Summary of MCF523x Errata. Errata Module Affected Date Errata Added Date Code Affected? < XXXX0501 XXXX0501 & < XXXX0511

Transcription:

Freescale Semiconductor Application Note Document Number: AN3646 Rev. 0, 10/2009 Booting from Serial RapidIO / PCI Express on PowerQUICC III and QorIQ P1xx/P2xx by Freescale Semiconductor, Inc. Austin, TX This document is an overview of how to configure PowerQUICC III and QorIQ P1xx/P2xx devices to boot from serial RapidIO or PCI Express with no additional boot flash/eeprom. The MPC8572E is used as an example but the description is generally applicable with small changes (for example, the number of CPU cores or cache size of the device). Use the PowerQUICC III MPC8572E Integrated Host Processor Family Reference Manual (MPC8572ERM) and related documentation for more in-depth information. The recommended configurations should be double-checked with the appropriate reference manual to verify the intended boot scenario. Contents 1. Overview................................... 1 2. Power-On Sequence.......................... 2 3. CPU Boot Configuration...................... 5 6. Host/Agent Configuration...................... 7 7. I/O Port Configuration........................ 8 8. Boot ROM Location.......................... 9 9. Boot Page Translation........................ 10 10. Boot Sequencer Configuration................. 11 11. Revision History............................ 11 1 Overview The boot scenario this application note describes is a device acting as an agent/endpoint under a controlling host. This host could be another processor, FPGA, etc. As the MPC8572E is powered up, it can follow two different scenarios for booting, as follows: 1. The MPC8572E is set to run the boot loader over a memory-mapped interface handled by the host unit. This boot program can then configure DDR and other interfaces, shown in Figure 1. Freescale Semiconductor, Inc., 2009. All rights reserved.

Power-On Sequence DDR MPC8572E FPGA (host) Figure 1. Boot Scenario 1 2. The MPC8572E executes a boot program from local DDR. The host must configure the DDR controller, upload a boot program to DDR, and then let it execute from there, shown in Figure 2. DDR MPC8572E FPGA (host) Figure 2. Boot Scenario 2 There is no RAM/ROM directly connected to the MPC8572E involved in either of the two boot procedures. 2 Power-On Sequence The basic power-on sequence is listed in Section 4.4.2, Power-On Reset Sequence, in the PowerQUICC III MPC8572E Integrated Host Processor Family Reference Manual. 3. In short, the following takes place: a) Apply power. b) HRESET and TRST (JTAG interface, Test Reset) resets registers and I/O. c) Clock and PLL synchronization occurs. d) Release HRESET. e) I/O drivers are enabled. f) Core PLLs lock on device clock. g) Internal hard reset to core and peripherals are released. 4. If enabled, the boot sequencer starts. This is not desired because it will try to boot from I 2 C. For boot using PCI Express or serial RapidIO, the boot sequencer should be disabled. Ensure that cfg_boot_seq[0:1] is set to 11 (disabled) as its default values. See Section 4.3.2, Boot Sequencer, in the PowerQUICC III MPC8572E Integrated Host Processor Family Reference Manual. 5. The serial RapidIO and PCI Express interfaces begin training. Ensure the ports are properly configured and cfg_io_ports[0:3] is configured based on your needs (see Section 4.4.3.6, I/O Port Selection, in the PowerQUICC III MPC8572E Integrated Host Processor Family Reference Manual for details). Also ensure that clocks and other interface-specific needs are handled, 2 Freescale Semiconductor

Power-On Sequence 6. Serial RapidIO and PCI Express interfaces are released to accept external requests. Ensure that cfg_host_agt[0:2] is configured to allow for external host configuration, for example 000. This is not the default value. See Section 4.4.3.5, Host/Agent Configuration, in the PowerQUICC III MPC8572E Integrated Host Processor Family Reference Manual for more details. 7. Point the boot memory to the appropriate location. For scenario 1 (shown in Figure 1), this is DDR memory, and for scenario 2 (shown in Figure 2), this is the serial RapidIO/PCI Express interface. Default Boot ROM address the interface must respond as needed is an 8-Mbyte interval ranging from 0xFF80_0000 to 0xFFFF_FFFF. Ensure that cfg_rom_loc[0:3] is correctly set depending on boot location. See Section 4.4.3.4, Boot ROM Location in the PowerQUICC III MPC8572E Integrated Host Processor Family Reference Manual. 8. The e500 cores are now ready to start execution from the reset vector. Because no program is available from Flash/ROM, this is currently not desired. Further boot should therefore be prevented, this is done by setting the cores in hold off mode using POR configuration inputs. Ensure that cfg_cpu0_boot and cfg_cpu1_boot is set to 00 to prevent cores from booting until configured by external master. (In single core devices this will be called cfg_cpu_boot). These are not default values. See Section 4.4.3.7, CPU Boot Configuration, for more information. 9. The MPC8572E is now in its ready state and accepts external configuration. Configurations typically consist of the following: a) An MMU page with a 4-Kbyte interval is initially set per core to address 0xFFFF_Fnnn. This window can be changed by altering the boot page translation register. See Section 9, Boot Page Translation. NOTE The page translation must be within the Boot ROM interval (0xFF80_0000 to 0xFFFF_FFFF) or a local access window (LAW) must be added in addition. b) In case of scenario 2, the host must configure DDR controller or alternatively configure L2 cache as SRAM, and upload the program to it. Configuring the L2 cache as SDRAM is described in Section 3, Configuring L2 Cache as SRAM. 10. Once the device is configured and a boot loader is pointed to the reset vector, the cores can be released. The first instruction is located on instruction 0xFFFF_FFFC with the first instruction fetch to address 0x0FFFF_FFE0. Two approaches are possible. Alternatively, the external host only releases one core that continues initialization, and then when ready, releases the other core. The cores are released, both by an external host as well as by another core, by changing the values of CPUn_EN. This register is described in Section 8.2.1.2, ECM CCB Port Configuration Register (EEBPCR) of the PowerQUICC III MPC8572E Integrated Host Processor Family Reference Manual. The POR status can be acquired from the PORBMSR register (see section 23.4.1.2 POR Boot Mode Status Register (PORBMSR) ). 11. The ASLEEP signal negates synchronized to a rising edge of SYSCLK, indicating the ready state of the system. The ready state for e500 core n is also indicated by the assertion of READY_Pn/TRIG_OUT. The assertion of READY_P0 and READY_P1 allows external system monitors to know basic device status, for example, exactly when each e500 core emerges from Freescale Semiconductor 3

Configuring L2 Cache as SRAM reset, or if the particular core is in a low-power mode. Section 4.4.2, Power-On Reset Sequence, in the PowerQUICC III MPC8572E Integrated Host Processor Family Reference Manual describes this further. 12. The boot loader is now executing. Figure 3 shows the power-on reset sequence. HRESET HRESET_REQ (high impedance) SYSCLK TRESET SRESET PLL Configs POR Configs ASLEEP (High Impedance) READY 1 (High Impedance) 1 Multiplexed with TRIG_OUT. Figure 3. Power-On Reset Sequence 3 Configuring L2 Cache as SRAM The L2 cache can be mapped in part or as a whole into SRAM and used for program and/or data storage. This is done on a per way basis. For initial boot, as is the case here, it is easiest to map the whole cache as SRAM. Once the bootloader is running from DDR or over PCI-E/sRIO interface the cache can be set back to normal operation. The cache is configured and enabled using the L2CTL register. For example, on an MPC8572E, the value 0xB001_0000 is written into the L2CTL located at address 0xFF72_0000. The new memory also needs a base address assigned and this is done by changing the L2SRBAR0 register. Because the MPC8572E has 1 Mbyte of cache and the last bytes of the 32-bit memory region should be covered, ending at 0xFFFF_FFFF. Set the base address to be 0xFFF0_0000, which is done by writing 0xFFF0_0000 into the register located at 0xFF72_0100. 4 Freescale Semiconductor

Boot Debugging Using JTAG Because this memory region is covered by a default LAW at power-on reset, it does not have to be added. The memory is now ready to be used. Memory mapping collisions with external memory or flash should not be seen because the L2 cache takes precedence. 4 Boot Debugging Using JTAG Debugging PCI-E/sRIO-based booting can be seen as more complex because there is little access to the device before all configurations have taken place. It can be useful to fall back to the JTAG interface for board bring-up and verifying memory configurations, and ensuring that the cores come out of reset etc. However, this can be an issue because many debuggers have issues dealing with the facts that the device is in hold-off mode and it does not have any memory mapped to the reset register. The latter is solved by mapping the cache as memory as described in Section 3, Configuring L2 Cache as SRAM. To simplify JTAG-based debugging, the following initialization script can be used with the Freescale CodeWarrior debugger, replacing the first section of the standard init files. Similar scripts should work on other tools as well. This script ends with a Run, Sleep, Stop command chain. This is because the e500 core must run before any debug instruction can be sent to it, which is done by setting a hard breakpoint at the reset vector and start execution. The core starts fetching instructions to fill the pipeline but never executes the instruction before the breakpoint is hit. However, it is required that there is a legal instruction at the reset vector as well as at the debug and program exception; the script handles this by writing the OP code 0x4800_0000. The default initialization scrips also contains a Run, Sleep, Stop chain, this marks where the default scripts should continue from the one provided as follows: ######################################################################################## # Initialization file for MPC8572E using L2 Cache as SRAM and clearing hold-off mode. ######################################################################################## writemem.l 0xFF720000 0xB0010000 #enable L2 as SRAM writemem.l 0xFF720100 0xFFF00000 #set L2 SR BAR writemem.l 0xFFFFF000 0x48000000 #instruction at debug interrupt writemem.l 0xFFFFF700 0x48000000 #instruction at program interrupt writemem.l 0xFFFFFFFC 0x48000000 #instruction at reset vector # set interrupt vectors writereg IVPR 0xFFFF0000 # IVPR (pointing to L2 SRAM location) writereg IVOR15 0x0000F000 # debug - (a valid instruction should exist to be fetched) writereg IVOR6 0x0000F700 # program Freescale Semiconductor 5

CPU Boot Configuration ####################################################################### # Set a breakpoint at the reset address writereg IAC1 writereg DBCR0 writereg DBCR1 writereg MSR 0xfffffffc 0x40800000 0x00000000 0x02000200 writemem.l 0xFF701010 0x03010000 #enable CPU0 and CPU1 run sleep 0x10 stop #continue the default script 5 CPU Boot Configuration The CPU boot configuration inputs shown in Table 1 specify the boot configuration mode. If LA[27]/EC3_MDC are set low at reset, then core 0/core 1 does not execute code until released by an external master. This is done by setting the ECM CCB port configuration register bit EEBPCR[CPU0_EN] for core 0 and EEBPCR[CPU1_EN] for core 1. The values sampled at power-on reset are accessible through the POR boot mode status register. This also affects the configuration ready mode on PCI Express interfaces. See Section 4.4.3.7, CPU Boot Configuration, in the PowerQUICC III MPC8572E Integrated Host Processor Family Reference Manual for more information. Table 1 shows the CPU boot configuration. Table 1. CPU Boot Configuration Functional Signal Reset Configuration Name Value (Binary) Meaning LA[27], EC3_MDC Default (11) cfg_cpu0_boot, cfg_cpu1_boot 00 CPU boot holdoff mode for both cores. The e500 cores are prevented from booting until configured by an external master. 01 e500 core 1 is allowed to boot without waiting for configuration by an external master, while e500 core 0 is prevented from booting until configured by an external master or the other core. 10 e500 core 0 is allowed to boot without waiting for configuration by an external master, while e500 core 1 is prevented from booting until configured by an external master or the other core. 11 Both e500 cores are allowed to boot without waiting for configuration by an external master (default). 6 Freescale Semiconductor

6 Host/Agent Configuration Host/Agent Configuration The host/agent reset configuration shown in Table 2 selects if the MPC8572E should be acting as host/root complex or agent/endpoint. The values sampled at power-on reset are accessible through the POR boot mode status register. See Section 4.4.3.5, Host/Agent Configuration, in the PowerQUICC III MPC8572E Integrated Host Processor Family Reference Manual for additional information. Table 2 shows the host/agent configuration. Table 2. Host/Agent Configuration Functional Signals Reset Configuration Name Value (Binary) Meaning LWE[1:3]/LBS[1:3] Default (111) cfg_host_agt[0:2] 000 PCI Express 1: endpoint PCI Express 2: endpoint PCI Express 3: endpoint Serial RapidIO: agent 001 PCI Express 1: endpoint PCI Express 2: root complex PCI Express 3: root complex Serial RapidIO: host 010 PCI Express 1: root complex PCI Express 2: endpoint PCI Express 3: root complex Serial RapidIO: agent 011 PCI Express 1: root complex PCI Express 2: root complex PCI Express 3: endpoint Serial RapidIO: host 100 PCI Express 1: endpoint PCI Express 2: endpoint PCI Express 3: root complex Serial RapidIO: agent 101 PCI Express 1: endpoint PCI Express 2: root complex PCI Express 3: endpoint Serial RapidIO: host 110 PCI Express 1: root complex PCI Express 2: endpoint PCI Express 3: endpoint Serial RapidIO: agent 111 PCI Express 1: root complex PCI Express 2: root complex PCI Express 3: root complex Serial RapidIO: host Freescale Semiconductor 7

I/O Port Configuration 7 I/O Port Configuration The configurations in Table 3 show possible combinations of IO ports and bit rates for serial RapidIO and PCI Express interfaces on the MPC8572E. See Section 4.4.3.6, I/O Port Selection, in the PowerQUICC III MPC8572E Integrated Host Processor Family Reference Manual for additional information. Table 3 shows the I/O port selection. Table 3. I/O Port Selection Functional Signal Reset Configuration Name Value (Binary) Meaning TSEC1_TXD[3:1], TSEC2_TX_ER Default (1111) cfg_io_ports[0:3] 0000 Reserved 0001 Reserved 0010 PCI Express 1 (x4) (2.5 Gbps) RX lane[0:3] -> SD1_RX[0:3] TX lane[0:3] -> SD1_TX[0:3] 0011 PCI Express 1 (x4) (2.5 Gbps), PCI Express 2 (x4) (2.5 Gbps) PCI Express 1: RX lane[0:3] -> SD1_RX[0:3] TX lane[0:3] -> SD1_TX[0:3] PCI Express 2: RX lane[0:3] -> SD1_RX[4:7] TX lane[0:3] -> SD1_TX[4:7] 0100 Reserved 0101 Reserved 0110 Serial RapidIO x4 (2.5 Gbps) 100 MHz reference clock RX lane[0:3] -> SD1_RX[4:7] TX lane[0:3] -> SD1_TX[4:7] 0111 PCI Express 1 (x4), PCI Express 2 (x2), PCI Express 3 (x2) PCI Express 1: RX lane[0:3] -> SD1_RX[0:3] TX lane[0:3] -> SD1_TX[0:3] PCI Express 2: RX lane[0:1] -> SD1_RX[4:5] TX lane[0:1] -> SD1_TX[4:5] PCI Express 3: RX lane[0:1] -> SD1_RX[6:7] TX lane[0:1] -> SD1_TX[6:7] 8 Freescale Semiconductor

Boot ROM Location Table 3. I/O Port Selection (continued) Functional Signal Reset Configuration Name Value (Binary) Meaning TSEC1_TXD[3:1], TSEC2_TX_ER Default (1111) (cont.) cfg_io_ports[0:3] 1000 Reserved 1001 Reserved 1010 Reserved 1011 Serial RapidIO x4 (2.5 Gbps), PCI Express 1 (x4) (2.5 Gbps) Serial RapidIO: RX lane[0:3] -> SD1_RX[4:7] TX lane[0:3] -> SD1_TX[4:7] PCI Express 1: RX lane[0:3] -> SD1_RX[0:3] TX lane[0:3] -> SD1_TX[0:3] 1100 Serial RapidIO x4 (1.25 Gbps), PCI Express 1 (x4) (2.5 Gbps) Serial RapidIO: RX lane[0:3] -> SD1_RX[4:7] TX lane[0:3] -> SD1_TX[4:7] PCI Express 1: RX lane[0:3] -> SD1_RX[0:3] TX lane[0:3] -> SD1_TX[0:3] 1101 Serial RapidIO x4 (3.125 Gbps) 125-MHz reference clock RX lane[0:3] -> SD1_RX[4:7] TX lane[0:3] -> SD1_TX[4:7] 1110 Serial RapidIO x4 (1.25 Gbps) RX lane[0:3] -> SD1_RX[4:7] TX lane[0:3] -> SD1_TX[4:7] 1111 PCI Express 1 (x8) (2.5 Gbps) RX lane[0:7] -> SD1_RX[0:7] TX lane[0:7] -> SD1_TX[0:7] 8 Boot ROM Location The default memory window at boot is an 8-Mbyte block at physical address 0xFF80_0000 0xFFFF_FFFF. This area is open to a specific interface and Table 4 shows how this interface is selected. Note that a 4-Kbyte MMU entry is also set at boot time; see Section 9, Boot Page Translation. It is important that the MMU entry and the boot ROM location overlap, or a new local address window (LAW) must be configured. See Section 4.4.3.4, Boot ROM Location, in the PowerQUICC III MPC8572E Integrated Host Processor Family Reference Manual for additional information. Freescale Semiconductor 9

Boot Page Translation Table 4 shows the boot ROM location. Table 4. Boot ROM Location Functional Signals Reset Configuration Name Value (Binary) Meaning TSEC1_TXD[6:4], TSEC1_TX_ER Default (1111) cfg_rom_loc[0:3] 0000 PCI Express 1 0001 PCI Express 2 0010 Serial RapidIO 0011 Reserved 0100 DDR controller 1 0101 DDR controller 2 0110 DDR Interleaved 0111 PCI Express 3 1000 Local bus FCM--8-bit NAND Flash small page 1001 Reserved 1010 Local bus FCM--8-bit NAND Flash large page 1011 Reserved 1100 Reserved 1101 Local bus GPCM 8-bit ROM 1110 Local bus GPCM 16-bit ROM 1111 Local Bus GPCM 32-bit ROM (default) 9 Boot Page Translation At boot time, each core has a 4-Kbyte MMU entry set to address 0xFFFF_Fxxx with the first instruction executed at address 0xFFFF_FFFC. The boot translation register allows for remapping of this location, which affects both cores. This can either be initiated from the boot sequencer or alternatively, when starting the cores in hold-off mode, it can be configured from an external host. Note that a 4-Kbyte MMU entry is also set at boot time. It is important that the MMU entry and the boot ROM location overlap, or a new local address window (LAW) must be configured. See Section 4.3.1.3, Boot Page Translation, in the PowerQUICC III MPC8572E Integrated Host Processor Family Reference Manual for more details. Table 5 defines the BPTR fields. Table 5. BPTR Bit Settings Bits Name Description 0 EN Boot page translation enable for e500 core transactions 0 Boot page is not translated. 1 Boot page is translated as defined in the BPTR[BOOT_PAGE] parameter. 1 7 Write reserved, read = 0 8 31 BOOT_PAGE Translation for boot page. If enabled, the high order 24 bits of e500 core accesses to 0x0_FFFF_Fnnn are replaced with this value. 10 Freescale Semiconductor

10 Boot Sequencer Configuration Boot Sequencer Configuration The boot sequencer allows for boot code to be loaded from an external memory through the I 2 C1 port. If this is not desired it should be disabled at boot time. The values sampled at power-on reset are accessible through the POR boot mode status register. See Section 4.3.2, Boot Sequencer, in the PowerQUICC III MPC8572E Integrated Host Processor Family Reference Manual for more information. Table 6 shows the boot sequencer configuration. Table 6. Boot Sequencer Configuration Functional Signal Reset Configuration Name Value (Binary) Meaning LGPL3/LFWP, LGPL5 Default (11) cfg_boot_seq[0:1] 00 Reserved 01 Normal I 2 C addressing mode is used. Boot sequencer is enabled and loads configuration information from a ROM on the I 2 C1 interface. A valid ROM must be present. 10 Extended I 2 C addressing mode is used. Boot sequencer is enabled and loads configuration information from a ROM on the I 2 C1 interface. A valid ROM must be present. 11 Revision History Table 7 provides a revision history for this application note. 11 Boot sequencer is disabled. No I 2 C ROM is accessed (default). Table 7. Document Revision History Rev. Number Date Substantive Change(s) 0 10/2009 Initial public release. Freescale Semiconductor 11

How to Reach Us: Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed: Freescale Semiconductor, Inc. Technical Information Center, EL516 2100 East Elliot Road Tempe, Arizona 85284 1-800-521-6274 or +1-480-768-2130 www.freescale.com/support Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) www.freescale.com/support Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing 100022 China +86 10 5879 8000 support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center 1-800 441-2447 or +1-303-675-2140 Fax: +1-303-675-2150 LDCForFreescaleSemiconductor @hibbertgroup.com Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters which may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including Typicals must be validated for each customer application by customer s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. Freescale and the Freescale logo are trademarks or registered trademarks of Freescale Semiconductor, Inc. in the U.S. and other countries. All other product or service names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org. RapidIO is a registered trademark of the RapidIO Trade Association. Freescale Semiconductor, Inc., 2009. All rights reserved. Document Number: AN3646 Rev. 0 10/2009