Artesyn ATCA-7350 User Manual

ATCA-7350 - Integrating with Workbench

User Guide
P/N: 6806800H90D September 2014
©
Copyright 2014 Artesyn Embedded Technologies, Inc.
All rights reserved.
Trademarks
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).
Contact Address
Artesyn Embedded Technologies Artesyn Embedded Technologies
Marketing Communications
2900 S. Diablo Way, Suite 190
Tempe, Arizona 85282
Lilienthalstr. 17-19
85579 Neubiberg/Munich
Germany

Contents

Contents
About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1 Building Kernel and Root File System Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.2 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.3 Project Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
A Packaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
A.1 Files in Board Support Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
A.2 Kernel Patches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
A.3 Driver and Module Patches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
B Utilities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
B.1 Copying Files for Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
C Related Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
C.1 Artesyn Embedded Technologies - Embedded Computing Documentation . . . . . . . . . . . . . . . . 29
C.2 Related Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
C.3 Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
ATCA-7350 - Integrating with Workbench User Guide (6806800H90D)
3
Contents
Contents
Contents
4
ATCA-7350 - Integrating with Workbench User Guide (6806800H90D)
List of Tables
Table A-1 Files in Board Support Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table A-2 Kernel patches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table A-3 Driver and module patches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table C-1 Artesyn Embedded Technologies - Embedded Computing Publications . . . . . . . . . . . . . . . 29
Table C-2 Related Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Table C-3 Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
ATCA-7350 - Integrating with Workbench User Guide (6806800H90D)
5
List of Tables
6
ATCA-7350 - Integrating with Workbench User Guide (6806800H90D)

About this Manual

Overview of Contents

This manual provides an introduction for building the Linux kernel and root file system for an ATCA-7350 with Wind River PNE2.0 using Workbench. The Workbench Linux Support Package (LSP) layer delivered as part of this release should be used for the same. This manual however does not claim to provide complete working instructions on Wind River PNE2.0.
This manual is divided into the following chapter and appendices.
Building Kernel and Root File System Images describes the set up of the kernel and root file
system with Wind River PNE 2.0.
Appendix A, Packaging describes files in board support package.
Appendix B, Utilities describes copying of files for installation purpose.
Appendix C, Related Documentation lists the related documents of ATCA-7350.

Abbreviations

This document uses the following abbreviations:
Abbreviation Definition
BSP Board Support Package
DRBD Distributed Replicated Block Device
LHC Link Health Check
LSP Linux Support Package
PNE-Linux Platform Network Equipment Linux
ATCA-7350 - Integrating with Workbench User Guide (6806800H90D)
7
About this Manual
About this Manual

Conventions

The following table describes the conventions used throughout this manual.
Notation Description
0x00000000 Typical notation for hexadecimal numbers (digits are
0 through F), for example used for addresses and offsets
0b0000 Same for binary numbers (digits are 0 and 1)
bold Used to emphasize a word Screen Used for on-screen output and code related elements
or commands in body text
Courier + Bold Used to characterize user input and to separate it
from system output
Reference Used for references and for table and figure
descriptions
File > Exit Notation for selecting a submenu
<text> Notation for variables and keys
[text] Notation for software buttons to click on the screen
and parameter description
... Repeated item for example node 1, node 2, ..., node
12
.
.
.
.. Ranges, for example: 0..4 means one of the integers
| Logical OR
8
ATCA-7350 - Integrating with Workbench User Guide (6806800H90D)
Omission of information from example/command that is not necessary at the time being
0,1,2,3, and 4 (used in registers)
Notation Description
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
Indicates a property damage message
No danger encountered. Pay attention to important information
About this Manual

Summary of Changes

This manual has been revised and replaces all prior editions.
Part Number Publication Date Description
6806800H90A July 2009 First edition
6806800H90B January 2010 Updated 1.2 Prerequisites, 1.3 Project Setup, A.1
Files in Board Support Package, A.3 Driver and Module Patches, and B.1 Copying Files for Installation sections.
6806800H90C May 2010 Updated Prerequisites on page 11, Project Setup on
page 11, Files in Board Support Package on page 21, Kernel Patches on page 25.
6806800H90D September 2014 Re-branded to Artesyn template.
ATCA-7350 - Integrating with Workbench User Guide (6806800H90D)
9
About this Manual
About this Manual
10
ATCA-7350 - Integrating with Workbench User Guide (6806800H90D)
Chapter 1

Building Kernel and Root File System Images

1.1 Overview

This section describes how to setup and create Kernel and root file system, with Wind River PNE
2.0, that is suitable to use on an ATCA-7350 blade.

1.2 Prerequisites

The local RedHat Linux (version 4 or above) system should have the following software installed:
Wind River PNE2.0 Service Pack 4 (PNE2.04) toolchain
Wind River Workbench 3.0.
To integrate the Workbench with ATCA-7350:
extract the ATCA-7350 BBS release 1.1 build 1.1.2 to the /home directory extract <centellis_untarred_location>/ATCA_7350/disk/bsp.tar.bz2
file to the /home/wind directory. This directory is used to pick layers. You should have read and write permissions for this directory. After extracting the bsp.tar.bz2 file the following directory structure is created.
/home/wind/bsp/custom_layer/templates/board /home/wind/bsp/custom_layer/templates/dist /home/wind/bsp/custom_layer/templates/packages
Refer Appendix A, Packaging, on page 21, for more information of the Linux Support Package (LSP) directory structure and contents.

1.3 Project Setup

To setup a project in the Workbench.
1. Login as a non-root user.
2. Validate that the following line is appended in the User Privilege Section section of the /etc/sudoers file.
<usr_name> ALL=(ALL) NOPASSWD: ALL
ATCA-7350 - Integrating with Workbench User Guide (6806800H90D)
11
Loading...
+ 23 hidden pages