SMART Embedded Computing MVME2500 User Manual

MVME2500 VxWorks 6.8 AMP

User Guide P/N: 6806800M27C
September 2019
© 2019 SMART Embedded Computing™, Inc.
All Rights Reserved.
Trademarks
The stylized "S" and "SMART" is a registered trademark of SMART Modular Technologies, Inc. and “SMART Embedded Computing” and the SMART Embedded Computing logo are trademarks of SMART Modular Technologies, Inc. All other names and logos referred to are trade names, trademarks, or registered trademarks of their respective owners. These materials are provided by SMART Embedded Computing as a service to its customers and may be used for informational purposes only.
Disclaimer*
SMART Embedded Computing (SMART EC) assumes no responsibility for errors or omissions in these materials. These materials are provided "AS IS" without warranty of any kind, either expressed or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SMART EC further does
not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SMART EC shall not be liable for any special, indirect, incidental, or consequential damages, including without limitation, lost revenues or lost profits, which may result from the use of these materials. SMART EC may make changes to these materials, or to the products described therein, at any time without notice. SMART EC makes no commitment to update the information contained within these materials.
Electronic versions of this material may be read online, downloaded for personal use, or referenced in another document as a URL to a SMART EC website. The text itself may not be published commercially in print or electronic form, edited, translated, or otherwise altered without the permission of SMART EC.
It is possible that this publication may contain reference to or information about SMART EC products, programming, or services that are not available in your country. Such references or information must not be construed to mean that SMART EC intends to announce such SMART EC 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 SMART Embedded Computing.
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).
SMART Embedded Computing, Inc.
2900 S. Diablo Way, Suite 190
Tempe, Arizona 85282
USA
*For full legal terms and conditions, visit
www.smartembedded.com/ec/legal
Table of Contents
About this Manual ................................................................5
1 Introduction..................................................................9
1.1 Overview ................................................................9
1.2 Deliverables .............................................................9
2 Booting VxWorks ............................................................11
2.1 Introduction .............................................................11
2.2 Network Boot ...........................................................11
2.2.1 Prerequisites ......................................................11
2.2.2 Booting Procedure ..................................................11
2.3 Disk Boot ..............................................................13
2.3.1 Prerequisites ......................................................13
2.3.2 Booting Procedure ..................................................13
2.4 USB Boot ..............................................................15
2.4.1 Prerequisites ......................................................15
2.4.2 Booting Procedure ..................................................15
3 Building Board Support Package ...............................................17
3.1 Building Procedure .......................................................17
A Sample Output ..............................................................27
A.1 Network Boot ...........................................................27
A.1.1 VxWorks Booting on Core 0...........................................27
A.1.2 VxWorks Booting on Core 1...........................................29
A.2 Disk Boot ..............................................................30
A.2.1 VxWorks Booting on Core 0...........................................30
A.2.2 VxWorks Booting on Core 1...........................................31
A.3 USB Boot ..............................................................33
A.3.1 VxWorks Booting on Core 0...........................................33
A.3.2 VxWorks Booting on Core 1...........................................34
MVME2500 VxWorks 6.8 AMP User Guide (6806800M27C) 3
Table of Contents
B Related Documentation .......................................................37
B.1 SMART Embedded Computing Documentation .................................37
4 MVME2500 VxWorks 6.8 AMP User Guide (6806800M27C)

About this Manual

Overview of Contents
This manual is divided into the following chapters and appendix:
Chapter 1, Introduction on page 9, provides an overview of this manual.
Chapter 2, Booting VxWorks on page 11, describes the procedure to boot VxWorks 6.8
AMP on the MVME2500.
Chapter 3, Building Board Support Package on page 17, describes the procedure to build
Board Support Package (BSP).
Appendix A, Sample Output on page 27, provides the sample output of VxWorks 6.8 AMP
booting through network, disk and USB.
Appendix B, Related Documentation on page 37 lists the related documents of VxWorks on
the MVME2500 6.8 AMP.
Abbreviations
This document uses the following abbreviations:
Abbreviation Definition
AMP Asymmetric Multiprocessing
BSP Board Support Package
FTP File Transfer Protocol
IP Internet Protocol
SATA Serial Advanced Technology Attachment
SBC Single Board Computer
TFTP Trivial File Transfer Protocol
MVME2500 VxWorks 6.8 AMP User Guide (6806800M27C) 5
l
About this Manual
Conventions
The following table describes the conventions used throughout this manual.
Notation Description
About this Manua
0x00000000
0b0000
bold Used to emphasize a word
Screen
Courier + Bold
Reference
File > Exit Notation for selecting a sub-menu
<text> Notation for variables and keys
[text]
... Repeated item for example node 1, node 2, ..., node 12
.
.
.
..
Typical notation for hexadecimal numbers (digits are 0 through F), for example used for addresses and offsets
Same for binary numbers (digits are 0 and 1)
Used for on-screen output and code related elements or commands.
Sample of Programming used in a table (9pt)
Used to characterize user input and to separate it from system output
Used for references and for table and figure descriptions
Notation for software buttons to click on the screen and parameter description
Omission of information from example/command that is not necessary at the time
Ranges, for example: 0..4 means one of the integers 0,1,2,3, and 4 (used in registers)
| Logical OR
Indicates a hazardous situation which, if not avoided, could result in death or serious injury
Indicates a hazardous situation which, if not avoided, may result in minor or moderate injury
6 MVME2500 VxWorks 6.8 AMP User Guide (6806800M27C)
Notation Description
Indicates a property damage message
Indicates a hot surface that could result in moderate or serious injury
Indicates an electrical situation that could result in moderate injury or death
Indicates that when working in an ESD environment care should be taken to use proper ESD practices
About this Manual
No danger encountered, pay attention to important information
Summary of Changes
This manual has been revised and replaces all prior editions.
Part Number Publication Date Description
Re-branded to SMART Embedded Computing
6806800M27C September 2019
6806800M27B August 2014 Re-branded to Artesyn template.
6806800M27A April 2011 Initial version
MVME2500 VxWorks 6.8 AMP User Guide (6806800M27C) 7
template. Updated Conventions table; updated Freescale to NXP; updated Related Documentation paragraph.
l
About this Manual
About this Manua
8 MVME2500 VxWorks 6.8 AMP User Guide (6806800M27C)

