VortiQa Software for Service Provider SIMICs Demo Quick Start Guide

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

Design Recommendations to Implement Compatibility Between the MC13783VK and the MC13783VK5

MPC7410 RISC Microprocessor Hardware Specifications Addendum for the MPC7410TxxnnnLE Series

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

MC56F825x/MC56F824x (2M53V) Chip Errata

VortiQa Enterprise Quick Start Guide

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

SGTL5000 I 2 S DSP Mode

MTIM Driver for the MC9S08GW64

PCB Layout Guidelines for the MC1321x

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

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

MPR121 Jitter and False Touch Detection

USB Bootloader GUI User s Guide

Electrode Graphing Tool IIC Driver Errata Microcontroller Division

Component Development Environment Installation Guide

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

EchoRemote Evaluation Software for Windows

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

MPR121 Proximity Detection

Using the Project Board LCD Display at 3.3 volts

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

IIC Driver for the MC9S08GW64

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

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

PDB Driver for the MC9S08GW64

Using the PowerQUICC II Auto-Load Feature

MCF54451, MCF54452, MCF54453, MCF54454,

PowerQUICC HDLC Support and Example Code

etpu Automotive Function Set (Set 2)

Converting Earlier Versions of CodeWarrior for StarCore DSPs Projects to Version

Using the Kinetis Family Enhanced EEPROM Functionality

MPC8349E-mITX-GP Board Errata

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

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

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

Differences Between the DSP56301, DSP56311, and DSP56321

Keil uvision 4 Kinetis Support for Freescale MQX RTOS Release Notes

Using GCR4 to Adjust Ethernet Timing in MSC8144 DSPs

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

ColdFire Convert 1.0 Users Manual by: Ernest Holloway

MSC8144AMC-S Getting Started Guide

Using the Asynchronous DMA features of the Kinetis L Series

Using an I 2 C EEPROM During MSC8157 Initialization

Mask Set Errata for Mask 2M40J

56F8300 BLDC Motor Control Application

Using the Multi-Axis g-select Evaluation Boards

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

Power Cycling Algorithm using the MMA73x0L 3-Axis Linear Accelerometer

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

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

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

MPC8569E Instruction RAM Microcode Package Release 169

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

i.mx31 PDK Power Measurement with GUI

Mask Set Errata for Mask 5L35K

Migrating from the MPC852T to the MPC875

SCI Driver for the MC9S08GW64

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

Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage

i.mx31 PDK 1.3 to PDK 1.4 Revision Changes Linux

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

MPC8260 IDMA Timing Diagrams

Using the Knock Window etpu Function

MPR083 Proximity Evaluation Kit User s Guide

Using IIC to Read ADC Values on MC9S08QG8

MC33897 Single-Wire CAN Transceiver Reliability and Quality Documents

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

MCF5445x Configuration and Boot Options Michael Norman Microcontroller Division

Sensorless BLDC Motor Control Based on MC9S08PT60 Tower Board User Guide

Using OpenGL Applications on the i.mx31 ADS Board

Support for IEEE 1588 Protocol in PowerQUICC and QorIQ Processors

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

PMSM Vector Control with Encoder on Kinetis Setup Guide for Demo Kits without a Tablet PC

Asymmetric C++ Multicore Application for StarCore DSPs

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

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

Media Streaming to i.mx31 PDK over Wireless LAN

NOVPEK NetLeap User Guide

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

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

Gallium Arsenide PHEMT RF Power Field Effect Transistor

Freescale BeeStack Documentation Overview Document Number: BSDO Rev /2008

Freescale Semiconductor. Integrated Silicon Pressure Sensor On-Chip Signal Conditioned, Temperature Compensated and Calibrated MP3V5050.

MC33794 Touch Panel System Using E-Field Sensor Setup Instructions

DSP56F827 Digital Signal Controller

Interfacing and Configuring the i.mx25 Flash Devices

