Intel® is a trademark or registered trademark of Intel Corporation or its subsidiaries in the United States and other countries.
Java™ and all other Java-based marks are trademarks or registered trademarks of Oracle America, Inc. in the U.S. and other countries.
Microsoft®, Windows® and Windows Me® are registered trademarks of Microsoft Corporation; and Windows XP™ is a trademark of
Microsoft Corporation.
PICMG®, CompactPCI®, AdvancedTCA™ and the PICMG, CompactPCI and AdvancedTCA logos are registered trademarks of the PCI
Industrial Computer Manufacturers Group.
UNIX® is a registered trademark of The Open Group in the United States and other countries.
Notice
While reasonable efforts have been made to assure the accuracy of this document, Artesyn assumes no liability resulting from any
omissions in this document, or from the use of the information obtained therein. Artesyn reserves the right to revise this document
and to make changes from time to time in the content hereof without obligation of Artesyn to notify any person of such revision or
changes.
Electronic versions of this material may be read online, downloaded for personal use, or referenced in another document as a URL to
an Artesyn website. The text itself may not be published commercially in print or electronic form, edited, translated, or otherwise
altered without the permission of Artesyn.
It is possible that this publication may contain reference to or information about Artesyn products (machines and programs),
programming, or services that are not available in your country. Such references or information must not be construed to mean that
Artesyn intends to announce such Artesyn products, programming, or services in your country.
Limited and Restricted Rights Legend
If the documentation contained herein is supplied, directly or indirectly, to the U.S. Government, the following notice shall apply
unless otherwise agreed to in writing by Artesyn.
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (b)(3) of the Rights in
Technical Data clause at DFARS 252.227-7013 (Nov. 1995) and of the Rights in Noncommercial Computer Software and
Documentation clause at DFARS 252.227-7014 (Jun. 1995).
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Safety Notes
This section provides warnings that precede potentially dangerous procedures throughout
this manual. Instructions contained in the warnings must be followed during all phases of
operation, service, and repair of this equipment. You should also employ all other safety
precautions necessary for the operation of the equipment in your operating environment.
Failure to comply with these precautions or with specific warnings elsewhere in this manual
could result in personal injury or damage to the equipment.
Artesyn Embedded Technologies intends to provide all necessary information to install and
handle the product in this manual. Because of the complexity of this product and its various
uses, we do not guarantee that the given information is complete. If you need additional
information, ask your Artesyn representative.
The product has been designed to meet the standard industrial safety requirements. It must
only be used in its specific area of office telecommunication industry, industrial control, and
development. It must not be used in safety critical components, life supporting devices or on
aircraft.
Only personnel trained by Artesyn or persons qualified in electronics or electrical engineering
are authorized to install, remove or maintain the product. The information given in this manual
is meant to complete the knowledge of a specialist and must not be used as replacement for
qualified personnel.
Keep away from live circuits inside the equipment. Operating personnel must not remove
equipment covers. Only factory authorized service personnel or other qualified service
personnel is allowed to remove equipment covers for internal subassembly or component
replacement or any internal adjustment.
This product operates with dangerous voltages that can cause injury or death. Use extreme
caution when handling, testing, and adjusting this equipment and its components.
Operation
Product Damage
High humidity and condensation on surfaces cause short circuits.
Do not operate the product outside the specified environmental limits. Make sure the product
is completely dry and there is no moisture on any surface before applying power.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
17
Safety Notes
Installation
Damage of Circuits
Electrostatic discharge and incorrect installation and removal of the product can damage
circuits or shorten their life.
Before touching the product make sure that your are working in an ESD-safe environment or
wear an ESD wrist strap or ESD shoes. Hold the product by its edges and do not touch any
components or circuits.
Damage of the Product and Additional Devices and Modules
Incorrect installation or removal of additional devices or modules damages the product or the
additional devices or modules.
Before installing or removing additional devices or modules, read the respective
documentation and use appropriate tools.
Pin Damage
Forcing the module into the system may damage connector pins.
If the module stops responding during insertion, pull it out and try again.
Environment
Environmental Damage
Improper disposal of used products may harm the environment.
Always dispose of used products according to your country’s legislation and manufacturer’s
instructions.
18
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Sicherheitshinweise
This section provides a German translation of the Safety Notes.
Dieses Kapitel enthält Hinweise, die potentiell gefährlichen Prozeduren innerhalb dieses
Handbuchs vorrangestellt sind. Beachten Sie unbedingt in allen Phasen des Betriebs, der
Wartung und der Reparatur des Systems die Anweisungen, die diesen Hinweisen enthalten
sind. Sie sollten außerdem alle anderen Vorsichtsmaßnahmen treffen, die für den Betrieb des
Systems innerhalb Ihrer Betriebsumgebung notwendig sind. Wenn Sie diese
Vorsichtsmaßnahmen oder Sicherheitshinweise, die an anderer Stelle diese Handbuchs
enthalten sind, nicht beachten, kann das Verletzungen oder Schäden am System zur Folge
haben.
Artesyn Embedded Technologies ist darauf bedacht, alle notwendigen Informationen zum
Einbau und zum Umgang mit dem System in diesem Handbuch bereit zu stellen. Da es sich
jedoch bei dem System um ein komplexes Produkt mit vielfältigen Einsatzmöglichkeiten
handelt, können wir die Vollständigkeit der im Handbuch enthaltenen Informationen nicht
garantieren. Falls Sie weitere Informationen benötigen sollten, wenden Sie sich bitte an die für
Sie zuständige Geschäftsstelle von Artesyn.
Das Produkt erfüllt die für die Industrie geforderten Sicherheitsvorschriften und darf
ausschließlich für Anwendungen in der Telekommunikationsindustrie, im Zusammenhang mit
Industriesteuerungen und in der Entwicklung verwendet werden. Es darf nicht in
sicherheitskritischen Anwendungen, lebenserhaltenden Geräten oder in Flugzeugen
verwendet werden.
Einbau, Wartung und Betrieb dürfen nur von durch Artesyn ausgebildetem oder im Bereich
Elektronik oder Elektrotechnik qualifiziertem Personal durchgeführt werden. Die in diesem
Handbuch enthaltenen Informationen dienen ausschließlich dazu, das Wissen von
Fachpersonal zu ergänzen, können dieses jedoch nicht ersetzen.
Halten Sie sich von stromführenden Leitungen innerhalb des Systems fern. Entfernen Sie auf
keinen Fall die Systemabdeckung. Nur werksseitig zugelassenes Wartungspersonal oder
anderweitig qualifiziertes Wartungspersonal darf die Systemabdeckung entfernen, um
Systemkomponenten zu ersetzen oder andere Anpassungen vorzunehmen.
Installieren Sie keine Ersatzteile oder führen Sie keine unerlaubten Veränderungen am System
durch, sonst verfällt die Garantie. Wenden Sie sich für Wartung oder Reparatur bitte an die für
Sie zuständige Geschäftsstelle von Artesyn. So stellen Sie sicher, dass alle
sicherheitsrelevanten Aspekte beachtet werden.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
19
Sicherheitshinweise
Artesyn und unsere Zulieferer unternehmen größte Anstrengungen um sicherzustellen, dass
sich Pins und Stecker von Boards vor dem Verlassen der Produktionsstätte in einwandfreiem
Zustand befinden. Verbogene Pins, verursacht durch fehlerhafte Installation oder durch
Installation von Boards mit beschädigten Steckern kann die durch Artesyn gewährte Garantie
für Boards und Backplanes erlöschen lassen.
Dieses Produkt wird mit gefährlichen Spannungen betrieben, die zu Verletzungen und Tod
führen können. Seien Sie im Umgang mit dem Produkt und beim Testen und Anpassen des
Produktes und seiner Komponenten äußerst vorsichtig.
Betrieb
Beschädigung des Systems
Hohe Luftfeuchtigkeit und Kondensat auf den Oberflächen der Produkte kann zu
Kurzschlüssen führen.
Betreiben Sie die Produkte nur innerhalb der angegebenen Grenzwerte für die relative
Luftfeuchtigkeit und Temperatur und stellen Sie vor dem Einschalten des Stroms sicher, dass
sich auf den Produkten kein Kondensat befindet.
System Installation
Beschädigung von Schaltkreisen
Elektrostatische Entladung und unsachgemäßer Ein- und Ausbau des Produktes kann
Schaltkreise beschädigen oder ihre Lebensdauer verkürzen.
Bevor Sie das Produkt oder elektronische Komponenten berühren, vergewissern Sie sich, daß
Sie in einem ESD-geschützten Bereich arbeiten.
Beschädigung des Produktes und der Zusatzmodule
Fehlerhafter Ein- oder Ausbau von Zusatzmodulen führt zu Beschädigung des Produktes oder
der Zusatzmodule.
Lesen Sie deshalb vor dem Ein- oder Ausbau von Zusatzmodulen die Dokumentation und
benutzen Sie angemessenes Werkzeug.
20
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Umweltschutz
Umweltverschmutzung
Falsche Entsorgung der Produkte schadet der Umwelt.
Entsorgen Sie alte Produkte gemäß der in Ihrem Land gültigen Gesetzgebung und den
Empfehlungen des Herstellers.
Sicherheitshinweise
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
21
Sicherheitshinweise
22
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Introduction
1.1Features
COMX-P4080 COM Express Module is based on the Freescale P4080 processor. COM Express is
an industry-standard embedded computer module defined by PICMG.
The following table summarizes the features of COMX-P4080, including those of its variants.
Table 1-1 COMX-P4080 Features Summary
FunctionFeatures
Form-factorBasic (95 mm x 125 mm)
ProcessorSupports QorlQ P4080 integrated processor running at the
Supported CPUP4080/P4040
Chapter 1
speed of 1.5 GHz
Combines eight Power Architecture processor cores
P5020/P5010
P3041
Boot options16-bits width NOR flash from local bus (default)
has been designed and manufactured to the following specifications:
EN55022:2006 (A1: 2007) Class A
EN55024: 1998 (A1: 2001 + A2: 2003)
IEC 60950-1: 2005 (2nd Edition) + A1: 2009
2011/65/EU RoHS Directive
As manufacturer wehereby declare that the product named above has been designed to complywith the rele-vant sections of the above referenced specifications. This product complieswith the essential health and safetyrequirements of the above specified directives. We have an internal production control system that ensures compliance between the manufactured products and the technical documentation.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
31
Introduction
1.4Board Identification
This section shows the serial number and its location on the board.
Figure 1-7Serial Number Location
1.5Ordering Information
32
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
1.5.1Supported Board Models
The following table lists the product variants that are available upon release of this publication.
Table 1-4 Available Board Variants
Order NumberDescription
COMX-P4080COMX-P4080 COM Express module
COMX-P4080-4G-KITCOMX-P4080 COM Express module, 4 GB memory, cooler
For availability of other variants, consult your local Artesyn sales representative.
1.5.2Board Accessories
The following table lists the board accessories that are available upon release of this
publication.
Introduction
Table 1-5 Available Board Accessories
Order NumberDescription
COMX-P4080-HSPHeat spreader for COMX-P4080
COMX-P4080-HTSNKCooler for COMX-P4080
For availability of other board accessories, consult your local Artesyn sales representative.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
33
Introduction
34
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Hardware Preparation and Installation
2.1Environmental and Power Requirements
2.1.1Environmental Requirements
The following table lists the environmental requirements that the board must meet when
operated in your particular system configuration.
Operating temperatures refer to the temperature of the air circulating around the board and
not to the component temperature.
Chapter 2
Product Damage:
High humidity and condensation on surfaces cause short circuits.
Do not operate the system outside the specified environmental limits. Make sure the
product is completely dry and there is no moisture on any surface before applying
power.
Table 2-1 Environmental Requirements
RequirementOperatingNon-Operating
Cooling MethodForced-air
Temp Cycle Class-40 to +85 °C:500cyc
Temperature0 to 55 °C-40 to 85 °C
Humidity10-90% (non-condensing)
Vibration0.01g^2/Hz @ 5-500 Hz
Shock20 g 11 ms sine or saw
Altitude-60 to 4000 m ASL
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
35
Hardware Preparation and Installation
2.1.2Thermal Requirements
The following table lists the critical temperature spots for the COMX-P4080 COM Express
Module.
Table 2-2 Critical Temperature Spots for COMX-P4080
Heat Dissipation Power
Component Identifier
CPU-P408027 WTjmax = 105
(W)
Maximum Allowable
Temperature (°C)
Contact your Artesyn sales representative for current information on the detailed thermal
information including airflow and resistance of the module.
System Overheating
Cooling Vents
Improper cooling can lead to system damage and can void the manufacturer's
warranty.
To ensure proper cooling and undisturbed airflow through the system, do not obstruct
the ventilation openings of the system. Make sure that the fresh air supply is not mixed
with hot exhaust from other devices.
36
Personal Injury
During operation, hot surfaces may be present on the heat sinks and the components
of the product.
To prevent injury from hot surface do not touch any of the exposed components or
heatsinks on the product when handing. Use the handle and face plate, where
applicable, or the board edge when removing the product from the enclosure.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Hardware Preparation and Installation
2.2Unpacking and Inspecting the Module
Damage of Circuits
Electrostatic discharge and incorrect installation and removal of the product can
damage circuits or shorten its life.
Before touching the product make sure that you are working in an ESD-safe
environment or wearing an ESD wrist strap or ESD shoes. Hold the product by its edges
and do not touch any components or circuits.
Shipment Inspection
1. Verify that you have received all items of your shipment:
Printed Quick Start Guide and Safety Notes
COMX-P4080 COM Express Module
2. Check for damage and report any damage or differences to customer service.
3. Remove the desiccant bag shipped together with the product.
Environmental Damage
Improperly disposing of used products may harm the environment.
Always dispose of used products according to your country’s legislation and
manufacturer’s instructions.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
37
Hardware Preparation and Installation
2.3Preparing the Installation Environment
Before you install or replace components, pay attention to the following:
Wear an ESD-preventive wrist strap to prevent the static electricity from damaging the
device.
Keep the area where the components reside clean and keep the components away from
heat-generating devices, such as radiator.
Ensure that your sleeves are tightened or rolled up above the elbow. For safety purposes,
it is not recommended to wear jewelry, watch, glasses with metal frames, or clothes with
metal buttons.
Do not exert too much force, or insert or remove the components forcibly. Avoid damage
to the components or plug-ins.
Confirm the feasibility of the operation
Spare parts of components are available in the equipment warehouse. If available spare
parts are lacking, contact Artesyn Embedded Technologies for timely assistance. Visit
http://www.artesyn.com/computing for more details.
38
Make sure that the new components are in good condition and without defects such as
oxidation, chemical corrosion, missing components or transportation damage. Read this
document to familiarize yourself with the proper installation and replacement procedures
of the component, as well as to master the skills required by the operation.
Check the environment
Make sure that the power supply, temperature, and humidity meet the operating
requirements for the board and its components. For details, refer to the respective system
documentation.
Prepare the parts and the tools
Prepare the components to be installed or replaced. Use the special antistatic package
when holding or transporting the components. Prepare the cross screwdriver, screws,
plastic supports, cooling gel, and ESD-preventive wrist strap.
Confirm installation or changing position
Confirm the position where COMX-P4080 COM Express Module will be installed.
If a serious problem occurs and cannot be solved when you install or replace the
component, contact Artesyn Embedded Technologies for technical support.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Hardware Preparation and Installation
2.4Installing and Removing the Memory Module
There is one 204 pin SODIMM slot on the COMX-P4080 COM Express Module.
Pin Damage
Forcing the module into the system may damage connector pins.
If the module hangs during insertion, pull it out and insert it again.
Installing a Memory Module
1. Wear the ESD-preventive wrist strap.
2. Lay the COM-E module where the SODIMM is to be installed on the antistatic desktop.
3. Check the thermal pad found in a separate package of the heat spreader/cooler pack. Tear
off the pad protection paper from one side and adhere it on the center of the PCB module,
between the bottom memory socket and the processor. The thermal pad for the bottom
memory is necessary if they will operate with a 100% loading under 55° C ambient
temperature. The thermal pad is optional otherwise.
4. Take the SODIMM out of the antistatic package, holding it by the edges.
If only one memory module is going to be installed, it is recommended to install the memory
module on the lower memory slot.
5. Line up the notch located on the row of the metal pins at the bottom of the module with the
key in the SODIMM slot on the COM-E module.
6. Insert the SODIMM in a slantwise position or at a 45-degree angle to slide the memory
module into place.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
39
Hardware Preparation and Installation
7. Press down on the memory module against the COM-E module until you hear it snap into
place. The module must be properly aligned before you press it down into its final position.
You can remove the module from the socket and reinstall it if you cannot press it down into
its final position.
Removing a Memory Module
1. Wear the ESD-preventive wrist strap.
2. Release the module from the slot by pushing the spring latches on either side of the module
outward.
3. Lift the module from the COM-E Module.
Damage of the Product and Additional Devices and Modules
Incorrect installation or removal of additional devices or modules damages the product
or the additional devices or modules.
Before installing or removing additional devices or modules, read the respective
documentation and use appropriate tools.
2.5Installing and Removing the Heat
Spreader/Cooler
Installing the Heat Spreader/Cooler
1. Check the thermal interface material pads on the heat spreader/cooler. Make sure the pads
are aligned to their corresponding components on the COMX-P4080 COM Express Module.
2. Align the standoffs of the heat spreader/cooler with the screw holes on the COMX-P4080
COM Express Module.
40
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Hardware Preparation and Installation
3. Hold the heat spreader/cooler and COMX-P4080 COM Express Module.
4. From the backside of the COM Express module, use two pieces of M2.5*6mm screws to
fasten the module assembly to the heat spreader/cooler through the two internal
mounting holes.
Removing the Heat Spreader/Cooler
1. Loosen the two pieces of screws from the backside COMX-P4080 COM Express Module.
2. While holding the edges, pull the heat spreader/cooler from the COMX-P4080 COM Express
Module.
2.6Installing and Removing the Module on the
Carrier Board
The assembled COM Express module with the attached heat spreader is attached to a carrier
board.
Installing the COM Express Module on the Carrier Board
1. Line up the board-to-board connector of the module assembly with the board-to-board
connector of the carrier board.
2. Make sure that the interconnectors are properly aligned and that the six carrier standoffs
have contact with the bottom of the module board.
3. From the topside of the module assembly, locate the screw holes on the heat
spreader/cooler and module.
4. Use the M2.5*18mm screws to fasten the COMX-P4080 COM Express Module assembly
to the carrier board.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
41
Hardware Preparation and Installation
Removing the COM Express Module from the Carrier Board
1. From the topside of the module assembly, locate the six screws that connect the module
assembly to the carrier board.
2. Loosen and remove the screws.
3. While holding the edges, pull the COMX-P4080 COM Express Module from the carrier
board.
42
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Controls, LEDs, and Connectors
3.1Board Layout
Figure 3-1COMX-P4080 COM Express Module Components
Chapter 3
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
43
Controls, LEDs, and Connectors
Figure 3-2COMX-P4080 COM Express Module Components (Rear View)
3.2Connectors and Switches
3.2.1COM Express Connector
The following two tables provide the pin out for the Freescale type COM-E module.
44
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Controls, LEDs, and Connectors
The first column shows the default signal names while the succeeding columns show the
differences in values.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
49
Controls, LEDs, and Connectors
Table 3-1 COM Express Connector Pinout (continued)
PinSignalPinSignalPinSignalPinSignal
A109 VCC_12VB109 VCC_12VC109 VCC_12VD109VCC_12V
A110 GNDB110 GNDC110 GNDD110GND
3.2.2JTAG Connector Pinout
The following table details the JTAG connector pinout.
Table 3-2 JTAG Connector Pinout
Pin NumberSignal Name
1TDO
2NC
3TDI
4TRST
5RUNSTOP
6VDDSENSE
7TCK
8CKSTP INPUT
9TMS
10NC
11SRST
12NC
13HRST
14NC
15CKSTP OUTPUT
16GND
50
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
3.2.3S1 Switch
COMX-P4080 has a bug which prevents SerDes Bank 1 and SerDes Bank 2 from using the same
reference clock frequency.
For the SerDes configuration options 1, 2, 4, and 6, set sd_refclk1 as 100 MHz and sd_refclk2
as 125 MHz. For configuration options 3 and 5, set sd_refclk1 as 125 MHz and sd_refclk2 as 100
MHz.
Table 3-3 S1 Switch Settings
S1 BitFunction
1Boot mode selectionON: Secure boot mode
2Reference clock frequency of bank 1ON: 125 MHz
Controls, LEDs, and Connectors
OFF: Non-secure mode (Default)
OFF: 100 MHz (Default)
3Reference clock frequency of bank 2ON: 100 MHz
OFF: 125 MHz (Default)
4Reference clock frequency of bank 3ON: 100 MHz
OFF: 125 MHz (Default)
5RCW source selection between NOR
and NAND flash
6Not used
7GPI for debuggingON: 1
8Local bus on carrierON: Enabled
ON: NAND flash
OFF: NOR flash (Default)
OFF: 0 (Default)
OFF: Disabled (Default)
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
51
Controls, LEDs, and Connectors
3.2.4S2 Switch
Table 3-4 S2 Switch Settings
S2.1~S2.5RCW Source
OFF,ON,ON,OFF,ONI2C1 normal addressing (supports ROMs up to 256 bytes)
OFF,ON,ON,OFF,OFFI2C1 extended addressing
OFF,ON,OFF,OFF,ONSPI 16-bit addressing
OFF,ON,OFF,OFF,OFFSPI 24-bit addressing
OFF,OFF,ON,OFF,ONeLBC FCM (NAND flash, 8-bit small page)
OFF,OFF,ON,OFF,OFFeLBC FCM (NAND flash, 8-bit large page)
OFF,OFF,OFF,OFF,OFFeLBC GPCM (NOR flash, 16-bit)
ON,X,X,X,XHard-coded RCW options
ON,ON,ON,OFF,ONLarge page NAND flash as boot location; USB2 and dual 4-pin UART
enabled; Platform ratio of 8:1; Core PLL ratio of 14:1
ON,ON,ON,OFF,OFFLarge page NAND flash as boot location; RGMII FM1 MAC1 and
dual 4-pin UART enabled; Platform ratio of 8:1; Core PLL ratio of
14:1
ON,ON,ON,ON,ON16-bit NOR flash as boot location; USB2 and dual 4-pin UART
enabled; Platform ratio of 8:1; Core PLL ratio of 14:1
ON,ON,ON,ON,OFF16-bit NOR flash as boot location; RGMII FM1 MAC1 and dual 4-pin
UART enabled; Platform ratio of 8:1; Core PLL ratio of 14:1
ON,ON,OFF,OFF,OFFThree (x2, x2, x4) PCI-E @ 2.5G, 100 MHz ref clk, all agent mode; all
cores in boot hold-off; dual 4-pin UART enabled
ON,ON,OFF,OFF,ONTwo (x4, x4) SRIO @ 2.5G, 100 MHz ref clk, all agent mode; all cores
in boot hold-off; dual 4-pin UARTs enabled
ON,ON,OFF,ON,OFFLarge page NAND flash as boot location; USB2 and dual 4-pin
UARTs enabled; Platform ratio of 6:1; Core PLL ratio of 10:1
ON,ON,OFF,ON,ONLarge page NAND flash as boot location; RGMII FM1 MAC1 and
dual 4-pin UARTs enabled; Platform ratio of 6:1; Core PLL ratio of
10:1
ON,OFF,ON,OFF,OFF16-bit NOR flash as boot location; RGMII FM1 MAC1 and dual 4-pin
UARTs enabled; Platform ratio of 6:1; Core PLL ratio of 10:1
52
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Controls, LEDs, and Connectors
Table 3-4 S2 Switch Settings (continued)
S2.1~S2.5RCW Source
ON,OFF,ON,OFF,ON16-bit NOR flash as boot location; USB2 and dual 4-pin UARTs
enabled; Platform ratio of 6:1; Core PLL ratio of 10:1
ON,OFF,ON,ON,OFFThree (x2, x2, x4) PCIeX @ 2.5G, 100MHz ref clk, all agent mode; all
cores in boot hold-off; dual 4-pin UARTs enabled; Platform ratio of
6:1; Core PLL ratio of 10:1
ON,OFF,ON,ON,ONTwo (x4, x4) SRIO @ 2.5G, 100MHz ref clk, all agent mode; all cores
in boot hold-off; dual 4-pin UARTs enabled; Platform ratio of 6:1;
Core PLL ratio of 10:1
ON,OFF,OFF,X,XReserved
S2.6Card on the carrier
ONSD card
OFF (Default)Micro SD card
S2.7SPI Flash Enable on module
ONSPI flash disable on module
OFFSPI flash enable on module
S2.8
Not used
3.3On-board LEDs
3.3.1System Status LEDs
Table 3-5 System Status LEDs
LEDStatus
D17Thermal issue
D18~D19Debug LED 1~2
D3System asleep
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
53
Controls, LEDs, and Connectors
Table 3-5 System Status LEDs (continued)
LEDStatus
D7DDR3 power OK
D43.3 V power OK
D52.5 V power OK
D61.8 V power OK
D13CORE power OK
D9PLATFORM power OK
D101.5 V power OK
D1USB hub 1 active
D2USB hub 1 high speed
D15USB hub 2 active
D16USB hub 2 high speed
54
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Functional Description
4.1Block Diagram
The following image illustrates the block diagram of the COMX-P4080 COM Express Module.
Figure 4-1Block Diagram
Chapter 4
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
55
Functional Description
4.2Processor
The COMX-P4080 COM Express Module is based on the Freescale Power PC COMX-P4080
platform and supports the Qor1Q COMX-P4080 integrated processor. It can run at the speed
of 1.5 GHz and is compatible with the P30 and P50 series. The QorIQ COMX-P4080 integrated
communication processor combines eight Power Architecture TM processor cores that allow
high performance data path acceleration, logic and network, as well as peripheral bus
interfaces required for networking, telecom/datacom, wireless infrastructure and
military/aerospace applications.
Figure 4-2COMX-P4080 Processor Block Diagram
4.3Memory
The COMX-P4080 COM Express Module supports up to 2-GB dual-rank DDR3 1066 MHz/1333
MHz ECC SO-UDIMM memory modules arranged in two ranks in one slot.
56
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
There are two 204-pin SO-UDIMM slots on the module measuring 5.2 mm high and 9.2 mm
high, respectively. Both are placed on the same side of the PCB in consideration of thermal
issues.
4.4Power Supply
Power is supplied to the COMX-P4080 module from an ATX-type power supply through the
COM-E connectors. On-board regulators supply the required voltages to devices attached to
the module.
Figure 4-3COMX-P4080 Power Tree
Functional Description
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
57
Functional Description
The power sequencing of the COMX-P4080 is different for the secure boot mode and the nonsecure boot mode. For the secure boot mode, POVDD should be tied to 1.5 V DC and is
powered at least 100 system clock cycles after the rising edge of power on reset signal. For
non-secure boot mode, POVDD should be tied to GND. The following figure illustrates this
process.
Figure 4-4COMX-P4080 Power Sequencing
58
To set the boot mode, the first eight bits of the S1 switch are provided.
Table 4-1 COMX-P4080 Boot Mode Options
S1.1RCW Source
ONSecure boot mode
OFF (Default)Non-secure boot mode
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
4.5Clock Distribution
The COMX-P4080 needs several kinds of single-ended and different clocks for booting up and
normal operation. The clock distribution list is illustrated below.
Figure 4-5COMX-P4080 Clock Distribution
Functional Description
The frequency of the three SerDes banks’ reference clocks can be set from 100 MHz to 125
MHz using the S1 switch.
Table 4-2 SerDes Clock Configuration by S1 Switch
SerDes Bank 1 Reference ClockSerDes Bank 2 Reference ClockSerDes Bank 3 Reference Clock
S1.2=ON, 125MHzS1.3=ON, 100MHzS1.4=ON, 100MHz
S1.2=OFF, 100MHzS1.3=OFF, 125MHzS1.4=OFF, 125MHz
Default:100MHzDefault:125MHzDefault:125MHz
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
59
Functional Description
It can also be set by three GPIOs.
Table 4-3 SerDes Clock Configuration by GPIO
SerDes Bank 1 Reference ClockSerDes Bank 2 Reference ClockSerDes Bank 3 Reference Clock
The setting of the S1 or GPIO depends on the protocols running at the SerDes lanes that belong
to each bank. When the SerDes lanes are running at 3.125 Gbps, the corresponding bank
reference clock should be set as 125 MHz. Any speed other than 3.125 Gbps should be set to
100 MHz. For example, if the lanes in bank 1 are configured as PCI-E, then the bank 1 reference
clock should be set to 100 MHz. If it is set to XAUI, it should be at 125 MHz.
4.6Boot Up Options
The COMX-P4080 supports several kinds of devices to load configuration information to the
Reset Configuration Word (RCW) register, as well as devices in assisting the U-Boot codes to
boot up the system. This includes NOR flash and NAND flash (both attached to the local bus),
I2C, EEPROM, SPI flash and hardware strapping. The boot option is set by an 8-bit S2 switch. For
more information, see the following table.
Table 4-4 RCW Source Location
S2.1 to S2.5RCW Source
OFF,ON,ON,OFF,ONI2C1 normal addressing (supports ROMs up to 256 Bytes)
OFF,ON,ON,OFF,OFFI2C1 extended addressing
OFF,ON,OFF,OFF,ONSPI 16-bit addressing
OFF,ON,OFF,OFF,OFFSPI 24-bit addressing
OFF,OFF,ON,OFF,ONeLBC FCM (NAND flash, 8-bit small page)
OFF,OFF,ON,OFF,OFFeLBC FCM (NAND flash, 8-bit large page)
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Functional Description
The "X" on the table indicates the "ON" or "OFF" state of the corresponding bits of the S2 switch.
Both NOR and NAND flash are attached to the local bus of the COMX-P4080. The chip select
signal (CS) of the selected RCW source should be connected to the CS0 of the local bus. When
set by the fifth bit of the S1 switch, neither the NOR or NAND flash can be selected as the RCW
without properly setting the S1.5.
Table 4-5 Selecting RCW Sources Between NOR and NAND Flash
S1.5RCW Source
ONCS0 attached to NAND flash
OFF (Default)CS0 attached to NOR flash
In cases where all the devices fail to work, hardware strapping can be picked as an option for
loading the RCW. This is also useful for quick debugging purposes. The hard-code
configuration details are shown the table below.
Table 4-6 RCW Hard-Coded Configuration Options
S2.1-S2.5RCW hard-code configuration options
ON,ON,ON,OFF,ONLarge page NAND flash as boot location;
USB2 and dual 4-pin UART enabled;
Platform ratio of 8:1;
Core PLL ratio of 14:1
ON,ON,ON,OFF,OFFLarge page NAND flash as boot location;
RGMII FM1 MAC1 and dual 4-pin UART enabled;
Platform ratio of 8:1;
Core PLL ratio of 14:1
ON,ON,ON,ON,ON16-bit NOR flash as boot location;
USB2 and dual 4-pin UART enabled;
Platform ratio of 8:1;
Core PLL ratio of 14:1
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
As with Table "RCW Source Location" on page 60, the "X" on the table indicates the "ON" or "OFF"
state of the corresponding bits of the S2 switch.
4.7SerDes
The COMX-P4080 has three Serializer/Deserializer (SerDes) banks, including a total of 18 lanes.
Twelve of these are routed to the COM-E connectors, defined as SERDES0 - SERDES7 (SERDES07 of bank 1), and SERDES16 - SERDES19 (SERDES10-13 of bank 2). SERDES8-SERDES9 of bank
1 are used for Aurora debugger . The four lanes of bank 3 are not used in COMX-P4080 and are
reserved for the P30 and P50 series SATA interfaces.
Functional Description
All cores in boot hold-off;
Dual 4-pin UART enabled;
Platform ratio of 6:1; Core PLL ratio of 10:1
The protocol running at each lanes that are routed to COM-E connectors are configured by the
RCW. The following table shows the available options.
The U-Boot provides commands to change the configurations, allowing the user to select any
of the twelve options available. In addition, the frequency of the reference clock for each bank
should be properly configured based on the Clock Distribution.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
63
Functional Description
The following table describes the distribution of SerDes lanes on the COMX-P4080.
Figure 4-6SerDes Lanes Distribution
Table 4-7 SerDes Options When Routed to COM-E Connectors
The COMX-P4080 has one Gigabit port with an LED that shows the controlling signals. It is
routed to the COM-E connectors. The interface between MAC and PHY BCM5482 is the first
group of the RGMII bus and is multiplexed with ULPI bus. The RCW should then be properly set
to select the RGMII protocol.
There are two ports included in the GE PHY BCM5482, the first of which is the only one available
in the COMX-P4080 platform. Both ports are available in the P30 and P50 platforms.
The COMX-P4080 has two groups of MDIO buses. The first group is called EMI1 and compiles
with IEEE 802.3 Clause 22 standard. It has two pins, EMI1_MDC and EMI1_MDIO and is
available externally only on dTSEC0@FMan1. This group is used for the communication
between the MAC and PHY. It also manages SGMII PHY.
The second group is called EMI2 and it complies with IEEE 802.3ae Clause 45. EMI2 has two
pins: EMI2_MDC and EMI2_MDIO and is available externally only on 10GEC of FMan1. EMI2 is
used for the communication between 10GEC and PHY.
The ports in the BCM5482 has two LED controlling signals: LAN1_LINK_ACTIVITY_N and
LAN_LINKSPEED_N. The COM-E connectors have four LED controlling signals: link, activity,
link_100 and link_1000. The link and activity signals are attached to the LAN1_LINK_ACTIVITY
of the BCM5482. Link_1000 is connected to LAN1_LINKSPEED_N and link_100 is left
disconnected.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
65
Functional Description
4.9USB
The COMX-P4080 has four USB 2.0 ports, implemented by one USB PHY (USB3315) controller
and one four-port USB hub (USB2514). Between the controller and the hub is the ULPI bus,
which is the second group of multiplexing interface in the RGMII/ULPI, making the RCW
properly set for using this group.
All four USB port signals are routed to the COM-E connectors.
The operating mode of the USB hub is configured by hardware strapping, and can be
configured by the I2C bus by changing the state of the strapping pins. Hardware strapping is
set as the default. When configured, the I2C bus address of the USB bus is 0x58.
4.10UART
There are a total of four universal asynchronous receiver/transmitters (UART) in the COMXP4080. Each UART has Tx and RX signals that are routed to the COM-E connectors. The UART
can also be in two dual UART (DUART), with Tx, Rx, CTS, RTS signals for each DUART. Optional
resistors are also available to determine whether UART or DUART are routed.
4.111588
The COMX-P4080 module supports signals for the IEEE 1588-v2 capable ethernet interface to
the COM-E connector. These signals include Trigger, Alarm, Clock-In and Pulse-Out.
4.12SDHC
The COMX-P4080 provides an SD/MMC interface to the COM-E. It needs to change the switch
S2.6 according to the card type on the carrier.
Table 4-8 SD or Micro SD Card Type on the Carrier
S2.6Card Type on the Carrier
ONSD card
OFF (Default)MicroSD card
66
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
4.13Local Bus
There is one 128-MB NOR flash and one 1-GB NAND flash attached to the local bus. The NOR
flash is used for storage of the RCW data, U-Boot and Linux kernel. By default, the NAND flash
is used for storing the file system.
Four chip select signals, from CS0 to CS3, are included in the local bus. Of these, only CS0 is
enabled during power-on reset. The chip select signal of the device from which the system
boots should be connected to the local bus through CS0.
Local bus with 8 bits data bus, as well as the control signals, are routed to COM-E connectors.
Local bus signals are disabled by default, and can be enabled through the buffers using the 8th
bit of S1.
Table 4-9 Local Bus on COM-E
S1.8Local Bus on COM-E
Functional Description
ONEnabled
OFF (default)Disabled
Figure 4-7Local Bus Distribution
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
67
Functional Description
4.14I2C
There are four physical I2C buses in the COMX-P4080. Three of these are configured as I2C
buses and routed to the COM-E connectors. The fourth one is multiplexed with the SDHS bus.
The figure below illustrates the distribution of the I2C buses.
Figure 4-8I2C Bus Distribution
4.15SPI
The COMX-P4080 has one SPI bus with four chip select signals. It also has an SPI flash socket
attached to the SPI bus for debug purposes only. All SPI bus signals are routed to the COM-E
connectors.
68
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
The figure below illustrates the distribution of the SPI bus.
Figure 4-9SPI Bus Distribution
4.16GPIO
The COMX-P4080 has a total of four GPI and four GPO signals that are routed to the COM-E
connectors. One of the four GPI is also connected to the switch S1, while two of the four GPOs
are connected to LED for debugging purposes.
Functional Description
The following figure and table shows the distribution of the GPIO signals.
Figure 4-10GPIO Distribution
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
69
Functional Description
Table 4-10 GPIO Details Distribution
GPIO nameFunction
GPIO 0Connected to the GPI 0 of the COM-E carrier board
GPIO 1Connected to the GPI 1 of the COM-E carrier board
GPIO 2Connected to the GPI 3 of the COM-E carrier board
GPIO 3Connected to the GPI 4 of the COM-E carrier board
GPIO 4Connected to the GPO 0 of the COM-E carrier board
GPIO 5Connected to the GPO 1 of the COM-E carrier board
GPIO 6Connected to the GPO 3 of the COM-E carrier board
GPIO 7Connected to the GPO 4 of the COM-E carrier board
GPIO 18WDT input
GPIO 19Clock generators enable control
GPIO 20 Carrier board reset output
GPIO 23Clock generator of bank 1 frequency selection
GPIO 24Clock generator of bank 2 frequency selection
GPIO 26Clock generator of bank 3 frequency selection
4.17RTC and Watchdog Timer
The RTC and Watchdog Timer (WDT) are integrated in the module through the IC U12, which
is accessed first by the I2C bus, address 0xD0. This device also provides a reset output signal for
the COMX-P4080, as well as a 32 KHz clock output for the RTC. Battery backup for the RTC is
supplied by the VCC_BAT pin on the COM-E connectors.
The WDT is fed by the GPIO 18 of the COMX-P4080.
4.18Thermal Sensor
The COMX-P4080 module supports both remote and local thermal sensors. The remote
thermal sensor is available when there is a thermal diode provided in the COMX-P4080 and is
accessed by the first I2C bus with the address 0x98.
70
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
The thermal sensor supplies two alarm signals for the system, defined as "ALERT" and "THRM".
When the detected temperature exceeds low temperature limit, an external diode fault will
cause the "ALERT" output to assert "low". This "ALERT" output is connected to the IRQ7 of the
COMX-P4080.
When the detected temperature exceeds the preset high temperature limit, the "THRM"
output will assert "low". The "THRM" signal can be connected to the power enable signal of the
core and platform power sources, and can be used to power down the COMX-P4080. This can
be done by installing the resistor R178, which is not installed by default.
4.19Debugger
The COMX-P4080 supports the JTAG debugger, which is provided by default.
Debugger selection details can be seen the following figure.
Functional Description
Figure 4-11COMX-P4080 Debugger Selection Details
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
71
Functional Description
72
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Maps and Registers
5.1Maps
5.1.1Memory Map
The following table shows COMX-P4080’s memory mapping.
A maximum of 2 GB memory is mapped in the U-Boot. Anything more than 2 GB will leave the other memory
unmapped and not used. Linux operating systems can use more than 2 GB. Up to 4 GB has been verified.
2
Address #4 and #5 is used instead of address #3 if RIO is configured.
5.1.2NOR Flash
The NOR flash is attached to the GPCM on local bus and works at 16-bit mode.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
73
Maps and Registers
The NOR flash is Numonyx™ Axcell™ JS28F00AM29EWL or Spansion S29GL01GP11TFIR2. Its
size is 1 Gb/128 MB. It has 1,024 uniform blocks, 128 KB or 64 kiloword each.
The physical address for NOR flash is 0xFE8000000 - 0xFEFFFFFFF.
The NOR flash should contain RCW data, U-Boot image, U-Boot environment variables, kernel
image, device tree blob, RAMDISK image and FMAN ucode image. The detailed map is
displayed in the following table:
Table 5-2 NOR Flash Map
Block#BlocksStartEndSizeDescription
010000 00000001 FFFF128 KBActive RCW Option Data
110002 00000003 FFFF128 KBRCW Option Data 1
210004 00000005 FFFF128 KBRCW Option Data 2
310006 00000007 FFFF128 KBRCW Option Data 3
410008 00000009 FFFF128 KBRCW Option Data 4
51000A 0000000B FFFF128 KBRCW Option Data 5
61000C 0000000D FFFF128 KBRCW Option Data 6
71000E 0000000F FFFF128 KBRCW Option Data 7
810010 00000011 FFFF128 KBRCW Option Data 8
910012 00000013 FFFF128 KBRCW Option Data 9
1010014 00000015 FFFF128 KBRCW Option Data 10
1110016 00000017 FFFF128 KBRCW Option Data 11
1210018 00000019 FFFF128 KBRCW Option Data 12
133001A 00000020 0000384 KBNot Used
161120020 000000FF FFFF14 MBFMAN ucode Image
128/806400100 000005FF FFFF80 MBRAMDISK Image
768/3002320600 000007CF FFFF29 MBKernel Image
1000/3E81507D0 000007ED FFFF1.9 MBDevice Tree Blob
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
5.1.3NAND Flash
The NAND flash is attached to the FCM on local bus and works at 8-bit mode.
The NAND flash is Numonyx NAND08GW3B2CN6E with flash size at 8 Gb or 1 GB. Each page
contains 2,112 Bytes, including 2,048 Bytes of data and 64 Bytes of spare. Each block contains
64 pages including 128 KB of data and 4 KB of spare, making a total of 8,192 blocks.
The NAND flash is only used as NAND flash JFFS2 rootfs. The detailed map is displayed on the
following table:
The full register address of any configuration, control, and status register (CCSR) is comprised
of the CCSR window base address, specified in CCSRBAR (default address 0x0_FE00_0000 or
0xF_FE00_0000), plus the functional block base address, plus the specific register's offset
within that block.
The table below lists the location of the functional block base address for the entire (CCSR)
space.
For more details on each block, please see the COMX-P4080 Reference Manual.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
75
Maps and Registers
Table 5-4 CCSR Block Base Address Map (continued)
Block Base Address (Hex)BlockComments
0x00_8000DDR memory controller 1-
0x00_9000DDR memory controller 2-
0x00_A000–0x00_FFFFReser ved-
0x01_0000CoreNet platform cache 1 (CPC1)-
0x01_1000CoreNet platform cache 2 (CPC2)-
0x01_2000–0x01_7FFFReserved-
0x01_8000CoreNet coherency fabric (CCF)-
0x01_9000–0x01_FFFFReserved-
0x02_0000PAMU partition 1The PAMU is partitioned into 16
0x02_1000PAMU partition 2
0x02_2000PAMU partition 3
0x02_3000PAMU partition 4
0x02_4000PAMU partition 5
identical instances. Not all are
necessarily backed with physical
hardware. However, all of them
must be programmed identically
or undefined behavior may
result.
0x13_8000Pre-boot loader (PBL)Software cannot write to the PBL
CCSR space directly. However,
special PBL commands may be
leveraged during pre-boot
initialization by referencing
specific CCSR offsets (unique
commands have unique CCSR
offsets).
0x13_9000–0x1F_FFFFReserved-
0x20_0000PCI Express controller 1-
0x20_1000PCI Express controller 2-
0x20_2000PCI Express controller 3-
0x20_2000–0x20_FFFFReserved-
0x21_0000USB 1 (host only)-
0x21_1000USB 2 (dual role)-
0x21_2000–0x2F_FFFFReserved-
0x30_0000SEC 4.0-
0x31_0000–0x31_3FFFReserved-
0x31_4000Security monitor-
0x31_5000–0x31_5FFFReserved-
0x31_6000Pattern match engine (PME)-
0x31_7000–0x31_7FFFReserved-
0x31_8000Queue manager (QMAN)-
78
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Maps and Registers
Table 5-4 CCSR Block Base Address Map (continued)
Block Base Address (Hex)BlockComments
0x31_9000–0x31_9FFFReserved-
0x31_A000Buffer manager (BMAN)-
0x31_B000–0x3F_FFFFReserved-
0x40_0000Frame manager 1-
0x50_0000Frame manager 2-
0x60_0000–0xFF_FFFFReserved-
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
79
Maps and Registers
80
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Operating System and Driver Support
6.1Supported Operating Systems
This module supports the following operating systems:
Linux (published by Artesyn)
Includes the following:
–U-Boot
–Linux kernel
–File system
6.2Supported Drivers
The following lists the drivers supported by the COMX-P4080 COM Express Module.
Chapter 6
Table 6-1 Driver Controller Table
Linux (published by Artesyn)
ChipsetNo (integrated in the CPU)
GraphicNo
LANYes
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
81
Operating System and Driver Support
82
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
BSP Operations
7.1Overview
COMX-P4080 has a board support package (BSP) that provides a shell to allow users to
accomplish most of the debugging operations on most of the board’s interfaces and peripheral
devices. The BSP of COMX-P4080 is U-Boot, Linux, DTB and rootfs.
7.2Setup Requirements
The following are the minimum setup requirements for the COMX-P4080:
One serial cable to connect the COMX-P4080 to a computer
One network cable connecting the onboard network port to the network
A TFTP server connected to the network.
Chapter 7
–The IP address should 192.168.0.100
–The TFTP root is /tftpboot/. You need to create a sub-directory named
"comx_p4080/" in this root.
Three copies of the BSP package comx_p4080.
COMX_P4080_V100R00.tar.gz, which will be decompressed in the comx_p4080/ file
NFS service is active on this TFP server and files are exported to
/tftpboot/comx_p4080/rootfs_nfs
7.3Basic Commands
The following are the commands commonly used by the U-Boot. To enter the U-Boot shell,
press any key while the autoboot is counting down.
Table 7-1 Basic U-Boot Commands
CommandDescription
=>Prompt for the command line.
help [cmd] or ? [cmd]Used to display the usage options for the command "cmd".
If "cmd" is not specified, U-Boot will display the brief usage options for
all of the available commands.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
83
BSP Operations
Table 7-1 Basic U-Boot Commands (continued)
CommandDescription
printenv [vn]Displays the value of the environment variable "vn".
setenv <vn> [vv]Sets the value of the environment variable "vn" to "vv". If "vv" is not spec-
saveenvSaves all the environment variables persistently to the U-Boot env sec-
run eraenvErases all the environment variables stored in the U-Boot env section on
If "vn" is not specified, U-Boot will display the values for all of the environment variables.
ified, U-Boot will not define the environment variable "vn".
If "vv" includes spaces, it should be enclosed within single quote marks.
For example: setenv manufacturer ’Emerson Network
Power’
tion on NOR Flash.
NOR Flash.
Protect off EFEE0000 +00020000; erase EFEE0000 +00020000
Protect on EFEE0000 +00020000
A reset must be performed after "run eraenv".
84
tftpbootDownloads image through network using TFTP protocol.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
87
BSP Operations
7.4.7Bootargs Variable
Bootargs Variable
rootroot=/dev/ram for ramboot and norboot;
'root=/dev/$jffs2nand rw’ for nandboot;
root=/dev/nfs for nfsboot;
'root=/dev/$usbbdev rw’ for usbfatboot and usbext2boot;
oot=/dev/$mmcbdev rw’ for mmcfatboot and mmcext2boot
rootfstype‘rootfstype=jffs2’ is needed for nandboot
rootdelay‘rootdelay=30’ is needed for usb*boot and mmc*boot
consoleDefault is ‘console=$consoledev,$baudrate’
hwbootargsDefault is ‘riohdid=0 xauiphy=1’, generated by U-Boot based on hwcon-
fig.
othbootargsDefault is ‘ramdisk_size=00700000 cache-sram-size=0x10000
7.4.8Bootup Variables
Bootup Variables
rambootDefault is ‘setenv bootargs root=/dev/ram rw
usbfatbootdefault is ‘setenv bootargs root=/dev/$usbbdev rw rootdelay=30
console=$consoledev,$baudrate $hwbootargs $othbootargs;usb
start;fatload usb 0:1 $loadaddr /boot/$bootfile;fatload usb 0:1 $fdtaddr
/boot/$fdtfile;bootm $loadaddr - $fdtaddr’
usbext2bootdefault is ‘setenv bootargs root=/dev/$usbbdev rw rootdelay=30
console=$consoledev,$baudrate $hwbootargs $othbootargs;usb
start;ext2load usb 0:2 $loadaddr /boot/$bootfile;ext2load usb 0:2
$fdtaddr /boot/$fdtfile;bootm $loadaddr - $fdtaddr’
7.5Checking the BSP Version
There are several different versions of the BSP, but no versions are availble for RCW and DTB.
Below are the methods on how the versions can be checked.
1.For the FMAN uCode Version, it can be found in the U-Boot boot-up message.
Fman: Uploading microcode version 101.6.0.
2. RAMDISK rootfs version
Boot up with ramboot (’run ramboot’ in U-Boot) or norboot (’run norboot’ in U-Boot).
In Linux, run ’cat /etc/.version’
[root@COMX-P4080 root]# cat /etc/.version
COMX-P4080 EXT2 ROOTFS ver: COMX_P4080_V100R00 build by
ec7536@cncdebaobs04.emrsn.org on Mon Nov 29 08:46:50 UTC 2010
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
89
BSP Operations
3.Kernel version
The version can be viewed in the loading kernel message:
Run ’iminfo $norbootaddr’ in U-Boot
## Booting kernel from Legacy Image at XXXXXXXX ...
Image Name: Linux-2.6.34.6
Created: 2010-11-29 8:46:16 UTC
=> iminfo $norbootaddr
## Checking Image at ee000000 ...
Legacy image found
Image Name: Linux-2.6.34.6
Created: 2010-11-29 8:46:16 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 3520445 Bytes = 3.4 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
90
In the kernel boot-up message:
Linux version 2.6.34.6 (ec7536@cncdebaobs04.emrsn.org) (gcc
version 4.3.2 (Sourcery G++ Lite 4.3-74) ) #1 SMP Mon Nov 29
16:46:03 CST 2010
4.U-Boot Version
Run the command "version" after the first line lf the U-Boot boot-up message
In the U-Boot, boot with nanboot (’run nandboot’). In Linux, run ’cat /etc/.version’
[root@COMX-P4080 root]# cat /etc/.version
COMX-P4080 JFFS2 ROOTFS for nand.full FLASH ver:
COMX_P4080_V100R00 build by ec7536@cncdebaobs04.emrsn.org on
Mon Nov 29 08:47:50 UTC 2010
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
6.NFS rootfs version
In the U-Boot, boot with nfs (’run nfsboot’). In Linux, run ’cat/etc/.version’.
7.6CPU
COMX-P4080 has the Freescale QorIQ Communications Processor. The CPU information can be
viewed in the terminal.
Figure 7-1COMX-P4080 CPU Information
BSP Operations
[root@COMX-P4080 root]# cat /etc/.version
COMX-P4080 NFS ROOTFS ver: COMX_P4080_V100R00 build by
ec7536@cncdebaobs04.emrsn.org on Mon Nov 29 08:50:20 UTC 2010
CPU0 is the active CPU in the U-Boot. Run the command "reset" to reboot the CPU/board.
7.7Address Space
U-Boot and Linux work in 36-bit physical addressing mode. The relationship between effective
address and physical address is displayed in the memory map table on Table "COMX-P4080
Address Space".
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
91
BSP Operations
The following are mapped in to the first 4 GB address space of the 64 GB, which is the 36-bit
physical address space. The 4 GB space is named as the effective address space and can be
accessed by the U-Boot.
DDR3 SDRAM
PCIE1/2/3 MEM
PCIE1/2/3 IO
RIO1/2 MEM
LBC NOR FLASH
DCSR
BMAN MEM
QMAN MEM
NAND FLASH Buffer
CCSR
BOOT PAGE
Table 7-2 COMX-P4080 Address Space
32-bit Effective
Address
10000 00000 0000 00008000 0000 - 2 GBDDR3 Memory
28000 0000C 0000 00002000 0000 - 512 MBPCIE1 MEM
3A000 0000C 2000 00002000 0000 - 512 MBPCIE2 MEM, if #4 and #5 are unused
4A000 0000C 2000 00001000 0000 - 256 MBRIO1 MEM, if #2 is unused
5B000 0000C 3000 00001000 0000 - 256 MBRIO2 MEM, if #2 is unused
6C000 0000C 4000 00000800 0000 - 512 MBPCIE3 MEM
7E800 0000F E800 00000800 0000 - 128 MBLBC NOR Flash
8F000 0000F 0000 00000040 0000 - 4 MBDCSR
9F400 0000F F400 00000020 0000 - 2 MBBMAN MEM
10F420 0000F F420 00000020 0000 - 2 MBQMAN MEM
11F800 0000F F800 00000001 0000 - 64 KBPCIE1 IO
Base Address
36-bit Phyiscal
Base AddressSizeDescription
92
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
U-Boot uses the following commands to display and modify the contents of the 4 GB effective
address space. Note that ".b", ".w", and ".l" means the operation unit is "byte", "word", and "long"
respectively.
md
-
Memory display
md [.b, .w, .l] address [# of objects]
mm
-
memory modify (auto-incrementing address)
mm [.b, .w, .l] address
this command copies data from one place to another
cp [.b, .w, .l] source target count
cmp
-
this command compares two data in different places.
cmp [.b, .w, .l] addr1 addr 2 count
7.8DDR3 SDRAM
COMX-P4080 has two fully programmable DDR3 SDRAM controllers. A maximum of 2 GB
SDRAM are mapped in U-Boot. If more than 2 GB SDRAM is fitted, the remaining sections are
left unmapped. With Linux, up to 4 GB SDRAM can be verified.
Do not modify the contents of the lowest 1 MB and the top 1 MB RAM in the U-Boot. Both areas
are used to store critical data by U-Boot.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
93
BSP Operations
When the U-Boot detects the DDR3 SDRAM during boot up, the following message appears:
COMX-P4080 has fourteen general purpose input/output (GPIO).
Table 7-3 GPIO States
GPIO#Input/OutputReset StateDescription
94
GPIO00IIGPI0 of COM-E connectors
GPIO01IIGPI1 of COM-E connectors
GPIO02IIGPI3 of COM-E connectors
GPIO03IIGPI4 of COM-E connectors
GPIO04OIGPO0 of COM-E connectors and also as to control
debug LED D18
GPIO05OIGPO1 of COM-E connectors and also as to control
debug LED D19
GPIO06OIGPO3 of COM-E connectors
GPIO07OIGPO4 of COM-E connectors
GPIO18OIWatchdog Input
GPIO19OIClock Generator Enable
GPIO20OICarried board reset output
GPIO23IIClock generator of bank 1 frequency selection input
GPIO24IIClock generator of bank 2 frequency selection input
GPIO26IIClock generator of bank 3 frequency selection input
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
BSP Operations
For more information, see Chapter 4, GPIO, on page 69.
The U-Boot provides several GPIO utility commands.
Table 7-4 GPIO Command Usage
CommandDescription
gpio dumpDumps the direction, od and level information for all pins
gpio get <pin>Gets the direction, od and level information for the specified pin
gpio set dir <pin> <dir>Sets the direction of the specified pin
gpio set dir <pin> <ol>Sets the od of the specified pin
gpio set dir <pin> <lvl>Sets the level of the specified pin
The parameters used in the GPIO utility commands are described below.
<pin>
<dir>
<od>
<lvl>
7.10UART
There are a total of four universal asynchronous receiver/transmitters (UART) in the COMXP4080, each with Tx and Rx signals routed to the COM-E connectors. For more details, see UART
on page 66.
-
0, 1, 2, 3, 4, 5, 6, 7, 18, 19, 20, 23, 24, 26
-
0 for input
1 for output
-
0 for output
1 for open drain
-
0 for low level
1 for high level
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
95
BSP Operations
The default active console is UART0. The working mode is 115200, 8, N, 1. Each of the four
UART can become the active console by setting the environment variable "uart#".
Usage:
UART0
UART1
UART2
UART3
The UART boot up message in U-Boot is as follows:
In :Serial
Out :Serial
Err :Serial
Current Console: uart#0
-
setnev uart# 0; savenv; reset
-
setnev uart# 1; savenv; reset
-
setnev uart# 2; savenv; reset
-
setnev uart# 3; savenv; reset
7.11NOR Flash
The NOR Flash is Numonyx™ Axcell™ JS28F00AM29EWL or Spansion S29GL01GP11TFIR2 and
is attached to the GPCM on local bus and works with 16-bit data width. It is either 1 GB or 128
MB and has 1024 uniform blocks of 128 K (or 64 K words each). The 36-bit physical address of
NOR Flash is 0xFE8000000 - 0xFEFFFFFFF. Boot up message in U-Boot is "FLASH: 128 MiB".
96
For more information on the NOR Flash memory maps, see Table "NOR Flash Map" on page 74
NOR Flash supports the following commands: md, cp, cmp, protect and erase.
Table 7-5 NOR Flash Command Usage
CommandDescription
protect on start endProtects flash from address "start" to address "end"
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
BSP Operations
Table 7-5 NOR Flash Command Usage (continued)
CommandDescription
protect on start +lenProtects flash from address "start" to end of section with address
"start"+"len"-1
protect on allProtects all flash banks
protect off start endMakes flash from address "start" to address "end" writable
protect off start +lenMakes flash from address "start" to end of section with address
"start"+"len"-1 writable
protect off allMakes all flash banks writable
erase start endErases flash from address ’start’ to address ’end’
erase start +lenErases flash from address ’start’ to the end of section with address
’start’+len-1
erase allErases all flash banks
The following is a NOR Flash operation example that upgrades the U-Boot.
tftpboot $loadaddr $ubootfile; protect off 0xeff00000 +$filesize;
erase 0xeff00000 +$filesize; cp.b $loadaddr 0xeff00000 $filesize;
protect on 0xeff00000 +$filesize;
7.12NAND Flash
The NAND Flash is Numonyx NAND08GW3B2CN6E which is 1 GB in size. It is attached to the
FCM on the local bus and works at 8-bit mode. Boot up message will appear as "NAND: 1024
MiB".
Each page contains 2,112 bytes, including 2048 bytes of data with 64 bytes spare. Each block
contains 64 pages, including 128 KB of data with 4 KB spare, making a total of 8192 blocks.
For more information on the NAND Flash and its memory map, see Table "NAND Flash Map" on
page 75.
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
97
BSP Operations
NAND Flash supports the following commands:
Table 7-6 NAND Flash Command Usage
CommandDescription
nand infoShows available NAND devices
nand device [dev]Shows or sets current device
nand readAddr off|partition size
nand writeAddr off|partition size
nand erase [clean] [off size]Erase ’size’ bytes from offset ’off’ (will erase on the entire device if it
nand badShows bad blocks
nand dump[.oob] offDumps page
Read/write ’size’ bytes starting at offset ’off’ to/from memory
address ’addr’, skipping bad blocks.
is not specified)
nand scrubCleans NAND by erasing bad blocks. Considered unsafe.
nand markbad off [...]Marks bad block or blocks at offset. Considered unsafe.
nand biterr offMakes a bit error at offset. Considered unsafe.
7.13I2C
There are a total of four I2C buses in the COMX-P4080, labeled as I2C<1/2/3/4>. For more
information, see I2C on page 68.
U-Boot provides the following utilities for I2C bus and devices.
I2C buses in the U-Boot have been re-assigned as follows:
’i2c dev 0’ selects I2C<1>
’i2c dev 1’ selects I2C<2>
’i2c dev 2’ selects I2C<4>
7.13.1ID EEPROM
i2C EEPROM AT24C02 (U30) is used as ID EEPROM, located on I2C<1>. COMX-P4080 uses ID
EEPROM to store the board’s serial number, number of network ports, MAC addresses, errata
level, manufacturing date and other information. Boot up message in the U-Boot will be:
"EEPROM: NXID v0".
U-Boot provides several "mac" utilities to display and program the data in ID EEPROM.
mac [read|save|id|num|errata|date|ports|0|1|2|3|4|5|6|7]
Reads to memory
mac readShows content of EEPROM
mac saveSaves to the EEPROM
mac idPrograms system id
mac numPrograms system serial number
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
99
BSP Operations
The following are usage examples:
mac id
mac num E017D99
mac errata 0
mac date 101021120000
mac ports 1
mac 0 00:80:42:05:49:d4
mac errataPrograms errata data
mac datePrograms date
mac portsPrograms the number of ports
mac XPrograms the MAC address for port X [X=0...7]
mac save
7.13.2Board EEPROM
I2C EEPROM (U2001) AT24C02) is used as BOARD EEPROM, located on I2C<1>. The COMXP4080 uses BOARD EEPROM to store information about the board’s processor family, module
family and configuration, among others. Boot up message in U-Boot will appear as "EEPROM:
COMX".
The U-Boot provides "brd" utilities to display and program the data in BOARD EEPROM.
brd [read|save|id|pf|pv|pe|mf|mv|me|ms|md|ma]
readShows content of EEPROM
brdsaveSaves to the EEPROM
brd idPrograms board id
brd pf Programs processor family
brd pvPrograms processor version
brd pePrograms processor errata
100
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.