Introduction

1.1 Overview

The MVME2500 Single Board Computer (SBC) is a VMEbus board, which features a single-core P2010 or the dual-core P2020 NXP® QorIQ® processors.
VxWorks 6.8 Asymmetric Multiprocessing (AMP) allows the independent instances of the VxWorks operating system to run on the individual CPUs of a multi-core processor.
This document describes the procedure to boot the VxWorks 6.8 AMP on the MVME25000 board.

1.2 Deliverables

The following table lists the MVME2500 deliverables.
Table 1-1 List of Deliverables
Name Description
Chapter 1
vxWorks_00.st VxWorks boot image file for Core 0
vxWorks_01.st VxWorks boot image file for Core 1
mvme2500_AMP_rel1.0.tar.gz
VxWorks 6.8 AMP Board Support Package (BSP) for MVME2500
MVME2500 VxWorks 6.8 AMP User Guide (6806800M27C) 9
Introduction
Introduction
10 MVME2500 VxWorks 6.8 AMP User Guide (6806800M27C)

Booting VxWorks

2.1 Introduction

You can boot VxWorks AMP on the MVME2500 board using any of the following methods:
Network Boot
Disk Boot
USB Boot

2.2 Network Boot

2.2.1 Prerequisites

You should have Connectivity to the TFTP server

2.2.2 Booting Procedure

Chapter 2
The TFTP server should be configured and started in the connected PC. The VxWorks boot Image file, vxWorks_00.st, should be made available at the standard TFTP boot image path /tftpboot.
To boot VxWorks AMP through network, perform the following steps:
1. Power up the MVME2500 board. By default, it provides the U-Boot prompt.
2. Set the environmental variables at the U-Boot prompt.
setenv ipaddr <Board ip address> setenv serverip <TFTP server ip address> setenv gatewayip <Gateway ip address> setenv netmask <Netmask>
Example:
setenv ipaddr 10.130.101.206 setenv serverip 10.130.101.216 setenv gatewayip 10.130.101.254 setenv netmask 255.255.255.0
3. Set the VxWorks boot image file name.
setenv vxbootfile vxWorks_00.st
MVME2500 VxWorks 6.8 AMP User Guide (6806800M27C) 11
Booting VxWorks
4. Set the VxWorks bootline arguments.
setenv vxbootargs 'motetsec(0,0)10.130.101.216:vxWorks h=10.130.101.216 e=10.130.101.206:ffffff00 u=vxworks pw=vxworks f=0x80’
Parameters description:
motetsec(0,0) : ethernet interface 0 on cpu 0
10.130.101.216 : Host Machine IP
10.130.101.206 : Board IP ffffff00 : Netmask u=vxworks : Username on host machine p=vxworks : Password for the above user in host machine f=0x80 : File Transfer Protocol (FTP)
5. Set the VxWorks network boot command.
setenv vxboot 'tftpboot $vxbootfile && setenv bootargs $vxbootargs && bootvx'
6. Save your current environmental variables.
saveenv
7. Boot VxWorks on Core 0 through network.
run vxboot
This will boot the VxWorks on Core 0 only. For sample output of VxWorks booting on Core 0 through network, refer to Section
A.1.1, VxWorks Booting on Core 0 on page 27.
Booting VxWorks
8. Boot VxWorks Image on Core 1, execute wrload command. Example: wrload "-file <image dir>/vxWorks -cpu 1"
To access the Core1 Console use the tip utility. Example: tip "dev=/ttyMsd0#tag=green". For more information refer the tip utility documentation.
For sample output of VxWorks booting on Core 1 through network, refer to Section
A.1.2, VxWorks Booting on Core 1 on page 29.
12 MVME2500 VxWorks 6.8 AMP User Guide (6806800M27C)
Loading...
+ 28 hidden pages