Functional Differences Between the DSP56307 and DSP56L307

Addendum to HPCN User s Guide: Quick-Start Guide

Introduction to LIN 2.0 Connectivity Using Volcano LTP

Mask Set Errata for Mask REV3.1_2N89D

Mask Set Errata for Mask 2N40C

PowerQUICC II Parity and ECC Capability

i.mx51 WinCE Clock Setting

Functional Differences Between DSP56302 and DSP56309 (formerly DSP56302A)

Mask Set Errata for Mask 4L35K

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

MCF5216 Device Errata

Transcription:

Freescale Semiconductor Document Number: VQSSIMICSQSG Quick Start Guide Rev. 0, 06/2009 VortiQa Software for Service Provider SIMICs Demo Quick Start Guide This document provides the instructions to install and run the Fast Path UTM application on a simulated p4080 platform running on a X86 Host. The P4080 in this demo is configured to run the control plane in one partition (core 0) and the data plane code in three partitions (cores 1, 2 and 3). The remaining four partitions are unused. Contents 1 Terminology... 2 2 Prerequisites... 2 3 Installation of the Demo Package... 3 4 Quick Guide to Start the Application... 3 5 Revision History... 19 This document does not cover the SIMICS and LTIB installation instructions. Freescale Semiconductor, Inc., 2009. All rights reserved.

Table 1. System Requirements Recommended Host Platfom Intel Core 2 QUAD CPU Q9300 @ 2.50GHz, Minimum memory 4 GB, Minimum three 1 Gb NIC interfaces Operating System UbuntuVersion 8.04 (64 bit) SIMICS Simics Base 4.0.23,P4080-R1 4.0.pre8 LTIB 8.1.2(1.393.2.3) 3 to 4 Vlan tag capable switches, Minimum 4 High End PCs, Minimum Test Equipment two large size monitors. SDK 1.0 B 1 Terminology Target Linux The Linux that runs on P4080 platform. igateway Fast Path UTM control plane applications runs on this Linux and data plane applications are started through this Linux. LWE application Application that runs on the Light weight Executive, the dataplane part of the FPUTM runs on the LWE partitions. Simics Host PC running ubuntu 8.04 (64 Bit). The p4080 simulator tool Simics, runs on this host machine. This machine should be capable of connecting to a FlexLm server that maintains and serves SIMICS licenses. Ltib Install path Path where the ltib.iso was installed on the Simics host. Generally ltib install Path is /home/b2xxxx/ltib/ltib-e500mc-20080924. 2 Prerequisites SIMICS and LTIB should have been already installed on the Simics host. Bridge Utilities The test setup requires bridging capabilities on the Simics Host. Therefore the Bridge control utility, brctl has to be available on the simics host. To check if the bridge utilities are available type, sudo brctl show on the Simics Host. If the utility has been already installed the display is as below b22174@intoto-desktop:~$ sudo brctl show bridge name bridge id STP enabled interfaces 2 Freescale Semiconductor

If this utility is not present you will see an error that says command not found. In such a case, install the package by typing sudo apt-get install bridge-utils on the shell of the Simics Host. 3 Installation of the Demo Package Copy IgwDemoPkg_1.00.00D_MM-DD-YYYY.tgz into ltib install path. (Generally ltib install Path is /home/b2xxxx/ltib/ltib-e500mc-20080924.) CAUTION This tar archive overwrites the list of files mentioned below. rootfs/boot/vmlinux.stripped rootfs/boot/hv-8p-lnx-lwe.dtb rootfs.ext2.gz rootfs/boot/u-boot.bin rootfs/boot/hv.uimage bin/s4_hv-8p-lnx-lwe.simics bin/s4_boot.simics bin/xtel.sh rootfs/igateway-fputm/ startup.sh igwstart.sh Target linux image device tree image u-boot image hypervisor image simics script simics script terminal server image igateway binaries Simics host demo start script Script to start Simics. This is executed with in startup.sh Backup the above files if required. Untar IgwDemoPkg_1.00.00D_MM-DD-YYYY.tgz. This package contains the files to start FPUTM application and the scripts to configure Firewall and VPN. sudo tar zxvf IgwDemoPkg_1.00.00D_MM-DD-YYYY.tgz 4 Quick Guide to Start the Application The following two steps are the only ones required to bring up the igateway FPUTM application: Step 1: Start the Simics application cd /home/b2xxxx/ltib/ltib-e500mc-20080924./startup.sh Step 2: Start igateway FPUTM Application start Freescale Semiconductor 3

At the login prompt of the target Linux shell,, enter root as user name and root as password. cd /igateway-fputm./load.sh 7 00:11:22:33:44:55 The following subsection provides a detailed explanation. 4.1 Running the igateway FPUTM Application Open a terminal window on the Simics Host. Change the directory ltib install path cd /home/b2xxxx/ltib/ltib-e500mc-20080924 run startup.sh This script creates 10 TUN/TAP interfaces, fman0_eth0 thru fman0_eth4 and fman1_eth0 thru fman1_eth4. The script also creates three bridges br0, br1, and br2. These bridge interfaces connect the Target application to the real world, as follows: Bridge br0 bridges ports fman0_eth1 and eth1 Bridge br1 bridges ports fman0_eth2 and eth2 Bridge br2 bridges ports fman0_eth3 and eth3 physical ports. NOTE As eth1, eth2 and eth3 ports of the Simics host are bridged, applications other than simics that might be running on the host and using these interfaces will loose connectivity. 7 xterm windows are spawned one for each LWE partition. Two serial consoles appear on UART0 and UART2. The Hypervisor image running on all cores uses UART0 for its console. The control plane Target Linux image uses UART2 for its console. The two UART consoles overlap each other; you can drag these windows apart and away from the xterm windows to have a good view of all of the windows simultaneously. The following is a sample screen shot after the startup.sh is executed. 4 Freescale Semiconductor

The terminal on which the startup script was executed becomes the simics console. To verify if the script executed correctly and to examine if all of the interfaces required are available. ifconfig -s Among other interfaces on the system you should see 10 tun/tap interfaces with names fman0_eth0 to fman0_eth4 and fman1_eth0 to fman1_eth4. and both bridges br0 and br1 Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg br0 1500 0 27 0 0 0 6 0 0 0 BMRU br1 1500 0 273 0 0 0 6 0 0 0 BMRU br2 1500 0 273 0 0 0 6 0 0 0 BMRU eth0 1500 0 153 0 0 0 154 0 0 0 BMRU eth1 1500 0 160 0 0 0 161 0 0 0 B MRU eth2 1500 0 0 0 0 0 0 0 0 0 BMU eth3 1500 0 0 0 0 0 0 0 0 0 BMU eth4 1500 0 0 0 0 0 0 0 0 0 BMU eth5 1500 0 3050 0 0 0 1464 0 0 0 BMRU eth6 1500 0 0 0 0 0 0 0 0 0 BMU eth7 1500 0 0 0 0 0 0 0 0 0 B MU fman0_eth0 1500 0 39 0 0 0 40 0 27 0 BMRU Freescale Semiconductor 5

fman0_eth1 1500 0 151 0 0 0 162 0 26 0 BMRU fman0_eth2 1500 0 154 0 0 0 169 0 27 0 BMRU fman0_eth3 1500 0 0 0 0 0 10 0 26 0 BMRU fman0_eth4 1500 0 0 0 0 0 10 0 26 0 BMRU fman1_eth0 1500 0 0 0 0 0 10 0 26 0 BMRU fman1_eth1 1500 0 0 0 0 0 9 0 28 0 BMRU fman1_eth2 1500 0 0 0 0 0 10 0 26 0 BMRU fman1_eth3 1500 0 0 0 0 0 9 0 28 0 BMRU fman1_eth4 1500 0 0 0 0 0 9 0 28 0 BMRU lo 16436 0 16968 0 0 0 16968 0 0 0 L RU 4.2 Stopping the Simics Application On the Simics console type <Ctrl> C. You will be at the simics prompt; type exit to exit the demo. 4.3 Starting the FPUTM Application Login on the target Linux window with user name as root and password as root. Change dir to igateway-fputm. cd /igateway-fputm From the target Linux prompt type./load.sh 7 00:11:22:33:44:55 This script starts the FPUTM DP and CP Applications. load.sh scripts accepts two parameters. The first is the core mask which is a bitmap of data plane cores that are to be included for the DP application. For example, if cores 1 and 2 are to be used the coremask value will be 6 and for 0 thru 2 coremask would be 7. The second parameter takes the Base MAC address of the pseudo Ethernet interfaces created by igateway CP application. This Mac address is assigned to the first pseudo Ethernet interface on the target Linux and the remaining interfaces get the incremented value of the last octet. This value should be different for each igateway-fputm application in order to avoid MAC address conflicts with in the test network. 6 Freescale Semiconductor

After you see the line Initial loading completed message on the target Linux window start igateway s command line interface by typing./cli Freescale Semiconductor 7

If you intend to build your own version of Target Linux, the following changes have to be made for Target Linux. This Step is not required if you plan to install and run the demo binary. The following modules from the Target Linux kernel should be disabled Freescale Datapath(Qman/Bman) support Freescale Datapath Frame Manager Ethernet. Module Versioning support. How to check and disable these modules from the Target Linux?./ltib configure This will display a screen as shown below. 8 Freescale Semiconductor

Now from the above wizard, grep for configure the kernel and press space bar and <EXIT> Freescale Semiconductor 9

Select yes After the above step lot of messages appear on the terminal and one more screen appears as 10 Freescale Semiconductor

Scroll down and select Device Drivers Find hardware Queue support and press select Freescale Semiconductor 11

Unselect the Freescale datapath (Qman/Bman) support and <EXIT> 12 Freescale Semiconductor

Then Find the Network Device support under Device Drivers Freescale Semiconductor 13

Find the Ethernet (10000 Mbit) 14 Freescale Semiconductor

Find Freescale Data path Frame manager Ethernet and unselect <EXIT> <EXIT> <EXIT> Freescale Semiconductor 15

4.3.1 Removing Versioning Support Under kernel configuration find Enable loadable module support 16 Freescale Semiconductor

Unselect Module versioning support <EXIT> <EXIT doubt need to be clarified >> Freescale Semiconductor 17

Now kernel configuration has changed,so after the above step kernel starts preparing a build with new configuration and at the end it as shown below Build, install and deploy the kernel #cd /home/b2xxxx/ltib/ltib-e500mc-20080924./ltib m scbuild p kernel./ltib m scdeploy p kernel 4.4 Demo Scripts Firewall and VPN scripts are provided in the binary package under two directories named fw-scripts and vpn-scripts to verify the functionality. These scripts are available on the p4080 target. On the UART2 console, typing the following takes to these script directories. /#cd /igateway-fputm/demo-scripts /igateway-fputm/demo-scripts#ls fw-scripts vpn-scripts Various use cases defined in the FPUTM_On_P4080_Demo_Use_Cases_vX.doc, are mapped to these scripts. 18 Freescale Semiconductor

5 Revision History Table 2 summarizes revisions to this document. Table 2. Revision History Revision Comments 0 Initial release Freescale Semiconductor 19

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 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 that 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, the Freescale logo, PowerQUICC, QorIQ,and VortiQa 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. Freescale Semiconductor, Inc. 2009. All rights reserved. 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 +303-675-2140 Fax: +303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.com Document Number: VQSSIMICSQSG Rev. 0 06/2009