Home

Intel® Industrial Solutions System Consolidation Series User's Guide

image

Contents

1. wd Root FS gibc core be Optimized Builds Kernel standard v Build spec intel xeon core glibc_core lt lt Advanced Additional configure options Layers Templates Add DI ROOTFS debug Remove Remove Up Reload See Layers and Sysroots SDK preferences Option Value Configure command home wruser WindRiver wrlinux 5 wrlinux configure enable board intel xeon core enable rootfs glibc_core enable kernel standard enable build production with template ROOTFS debug ei lt Back Next gt Cancel Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 117 m e l n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Under General settings select values as follows e Board From the drop down menu select intel xeon core 32 e RootFS Root File System From the drop down menu select glibc_ std to enable a small EGLIB based file system that does not use busybox e Kernel From the drop down menu select standard to enable a standard Wind River Linux kernel From the Build drop down menu select Production The Options Value pane will retain the list options you configured for the previous Wind River Linux Platform Project If this is your first platform project it will be empty See Figure 99 Configure Options 1 NOTE In some low resolution monitor hardware you may need to move
2. Click OK The Open AMIO Console window closes At the bottom of Workbench a new tab appears under the AMIO console Configure Target Platform BI OS to Boot from USB Media Before booting the target platform from USB media you first configure the target platform BIOS to boot from USB media NOTE To ensure that you start the target platform from USB media follow this procedure each time you need to boot from USB media Shut down the target platform and wait 5 seconds Place the bootable USB media into an open USB port preferably a blue USB 3 0 port Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 132 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel Press and release the target platform power button The target platform begins to start As the target platform begins to start repeatedly press the DELETE button The target platform enters the BIOS Main tab See Figure 114 BIOS 1 Figure 114 BIOS 1 Aptio Setup Utility Copyright C 2011 American Megatrends Inc System Language English Use the right arrow key to go to the Save amp Exit tab See Figure 115 BIOS 2 Figure 115 BIOS 2 and Exit up Utility Copyright Filesystem device C 2011 American Megatrends Inc Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 133 i n tel
3. Back Next gt Cancel Click Next The Project Setup window appears At the Based on drop down menu select an existing project Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 101 l n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch From the Project drop down menu select myvip_wrVbX86_ 1 See Figure 84 Based On Figure 84 Based On New VxWorks Image Project x Project Setup Base the new project either on an existing project or on a board support aw package and a tool chain Setup the project Based on a source build project e Project vsb_wrVbX86 S Browse BSP wrVbX86 ai Browse Address mode 32 bit kernel o Tool chain gnu S Target Agent Enable WDB Target Agent BSP validation test suite Add support to project Opti Setup information Base directory home wruser workspace vsb_wrVbX86 lt Back Next gt Cancel Finish Check the Enable WDB Target Agent checkbox To create the VIP project click Finish After a few moments a myvip_wrVbX86_2 Wind River VxWorks 6 9 I mage Project appears in the Project Explorer pane Go to Project Explorer Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 102 Workflow 3 Build Linux amp VxWorks OS I mages from Scratc
4. These two subsystems work together to provide you with development and productivity that you can customize for your needs As an example of the system in its simplest form Figure 2 Development Host and Target Platform System shows a laptop as a development host connected by a serial cable to the target platform Optionally connect the subsystems remotely by Ethernet Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 23 l n tel Workflow 1 Set Up amp Explore the System Features Figure 2 Development Host and Target Platform System 6 3 NOTE To render clarity in the figure power supplies and external peripherals are removed You may connect external peripherals such as a monitor and keyboard to enable interaction directly with the target platform via its Linux command line interface Before you begin make certain to read and understand this chapter prior assembling and exploring your Intel Industrial Solutions System Consolidation Series SCS system User Provided System Components You must provide certain components to complete assembly of the SCS system e Development host computer perhaps as a desktop laptop or tablet PC When selecting a development host PC make certain that it meets or exceeds the specifications defined in Section 4 1 2 Development Host Specifications NOTE The SCS packaging provides a short serial cable dongle to connect
5. COREgnu O COREgnu_LP64_KERNEL J COREqnu_LP64_KERNEL_SMP Active build spec COREgnu 3 Debug Mode lt Back Next gt Cancel Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 93 i n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Click Finish A Wind River VxWorks Downloadable Kernel Module Project line item appears in the Workbench Project Explorer window See Figure 75 DKM Module Figure 75 DKM Module Project Explorer 3 File Navigator D OZ A Zg Kernel Configuration E vxWorks bin default BR vxWorks hex default E vxWorks default D gi Includes gt Ga wrVbX86 linkSyms c gt Gig Build Targets COREgnu debug Wind River Launches D jaf Includes LS VG myvip_wrVbX86_1 Wind River VxWorks 6 9 Image Project n prjComps h Lo prj Config c Ip prjParams h el i gt 8 4 4 Add Source Code to the Project By this point you have set up the basic infrastructure to support your VxWorks project but you have imported no application code to operate on this OS In this procedure you can import source files containing application code In Project Explorer right click the Downloadable Kernel Module Project you just created and select Import A Select window appears In the Select an import source list click the tr
6. Figure 89 Set Active D Project Explorer CR 7 File Navigator DS Ei e gt D Build Targets SIMPENTIUMdiab_RTP debug Wind River Launches D gt K Includes helloworld c sample txt gt amp myvip wrVbX86_1 Wind River VxWorks 6 9 Image Project YV mywip_wrVbX86_2 Wind River VxWorks 6 9 Image Project Kernel Configuration if vxWorks bin default if vx Works hex default if vx Works default D ai Includes linkSyms c n prjComps h a gt The Set Active Build Spec and Debug Mode window appears Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 108 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch n tel Select the COREgnu_RTP build spec See Figure 90 COREgnu_RTP Figure 90 COREgnu_ RTP 8 5 4 Set Active Build Spec and Debug Mode x ATOMdiab_RTP ATOMgnu_RTP ATOMicc_RTP COREdiab_RTP COREgnu_LP64_RTP COREicc_LP64_RTP COREicc_RTP NEHALEMdiab_RTP NEHALEMgnu_LP64_RTP NEHALEMgnu_RTP NEHALEMicc_LP64_RTP mamiina mra nmmn ke M Debug mode use debug mode flags e ent Ja Click OK A popup window appears asking Do you wish to rebuild the index now Click Yes Right click the helloworld project and select Build Project Create a ROMFS File System Project A Real Time Project RTP application is similar to a regular executable program It must exist o
7. A Choose Action window appears See Figure 131 Choose Action Window Figure 131 Choose Action Window Launch Configuration Selection Choose Action Workbench has found one or more existing launch configurations that match your selection What do you want to do Launch the selected launch configuration Edit the selected launch configuration Edit a duplicate of the selected launch configuration Create a new launch configuration See Tarnat Monsramant l sinch Canfiomstione far sdditians cattinas Ki Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 149 tel Workflow 4 Dynamically Load amp Debug Applications on the Target Platform Select Create a new launch configuration and click OK A Debug Configurations window appears See Figure 132 Create Manage NOTE This window appears almost identical to the Edit File Copy Deploy window shown in Figure 127 Edit File Copy Deploy See Figure 132 Create Manage Figure 132 Create Manage Debug Configurations X Create manage and run configurations Select the launch context for executing the launch operations D x 5 Name wr LxProject out WRLinuxUser_ 10 11 0 105 Ui type tex 48 Launch Context gt is File Copy Deploy 2 Projects to Build amp Source E Common EN 6 Attach Target Conte Linux Application Options E C C Application E C C Attach to Apr Launc
8. ADATA USB Flash Drive 1100 Press Enter The target platform boots from USB media On the development host connections to the guest OSes appear in individual AMIO consoles at the bottom of the development host Workbench workspace See Figure 162 AMIO Consoles Figure 162 AMI O Consoles AMIO Console EI AMIO Core OS 53 gt AMIO Channel 2 AMIO Channel 3 AMIO Channel 1 H Ek DI Core OS dev ttySO go memmap 0x8000 0xf fffO000 memmap 0x100000 0x1f f 00000 console ttySO 9600 irqpol Entering emulation ahci ATA drive on port 1 ata Identified INTEL SSDSC2CW120A3 400i ata Support for LBA 48 enabled BIOS Boot using disk hdO at port 0170 master INTEL SSDSC2CW120A3 Entering emulation BIOS INT15h AX 5F34 BX C000 BIOS INT15h AX 5F70 BX C003 In the VxWorks 1 AMIO console type ifconfig and press Enter Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 177 a n tel Workflow 5 Assign Persistent Target Platform OS I P Addresses 10 3 1 In the output that appears confirm that the IP address you entered is assigned to the Os Repeat this procedure for other OSes with IP address changes NOTE For Linux type ifconfig a VxWorks to Linux Communication To demonstrate that a communication path exists from VxWorks to Linux visible from the VxWorks side use the ping co
9. In the Pattern field type the component from the list above that you wish to include in the kernel configuration An object corresponding to the name you type appears in the Matching pane See Figure 87 Name Figure 87 Name Find Find scope Name Description Find option matching pattern Pattern any character any string _STARTUP Matching Name INCLUDE_STARTUP_SCRIPT Description kernel shell startup script Component tree Y amp development tool components kernel shell components e cee ies Double click the object in the Matching window The Find window closes and the newly added component appears as a highlighted item in the Component Configuration window In the Component Configuration window right click the component and select Include quick include A progress window appears momentarily as the component Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 105 i n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch 8 5 2 1 8 5 3 loads The system returns to the Component Configuration window and the component you just added appears as a bolded item Repeat the procedure to add the remaining components to the VIP Exclude DISK_UTIL If you opted to include the INCLUDE_RTL8169_VXB_END component from the previous procedure you must exclude a conflic
10. Options Overwrite existing resources without warning C Create top level folder Advanced gt gt KA lt Back f Next Cancel Finish Click Finish The window closes Right click IxApp Wind River Linux Platform Application Project and select Build Project NOTE If a Build warning window denoted by a light bulb symbol appears prompting you to include the search path for your application select the Continue button After a few moments in the Build Console tab a message appears stating Build Finished in IxApp Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 127 8 7 1 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Build the Hypervisor I ntegration Project HIP In this section you modify the Wind River Hypervisor Integration Project HIP The HIP creates a bootable Hypervisor image which you then load into a target as a embedded virtualization system A HIP is most commonly used in a system integration scenario where you are configuring the Guest OSes and their resources We will cover how to take the two VxWorks images created in section 2 and the WR Linux image created in Section 3 and integrate them into the hypervisor Modifying the HIP The Wind River Workbench environment comes with a pre loaded HIP named wr_hypervisor_integration You will use the existing project and simply modify it to
11. le Wind River Linux IOP Project Close Ctrl W m an micea m aaraa IH Wind River Linux Kernel Module Proiect A New Wind River Linux Application Project window appears In the Project Name field type IxApp Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 125 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch NOTE The first letter in the IxApp project name is lower case L Click Finish An IxApp Wind River Linux Platform Application Project object appears in Project Explorer In Project Explorer right click IxApp Wind River Linux Platform Application Project and select Import A Select window appears In the Select an import source list expand the General icon The icon options expand beneath See Figure 108 General Icon Figure 108 General Icon Co f Import GC i S Select b D File Navigator M 9 Besa Import resources from the local file system into an existing project GH oS si A lxApp Wind River Linux Platform Base 5 0 1 Application E vip wrVbX86_1 Wind River VxWorks 6 9 Image Project ENEE gt vip_wrVbX86_2 Wind River VxWorks 6 9 Image Project 4 D Svsb_wrVbX86 Wind River VxWorks 6 9 Source Build K1 Je amp General E gt wwr _hypervisor_integration Host OS Native Developmer D Archive File gt wrlinux ugos glibc std Wind River Linux Platform Base m Build Settings Combine
12. Expand the Wind River Workbench option Select AMIO Console and click OK The Show View window disappears and an AMIO Console tab appears in the Workbench bottom pane Click the Open Icon to the right of the AMIO tab that looks like multiple consoles overlaid upon each other See Figure 112 Open Icon An Open AMIO Console window appears Figure 112 Open Icon 2 In the Open AMIO Console window for the Connection Type select Serial Port At the Port dropdown list select the host serial port to which the target is connected From the Baud Rate dropdown list select 9600 For the remaining terminal settings enter the values shown below e Data Bits 8 Stop Bits 1 Parity None Flow Control None Timeout sec 5 Check the Automatically connect to new channels option Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 131 i n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Uncheck the Open each channel in a separate view option See Figure 113 Channel Figure 113 Channel 8 10 Open AMIO Console Connection Type Serial Port v Settings Port dev ttySO k lt gt Baud Rate 9600 Data Bits Stop Bits 1 o Parity None Flow Control None Timeout sec M Automatically connect to new channels LI Open each channel in a separate view
13. RealTek RTL 8139 C PCI Fast Etbern 8139CP n O RealTek RTL 8129 8130 8139 PCI Fas 8139TOO n H Realtek 8169 gigabit ethernet support R8169 H OoOO O o gt RDC devices NET_VENDOR_RDC jn gt SEEQ devices NET_VENDOR_SEEQ m b M Silan dauicac MET WENMAD CILAN 4 Kconfig Say Y here if you have a Realtek 8169 PCI Gigabit Ethernet adapter Help Dependencies o compile this driver as a module choose M here the module ill be called r8169 This is recommended E Overview Configuration config From the Workbench menu select File gt Save In Project Explorer under the wrlinux_ugos_glib_std project right click fs and select Build target to make the file system and kernel with the changes NOTE Depending on your system s speed the process may require many minutes Add a User Application to Linux Go to File gt New gt Wind River Linux Application Project See Figure 107 Wind River Application Project NOTE This menu item is only available in the Advanced Device Development perspective you selected at the beginning of Section 8 6 1 Create a WR Linux Platform Project Figure 107 Wind River Application Project Advanced Device Development wrlinux ugos g 5 Edit Navigate Search Project Target Run YoctoProjectTools Analyze Window Help Sp E Wind River Workbench Project Open File D Wind River Linux Application Project
14. media lt mount_dir gt images system elf backup Copy the new ELF file to the images directory on the USB Into the command line interface type the command below and press Enter cp home wruser workspace wr_hypervisor_integration objects system elf media lt mount_dir gt images system elf Alternatively use the development host Linux File Explorer to copy the system elf file Unmount and remove the target USB from the development host Plug the Target USB media into the development host The Target USB automatically mounts to media lt mount_dir gt In the Project Explorer tab right click the wr_hypervisor_integration project and select Open Wind River Workbench 3 3 3 Development Shell A command line interface window opens into the directory of the Project Copy the new ELF file onto the USB Into the command line interface type the command below and press Enter cp objects system elf media lt mount_dir gt system elf Unmount and remove the target USB from the development host Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 130 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel 8 9 Power down the target platform Open a Development Host AMIO Connection On the development host establish an open physical serial connection On the development host Workbench go to Window gt Show View gt Other A Show View window appears
15. Components Tab B creation log myvip wrVbX86_1 X moO Components Component Configuration Description Name Type Value gt C components FOLDER CPLUS kO Multi OS FOLDER MULTIOS gt ff Network Components default FOLDER NETWORK gt Startup Sequence and Initialization Components FOLDER_SSI gt amp application components FOLDER APPLIC ATI gt development tool components default FOLDER TOOLS gt hardware default FOLDER HARDWAR s C D DA Synopsis Log r JA lt gt Overview Bundles Components Double click the myvip_ wrVbX86_1 tab to maximize the pane Optionally double click the tab again to restore the common Workbench workspace perspective In the following steps you add components to the myvip_ wrVbX86_ 1 project Review the steps below and then perform them to add components in the optional and required components lists that appear later in this procedure Click the myvip_ wrVbX86_ 1 tab Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 85 i n tel i Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Press Ctrl F A Find window appears See Figure 67 Find Window Figure 67 Find Window Find scope Name f O Description Find option matching pattern Pattern any character any string ype filter text Matching Description Name H Maximum
16. Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Use the down arrow key to move the highlighted selection to the USB media See Figure 116 BIOS 3 NOTE In this example the USB media is named ADATA USB Flash Drive 1100 Your USB media may have a different name Figure 116 BIOS 3 8 11 8 11 1 ADATA USB Flash Drive 1100 Press Enter The target platform boots from USB media As the system starts communication activity appears on the development host AMIO console Several console tabs appear within the AMIO pane e Core OS This shows the Hypervisor I O e Channel 1 This shows the Linux I O e Channel 2 This shows the I O for VxWorks 1 e Channel 3 This shows the I O for VxWorks 2 Confirm Sample Code Functionality Follow this procedure to confirm the functionality of the sample code items you embedded into the VxWorks 1 and VxWorks 2 OSes Verify DKM Functionality I n VxWorks 1 OS Follow this procedure to verify that the sample code embedded into the VxWorks 1 OS functions After the target platform boots go to AMIO Channel 2 for VxWorks 1 OS Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 134 a Workflow 3 Build Linux amp VxWorks OS I mages from Scratch n tel At the command prompt type the name of the executable application gt testFactory Press Enter Output appears below the command See Figure 117 VxWorks 1
17. gt E wr_hypervisor_integration int argc unbe ments S _start start S 119 ss argv array of arguments s M el vDemine mist TAR beintf Hello worldin gt De Breakpoints 2 Les 0 F P Processes b 11 0 105 1 Linux Application ov SMe Ge Om op Sp D a10 0 20 interr be a ck e a tr aoe orn b async mgr 9 Int D ata 0 13 intern ins ine yas f Tl Pe a PC 0x0804838D Writable Smart insert 52 5 104M of 170M Launching wrLxProject 10 11 0 105 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 152 Workflow 4 Dynamically Load amp Debug Applications on the Target Platform i n tel To discover their functions hover the cursor over the various buttons in the Debug console See the arrowed area in Figure 135 Debug Menu Items NOTE This procedure assumes you use the step over option in the debug process Figure 135 Debug Menu Items Debug 2 maini hellowortd lt 52 0x49328b74 Start start 119 al are vOrniac e ant TAR A 2 Ze Breakpoints H EWAEIR SCH Click the Step Over F6 icon to review the processes for the application you are debugging Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 153 tel Workflow 4 Dynamically Load amp Debug Applications on the Target Platform Any output the coding produces appears in the
18. s Guide Document 538056 1 1 43 l n tel Workflow 1 Set Up amp Explore the System Features Select your location and click Next The following window appears See Figure 18 Installation Type Figure 18 Installation Type Fedora Installer x Which type of installation would you like Use All Space ei Removes all parttions on the selected device s This includes partitions created by other operating systems Tip This option will remove data from the selected device s Make sure you have backups Replace Existing Linux System s Removes all Linux partitions on the selected device s This does not remove other partitions you may have on your storage device s suchas VFAT or FAT32 Tip This option will remove data from the selected device s Make sure you have backups Shrink Current System Shrinks existing partitions to create free space for the defautt layout Use Free Space Retains your current data and parttions and uses only the unpartitioned space on the selected device s assuming you have enough free space avatable E R Create Custom Layout Manually create your own custom layout on the selected device s using our partitioning tool O Use LVM C Encrypt system C Review and modify partitioning layout Back Next Select Use All Space Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 44 a Workflow 1 Set Up amp
19. 538056 215 H l n tel Workflow 6 Configure a New Device other readily accessible means then you must either 1 cause the Corresponding Source to be so available or 2 arrange to deprive yourself of the benefit of the patent license for this particular work or 3 arrange in a manner consistent with the requirements of this License to extend the patent license to downstream recipients Knowingly relying means you have actual knowledge that but for the patent license your conveying the covered work in a country or your recipient s use of the covered work in a country would infringe one or more identifiable patents in that country that you have reason to believe are valid If pursuant to or in connection with a single transaction or arrangement you convey or propagate by procuring conveyance of a covered work and grant a patent license to some of the parties receiving the covered work authorizing them to use propagate modify or convey a specific copy of the covered work then the patent license you grant is automatically extended to all recipients of the covered work and works based on it A patent license is discriminatory if it does not include within the scope of its coverage prohibits the exercise of or is conditioned on the non exercise of one or more of the rights that are specifically granted under this License You may not convey a covered work if you are a party to an arrangement with a third party that is in
20. Explore the System Features n tel Make certain not to check Use LVM and click Next The storage space window appears See Figure 19 Storage Space Figure 19 Storage Space F daralnstallor Below are the storage devices you ve selected to be a part of this installation Please indicate using the arrows below which devices you d like to use as data devices these wall not be formatted only mounted and which devices you d like to use as installation target devices these may be formatted Please also indicate which system drive will have the bootloader installed Data Storage Devices to be mounted only Install Target Devices Model Capacity Vendor Identifier eg Modet Capacity identifier m ATA INTEL SSOSC2CW12 114473 MB pci 0000 00 1f 2 sesi 0 0 0 0 2 USB DISK 2 0 15258 MB pci 0000 00 1d 0 usb 0 1 5 1 0 scsi 0 0 0 0 Le es b Tip The install target devices will be reformatted and wiped of any data Make sure you have backups Back Next In the Data Storage Devices pane left locate the local hard drive storage device onto which you wish to install the development host software This adjacent figures use the ATA Intel hard drive storage object as an example storage media Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 45 intel Workflow 1 Set Up amp Explore the System Features Click the storage media object and then click the right gt arro
21. The Project Setup window appears See Figure 64 vsb_wrVbX86 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 82 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel Figure 64 vsb_wrVbX86 Project Setup Base the new project either on an existing project or on a board support y package and a tool chain Setup the project Based on a source build project o Project vsb wrVbX86 S Browse BSP wrVbx86 Browse Address mode 32 bit kernel S Tool chain gnu Ge Target Agent Enable WDB Target Agent BSP validation test suite Add support to project Opt Setup information Base directory home wruser workspace vsb_wrVbX86 lt Back Next gt Cancel At the Based on drop down menu select a source build project From the Project drop down menu select veb wrVbX86 See Figure 64 vsb_wrVbX86 Check the Enable WDB Target Agent checkbox To create the VIP project click Finish After a few moments a myvip_wrVbX86_ 1 Wind River VxWorks 6 9 Image Project appears in the Project Explorer pane Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 83 l n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Go to Project Explorer Double click the vip project object you just created In t
22. Use with the GNU Affero General Public License Notwithstanding any other provision of this License you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work and to convey the resulting work The terms of this License will continue to apply to the part which is the covered work but the special requirements of the GNU Affero General Public License section 13 concerning interaction through a network will apply to the combination as such 14 Revised Versions of this License Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 216 D Workflow 6 Configure a New Device n tel The Free Software Foundation may publish revised and or new versions of the GNU General Public License from time to time Such new versions will be similar in spirit to the present version but may differ in detail to address new problems or concerns Each version is given a distinguishing version number If the Program specifies that a certain numbered version of the GNU General Public License or any later version applies to it you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation If the Program does not specify a version number of the GNU General Public License you may choose any version ever published by the Free
23. amp Debug 23 BX A o D wrLxProject out WRLinuxUser_10 1 gt Y WB wrLxProject out 748 sys 000 T k Si wrtafroect out 748 Stopped 0x49328b74 Breakpoints 23 wrLxProject out WRLinuxUser 10 21 0 105 1 Linux Application wy 2 mR er OM es cb E gn r Type Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 154 a Workflow 4 Dynamically Load amp Debug Applications on the Target Platform n tel 9 6 9 6 1 Creating VxWorks Target Connection Use these steps to enable the connection between workbench and a VxWorks image to allow the download and debug of an executable There are two possible ways to connect to a VxWorks GOS running on the target platform If the vxWorks GOS has a physical Ethernet port configured you can create a direct connection between Workbench and VxWorks using the NIC s IP address If on the other hand the VxWorks GOS does not have a physical NIC assigned or it is not configured it can still connect to workbench via the VNIC interface However in this case you need to enable a proxy interface on the Linux GOS to forward the debug requests between the Linux interface and the VxWorks GOS This is the option this workflow describes Setting Up Linux Proxy Agent In order to begin a remote session with the VxWorks OS Linux must be configured to forward messages to to it Follow the procedure If not already u
24. following steps In Workbench Project Explorer select the wr_hypervisor_integration project and expand it Expand the Objects folder Right click the system elf object and select Copy See Figure 55 System elf Copy Figure 55 System elf Copy Project Explorer X File Navigator D Ln CR an SZ New v cl 5 A W wr_hypervisor_integration Host OS l Open Wind River Launches Open With gt ab Binaries Co gt EB Archives 5 Copy k 3 Paste D gt B Includes X Delete gt config gt elib Attributes i Move V amp objects R gt amp romfs Kleng E system elf x86 le objects Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 74 LI Workflow 2 Develop With Preloaded Workbench Projects in tel You may optionally use a command line or the Linux file explorer to copy the system elf file from the location indicated in the Build Console For a path to the system elf file see the darkened content in Figure 56 System elf Directory Figure 56 System elf Directory 7 6 Feeds 29 4 Tasks Terminal 1 Properties Build Console amp DI Console AMIO Console ex a RI ER ROMFS image offset 0x00000000001c6000 ROMFS boot offset Ox00000000001c5000 ROMFS previous size OxO5abc800 Create Boot Image home wruser workspace wr_hypervisor_integration objects system elf Copy Hypervisor code done Copy new
25. pe Y G BusrAppinit c X u gt E common pc Wind River Linux Platform 4 3 Platform Project usrAppinit c stub application initialization routine v vip wrVbX86_1 Wind River VxWorks 6 9 Image Project Copyright c 1998 2006 2011 Wind River Systems Inc Kernel Configuration The right to copy distribute modify or otherwise make 7 of this software may be licensed only pursuant to the te i vxWorks bin default of an applicable Wind River license agreement D M vxWorks hex default Db E vxWorks default modification history DMBBineies RR Ine neve nen ncn c nce nen Olc 26mayll pcs Add stubs corresponding to the boot sequer D fl Includes mechanism Olb 16mar06 jmt Add header file to find USER_APPL_INIT def Db d default Ola O2jun98 ms written E GawrVbX86 i E linkSyms c DESCRIPTION A prjComps h Ee user application code L i prjConfig c include lt vxWorks h gt Le prjParams h if defined PRJ_BUILD m o include prjParams h usrApplnit c endif defined PRJ_BUILD L usrRtpAppInit c J Double click the usrAppl nit c tab The usrAppI nit c work pane expands NOTE usrAppl nit is an application entry point routine that can be modified to start your kernel application automatically at boot time This is explained in further detail in the VxWorks Kernel Programmer s Guide which you can access through Workbench Help Alternatively for starting RTP applications ref
26. 153 mcast 0 errors 0O collisions 0 unsupported proto 0 RX bytes 28k TX bytes 12k O 0x0 The 10 0 0 5 content within the output indicates that you are at the VxWorks 2 prompt At the prompt type ping 10 0 0 4 and press Enter Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 61 a n tel Workflow 1 Set Up amp Explore the System Features A response indicates that VxWorks 1 received communication from VxWorks 2 See Figure 41 VxWorks to VxWorks Communication Figure 41 VxWorks to VxWorks Communication value O 0x0 gt ping 10 0 0 Pinging 10 0 0 4 10 0 0 4 with 64 bytes of data Reply from 10 0 0 4 bytes 64 ttl 64 seq 0 time 2ms 10 0 0 4 ping statistics 1 packets transmtted 1 received 0 packet loss time 2 ms rtt min avg max 2 2 2 ms value O OxO gt Optionally perform this procedure from the VxWorks 1 Workbench AMIO console while pinging the other VxWorks OS This concludes the overview and demonstration of the system s basic features and capabilities To learn how to use the system in greater detail proceed with the workflows in the chapters that follow Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 62 a Workflow 2 Develop With Preloaded Workbench Projects In tel 7 1 7 2 Workflow 2 Develop With Preloaded Workbench Projects About Thi
27. About Build Rebuild Within this procedure you are prompted to either Build or Rebuild a project Build compiles only files and changes that have been modified since the last full build while Rebuild forces the recompilation of the entire project The system cannot be automatically detect modifications to certain types of files like scripts In such cases a Build would not detect the changed file but a Rebuild would As a general rule if you are modifying a source code file such as c or h a Build is appropriate However when changing another type of file a Rebuild is the safer choice Use Rebuild to ensure all changes are detected and recorded Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 63 Workflow 2 Develop With Preloaded Workbench Projects intel Start Up 7 3 Use the following steps after installing the development environment onto the development host s local hard drive Start the development host The Wind River Linux desktop loads See Figure 42 Linux Desktop EB Wind River User Figure 42 Linux Desktop En ien 17 1 10AM Applications Places il 2 E Ge iB ES inte 9 Advanced Device Dev Open Workbench Go to the desktop and double click the Wind River Workbench Y Wind River Workbench icon See Figure 43 Workbench Icon Figure 43 Workbench Icon Intel Industrial Solutions System Consolid
28. B creation log myvip_wrVbX86_2 X m Components Component Configuration Description Name Type Value gt C components FOLDER CPLUS gt Multi os FOLDER MULTIOS gt Network Components default FOLDER NETWORK gt Startup Sequence and Initialization Components FOLDER _SSI gt application components gt hardware default b 3 ohsalete camnaonents gt development tool components default FOLDER APPLICATI FOLDER TOOLS FOLDER HARDWAR EOLDER ORSOIFTF lt a I es D Synopsis Log Overview Bundles Components In the following steps you may add the following list of components to the VIP Add only those components you require IMPORTANT The INCLUDE_RTL8169_VXB_END component listed below is a Realtek Ethernet driver for the VxWorks 2 OS If you choose to install this driver make certain to remove a conflicting driver by completing the steps that follow this notice and then completing the procedure in Section 8 5 2 1 Exclude DISK_UTIL INCLUDE_STARTUP_ SCRIPT INCLUDE_ROMFS INCLUDE_RTL8169_VXB_END To add the list of components above in the editor pane click the myvip_wrVbX86_ 2 tab Press Ctrl F A Find window appears This utility allows you to search for components in the Kernel Configuration Tool Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 104 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel
29. Code Figure 117 VxWorks 1 Code gt testFactory classRegistryShow Showing Class Registry Name Address blue_t Oxeb7190 green_t Oxeb71le8 red_t 0xe 95940 objectRegistryShow Showing Object Registry Name Address objectCreat green_t bob Creating an object called bob of type green_t objectCreate red_t bill Creating an object called bill of type red_t objectRegistryShow Showing Object Registry Name Address bill Oxeb74c0 bob Oxeb7468 objectTypeShowByName bob Looking up object bob Attempting to ascertain type of object at 0xeb7468 Attempting a dynamic_cast to red_t dynamic_cast threw an exception caught here Attempting a dynamic_cast to blue_t dynamic_cast threw an exception caught here Attempting a dynamic_cast to green_t Cast to green_t succeeded green value 7088960 0x6c2b40 std cout gt Presence of this content signifies the application is present in the OS and is working correctly NOTE If the application does not exist in the booted target platform then the target platform system most likely is not booting from the USB media and is booting from the target platform SSD instead See Section 8 10 Configure Target Platform BIOS to Boot from USB Media for instructions to configure the target platform to boot from the USB media 8 11 2 Verify RTP Functionality In VxWorks 2 OS Follow this procedu
30. Code Line in VxWorks 1 Project This procedure provides instruction for inserting a single line of code into the VxWorks 1 project In Project Explorer expand the VxWorks project by clicking the triangular icon adjacent to vip_ wrVbX86_ 1 See the darkened project icon in Figure 46 VxWorks Project Icon Figure 46 VxWorks Project Icon Advanced Device Developme File Edit Navigate Search Project Target Analyze Run YoctoProjectTools Win eo ass a B CH zo a E ee e IBSISEpssbplalog Project Explorer x _ File Navigator DS ai e ee vip_wrVbx86 1 Wind River VxWorks 6 9 Image Project b el vip_wrVbX86_2 Wind River VxWorks 6 9 Image Project gt eS vsb_wrVbX86 Wind River VxWorks 6 9 Source Build Kernel Library Project b i wr_hypervisor integration Host OS Native Development User Defined Project b wrlinux_ugos Wind River Linux Platform Base 5 0 1 Platform Project The VxWorks project expands In the listing that appears below the VxWorks line item scroll down to the usrAppl nit c object Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 67 intel Workflow 2 Develop With Preloaded Workbench Projects Double click the usrAppl nit c object To the right of Project Explorer a usrAppI nit c work pane and Outline pane appear See Figure 47 usrApplnit c Figure 47 usrAppl nit c Project Explorer amp File Navigator DS
31. Components to VXWOFKS ececee tected 84 8 4 3 Add User Applications to the VIP Using DEM 90 8 4 4 Add Source Code to the brolect cece e teeter eerie 94 8 4 5 Build the Pro Cb vasacceaudereniderhdieraiweneareeeiie EE oE EEEE 97 8 4 6 SIE E VT EE 98 8 5 Create VxWorks Guest OS Ai 100 8 5 1 Create the second VxWorks Image Project WIR 100 8 5 2 Add Components to VXWOFKS ceceee eee ee eee eee eee ee eter eaeae 103 8 5 2 1 Exclude DISK HUE enne ERRRENRAERAENEER AEN EEN 106 8 5 3 Add User Applications to the VIP Using Real Time Process RTP 106 8 5 4 Create a ROMFS File System Project cceeeee eee eeee eee ee teeta 109 8 5 5 Bull the Pro CCE gien een A Eed ee A 113 8 5 6 BUI tie MIP sasssa an a E EREA 114 8 6 Create and Build WR LiNUX cece cece eee eee ee ence EEEN ANENE 115 8 6 1 Create a WR Linux Platform Project eee eee eee eee ean 115 8 6 2 Configure and Build the File System and Packages ccce 121 8 6 3 Add a User Application to Unus eee eee eaeae 125 8 7 Build the Hypervisor Integration Project HIP cceeeeee netstat eee teen 128 8 7 1 Modifying the HI EE 128 8 7 2 Build the Hypervisor Prolect cece eee eee eee eae ee eae 129 8 8 Copy SYSTEM ELF to Target Platform USB Media 130 8 9 Open a Development Host AMIO Connection 131 8 10 Configure Target Platform BIOS to Boot from USB Media 132 Intel Industrial Solutions System Consolidation Series User
32. Copyright Wind River Systems Inc 2004 2011 11 rights reserved uild 71 Jul 29 2013 23 16 37 sing NPTL threading model aiting on UDP port sh 3 2 Target server o paming tmp queryProperti s 17185 ine 10 11 0 101 connecting Record the port number Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 138 Workflow 4 Dynamically Load amp Debug Applications on the Target Platform i n tel Go to the Workbench Remote Systems pane See Figure 121 Remote Systems Window Figure 121 Remote Systems Window MH Remote Systems D T Kernel Objects D E a b G Local b H VxWorks VIP1 WDOBConnection Wind River Vx b H VxWorks VIP2 WOBConnection Wind River Vx b Aa WRLinux_UserModeAgent_ Connection Wind Rivi lll D Right click the white space within the Remote Systems window A menu appears See Figure 122 White Space Figure 122 White Space H Remote Systems 3 I Kernel Objects D as D gt E Local D Hd VxWorks_VIPL_WDBConnection Wind River VxWe D Hl VxWorks_VIP2_WDBConnection Wind River VxWe D Ae WRLinux_UserModeAgent_Connection Wind Rive he New Connection LE Import Connection D Select New Connection A Select Remote System Type window appears Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 139 NM e l n tel Workflow 4 Dynamically Load amp Debug Ap
33. Ctrl W 1 Wind River Linux Layer Project i Wind River Linux User Defined Project EI VxWorks Boot Loader BSP Project IH VxWorks Downloadable Kernel Module Project Shift Ctrl S Move iF VxWorks ROMES File Svstem Proiect After a few moments a New Wind River Platform Project window appears In the Project name field type wrlinux_ugos_glibc_std or whatever name you choose to call the project This procedure uses the project name wrlinux_ugos_glibc_std Select the Create project in workspace button See Figure 98 Project Figure 98 Project New Wind River Linux Platform Project X Project Create a new Wind River Linux platform project for a specific build spec Ki Project name wrlinux_ugos_glibc_std Location Create project in workspace Create project at external location Directory home wruser workspace wrlinux_ugos_glibc_std_ Q lt Back Next gt Cancel Finish Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 116 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch intel Click Next A Configure Options window appears See Figure 99 Configure Options 1 Figure 99 Configure Options 1 New Wind River Linux Platform Project X Configure Options Specify the Linux configure options lz General settings
34. Gmyvip_wrVbX86_2 Wind River VxWorks 6 9 Image Project Kernel Configuration E vxWorks bin default E vxWorks hex default E vxWorks default gt S my_romfs Wind River VxWorks 6 9 ROMFS File System D gt 6 Includes linkSyms c prjComps h prjConfig c prjParams h usrAppInit c usrRtpAppInit c Ei B B Ei Si Ei Si creation log J kelen D 8 5 6 Build the VIP To build the VxWorks Image Project VIP go to the Project Explorer pane and right click myvip_wrVbX86_ 2 Wind River VxWorks 6 9 Image Project A drop down menu appears Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 114 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch n tel Select Build Project See Figure 96 Build Project Figure 96 Build Project 8 6 8 6 1 Advanced De File Edit Navigate Search Project Target Run YoctoProjectTools Analyze Window Help m ri D B z a New e e m Edit Kernel Configuration s Go Into LC Project Explorer 8 gt File Navigator Open in New Window Bas gt myvip_wrVbX86 _1 Wind River VxW4 Si myvip_wrVbX86_2 Wind River VxW4 X Delete Kernel Configuration i Attributes IB vxWorks bin default R vxWorks hex default Rename R vxWorks default Source gt BE my_romfs Wind River VxWorks 6 D e Includes s Import A linkSyms c r Export 8 prjComps h Open Wind River VxWo
35. Group Package Le v amp ppp D zi airectory roouroor Ppp 2 4 5 cor gt profile d Import x 4 directory root root vim 7 3 429 c b rcO d Export x 4 directory root root initscripts 1 0 rcl d Import the Touch Footprint x 4 directory root root initscripts 1 0 Db re2 d Export the Touch Footprint x 4 directory root root initscripts 1 0 b rc3 d x 4 directory root root initscripts 1 0 Filter gt X SC b rc4 d x 4 directory root root initscripts 1 0 t Vi b rc5 d Geer gt 4 directory root root initscripts 1 0 b rc6 d Expand x 4 directory root root initscripts 1 0 CR Collapse 4 directory root root at 3 1 13 core b security drwxr xr x 29 directory root root libpam runtime sensors d drwxr xr x 4 directory root root lmsensors ser In the file browser dialog navigate to home wruser workspace vnic_module and select S10vnicinstall Click OK Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 122 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch n tel The file appears as shown in Figure 104 File Content Figure 104 File Content b rc6 d drwxr xr x directory root root initscripts 1 0 drwxr xr x directory root root at 3 1 13 core e SO2banner sh gt init d banner irwxrwxrwx link root root initscripts 1 0 E SO2sysfs sh gt init d sysfs sh lrwxrwxrwx link root root initscripts 1 0 e SO7bootlogd gt init d bootloge lrwxr
36. Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 199 a in tel Workflow 6 Configure a New Device Figure 182 Target Platform Devices 2 9V 32V OC IN 1234 5 Pee ee VM ES NA Not supported by this implementation of SCS Serial NA Non modifiable device preconfigured to support serial connection between development host and target platform via AMIO console Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 200 Workflow 6 Configure a New Device i n tel Appendix B Technical Support B 1 1 B 2 B 3 In Product Technical Support In the event you require support while using Intel Industrial Solutions System Consolidation Series SCS we strongly recommend you first consult with the many resources provided to you as documentation in printed and electronic file format in the product packaging e For a document listing go to Section 3 Intel Industrial Solutions System Consolidation Series Documentation e For self help activities see Appendix C Troubleshooting Online amp Live Technical Support As an authorized Intel Industrial Solutions System Consolidation Series SCS product owner you are entitled to technical support as defined on the SCS product website See the technical support statement at www intel com industrialconsolidation Wind River Product Support amp Training Porti
37. Internet connection Optional User Provided Items The following are optional items you may provide while using SCS This list is not all inclusive e Ethernet Connectivity Connect to the internet to receive critical updates and other information about SCS at www Ipntel com e Uninterruptable power source UPS Depending on electrical supply reliability and quality optionally connect the SCS chassis and development host to a power source protected by a UPS Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 20 Development Workflows n tel j 5 Development Workflows The Intel Industrial Solutions System Consolidation Series SCS development host uses Wind River Workbench as its primary development tool Some typical workbench activities or workflows are described in the following section 5 1 Summary of Workflows The Workbench platform can be used for innumerable development activities This User Guide identifies several common development workflows to demonstrate the Workbench environment in action IMPORTANT First read and then perform workflows in their chronological order within this User Guide The workflows are e Workflow 1 Set Up amp Explore the System Features e Workflow 2 Develop With Preloaded Workbench Projects e Workflow 3 Build Linux amp VxWorks OS Images from Scratch e Workflow 4 Dynamically Load amp Debug Applications on the Target Platform e
38. New gt VxWorks I mage Project See Figure 82 VxWorks Image Project Figure 82 VxWorks I mage Project r Open File Refresh F5 Advanced Device Develop L Edit Navigate Search Project Target Run YoctoProjectTools Analyze Window Help New e SHIRE ATEN gt EC Wind River Workbench Project A Wind River Linux Application Project z Wind River Linux IOP Project H Wind River Linux Kernel Module Project 17 Wind River Linux Layer Project E Wind River Linux Platform Project W Wind River Linux User Defined Project E VxWorks Boot Loader BSP Project H VxWorks Downloadable Kernel Module Project EI VxWorks ROMFS File System Project is VxWorks Image Project w VxWorks Real Time Process Project A New VxWorks I mage Project window appears In the Project name field type myvip_wrVbX86_ 2 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 100 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch intel Select the Create project in workspace button See Figure 83 Create Project Figure 83 Create Project New VxWorks Image Project X Project Create a new VxWorks image project with all available kernel build specs La Project name myvip_wrVbX86_2 Location Create project in workspace Create project at external location Directory home w ser workspace myvip_wrVbX8 lv Brow
39. Software Foundation If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used that proxy s public statement of acceptance of a version permanently authorizes you to choose that version for the Program Later license versions may give you additional or different permissions However no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version 15 Disclaimer of Warranty THERE IS NO WARRANTY FOR THE PROGRAM TO THE EXTENT PERMITTED BY APPLICABLE LAW EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND OR OTHER PARTIES PROVIDE THE PROGRAM AS IS WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU SHOULD THE PROGRAM PROVE DEFECTIVE YOU ASSUME THE COST OF ALL NECESSARY SERVICING REPAIR OR CORRECTION 16 Limitation of Liability IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER OR ANY OTHER PARTY WHO MODIFIES AND OR CONVEYS THE PROGRAM AS PERMITTED ABOVE BE LIABLE TO YOU FOR DAMAGES INCLUDING ANY GENERAL SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING REN
40. User s Guide Document 538056 1 1 212 LI Workflow 6 Configure a New Device intel versions of a covered work in that User Product from a modified version of its Corresponding Source The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made If you convey an object code work under this section in or with or specifically for use in a User Product and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term regardless of how the transaction is characterized the Corresponding Source conveyed under this section must be accompanied by the Installation Information But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product for example the work has been installed in ROM The requirement to provide Installation Information does not include a requirement to continue to provide support service warranty or updates for a work that has been modified or installed by the recipient or for the User Product in which it has been modified or installed Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communicatio
41. Wind River VxWorks 6 9 Image Project vip_wrVbX86_2 Wind River VxWorks 6 9 Image Project gt gS vsb_wrVbX86 Wind River VxWorks 6 9 Source Build Kernel Library Project b wr hypervisor integration Host OS Native Development User Defined Project 8 wrlinux_ugos Wind River Linux Platform Base 5 0 1 Platform Project However when creating a new target system the SCS system will use two unmodifiable projects vsb_ wrVbX86 and wr_hypervisor_integration shown by the arrows in Figure 11 Unmodifiable Projects Figure 11 Unmodifiable Projects Project Explorer File Navigator ag z o b vip_wrVbX86_1 Wind River VxWorks 6 9 Image Project gt E vip_wrVbX86_2 Wind River VxWorks 6 9 Image Project wv b_wrVbX86 Wind River VxWorks 6 9 Source Build Kernel Library Project E wr_hypervisor_integration Host OS Native Development User Defined Project b E wrlinux_ugos Wind River Linux Platform Base 5 0 1 Platform Project Collectively all Workbench projects created on the development host contribute to creating a bootable target image file specifically optimized to run on the SCS target After creating the target image file on the development host you place this image file onto a bootable USB flash drive insert the flash drive into the target platform and then use the flash drive to boot the hypervisor and launch the guest OSes on the target platform Intel Industrial Solutions System
42. Workflow 5 Assign Persistent Target Platform OS IP Addresses i n tel Select Copy The system elf file copies to the system See Figure 156 System elf Copy Figure 156 System elf Copy Fo open File Edit Source Refactor Na Open With er o o PER San ev r 3 Paste BS menge Sg Brite N X Delete rojec plorer gt f File Attributes gt config Gg Vv CG objects ees Vv amp romfs Q linux ef x86 le s Import re Export O vxworks1 elf x86 vxworks2 elf x86 Open Wind River Workbench 3 3 3 Development Shell windows elf x86 l Refresh config esh Build Folder devassign esh Build Project helpers esh Rebuild Project override esh Build Options startup esh Run Linux Application Process Lee Ee Debug Linux Application Process B romfs contents Riin Ae Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 173 a n tel Workflow 5 Assign Persistent Target Platform OS I P Addresses You may optionally use a command line or the Linux file explorer to copy the system elf file For the system file path see the darkened content in Figure 157 System elf Directory Figure 157 System elf Directory Feeds 29 4 Tasks Terminal LC Properties Build Console D DI console AMIO Console s a amp it Sa E ROMFS image offset 0x00000000001c6000 ROMFS boot offset Ox0000000000
43. author gt This program is free software you can redistribute it and or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 3 of the License or at your option any later version This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE See the GNU General Public License for more details You should have received a copy of the GNU General Public License along with this program If not see lt http www gnu org licenses gt Also add information on how to contact you by electronic and paper mail If the program does terminal interaction make it output a short notice like this when it starts in an interactive mode lt program gt Copyright C lt year gt lt name of author gt This program comes with ABSOLUTELY NO WARRANTY for details type show wi This is free software and you are welcome to redistribute it under certain conditions type show c for details The hypothetical commands show wi and show c should show the appropriate parts of the General Public License Of course your program s commands might be different for a GUI interface you would use an about box You should also get your employer if you work as a programmer or school if any to sign a copyright disclaimer for the program if necessary For more informati
44. by its VendorlD DevicelD value avoid bus device function BDF By using this avoid statement you prohibit a certain OS type from loading a specific device and thus may allow another OS type to load it Use this parameter when you know the bus device function BDF value for a specific device For example assume the following avoid line vx_avoid_ser 0 22 0 Where e vx means this rule applies to both VxWorks OSes Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 190 Workflow 6 Configure a New Device i n tel e avoid means to avoid assigning this device to the indicated OS VxWorks e ser means this rule applies to the device type serial e 0 22 0 signifies the specific device ID To determine a device s bus device function BDF when using avoid bus device function refer to the Hypervisor bootup log Determine a Device s BDF Follow this procedure to determine a device s BDF value In Project Explorer click the Hypervisor integration project wr_hypervisor_integration icon to expand the Hypervisor project contents Scroll down to the config folder and expand it by clicking its icon Double click the override esh script file To the right of Project Explorer an override esh work pane appears Scroll to the bottom of the override esh work pane At the bottom of the work pane type verbose 1 Go to File gt Save The system saves
45. claims are all patent claims owned or controlled by the contributor whether already acquired or hereafter acquired that would be infringed by some manner permitted by this License of making using or selling its contributor version but do not include claims that would be infringed only as a consequence of further modification of the contributor version For purposes of this definition control includes the right to grant patent sublicenses in a manner consistent with the requirements of this License Each contributor grants you a non exclusive worldwide royalty free patent license under the contributor s essential patent claims to make use sell offer for sale import and otherwise run modify and propagate the contents of its contributor version In the following three paragraphs a patent license is any express agreement or commitment however denominated not to enforce a patent such as an express permission to practice a patent or covenant not to sue for patent infringement To grant such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party If you convey a covered work knowingly relying on a patent license and the Corresponding Source of the work is not available for anyone to copy free of charge and under the terms of this License through a publicly available network server or Intel Industrial Solutions System Consolidation Series User s Guide Document
46. complete RTPs can be incorporated into a ROMFS project to create a file system embedded in the VxWorks project The following sections provide instruction to add your application into the kernel To create a RTP project based on an the hello world example perform the following procedure Select File gt New gt Example Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 106 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel Highlight VxWorks Real Time Process Sample Project and click Next See Figure 88 VxWorks RTP Figure 88 VxWorks RTP New Example X Select a wizard gt Creates anew VxWorks real time process sample project Wizards type filter text Native Sample Project i VxWorks Downloadable Kernel Module Sample Project mi Wind River Linux Application Sample Project f Wind River Linux Kernel Module Sample Project WY Wind River Linux User Defined Sample Project Select The Hello World Demonstration Program Click Finish A new project called helloworld appears in the Workbench Project Explorer window Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 107 i n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Select the project and click the Set Active Build Spec and Debug Mode icon See the red arrowed item in Figure 89 Set Active
47. limited configurability If you create your own Linux or VxWorks project you can edit the makefile to use your project instead of the default one You can also update the script files used to allocate hardware elements to the various VMs NOTE The wr_hypervisor_integration project is not configurable and thus requires no user modification or interaction wrlinux_ugos This is a Wind River Linux platform project that provides the build information for the Linux virtual machine that appears on the target platform Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 33 a n tel Workflow 1 Set Up amp Explore the System Features 6 5 5 The Target I mage If you have your own application code you can create a Linux application project a VxWorks downloadable kernel module DKM project or a VxWorks real time process RTP project to compile your code Those projects can then be integrated in the Linux or VxWorks images NOTE For more information about using DKMs in Workbench see Section 8 4 3 Add User Applications to the VIP Using DKM Also see Wind River Workbench User Guide Section 3 5 Using Workbench you can also create your own Linux or VxWorks images instead of using the modifiable default projects shown by the arrows in Figure 10 Modifiable Projects Figure 10 Modifiable Projects Project Explorer X J File Navigator amp 2 an J P g vip wrVbX86_1
48. s Guide Document 538056 1 1 4 Introduction 10 11 Appendix A Appendix B Appendix C 8 11 Confirm Sample Code Functonalitv cece cece e eee eater tae 134 8 11 1 Verify DKM Functionality In VxWorks 1 OS 134 8 11 2 Verify RTP Functionality In VxWorks 2 OS cecce 135 Workflow 4 Dynamically Load amp Debug Applications on the Target Platform 137 9 1 About This Chapt inince pian nea EER E AE ini niaii 137 9 2 Initialize Linux User Mode Agent 137 9 3 Create a Linux User Application c cc eeeee eect ee eee eee teeter teens 142 9 4 Download Application to a Linux Platform OS 143 9 5 Debug Linux Target Platform Content 147 9 6 Creating VxWorks Target Connection 155 9 6 1 Setting Up Linux Proxy Agent 155 9 6 2 Creating VxWorks Debug Connection 157 9 7 Create a Sample VxWorks Application c ccee cece eee eee ee tenets 161 9 8 Download Application to a VxWorks Platform OS 161 9 9 Debug VxWorks Target Platform Content 164 Workflow 5 Assign Persistent Target Platform OS IP Addresees eee es 169 10 1 About This Chapters acu ciieiseia tery eg Set ie Freeride etal ENEE eer 169 10 2 Default OS IP Address assignment ce eceee cere ee eee eee eaten eee tneas 169 10 2 1 Customizable Target OS IP Address Assignment 0 0eeeee ee 170 10 2 2 Customizable Target OS IP Address Assignment ccecce 170 10 2 2 1 Configure a Persistent VxWorks IP Address 1 Instance170 10 2 2 2 Configu
49. serial number pre pended with DISK_SERIAL_NUM Go to Start gt Run A Run window appears Type cmd and press Enter A command console appears Type vol and press Enter The result should be similar to the following Volume in drive C has no label Volume Serial Number is COFC O0C4I In this example the Host ID is DISK_SERIAL_NUM COFCOC4E Make certain to pre pend the value with DISK_SERIAL_NUMB with any dashes and colons removed Record the Host D Di At the command prompt type hostname and press Enter A Host Name value appears Record the Host Name and proceed to Section 6 6 2 2 Locate the Serial Number For Linux OS Use this instruction if your development host PC has a Linux OS Determine the 12 character Ethernet address in Linux Run the first line shown below and see the result similar to that shown in the second line sbin ifconfig a grep i hwaddr ethO Hwaddr 00 06 5B 82 F4 5A Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 37 a n tel Workflow 1 Set Up amp Explore the System Features 6 6 2 1 4 6 6 2 2 6 6 2 3 In this example the Host ID is 00065B82F45A after removing the colons from the value following Hwaddr Record the Hoer ID and proceed to Section 6 6 2 2 Locate the Serial Number NOTES e Do not use hostid The Linux hostid command produces a 6 or 8 character result that is not valid as a Host D e Ma
50. the development host to the target platform Depending on your development host s hardware you may need also to supply a male female serial connector to establish connection Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 24 A Workflow 1 Set Up amp Explore the System Features n tel 6 4 Target Platform Subsystem Overview The SCS target hardware is a rugged software controlled platform optimized for industrial productivity See Figure 3 The SCS Target Platform Hardware For more information about the hardware see the documentation within the target platform packaging Figure 3 The SCS Target Platform Hardware The SCS target platform comes preconfigured with a base set of software which you either can modify live via a remote connection with the development host or by overwriting the system OSes with a bootable image loaded to a USB that you create using the development host SCS uses Wind River Hypervisor 2 to control monitor and develop for the target platform s virtual machines While the target platform hypervisor defines hardware access to specific virtual machines the development host has a limited ability to modify access to virtual machine resources For example a network interface may be configured as visible only to the Linux platform while invisible to the other operating systems You may learn to modify some of these hardware configurati
51. the Target Platform i n tel Select Create a new launch configuration and click OK A Debug Configurations window appears See Figure 151 Debug Configurations NOTE This window appears almost identical to the Launch Context window shown in Figure 127 Edit File Copy Deploy Context Figure 151 Debug Configurations Debug Configurations Create manage and run configurations Please enter or select an Entry Point SN 6 Be Name noEntryPont c demo out VxWorks6x_10 11 0 105 1 Sea 4 FB Launch Context 2 Downloads 7 Projects to Build D Source Common E C C Postmortem gt VxWorks Kernel Task Options E C C Remote Appl S E wo Launch Contra Y Q Linux Application Pro default localhost GR 105 Wind River VxWorks 6 9 Q hello_ Linux out an Ve 10 11 0 1 Dh wrLxProject out os VxWorks VIP1_WDBCinnection Wind River VxWorks 6 9 Q wrLxProject out COH VxWorks VIP2 WDBConnection Wind River VxWorks 6 9 amp Target Communicatio gt Q VxWorks Kernel Tas Q noEntryPoint c c Sanani i TN Q VxWorks Real Time F Entry Point Browse we gt Filter matched 15 of 15 items E Close Select the target connection to use for debugging NOTE unlike an executable since a DKM is like a library we must specify the name of the function we want to debug Intel Industrial Solutions System Consolidation Series User
52. the building blocks for the VIPs mentioned above This project is not configurable and thus requires no user modification or interaction wr_hypervisor_integration This is a hypervisor integration project that combines the Linux and the two VxWorks images and creates the single hypervisor target image This image is used to boot the target This type of project has limited configurability If you create your own Linux or VxWorks project you can edit the makefile to use your project instead of the default one You can also update the script files used to allocate hardware elements to the various VMs wrlinux_ugos_glibc_std This is a Wind River Linux platform project that provides the build information for the Linux virtual machine environment that appears on the target platform Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 66 a Workflow 2 Develop With Preloaded Workbench Projects in tel 7 5 7 5 1 Modify Code in a Preconfigured OS Project In this section you have the opportunity to write some simple source code into the preconfigured Workbench project image for VxWorks NOTE You will have the opportunity to import code into the Workbench Linux project in a later workflow When you finish importing the code you compile the projects use Workbench to build the target platform boot image copy it to USB and boot the target platform from that image Modify Simple
53. the currently selected project E myvip wrVbX86_1 Wind River VxWorks 6 9 Imag O wr_hypervisor_integration Host OS Native Devel ER DP Select All Deselect All KA Cancel OK Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 97 i n tel Workflow 3 Build Linux amp VxWorks OS Images from Scratch Select myvip_wrVbX86_1 and click OK In Project Explorer the Downloadable Kernel Module project object appears within the myvip_ wrVbX86_ 1 project See Figure 79 Kernel Object Figure 79 Kernel Object Project Explorer X File Navigator P egsa lza YV myvip wrVbX86_1 Wind River VxWorks 6 9 Image Project Kernel Configuration E vxWorks bin default if vxWorks hex default if vxWorks default 2 myDKM Wind River VxWorks 6 9 Downloadable Kernel D gt ipl Includes gt GawrVbX86 a Le rm D Ge Le R m Le SN E El linkSyms c prjComps h prjConfig c prjParams h usrApplnit c usrRtpApplnit c creation log aaa 8 4 6 Build the VIP To build the VxWorks Image Project VIP go to the Project Explorer pane and right click myvip_wrVbX86_ 1 Wind River VxWorks 6 9 Image Project A drop down menu appears Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 98 Workflow 3 Build Linux amp VxWorks OS I mages from S
54. together via a virtual layer 2 switch Each individual virtual platform has a virtual network interface card VNIC This provides a virtual network infrastructure for the guest OSes to communicate with each other without using a physical network interface See Figure 5 Target Platform IO Configuration Figure 5 Target Platform IO Configuration External External External Ethernet Ethernet 2 Ethernet WR Linux 5 VxWorks 1 VxWorks 2 Virtual Virtual Virtual Machine Machine Machine Hypervisor NOTE Dashed lines indicate virtual connections devices The system cannot connect to the VNIC via an external interface directly This means that when data is sent to the VNIC it will always be transmitted to another Guest OS A VNIC appears to the guest OS as a standard Ethernet interface However unlike a real NIC the data never leaves the target platform The act of transmitting data from one VNIC to another is simply a memory copy of the Ethernet frame from one guest OS to another Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 27 a n tel Workflow 1 Set Up amp Explore the System Features 6 4 2 6 4 3 6 4 4 6 4 5 Default Target OS IP Address Assignment Intel Industrial Solutions System Consolidation Series SCS assigns target platform IP addresses to the three guest operating systems by default as follows e Linux 5 10 0 0 3 e VxWorks 1 10 0
55. use the projects you created earlier Perform the following steps In Wind River Workbench expand the wr_hypervisor_integration project and double click the Makefile to bring it up in the editor See Figure 110 Hypervisor Updating Figure 110 Hypervisor Updating Project Explorer 2 J File Navigator O Makefile 2 e dn Hel e 6 DESCRIPTION Oo s A 7 This file contains the rules for building a Wind River Hypervisor system gt E vsb_wrVbX86 Wind River VxWorks 6 9 Source Build Kerr gt ae using the enhanced packaging build system YV wr_hypervisor_integration Host OS Native Development ah Wind River Launches 12 Scripts g 13mkhimage CURDIR Scripts mkhimage b ab Binaries 14mkromfs CURDIR Scripts mkromfs 15 b EB Archives 16 n 17 0bject Directories gt e Includes 180BJ_DIR CURDIR objects p amp config 19ROMFS_DIR 0BJ_DIR romfs Db Glib 21 System objects required to build new Hypervisor system elf 22SYS_BASE_OBJ CURDIR System_Baseline system elf Rb objects 23 ROMFS_OBJ 0BJ_DIR romfs contents S 24VX1_OBJ_SRC CURDIR myvip_wrVbX86_1 default vxworks gt payload 25 VX1_OBJ_DEST ROMFS_DIR vxworksl elf S b 26 VX2_0BJ_SRC CURDIR myWip_wrVbx86_2 default vxworks E prebuilt 27 VX2_0BJ_DEST ROMFS_DIR vxworks2 elf gt Scripts 28LX_OBJ_SRC CURDIR payload obj_x86_generic_wrhv wrhv_realmode 29LX_0BJ_DEST ROMFS_DIR Li
56. with HV 46 Skip the USB 2 0 port 3 BDF 0 26 0 so it can be assigned to Linux 47 win_avoid_bdf 3 0 0 0 28 5 0 29 0 0 28 6 4 0 0 0 25 0 5 0 0 48 win_avoid_bdf 2 0 0 4 0 0 3 0 0 49win_avoid_bdf 2 0 0 4 0 0 3 0 0 0 29 0 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 187 i n tel Workflow 6 Configure a New Device In the configurable section in order to assign resources to specific OSes later in this document you will learn how to modify the values inside override esh s configurable section Note that device assignment is done on an OS type basis Thus when specifying rules for VxWorks ALL VxWorks instances will follow the same rules If there is only a single device matching the assignment but multiple guest OS then only the first guest OS will have the device Other guest OS of the same type would not get the device Before configuring device assignment first learn about device assignment rules which are called parameters 11 1 6 2 Device Assignment Parameters When assigning devices to an OS Hypervisor works in conjunction with override esh scripting according to five general parameters 11 1 6 2 1 Parameter 1 Assignment by default If you do not assign device types to an OS then the Hypervisor assigns devices according to a default configuration in override esh This unless otherwise specified in the specific OS parameters by default the system
57. 0 4 e VxWorks 2 10 0 0 5 Customizable Target OS I P Address Assignment While you can modify a guest OS address manually from a guest OS s command shell this change is not persistent A target platform reboot restores the default IP addresses 10 0 0 3 through 10 0 0 5 You can permanently override the guest OS boot IP addresses by configuring them using the development host Workbench software To permanently change the IP addresses see Section 10 Workflow 5 Assign Persistent Target Platform OS IP Addresses Subsystem Connectivity The single Linux VM and the two VxWorks VMs are configured to use the serial port to interface with the development host Because there is a single physical serial port used for debugging access is shared among the OSes The asynchronous multiplexed I O AMIO component takes care of multiplexing the serial streams Wind River Workbench s AMIO terminals are designed to demultiplex the serial stream so that every platform s serial stream appears individually in its own Workbench console The system assigns the target platform devices such as serial port NIC disk controllers USB controllers PCI cards dynamically during the boot up procedure Linux and VxWorks Operating Systems The VxWorks VMs do not directly support human interface devices such as a monitor keyboard and mouse You must access these targets via a remote connection from the development host The Linux VM does directly support keyboar
58. 1 54 Workflow 1 Set Up amp Explore the System Features n tel Figure 30 Workbench Workspace Advanced Device Development Wind River Workbench mMAR File Edit Navigate Search Project Target Analyze Run YoctoProjectTools Window Help 88 fs ef gt O amp S E ki x goe L CBR NON eos D Project Explorer H File Navigator Sa 5 E EE D ZS Outline H a b eb vip_wrvbxs6_1 f x ks e An outline is not available b eb vip_wrvbx86_2 W gt why gt GR wrahypervisor_integration gt G8 wriinux ugos SD AMIO Console H K e20 A Remote Systems H II Kernel Objects HIR Se gt E Locat b H VxWorks_VIP1_WDBConnection gt D VxWorks VIP2_ WOB Connection Wir gt Aa WRLinux UserModeAgent Connection Wind F j atform 4 z 3OMof62M From the top menu select Window gt Show View gt AMIO Console The AMIO console appears See Figure 31 AMIO Console Figure 31 AMIO Console J Feeds 29 Tasks Terminal 1 Properties E Build Console DI Console AMIO Console 3 zim S At the development host Workbench workspace click the Creates a connection for Application Multiplexed I O button See Figure 32 Multiplexed 1 0 Button Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 55 i n tel Workflow 1 Set Up amp Explore the System Features Figure 32 Multiplexed I O Button AMIO Console X Kl An Open AMIO Console windo
59. 1 1 120 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel 8 6 2 When the system finishes the Configure Options window closes In the Project Explorer window a wrlinux_ugos_glibc_std Wind River Linux Platform Base 5 0 1 Platform Project object appears Configure and Build the File System and Packages In this section you configure the target platform file system To do this you must create an initial build of the kernel In Project Explorer double click wrlinux_ugos_glibc_std Wind River Linux Platform Base 5 0 1 Platform Project object The project expands Right click the fs object An options list appears See Figure 102 Build Target Figure 102 Build Target Project Explorer amp gt File Navigator D gt DS e x mm seen lt Gi gt tYwr _hypervisor_integration Host OS Native Development e wrlinux_ugos_glibc_std Wind River Linux Platform Base 5 1 Kernel Configuration User Space Configuration Yi bitbake shell D build all WR export layer il export sdk D export sysroot Yi fs debug i import package Y kernel_build X Delete Delete DE kernel_rebuild E Gahithake build Rename F2 SS Open Wind River Linux Platform Base 5 0 1 Development Shell Build ge Ctrl B Ctrl Build Project Build Options Properties Ctrl B Ctrl P 3 Alt Enter Select Build Target A Build Target kernel_ build project wrlinux_ugos_glibc_std pro
60. 1c5000 ROMFS previous size OxOSabc800 Create Boot Image home wruser workspace wr_hypervisor_integration objects system elf Copy Hypervisor code done Copy new ROMFS image done Padded with 200 bytes done ROMFS new size 0x05ab4800 Update boot header done Write ELF header done All done Build Finished in Project wr_hypervisor_integration 2013 10 15 18 38 47 Elapsed Time 00 03 Minimize Workbench Use Linux File Explorer to navigate to the root directory of the USB media Paste the system elf file to the root directory of the USB media After the file finishes copying unmount the USB media and remove it from the development host Make certain that the target platform is powered down Ensure that no other bootable media are inserted into the target platform Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 174 a Workflow 5 Assign Persistent Target Platform OS IP Addresses n tel Insert the USB media into an open port on the target platform NOTE For a faster boot Intel Corporation recommends you connect the boot media to a USB 3 0 port on the target platform Arrows in Figure 158 USB 3 0 Ports provide the locations of two target platform USB 3 0 ports Figure 158 USB 3 0 Ports 10 3 Configure Target Platform BI OS to Boot from USB Media Before booting the target platform from USB media you first configure the target platform B
61. 4 Intel Corporation All rights reserved Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 2 Introduction Contents Bulge ef de EE 12 1 1 Reine Le KEE 13 1 2 Product Literature ere oE Enn EAE EE E EE EE d 13 1 3 Reference Content SS NENEKENEENENER REENEN NENNEN EEN EEN ENER eeeaanesaa anaes ENEE EE 14 Safety Note bien eeh aievhetad iets Ae vada pears Seeded ede 15 2 1 Alerts for Warning Caution Important and Note 15 2 1 1 WARNING titi diiasdenreliieiddenien EEEE EEE I eaadaeredebedaans 15 2 1 2 CAUTION Ee 15 2 1 3 IMPORTANT arien ined ctor awicieti dennis 15 2 1 4 NOTE EEN 15 2 2 Safety During Installation and or Maintenance 16 2 3 Safety Related to Data Preservation eee e eee ee eee ee teeen eee 16 Intel Industrial Solutions System Consolidation Series Documentation 06 17 User Provided tee ii iciccvisettavestnsesdaeiieanendietaendid DIE Aaa EES EES 19 4 1 Required User Provided Irems cece neta 19 4 1 1 Development Host 19 4 1 2 Development Host Specifications cece eee 19 4 2 Optional User Provided Items teeter ete 20 Development Workflows ccc ene eee 21 5 1 Summary Of WorkflOWS 0 cece eerie 21 Workflow 1 Set Up amp Explore the System Features ccececeeeee eee e eee ee eee teeta 22 6 1 About Rui Ee ET 22 6 2 System Frtrogduetton sneins aaun ioni SKE EA e NEE dee cia een 23 6 3 User Provided System Components e
62. 5 255 255 0 up where 10 11 0 1 is an IP address not already used by another OS Modify the IP address as needed See Figure 153 usrApplnit c IP Change 1 Figure 153 usrAppl nit c IP Change 1 37 ifdef USER_APPL_INIT 38 USER_APPL_INIT for backwards compatibility 39 endif 40 41 add application specific code here 42 ipAttach 0 gei 43 ifconfig rtgO 10 11 0 1 netmas 255 255 255 0 up 44 45 46 47 ifdef INCLUDE_USER_PRE_KERNEL_APPL_INIT Locate the DESCRIPTION Initialize user application code line Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 170 Workflow 5 Assign Persistent Target Platform OS IP Addresses Under this line is an existing entry that looks like the code below include lt VxWorks h gt if defined PRJ_BUILD include prj jParams h endif defined PRJ_BUILD Enter the extra two lines shown below this code entry so that the resulting code block appears as shown in Figure 154 usrApplnit c IP Change 2 Figure 154 usrApplInit c I P Change 2 20 DESCRIPTION WE 21 Initialize user application code 22 24 include lt vxWorks h gt 25 if defined PRJ_BUILD 26 include prjParams h 27 endif defined PRJ_BUILD 28 include lt net utils ifconfig h gt 29 include lt ipProto h gt Press CRTL S to save the VxWorks project file Right click the vip_ wrVbx86_ 1 obje
63. 6 dev22 func6 pint bus6 dev22 func3 pin2 bus dev25 func pint bus0 dev26 func0 pint bus6 dev27 func6 pint bus6 dev28 func6 pint bus dev28 Func6 pin3 bus dev29 func0 pint bus0 dev30 func0 pind bus6 dev31 func6 pin6 bus6 dev31 func2 pin2 bus dev31 func3 pin3 bus1 dev00 func0 pint bus1 dev60 funct pin2 bus1 dev66 func2 pin3 bus1 dev66 func3 pins bus3 dev00 funcO pint 6x 6158 6x8 486 6x 0151 6x8 086 6x 0152 0x8 086 0x1e31 6x8 086 6x1e3a 6x8 686 6x 1e30 6x8 086 0x15 SH 6x8 086 0x1e2d 0x8 086 6x1e26 6x8 086 6x1e16 6x8 086 6xte tc 6x8 886 0x1e26 6x8 086 Ox244e 0x8 086 6x1e47 6x8 686 6x 1e 62 6x8 686 6x 1e22 6x8 086 0x9904 0x9710 6x99 04 0x9710 6x99 Hin 6x9716 6x99 64 6x9718 0x 1003 6x8 086 INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT 16 16 16 16 19 20 16 22 16 18 23 19 18 16 17 18 19 18 Host Bridge Device PCI Bridge Device UGA Display Controller USB Serial Bus UnknounSce Connunication Controller Serial Connunication Controller Ethernet Netuvork Controller USB Serial Bus Unknountin Hulti Nedia Device PCL Bridge Device PCI Bridge Device USB Serial Bus PCI Bridge Device ISA Bridge Device SATA Hass Storage Controller SNBus Serial B Serial Communication Controll Serial Connunication Controller Serial Connunication Controller Serial Connunication Controller Ethernet Netvork Controller In
64. 64 ttl 64 ttl 64 ttl 64 ttl 64 seq 0 seq l seq 2 seq 3 seq 4 seq 5 seq 6 0 4 ping statistics time 1 time 1 time 1 time 1 time 1 time 1 time 1 999 000 000 000 000 000 000 1 000 1 142 1 999 ms ms ms ms ms ms ms ms 7 packets transmitted 7 packets received 0 packet Loss round trip min avg max root localhost J Press CRTL C to stop the ping activity Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 Workflow 1 Set Up amp Explore the System Features i n tel 6 9 2 3 VxWorks to VxWorks Communication Click the VxWorks AMIO Channel 3 console tab The VxWorks AMIO Channel 3 console appears At the VxWorks prompt type ifconfig and press Enter Network information appears as output See Figure 40 Ifconfig Output Figure 40 I fconfig Output Lod vnicO value gt gt ifconfig Link type Local loopback Queue none inet 127 0 0 1 mask 255 255 255 255 UP RUNNING LOOPBACK MULTICAST NOARP MTU 1500 metric 1 VR 0 ifindex 1 RX packets 261 mcast 0 errors 0 dropped 0 TX packets 262 mcast 0 errors 0 collisions 0 unsupported proto 0 RX bytes 14k TX bytes 14k Link type Ethernet HwWaddr 00 11 11 00 01 03 Queue none inet 10 0 0 5 mask 255 255 255 0 broadcast 10 0 0 255 UP RUNNING SIMPLEX BROADCAST MULTICAST MTU 1500 metric 1 VR 0 ifindex 2 RX packets 285 mcast 27 errors 0 dropped 0O TX packets
65. AF_MIPC sockets AF_MIPC_NUM_SOCKETS B AHCI Semaphore Timeout AHCI_SEM_TIMEOUT_DEF F AHCI Service Tasks Per Drive AHCI_SVC_TASK_ COUNT F AHCI Watchdog Timeout AHCI_WDG_TIMEOUT_DEF F aio system tasks priority O default AlO_TASK_PRIORITY aio tasks stack size O default AIO_TASK_STACK_SIZE Eg spinLock libraries API API_SPINLOCK Z Default kernel logging FD APPL_KERN LOG_FD_CFG Z Default kernel logging mask and flags APPL_KERN LOG_LEVEL_CFG Z Default application Logging FD APPL_LOG_FD_CFG Default application logging mask and flags APPL_LOG_LEVEL_CFG _ Component tree v GI Multi os v Multi Os IPC Y AF_MIPC socket API AF_MIPC O Cancel Find The Find window allows you to search for components in the Kernel Configuration Tool Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 86 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel Review the components listed in Table 4 VIP INLCUDE Components Table 4 VIP I NLCUDE Components Optional Components Required Components INCLUDE_SHELL_BANNER INCLUDE_USB_INIT INCLUDE_IFCONFIG INCLUDE_USB_MHDRC_OCD_HCD_INIT INCLUDE_PING INCLUDE_USB_MHDRC_OCD_TCD_INIT INCLUDE_IPTELNETS INCLUDE_USB_GEN2_STORAGE_INIT INCLUDE_TELNET_CLIENT INCLUDE_DOSFS_ CACHE INCLUDE_IPATTACH INCLUDE_XBD_RAMDRV INCLUDE_ROUTECMD INCLUDE_XBD_PART_LIB INCLUDE_WDB_ALWAYS_ ENABLED INCLUDE_HRFS INCLUDE_WDB_
66. BIOS EE 133 Figure 116 BIOS EE 134 Figure 117 VxWorks 1 CoOd iii isasidcateinecasanite seeteaaie ty dee NEE deg ENRETE OEE eee ecient ai AEN ries 135 Figure 118 VXWOrkS 2 COdG unenee EE in A cian aes va NEEE ea E dE EE ENEE Ee 136 Figure 119 Usermode Agent Output 138 Figure 120 Agent Monitor Port 138 Figure 121 Remote Systems Window cece eee aed 139 Figure 122 WhiteS pace ies iiisic dds nr e oaran D nE REE NESE EAIRT Onna Maiden uieiiatials 139 Figure 123 System Tue as ees dE EE dee REESEN 140 Welle WEN Klee TE 141 Figure 125 Remote Connection 142 Figure 126 Download Configuration cece ee eee 144 Figure 127 Edit File Copy Deploy 8 ERENENEERSEE leet EEN ER VER EEER NEES EREN EES EEEE ER NEE EEN 145 Figure 128 Edit WiNdOW eu EE NEE EE E e E SE tes eed ene Ee Ee 146 Figured 29 AMIO CONnSONG scnacstistecicecestenccneieinwseseanenestsduataca sie owes Genius EEEE eel EN 147 Figure 130 Debug Menu Item ccc eens 148 Figure 131 Choose Action Window cece ener aee 149 Figure 132 Cr ate Manage EEN 150 Fig re 133 Edit WindOW ii2icsiceascstisescsaninectabinaaee he mead eidaeadaneas ava aeedecia adideninara bes neadicanddaaaee 151 Figure 134 Debug and Console cee nett 152 Figure 135 Debug Menu CEMS ENNEN REENEN ed ede eens eden eee dee sees sede ENNEN NEEN NEEN ER NEEN NEEN 153 Figure 136 Ee Wgl EE 154 Figure 137 Code Content eege eege Eege EE SEENEN SEENEN Ee E ER EEEEEN 154 F
67. Console window at the bottom of Workbench In this procedure the wrLxProject out application causes the words Hello World to print out See Figure 136 Hello World Figure 136 Hello World D Console 4 Hello world wrLxProject o out WRLinuxUser_10 11 0 105 1 Linux Application s amp 2 Of E ri e The application or code console appears in the center of Workbench See Figure 137 Code Content Figure 137 Code Content evice Debug wri xProjecthellowarid c Wind River Workbench File Edit Source Refactor Navigate Search Project Target Analyze Run Window Help SFee amp Bi gt main ser ap lic ation entry functior B amp e 4 This routine is the entry point for user applic 16 created with first task starting at this ent This function writes Hello world on the conso Ki b Gm common pe Wind River D eb vip_wrVbX86_1 Wind Riv gt teh vip_wrVbX86_2 Wind Riv D eS vab_wrVbX86 Wind River B int wei D eS wr_hypervisor_ntegration d int argc number char arg vl array o print Hello world n wm 0 Ze RK esch SP Terminal 1 Console 3 H Build Console CG an Y P Processes b ai0 0 20 interr a EA E ry b async mgr 9 int i P ata 0 13 fint p ec PC 0x08048399 Launching wrLxProject 10 11 0 105 a a m ri Set el aj oo B a I Projec 33 E Debug 8 TETT 2 neltoworide 335 u D
68. Consolidation Series User s Guide Document 538056 1 1 34 A Workflow 1 Set Up amp Explore the System Features i n tel 6 5 6 6 5 7 6 6 6 6 1 Figure 6 Target Boot Image Project Compilation shows that the VxWorks Source Build project combines with the two VxWorks Image Projects along with the Linux Platform Project All of these projects funnel into the Hypervisor integration project HIP The HIP uses all project information to create the system elf file which you use to boot the VMs on the target hardware The hypervisor is preconfigured to boot three virtual machines one instance of Linux and two instances of VxWorks While you cannot modify this configuration you can control which hardware devices Ethernet Ports Serial Ports disk controllers USB and so on are assigned to specific virtual machines that you configure using scripts you modify in Workbench For more information about hardware resource assignment see Workflow 6 Configure a New Device Development Host Hardware The development host platform is hardware that you provide For development host specifications see Section 4 1 2 Development Host Specifications Development Host I nstallation Software Intel Industrial Solutions System Consolidation Series SCS development host installation software resides on the Development Host media USB Because the software has comes to you in an unlicensed state follow the licensing procedure to activate th
69. DERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES 17 Interpretation of Sections 15 and 16 If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 217 H l n tel Workflow 6 Configure a New Device If you develop a new program and you want it to be of the greatest possible use to the public the best way to achieve this is to make it free software which everyone can redistribute and change under these terms To do so attach the following notices to the program It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty and each file should have at least the copyright line and a pointer to where the full notice is found lt one line to give the program s name and a brief idea of what it does gt Copyright C lt year gt lt name of
70. ENT IN THE DESIGN MANUFACTURE OR WARNING OF THE INTEL PRODUCT OR ANY OF ITS PARTS Intel may make changes to specifications and product descriptions at any time without notice Designers must not rely on the absence or characteristics of any features or instructions marked reserved or undefined Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them The information here is subject to change without notice Do not finalize a design with this information The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications Current characterized errata are available on request Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order Copies of documents which have an order number and are referenced in this document or other Intel literature may be obtained by calling 1 800 548 4725 or go to http www intel com design literature htm Intel Industrial Solutions System Consolidation Series and the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries Other names and brands denoted by an asterisk upon first instance in this document may be claimed as the property of others Copyright 201
71. Figure 54 Build Console 7 5 3 Feeds 29 4 Tasks Jl Terminal 1 Properties Build Console X DI Console AMIO Console im ES amp bell la be Y ROMFS image offset 0x00000000001c6000 ROMFS boot offset Ox00000000001c5000 ROMFS previous size OxOSabc800 Create Boot Image home wruser workspace wr_hypervisor_integration objects system elf Copy Hypervisor code done Copy new ROMFS image done Padded with 200 bytes done ROMFS new size 0x05ab4800 Update boot header done Write ELF header done All done Build Finished in Project wr_hypervisor integration 2013 10 15 17 27 02 Elapsed Time 00 03 fa T D While the system rebuilds the wr_hypervisor_integration project the system copies information from the other projects in Project Explorer This process consolidates this information into a file called system elf The system elf file comprises the image containing the modifications and configurations including any code you create that the target platform uses to boot Depending on the size of project you rebuild after a few moments the Rebuild Project window disappears Copy the SYSTEM ELF File to Boot Media While there are several methods to move the system elf file from the development host to the target platform the easiest method is to copy the system elf file to USB media and boot the target platform from that media Follow the steps to perform this copy procedure A ae Inte
72. IOS to boot from USB media NOTE To ensure that you start the target platform from USB media follow this procedure each time you need to boot from USB media Shut down the target platform and wait 5 seconds Place the bootable USB media into an open USB port preferably a blue USB 3 0 port Press and release the target platform power button The target platform begins to start As the target platform begins to start repeatedly press the DELETE button Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 175 i n tel i Workflow 5 Assign Persistent Target Platform OS P Addresses The target platform enters the BIOS Main tab See Figure 159 BIOS 1 Figure 159 BIOS 1 Aptio Setup Utility Copyright C 2011 American Megatrends Inc System Language English Use the right arrow key to go to the Save amp Exit tab See Figure 160 BIOS 2 Figure 160 BIOS 2 Aptio tup Utility Copyright C 2011 American Megatrends Inc stem device Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 176 D Workflow 5 Assign Persistent Target Platform OS IP Addresses n tel Use the down arrow key to move the highlighted selection to the USB media See Figure 161 BIOS 3 NOTE In this example the USB media is named ADATA USB Flash Drive 1100 Your USB media may have a different name Figure 161 BIOS 3
73. In that case follow the instructions below to Add a new download configuration Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 144 D Workflow 4 Dynamically Load amp Debug Applications on the Target Platform n tel Use the bottom horizontal scroll bar to view the right side of the File Copy Deploy window See Figure 127 Edit File Copy Deploy Figure 127 Edit File Copy Deploy Download Configurations X Create manage and run configurations D Select the files to transfer and choose the transfer direction g B Sr Name wrLxProject out WRLinuxUser_10 11 0 105 Launch Context File Copy Deploy Projects to Build Common gt Q Linux Application Proce Target location absolute path and filename Add gt wrbxProect out W amp istd4686 wriinux_4fun a root workspace wrLxProject common_pc glidc_std i686 Edit VxWorks Kernel Task Remove k m a eweg Filter matched 3 of 3 items D Close Download This movement shows the right side of the File Copy Deploy window and three buttons e Add Click this button to create additional executable to deploy You can use the line item for copying content from one location to another e Edit To use this function within the File Copy Deploy window select an existing download configuration and click the Edit button This action opens an Edit window where you vie
74. Intelligent Systems Intel Industrial Solutions System Consolidation Series User s Guide For SCS Version 1 0 June 20 2014 Revision 1 1 Document 538056 1 1 l n tel l Introduction INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS NO LICENSE EXPRESS OR IMPLIED BY ESTOPPEL OR OTHERWISE TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT EXCEPT AS PROVIDED IN INTEL S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY RELATING TO SALE AND OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE MERCHANTABILITY OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT A Mission Critical Application is any application in which failure of the Intel Product could result directly or indirectly in personal injury or death SHOULD YOU PURCHASE OR USE INTEL S PRODUCTS FOR ANY SUCH MISSION CRITICAL APPLICATION YOU SHALL INDEMNIFY AND HOLD INTEL AND ITS SUBSIDIARIES SUBCONTRACTORS AND AFFILIATES AND THE DIRECTORS OFFICERS AND EMPLOYEES OF EACH HARMLESS AGAINST ALL CLAIMS COSTS DAMAGES AND EXPENSES AND REASONABLE ATTORNEYS FEES ARISING OUT OF DIRECTLY OR INDIRECTLY ANY CLAIM OF PRODUCT LIABILITY PERSONAL INJURY OR DEATH ARISING IN ANY WAY OUT OF SUCH MISSION CRITICAL APPLICATION WHETHER OR NOT INTEL OR ITS SUBCONTRACTOR WAS NEGLIG
75. LUDE_I2C_BUS PCI Bus Auto Configuration Routines INCLUDE_PCI_BUS_AUT f PCI Bus Show Routines INCLUDE PCL BUS SH G PCI Bus legacy Auto Configuration Routines INCLUDE _PCI_OLD_CO Repeat the procedure to add the optional components from the Optional Components column in Table 4 VIP INLCUDE Components Repeat the procedure to add each of the required components from the Required Components column in Table 4 VIP INLCUDE Components When finished adding components press CTRL S to save the changes you have made Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 89 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Add User Applications to the VIP Using DKM You can use a downloadable kernel module DKM project to manage and build modules that reside in the VxWorks kernel space Workbench provides pre configured templates for various types of projects and lets you create and import these project templates In this workflow when your DKM development work is complete you link the DKM into the kernel The following sections provide instructions to link your application into the kernel To create a DKM project perform the following procedure Select File gt New gt VxWorks Downloadable Kernel Module Project A window appears See Figure 71 New DKM Figure 71 New DKM Advanced Device Development Kernel configuration editor of p Edit Navigate Search Pr
76. Linux User Application Go to File gt New gt Project A new Project window opens Go to the Wind River Linux icon and expand it The icon options expand beneath Select Wind River Linux Application Project Click Next A Project window appears In the Project Name field type wrLxProject Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 142 D Workflow 4 Dynamically Load amp Debug Applications on the Target Platform n tel 9 4 Click Finish A wrLxProject Wind River Linux Platform Application Project object appears in Project Explorer In Project Explorer right click wrLxProject Wind River Linux Platform Application Project and select Import A Select window appears In the Select an import source list expand the General icon The icon options expand beneath Select File System and click Next An File System window opens Adjacent to the From directory field click Browse and browse to your application directory NOTE In the following step this workflow example imports an application called hello c To import your own code substitute the directory path below with the directory to your own source code Browse to the following directory containing the application hello c home wruser WindRiver wrlinux 5 samples hello_Linux Click OK The application directory folder icon appears in the left pane In the right pane select the desired applicati
77. Option B Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 29 In tel Workflow 1 Set Up amp Explore the System Features Figure 6 Target Boot mage Project Compilation Development Host Workbench Linux Platform Project VSB Project Your Custom Software VxWorks Libraries VxWorks 1 VxWorks 2 Project Project VxWorks Libraries VxWorks Libraries Your Custom Software Your Custom Software Hypervisor Integration Project VxWorks Libraries SYSTEM ELF USB VxWorks 1 s VxWorks 2 e INIT Ci e Linux D GRUB e Hypervisor Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 30 Workflow 1 Set Up amp Explore the System Features i n tel 6 5 1 Development Host Linux Shell The development host Workbench software uses Linux as the resident platform for its development software See Figure 7 Development Host Desktop When you start up the Workbench development host software it loads on top of the development host Linux shell Figure 7 Development Host Desktop Applications Places Fri Jan 17 1 10 AM 44 S Swing River User 9 Advanced Device Dev mm Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 31 a n tel Workflow 1 Set Up amp Explore the System Features 6 5 2 Wind River Workbench The Intel Industrial Solutions S
78. PROXY INCLUDE_DISK_UTIL INCLUDE_ROMFS DRV_SIO_NS16550 INCLUDE_SHOW_ROUTINES INCLUDE_TLS INCLUDE_CPLUS INCLUDE_CPLUS_LANG INCLUDE_ISR_OBJECTS INCLUDE_POSIX_MQ INCLUDE_POSIX_SEM INCLUDE_POSIX_PTHREADS INCLUDE_SYSCTL_CLI INCLUDE_TRIGGER_SHOW INCLUDE_WDB_DPRINTF INCLUDE_SHARED_ DATA INCLUDE_IPDHCPC INCLUDE_PCI_BUS_ SHOW INCLUDE_VXBUS_ SHOW INCLUDE_VNIC_VXB_L2SWITCH_END Inside the Find window in the Pattern field type a component from the Optional list shown in Table 4 VIP INLCUDE Components NOTE This procedure uses the component named INCLUDE_PCI_BUS_ SHOW as an example This component is bolded in the Optional column in Table 4 VIP INLCUDE Components Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 87 D n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch After typing the component name look for the matching component name under the Name column See the arrowed column in Figure 68 Find Window 2 Figure 68 Find Window 2 Find scope Name Description Find option matching pattern Pattern any character any string INCLUDE_PCI_BUS_SHOW Matching Description Name ZZ PCI Bus Auto Configuration Routines INCLUDE_PC I_BUS_AUT Z PCI Bus Show Routines INCLUDE_PCI_BUS_SHC F PCI Bus legacy Auto Configuration Routines INCLUDE_PCI_OLD_CO Intel Industrial Solutions S
79. Project Explorer navigate through the Objects gt romfs folders and right click the system elf object Select Copy The system elf file copies to the system See Figure 172 System elf Copy Figure 172 System elf Copy EE open File Edit Source Refactor Na Open With mi Ci m eS Gm tS ov r Paste X Delete Project Explorer D gt FileN Attributes gt config Move objects Rename v Gromfs 5 ey Import Q linux elf x86 le sul r Export vxworks1 elf x86 vxworks2 elf x86 Open Wind River Workbench 3 3 3 Development Shell Q windows elf x86 U 2 Refresh B config esh Build Folder B devassign esh Build Project E helpers esh 2 Rebuild Project B override esh Build Options startup esh Run Linux Application Process Lee Debug Linux Application Process B romfs contents Riin Ae Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 192 LI Workflow 6 Configure a New Device in tel You may optionally use a command line or the Linux file explorer to copy the system elf file See the darkened content in Figure 173 System elf Directory Figure 173 System elf Directory Feeds 29 Task Terminal 1 Properties Build Console amp E Console AMIO Console s a a o Bi Sah ROMFS image offset 0x00000000001c6000 ROMFS boot offset Ox00000000001c5000 ROMFS previous si
80. Projects Figure 57 USB 3 0 Ports L SE Press and release the target platform power button The target platform begins to start As the target platform begins to start repeatedly press the DELETE button The target platform enters the BIOS Main tab See Figure 58 BIOS 1 Figure 58 BIOS 1 Choose the system default American Megatrends language 4 6 4 0 0403 x64 Fri 02 07 2014 09 46 12 Administrator Use the right arrow key to go to the Save amp Exit tab See Figure 59 BIOS 2 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 76 Workflow 2 Develop With Preloaded Workbench Projects n tel Figure 59 BIOS 2 ds Inc Use the down arrow key to move the highlighted selection to the USB media See Figure 60 BIOS 3 NOTE In this example the USB media is named ADATA USB Flash Drive 1100 Your USB media may have a different name Figure 60 BIOS 3 Aptio Setup Utility Copyright C 2011 American Megatrends Inc INTE an A USB Flash Drive Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 77 Workflow 2 Develop With Preloaded Workbench Projects Press Enter The target platform boots from USB media As the system starts communication activity appears on the development host AMIO console Several console tabs appear within the AMIO pane e Core OS This sho
81. Ps ipcom_tickd 0xE23858 Pend 4 ipdhcpc OxE23010 Pend T Expand the icons under the new connection until you see the Kernel Tasks object Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 160 Workflow 4 Dynamically Load amp Debug Applications on the Target Platform n tel 9 7 9 8 Create a Sample VxWorks Application Go to File gt New gt Project A new Project window opens Select Examples Click Next From the New Project Sample wizard select The C demo demonstration Program Click Finish A c_demo Wind River VxWorks 6 9 Downloadable Kernel Module Project object appears in Project Explorer Right click c_demo project and select Build Project After a few moments in the Build Console tab a message appears stating Build Finished in c_demo Download Application to a VxWorks Platform OS Follow this procedure to download code modules to the VxWorks platform NOTE In this case download means a download of the compiled Downloadable Kernel Module to the target platform Unlike the Linux image this download is not persistent On reset the original image is restored To make the download persistent you would need to integrate the project to your VxWorks Image Project and recompile the hypervisor image In Workbench Project Explorer right click c_ project and select Download VxWorks Kernel Task Intel Industrial Solutions System Consol
82. R ees ees eg EE EE EE RER AER EES 78 Figure 62 File gt New gt VxWorks Image Project 6c cece ee eee ents 81 Figure 63 Create Project in WorkSpace 0 neta 82 Figure 64 VSD WIVDX86 sisari EE ANESEC EEN d EE EA EEN NEEN SEENEN AE EEN EEN SEENEN 83 Figure 65 Project Detell r samsden ere eee wi teateadeeasdoaenesd ns iaead edeeea dade daa a a Aaa 84 Figure 66 Components Tab saas AR NENNEN ENER NEEN e E KEPEK SEN SEENEN EE 85 Figure 67 Find WiINdOW EE 86 Figure 68 Find WindOW Zen E dd arna a AA E A A a 88 Figure 69 Highlighted GM EE 89 Figure 70 Bolded Ie M iciiistecuavres See ee edd ENEE ee EENS ER EEN d dee Medes 89 Figure 71 NEW DK EE 90 Figure 72 EE 91 Figure 73 Build Specs Window 0 c cece eee eee eee 92 Figure 74 CORE EIERE Se 93 Figure 75 DKM Module gud DEE dade EE tetas EEN es Goda bees Ce diet teens 94 Figure 76 File SYSt EE 95 Figure 77 File EE 96 Figure 78 Project Reierence ini aA aa AE EA EEE A Raa aiaa 97 Figure 79 KernelVOb GCtirssihcrseacnrengecteemeseteis nin E E A ET E E A 98 Figure 80 Build Projet EE 99 Figure 81 Belle en Aessen ia ee EE AK E E Ri iE See d 99 Figure 82 VxWorks mage brolect irn EE EEA ETETA ERES 100 Selen EE 101 Figure 384 Based e 102 Figure 85 Expanded Projects dics iscienscisncteiess Eeer NEES NEE NEE EEN 103 Figure 86 COMPONENS irsinin ta nino ak EER RAR REESEN EIEEE NEEE K NADP E EAEE 104 Figure 87 EE 105 Figure 88 VXWOrkS RUPisscicatssuiesc
83. ROMFS image done Padded with 200 bytes done ROMFS new size 0x05ab4800 Update boot header done Write ELF header done All done Build Finished in Project wr hypervisor integration 2013 10 15 18 38 47 Elapsed Time 00 03 In Workbench close the AMIO channel consoles Minimize Workbench Use Linux File Explorer to navigate to the following directory of the USB media target_usb images Paste the system elf file into the directory After the file finishes copying unmount the USB media and remove it from the development host Configure Target Platform BIOS to Boot from USB Media Before booting the target platform from USB media you first configure the target platform BIOS to boot from USB media NOTE To ensure that you start the target platform from USB media follow this procedure each time you need to boot from USB media Shut down the target platform and wait 5 seconds Ensure that no other bootable media are inserted into the target platform Place the bootable USB media into an open USB port preferably a blue USB 3 0 port NOTE For a faster boot Intel Corporation recommends you connect the boot media to a USB 3 0 port on the target platform Arrows in Figure 57 USB 3 0 Ports provide the locations of two target platform USB 3 0 ports Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 75 bw in tel Workflow 2 Develop With Preloaded Workbench
84. SCS User Guide e the User Support media USB e the development host software system See Section 3 Intel Industrial Solutions System Consolidation Series Documentation e Reference materials included those listed in Section 3 Intel Industrial Solutions System Consolidation Series Documentation e WWW Intel com e www WindRiver com e your sales and support representatives License Notices Access an important Wind River Linux 5 0 Third Party License Notices document by going to the following relative path on the development host media home wruser WindRiver legal notices wr Linux 5 0 1 WindRiver_Linux5 0_ThirdPartyNotices_v2 1 pdf Access other license documents by going to the following relative path on the development host media home wruser WindRiver licenses IMPORTANT Make certain to read important information regarding GNU General Public License version 3 GPLv3 and GNU General Public License version 2 GPLv2 in the Wind River Linux User s Guide page 112 Access this document as an Adobe PDF file by going to the following relative path on the Development Host home wruser WindRiver docs extensions eclipse plugins com windriver ide doc wr_linux_5 wr_linux_users_guide wr_linux_users_guide_5 0 1 pdf Document 538056 1 1 i n tel Workflow 6 Configure a New Device D 3 GNU General Public License GNU GENERAL PUBLIC LICENSE Version 3 29 June 2007 Copyright C 2007 Free Software Founda
85. Section 6 Workflow 1 Set Up amp Explore the System Features Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 January 2014 204 Document 538056 a Workflow 6 Configure a New Device In tel C 2 Configuration Troubleshooting The following troubleshooting items are commonly related to system configuration Table 10 Installation Troubleshooting T0006 When attempting to boot the target platform using the Every time you boot the target platform from USB media you must Target Platform USB media the target platform boots from configure the target platform BIOS settings to boot from USB media After the target platform hard drive instead configuring the BIOS to boot from USB Media this change is not persistent and the system boots only one time from USB Media On subsequent startups the target platform boots from hard drive T0007 When attempting to boot the target platform using the Make certain the boot image file name is named system elf If the boot Target Platform USB media the target platform hangs image has another name rename it to system elf and retry booting The boot image on the Target Platform USB media may be corrupt Recreate the image and try rebooting the target platform from it load customized code into my VxWorks Linux project If the customized code doesn t appear upon booting up the target and create a new system elf that copy to USB After platfo
86. TroubleShooting cceee eee e eee e eee ee ee eee teeta a EE 203 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 5 intel Ree Appendix D C 2 Configuration Troublesbooting cece eee eect eee eee eee eens 205 Be DUR Leet 207 DI G7TRde ele 207 D 2 LlcensehNotlces cece cece eeeee ee ceeeeeeeeeeesaeeeeeeeeeeeseeeeegeueeesgeetengaueensannys 207 D 3 GNU General Public License ccc cece cece cence eee eee eeeee seat eaaeeeateeaeenaeees 208 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 6 HE intel Figures Figure 1 SCS Target Platform Box Ghipment cece nett 23 Figure 2 Development Host and Target Platform System 24 Figure 3 The SCS Target Platform Hardware cence nents 25 Figure 4 Target Platform OS Conftouration cece ners 26 Figure 5 Target Platform 10 Configuration cece neta 27 Figure 6 Target Boot Image Project Compilation cece eee taee 30 Figure 7 Development Host Desktop 31 Figure 8 Workbench Workepace ccc ene nes 32 Figure 9 Project EXplOren eu Siess Rbeer ae Keeser KEE SEENEN Eed 33 Figure 10 Modifiable Projects cece cece eee eens 34 Figure 11 Unmodifiable Projects 0 0 0 ene 34 Figure 12 Rename the Licensing File 40 Figure 13 Linux Desktop sau gd gedd Eed EE Eed deed dE EES EEN 41 Figure 14 HESE HEET ees ere ege Besse e E Ee SE Eege 41 Figure 15 Warn
87. Workflow 5 Assign Persistent Target Platform OS IP Addresses e Workflow 6 Configure a New Device Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 21 a n tel Workflow 1 Set Up amp Explore the System Features 6 1 Workflow 1 Set Up amp Explore the System Features About This Chapter Before you begin using Intel Industrial Solutions System Consolidation Series SCS for development and production use this chapter to familiarize yourself with the system IMPORTANT This chapter is Workflow 1 the first of several workflows in this document Make certain you complete this workflow first before proceeding with the other workflow chapters that follow Perform the workflows in their order in this User Guide This chapter includes both system background information and instructions e FIRST Read and understand this chapter entirely e THEN Re read the chapter and perform the instructions in the workflow Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 22 A Workflow 1 Set Up amp Explore the System Features n tel 6 2 System I ntroduction The Intel Industrial Solutions System Consolidation Series SCS encompasses two subsystems the development host a PC provided by the end user and the target platform see Figure 1 SCS Target Platform Box Shipment Figure 1 SCS Target Platform Box Shipment
88. ace in addition to the VNIC Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 169 a n tel Workflow 5 Assign Persistent Target Platform OS I P Addresses 10 2 1 10 2 2 10 2 2 1 Customizable Target OS I P Address Assignment You can modify the guest OS address manually from a guest OS command shell accessible from the AMIO terminal by using the ifconfig command However such a change is not persistent A target platform reboot restores the default IP addresses 10 0 0 3 through 10 0 0 5 You can permanently override the guest OS boot IP addresses by configuring them using the development host Workbench software Customizable Target OS I P Address Assignment Configure a Persistent VxWorks IP Address 1 Instance When booting the target platform you may manually make a change to a VxWorks OS using the ifconfig at the command prompt However these changes are not persistent and will be reset to the default IP address the next time the target platform reboots To enable a persistent IP address for VxWorks vip_wrVbx86_ 1 follow the procedure below Go to the vip_ wrVbx86_1 icon and expand it Go to the usrAppI nit c object Double click usrAppI nit c A usrApplI nit c work pane opens Double click the usrAppI nit c tab to expand its work pane Under the add application specific code here line type ipAttach 0 gei ifconfig gei0 10 11 0 1 netmask 25
89. aceeatacnceecieweias aie E E es tedee O E dari eaedaden 60 Figure 39 Linux to VxWorks COMMUNICATION 0 cece neta 60 Figure 40 ifconfig e fu EE 61 Figure 41 VxWorks to VxWorks Communication 62 Figure 42 LINUX DESKTOP ciuine mnara we A EEA di ua E T Ea ATSO TEE 64 Figure 43 Workbench ICOM siiiicciactrasesdaseeiecedniaeaedadteees AIA E E A A AAEE AAA 64 Figure 44 Workbench WorkSpace stt ene eens 65 Figure 45 Project Epl rer Ai ctv a ENER EE ENEEENE i un en diets EDE EPEN N EEE SEN dE UREE PEERS NED 66 Figure 46 VxWorks Project con 67 Figure EH ee Nu EE 68 Figure 48 Print File COd sisaciieieigessietev RE ENNER SE eee baa See ene E des eae ieee 69 Figure 49 Fil gt Gage ENEE EEN ERR REENEN KEEN DEER EENS KAREN ANERER EEN dE d EEN EEN NE NEEN 69 Figure 50 Rebuild Project geg ee EZE RES SEENEN e DREES 70 Figure 51 Rebuild Proj Oct eu Senisi a ak dE Se breed ane deans 71 Figure 52 Build Ree TEE 71 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 7 Figure 53 Select Rebuild brolect 0 cece ee eee tenants 72 Figure54 Build CONSOIC creirien o Se Ee eege deeg Ze e ened OEE 73 Figure 55 Systemel CODY added ENER cadens NEES EES EES 74 Figure 56 System elf Director 75 Figure 57 USB 3 0 BOES teren Pk geesde Ce eege Eed ge de Ee 76 Figure 58 BIOS DEE 76 Figure 59 EE 77 Figure 60 BIOS EE 77 Figure 61 AMLO CONSOlES isen asss gg ug S
90. ances of Wind River VxWorks OSes as virtual machines Follow these instructions to build VxWorks operating system 1 NOTE For further information about configuring and creating guest OSes you may optionally see Hypervisor User s Guide section 16 2 Example Hypervisor Standard Profile with a VxWorks Guest Intel Create the VxWorks I mage Project VIP This procedure provides instructions to create a VxWorks image project NOTE For more information see Hypervisor User s Guide Section 16 3 Example Hypervisor Standard Profile with a VxWorks Guest Intel a separate document that you may find by going to Help in Wind River Workbench Open Wind River Workbench Switch to the Advanced Device Development perspective Window gt Open Perspective gt Advanced Device Development Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 80 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel To open the VxWorks Image Project Wizard go to File gt New gt VxWorks Image Project See Figure 62 File gt New gt VxWorks Image Project Figure 62 File gt New gt VxWorks I mage Project Advanced Device Develop Edit Navigate Search Project Target Run YoctoProjectTools Analyze Window Help New Shift Alt N gt fi Wind River Workbench Project Open File 1a Wind River Linux Application Project w Wind River Linux IOP Project Close Ctrl W C
91. are to your development host PC Power down the development host PC Insert the Development Host USB media into the user provided development host PC TIP Intel Corporation recommends that you insert the media into a USB 3 0 port Power up the PC Several system screens appear and disappear as the system loads The license window disappears and the system loads to the Wind River Linux desktop See Figure 13 Linux Desktop Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 40 Workflow 1 Set Up amp Explore the System Features i n tel Figure 13 Linux Desktop Applications Places Fri Jan 17 1 10AM zi S E wind River User d D rash tel 2 Advanced Device Dev i Double click the Install to Hard Drive icon See Figure 14 Install Icon Figure 14 Install I con Install to Hard Drive Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 41 a l n tel Workflow 1 Set Up amp Explore the System Features A warning window appears See Figure 15 Warning Window Figure 15 Warning Window X Install Embedded Development Kit to a Hard Drive hk You are about to install the Embedded Development Kit to a hard drive CAUTION This procedure is not reversible and you may lose data Before proceeding please read the Evaluation Tutorial appendix Installing Your LiveUSB Evaluation t
92. assigns a guest OS with e 1 serial port e 1 Ethernet port You can change the default device assignment but there is normally no need to do so NOTE You will have the opportunity to create customized settings later in this work flow 11 1 6 2 2 Parameter 2 OS specific device assignment While the default parameters specify assignment for Guest OSes in general the hypervisor also supports OS specific assignments Table 7 Supported Guest OSes shows the supported Guest OSes Table 7 Supported Guest OSes Suestos prefix Description VxWorks Hypervisor aware VxWorks OS Hypervisor aware Wind River Linux In our case as our Guest OSes consist of two VxWorks instances and a single unmodified Wind River Linux instance we use the vx and umod prefixes The other OS assignments will not have an effect on our system Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 188 Workflow 6 Configure a New Device i n tel i Since each OS is assigned to a unique core they will boot simultaneously However when the script assigns the devices the order in which the OSes are defined control the assignment order 1 2 Guest OS 1 Wind River Linux 5 0 Guest OS 2 Wind River VxWorks 1 3 Guest OS 3 Wind River VxWorks 2 Thus the Linux GOS will get the first device in a given class then VxWorks 1 will get the next device etc It is important to realize that device assign
93. atedly left and right as the system creates the project See Figure 101 Processing NOTE Processing may take several minutes Figure 101 Processing Configure Options f 1 Specify the Linux configure options Cloning inte Thome wruser workspace wrbnux_vgos_glibc_std__pry layers wr tools debug done Generating bitbake config scripts and Makefiles n is NEWER copy and re exec wruser workspace wrlinux ugos std__pri Makefte pry scripts fakestart sh ruser workspace wrlinux a duser pf ap gi ruser workspace welinux Updating Updating home wruser workspace wrlinux wruser workspace wrlinux Jwel envinternal Jerel envesetup mk Updating home wruser workspace wrlinuxugos_glibe_std__ ipts autoconf mk Updating home wruser workspace wrlinux ugosgibc std ipts quitPatterns txt Updating home wruser workspace wrlinux ugos glibc std pri scripts export layer sh Updating nome wruser workspace wrlinux ugos glibc std prj bulld Makefile Updating home wruser workspace wrlinux ugos_gtibc std__pei build tools Makefite Generating wrlinux compatibility config Setting up host cross and links Setting up packages link Creating export directory Creating project properties Parsing recipes NOTE eglibc can t be built with O O2 will be used instead Running Linux configure command Intel Industrial Solutions System Consolidation Series User s Guide Document 538056
94. atform l n tel Right click the Linux project and select Debug VxWorks Kernel Task See Figure 149 Debug Menu Item Figure 149 Debug Menu Item 3 Debug Symbo C hetloworide manc H paf iv t demo Wind River VxWorks 6 9 Down ks Function maini D Win D Bing D ei inct dD wren ell Bmt e Open Wind River VxWorks 6 9 Development Shell Build Project Ctrl B Ctri P e weer Rebuild Project 7 Bd Options gt bpe Run VxWorks Kernel Task Wl E Download VxWorks Kernel Task al Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 165 NM e l n tel Workflow 4 Dynamically Load amp Debug Applications on the Target Platform A Choose Action window appears See Figure 150 Choose Action Window Figure 150 Choose Action Window Launch Configuration Selection Choose Action Workbench has found one or more existing launch configurations that match your selection What do you want to do Launch the selected launch configuration Edit the selected launch configuration Edit a duplicate of the selected launch configuration Create a new launch configuration See Tarnat Monsramant l sinch Canfiomstione far sdditians cattinas Ki Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 166 Workflow 4 Dynamically Load amp Debug Applications on
95. atform amp Development Hosts The OSes on the target reside on a supervisory layer called a hypervisor which also provides a platform for the target system s VNIC The VNIC provides a network infrastructure that allows the OSes to communicate Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 58 A Workflow 1 Set Up amp Explore the System Features n tel 6 9 2 1 Follow this procedure to demonstrate communication among OSes over the target platform VNIC Because you monitor this communication on the development host this likewise demonstrates communication between the development and target platforms VxWorks to Linux Communication To demonstrate that a communication path exists from VxWorks to Linux visible from the VxWorks side use the ping command Double click any console tab The console workspace expands within Workbench Click the VxWorks 1 AMIO Channel 2 console tab The VxWorks AMIO Channel 2 console tab appears At the VxWorks command line type ping 10 0 0 3 and press Enter A response indicates that Linux received the ping communication from VxWorks See Figure 37 VxWorks to Linux Communication Figure 37 VxWorks to Linux Communication 6 9 2 2 gt ping 10 0 0 3 Pinging 10 0 0 3 10 0 0 3 with 64 bytes of data Reply from 10 0 0 3 bytes 64 ttl 64 seq 0 time lms 10 0 0 3 ping statistics 1 packets transmitted 1 re
96. ation Series User s Guide Document 538056 1 1 64 Workflow 2 Develop With Preloaded Workbench Projects n tel Wind River Workbench loads See Figure 44 Workbench Workspace Figure 44 Workbench Workspace 7 4 Advanced Device Development Wind River Workbench File Edit Navigate Search Project Target Analyze Run YoctoProjectTools Window Help Las G 3 S LA Ki H aFReB e E D Project Explorer 2 File Navigator o O E Outline amp CH E vip_wtVbX86_1 orig S vip_wrvbx86_2 SES A Remote Systems H D Kernel Objects D GD Feeds 39 Tasks J Terminal 1 Properties amp Build Console H DI Console AMIO Console ay 2 Le ka b B Local VIP1_WDBC 44Mof113M The Project Explorer is your main graphical interface for working with projects You use it to create open close modify and build projects You can also use it to add or import application code to import or customize build specifications and to access your version control system Using the Project Explorer you can visually organize projects into structures that reflect their inner dependencies and therefore the order in which they are to be compiled and linked Workbench Projects The Workbench development environment uses projects as the building blocks for activities such as the loading of applications onto the target platform OSes Figure 45 Project Explorer shows several projects as the
97. ceived packet loss time 1 ms rtt min avg max 1 1 1 ms value O 0x0 gt Linux to VxWorks Communication To demonstrate that a communication path exists between Linux and VxWorks instances use the ping command Go to the Linux AMIO Channel 1 console Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 59 Login as root with the password root The Linux command prompt appears See Figure 38 Linux Prompt Figure 38 Linux Prompt Workflow 1 Set Up amp Explore the System Features AMIO Core OS K AMIO Channel 3 Ei AMIO EI Channel 1 dev ttySO EH localhost login root Password root Localhost Wind River Linux 5 0 1 7 localhost console At the command line type ping 10 0 0 4 and press Enter A response indicates that VxWorks 1 received communication from Linux See Figure 39 Linux to VxWorks Communication Figure 39 Linux to VxWorks Communication E AMIO Core OS K AMIO Channel 3 EE AMIO Channel 3 E AMIO Password 64 64 64 64 64 64 64 Cc bytes bytes bytes bytes bytes bytes bytes 10 0 from from from from from from from localhost login root Channel 1 dev ttyS0 8 root localhost ping 10 0 0 4 PING 10 0 0 4 Wind River Linux 5 0 1 7 localhost console 10 0 0 4 56 data bytes 2000000 2000000 BBRABADA ttl 64 ttl 64 ttl
98. ch After clicking the Wind River Workbench icon the development host system loads Workbench Go to Help and choose from the information resources listed there Further resources are available at www windriver com NOTE The development host includes a specially modified version of Wind River Workbench development software with features designed only for use with Intel Industrial Solutions System Consolidation Series SCS The resources available from the Workbench help mentioned above may cover features not available on Workbench for SCS For access to a full featured version of Wind River Workbench please contact Wind River Systems at www windriver com e Intel Corporation Resources Make certain to contact with your sales and support representatives regularly Also check for product updates new products and other resources on Intel s website at www Intel com e Target Platform Documentation See MXE 5300 Series 5301 5302 5303 Fanless Embedded Computer User s Manual that comes as a printed document with the target platform packaging Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 17 H e in tel Intel Industrial Solutions System Consolidation Series Documentation e Licenses Access an important Wind River Linux 5 0 Third Party License Notices document by going to the following relative path on the development host media home wruser WindRiver legal notices wr Linux 5 0 1 W
99. cratch n tel Select Build Project See Figure 80 Build Project Figure 80 Build Project New Edit Kernel Configuration Go Into Project Explorer X A File Navigato sa Open in New Window si myvip_wrVbX86_1 Wind River Vx i Kernel Configuration X Delete R vxWorks bin default Attributes JE vxWorks hex default M vxWorks default Rename gt E myDKM Wind River VxWorks 6 9 Source D gt e Includes gt Ga wrVbX86 s Import 4 linkSyms c t3 Export n prjComps h Open Wind River VxWorks 6 9 Development Shell L prjConfig c Refresh P prjParams h Close Project usrAppInit c Close Unrelated Projects usrRtpAppInit c Project References B creation log Build Project ll Rebuild Project The build window shows lines of code compiling A build project progress window appears and a progress bar moves repeatedly left and right while the system compiles the VxWorks libraries required for the Guest OS When the project finishes building a Build Finished in Project vip_wrVbX86_1 statement appears at the bottom of the Build Console pane See Figure 81 Build Console Figure 81 Build Console E Feeds 39 amp Tasks J Terminal 1 T Properties BH Build Console 2 D Console AMIO Console p ER gt lal g An dataSegPad o end image po prjObys Let home wruser workspace myvip_wiVbX86_ L compObjs lst home wruser workspace mywp
100. ct and select Rebuild Project The system rebuilds the project A Rebuild Project window appears as the system rebuilds the project See Figure 155 Rebuild VxWorks Project Figure 155 Rebuild VxWorks Project Rebuild Project vip_wrVbX86_ 1 Rebuild Project X Invoking Command make C Always run in background Cancel Details gt gt Run in Background When the systems completes rebuilding a message at the bottom of the build console states Build finished in Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 171 bw e in tel Workflow 5 Assign Persistent Target Platform OS IP Addresses 10 2 2 2 10 2 3 10 2 4 Configure a Persistent VxWorks IP Address 2 Instance To enable a persistent IP address for VxWorks vip_wrVbx86_ 2 you essentially repeat the same procedure as before for the 27 VxWorks image The only difference is that the Ethernet interface is called gei not rtg Go to the vip_ wrVbx86_2 icon and expand it Go to the usrAppI nit c object Double click usrAppI nit c A usrApplI nit c work pane opens Double click the usrAppI nit c tab to expand its work pane Under the add application specific code here line type ipAttach 0 rtg ifconfig rtg0O 10 11 0 2 netmask 255 255 255 0 up where 10 11 0 2 is an IP address not already used by another OS Modify t
101. d mouse and the on board Intel graphics device At this time it is only supported as a basic graphics terminal console The Linux VM can also be accessed via a remote connection from the development host You can do this either in the form of a target server connection or a SSH connection Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 28 A Workflow 1 Set Up amp Explore the System Features n tel 6 5 Development Host Subsystem Overview The SCS development host operates as a system separate from the target platform The development host uses Wind River Systems Workbench software as its development tool Within Workbench you use special development units called projects to develop organize and compile customized productivity applications and other software After you finish development on the development host you either e Option A load your developed software directly onto the target platform through a live connection usually via serial cable or Ethernet or e Option B use development host projects to compile your software into Linux and VxWorks which are then combined with other Workbench project information to create a bootable image file called system elf You then copy this image to USB media to boot the target Figure 6 Target Boot Image Project Compilation shows how the various development projects combine to create the bootable USB media image as described in
102. d River VxWorks 6 x Target Server Connection See Figure 142 System Type Figure 142 System Type Select Remote System Type D amp General v vn VxWorks 6 x oi Wind River VxWorks 6 x Core Dump Connection H Wind River VxWorks 6 x Simulator Connection D Wind River Linux Click Next A Target Server Connection for VxWorks window appears Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 158 D Workflow 4 Dynamically Load amp Debug Applications on the Target Platform l n tel wdbproxy should be selected for the Backend field See Figure 143 Backend Figure 143 Backend Target Server Options Review and customize the target server options wdbpipe Backend set wdbrpc Processor wdbserial erg a pe Proxy server name or address 192 168 1 5 v Target port 0x4444 Connection type UDP Target name or address 10 0 0 4 v Port SSL certificate path Browse Kernel image File path from target if available File Browse Bypass checksum comparison Advanced target server options lt Back Next gt Cancel Faresh Into the Proxy server name or address field enter the Linux OS IP address Figure 124 Target Server uses 192 168 1 5 as the IP address NOTE For more information about identifying or configuring the IP addresses for target platform OSes see Section 10 Workflow 5 Assign Per
103. d River Workbench Repeat this procedure for the VxWorks 2 vip wrVbX86_ 2 project In the procedure that follows you instruct Hypervisor to collect the changes you just made in the VxWorks 1 project As it collects these changes Hypervisor also gathers any other changes you may have made in the VxWorks 2 vip_wrVbX86_2 and Linux wrlinux_ugos_glib_ std projects All of the changes contribute to creating an image you can later use to boot the target Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 71 a n tel Workflow 2 Develop With Preloaded Workbench Projects Go to and right click the wr_hypervisor_integration object Select Rebuild Project See Figure 53 Select Rebuild Project Figure 53 Select Rebuild Project New Edit Kernel Configuration Go Into Open in New Window X Delete Attributes Rename Source Import ey t Export Open Wind River VxWorks 6 9 Development Shell Refresh Close Project Close Unrelated Projects Project References Build Project Rebuild Project Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 72 a Workflow 2 Develop With Preloaded Workbench Projects In tel A Rebuild Project wr_hypervisor_integration window appears and a Build Console pane at the bottom of Workbench displays lines of scrolling code See Figure 54 Build Console
104. d Workspace Import B Existing Projects into Workspace Perspectives E Preferences Il C Next gt Cancel Select File System and click Next An I mport window opens Adjacent to the From directory field click Browse and browse to your application directory NOTE In the following step this workflow example imports an application called hello c To import your own code substitute the directory path below with the directory to your own source code Browse to the following directory containing the application hello c home wruser WindRiver wrlinux 5 samples hello_ Linux Click OK The application directory folder icon appears in the left pane Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 126 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel In the right pane check the desired application icon s you wish to include in Wind River Linux application project In this example click hello c See Figure 109 Import Figure 109 I mport Import X File system Import resources from the Local file system A From directory home wruser WindRiver wrlinux 5 samples hello Linux SA Browse amp hello_Linux P hello c sample properties B sample txt Filter Types Select All Deselect All Into folder ane Browse
105. d times ranging from 15 minutes to 8 hours When booting the target platform from USB media Firstb confirm that you are actually booting the target platform from the containing a system elf file created using the development USB media See Troubleshooting item T0006 host software not all OSes boot up on the target platform Allow the target platform to restart form the USB boot media containing the system elf file you wish to boot In the development host AMIO pane consoles for each OS should open If all of the OS consoles do not appear within a few minutes after booting the target OS then not all of the OS projects you created in the development host were integrated properly into the bootable system elf file Make certain you have followed the instructions in the User Guide chapters entitled Develop With Preloaded Workbench Projects or Build Linux amp VxWorks OS Images from Scratch These chapters provide instructions to ensure that all OS projects are properly compiled and integrated into a bootable system elf file Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 January 2014 206 Document 538056 Appendix D Legal Notices D 1 D 2 All Notices Make certain to read all information including legal notices before using the system Information is available in printed and electronic formats from e this document the Intel Industrial Solutions System Consolidation Series
106. ds the contents from the development host file location to the target platform target location As the content transfers from host to target on the bottom right of Workbench a console appears window showing the progress of the download and the content file structure build e If the download completes correctly the console displays a Build Finished statement at the bottom of the console Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 146 D Workflow 4 Dynamically Load amp Debug Applications on the Target Platform l n tel e f the download does not complete correctly the console displays an error statement at the bottom of the console with an indication of what the error entails NOTE This procedure assumes the download completes without errors In the Workbench AMIO console for Linux navigate to the target directory where the executable content you downloaded resides usually at bin hello_ Linux out NOTE This procedure uses an example called hello_Linux out which displays Hello World when run See Figure 129 AMIO Console Figure 129 AMIO Console 9 5 WOB AGENT 3 3 READY c Copyright Wind River Systems Inc 2004 2011 All rights reserved build 71 Jul 29 2013 23 16 37 Using NPTL threading model Waiting on UDP port x4321 17185 sh 3 2 Target server of machine 10 11 0 101 connecting Spawning tmp queryProperties sh sh 3 2 ls bin h
107. e Target path Ainittad home wruser workspace fetc Host path Exit p The ROMFS will now contain a copy of the executable Whenever the executable is recompiled the ROMFS will be regenerated with the updated file Build the Project After you have created and configured your project you must build it In this case we will embed the ROMFS within the VxWorks kernel itself NOTE For more information on projects and project structure see Wind River Workbench User s Guide Projects Overview a separate document you may access through Workbench Help You can build VxWorks kernel applications and associated projects by adding your ROMFS project to the VIP and then build it To add a ROMFS project to the VIP follow this procedure Right click the ROMFS project my_romfs in the Project Explorer view select Project References gt Add as Project Reference An Add as a Project Reference window appears Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 113 i n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Select myvip_wrVbX86_2 and click OK In File Explorer the ROMFS project object is now embedded under the myvip_wrVbX86_2 project See Figure 95 ROMFS Project Figure 95 ROMFS Project ei Project Explorer D File Navigator ge D ZS Si 4 Ka gt amp myvip_wrVbX86_1 Wind River VxWorks 6 9 Image Project E YV
108. e 1 time 1 time 1 time 1 time 0 time 1 time 1l time l ttl 64 ttl 64 ttl 64 ttl 64 ttl 64 ttl 64 ttl 64 ttl 64 ttl 64 ttl 64 10 0 0 4 ping statistics l 10 packets transmitted 10 packets received O round trip m n avg max 0 999 1 099 1 999 ms 999 000 000 000 000 000 999 000 000 000 ms ms ms ms ms ms ms ms ms ms packet Loss Press CRTL C to stop the ping process Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 179 a n tel Workflow 5 Assign Persistent Target Platform OS I P Addresses 10 3 3 VxWorks to VxWorks Communication To demonstrate that a communication path exists between the two VxWorks instances use the ping command At the VxWorks 1 command line type ping 10 0 0 5 and press Enter A response from VxWorks 2 indicates that a reply was received See Figure 165 Ping Command Figure 165 Ping Command gt ping 10 0 0 3 Pinging 10 0 0 3 10 0 0 3 with 64 bytes of data Reply from 10 0 0 3 bytes 64 ttl 64 seq 0 time 2ms 10 0 0 3 ping statistics l packets transmitted 1 received packet loss time 2 ms rtt min avg max 2 2 2 ms value O 0x0 gt ping 10 0 0 5 Pinging 10 0 0 5 10 0 0 5 with 64 bytes of data Reply from 10 0 0 5 bytes 64 ttl 64 seq 0 time 2ms 10 0 0 5 ping statistics l packets transmitted 1 received packet loss time 2 ms rtt m
109. e Dev Document 538056 1 1 49 Intel Industrial Solutions System Consolidation Series User s Guide a n tel Workflow 1 Set Up amp Explore the System Features 6 8 6 8 1 Set Up the Target Platform amp Development Hosts Follow the procedure to set up the target platform and development hosts Set Up the Target Platform Required tools e 1 8 inch 3 mm flathead screwdriver Use a 1 8 inch 3 mm flathead screwdriver to attach the power inverter plug to the target power receptacle See Figure 25 Power Inverter Plug Figure 25 Power Inverter Plug Plug the power inverter power cord to a grounded power source receptacle IMPORTANT Do not power up the target platform Connect the monitor to the target platform DVI I video connector Connect the keyboard USB connector to a USB port on the target platform Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 50 A Workflow 1 Set Up amp Explore the System Features i n tel 6 8 2 Connect the Target Platform and Development Hosts While there are several methods for the target platform and development host to communicate the most common method is through a serial connection Follow the steps below to establish a serial connection Attach human interface devices to the development host For a desktop PC this includes the keyboard mouse and video monitor cable Connect the externa
110. e Development Host installation media After activation you may install the development host software onto your development host See Section 6 6 License the System License the System Intel Industrial Solutions System Consolidation Series is comprised of two subsystems e Target platform e Development host Read further for important licensing information pertaining to both subsystems Target Platform Software Licensing The target platform is hardware shipped in the product packaging While this requires no license acquisition on your part please read understand and comply with the licensing materials that come with the product packaging Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 35 a n tel Workflow 1 Set Up amp Explore the System Features 6 6 2 6 6 2 1 6 6 2 1 1 Development Host Software Licensing The development host is hardware that you provide Later you will install the software from the Development Host USB media onto the development host Before you are able to install this software onto your development host PC you must first request a license key file to activate your Development Host media IMPORTANT Make certain your development host PC meets or exceeds the specifications shown in Section 4 1 2 Development Host Specifications Follow this procedure to request a license key file Determine the Host ID Host Name In this section yo
111. ect Build Options bk ko VAIN Ze sn le chill Intel Industrial Solutions System Consolidation Document 538056 1 1 70 Series User s Guide LI Workflow 2 Develop With Preloaded Workbench Projects n tel A Rebuild Project vip_wrVbX86_1 window appears see Figure 51 Rebuild Project and a Build Console at the bottom of Workbench see Figure 52 Build Console displays lines of scrolling code Figure 51 Rebuild Project 2 Rebuild Project vip_wrVbX86_1 Rebuild Project a Invoking Command make C Always run in background Cancel Details gt gt Run in Background Figure 52 Build Console Feeds 29 Tasks 4 Terminal 1 Properties 23 Build Console X El Console AMIO Console m Sy aim o il S Ab ES E en ei ROMFS image offset 0x00000000001c6000 ROMFS boot offset Ox00000000001c5000 ROMFS previous size 0x05abc800 Create Boot Image home wruser workspace wr_hypervisor_integration objects system elf Copy Hypervisor code done Copy new ROMFS image done Padded with 200 bytes done ROMFS new size 0x05ab4800 Update boot header done Write ELF header done All done Build Finished in Project wr_ hypervisor_integration 2013 10 15 17 27 02 Elapsed Time 00 03 DI When the system finishes rebuilding the project the Rebuild Project vip_wrVbX86_1 window disappears and returns to Win
112. ect device assignment by addressing the general type of device Parameter 4 addresses individual device assignment When using Hypervisor and override esh it is not possible to assign a device directly to an OS type However you may use the avoid value to assign a device indirectly To assign a specific device to a type of Guest OS use the avoid value Upon startup by configuring Hypervisor to avoid loading a device to some OS types you can force the device to load to the other OS There are two ways to use avoid e avoid Vendorl D DevicelD e avoid bus device function Read on to learn more about these two forms of avoid avoid Vendorl D Devicel D By using this avoid statement you stop a certain OS types from loading a specific device and thus may allow another OS type to load it Use this parameter when you know the vendor ID and device ID for a specific device For example assume the following avoid line vx_avoid_ser 0x163C 0xFFO02 Where e vx means this rule applies to both VxWorks OSes e avoid means to avoid assigning this device to the indicated OS VxWorks e ser means this rule applies to the device type serial e 0x163c signifies the vendor Intel e OxFFO2 signifies the specific device ID To identify a device by its VendorlD DevicelD values continue reading the next section avoid bus device function BDF Near the end of that section are instructions for identifying a device
113. ed in accord with section 7 apply to the code keep intact all notices of the absence of any warranty and give all recipients a copy of this License along with the Program You may charge any price or no price for each copy that you convey and you may offer support or warranty protection for a fee 5 Conveying Modified Source Versions You may convey a work based on the Program or the modifications to produce it from the Program in the form of source code under the terms of section 4 provided that you also meet all of these conditions a The work must carry prominent notices stating that you modified it and giving a relevant date b The work must carry prominent notices stating that it is released under this License and any conditions added under section 7 This requirement modifies the requirement in section 4 to keep intact all notices c You must license the entire work as a whole under this License to anyone who comes into possession of a copy This License will therefore apply along with any applicable section 7 additional terms to the whole of the work and all its parts regardless of how they are packaged This License gives no permission to license the work in any other way but it does not invalidate such permission if you have separately received it d If the work has interactive user interfaces each must display Appropriate Legal Notices however if the Program has interactive interfaces that do not display Ap
114. ee reed 24 6 4 Target Platform Subsystem OVervieW cece etree 25 6 4 1 Virtual NIC VNIG BEE 27 6 4 2 Default Target OS IP Address Asslonment eee eee teens 28 6 4 3 Customizable Target OS IP Address Assignment 0 0 eeeee eee 28 6 4 4 Subsystem Connectivity 00 0 cece eect eee eee eters 28 6 4 5 Linux and VxWorks Operating Systems 28 6 5 Development Host Subsystem Overview cceceeeee eee ee enter eee eae 29 6 5 1 Development Host Linux Shell 31 6 5 2 Wind River Workbench cee eed 32 6 5 3 Special Version of Workbench eee e eee teenie eas 32 6 5 4 Workbench Projects 35 bee nevis ENNER eee nie A ERE ee 33 6 5 5 The Target WMA Cys niniaren een ees Sebaa Zen aii 34 6 5 6 Development Host Hardware 35 6 5 7 Development Host Installation Software cececeeee eects 35 6 6 License the EE 35 6 6 1 Target Platform Software Lcensing ce ceeee eee e ee ee netted 35 6 6 2 Development Host Software Lcensing eect eee eee teens 36 6 6 2 1 Determine the HostID HosrName es 36 6 6 2 2 Locate the Serial Number 38 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 3 ntel Introduction 6 6 2 3 Go To License Website 38 6 6 2 4 InstalltheUcense cc ceeeeeeee cent ee ee eee eta ee tata 39 6 7 Install the Development Host Software eee rnnr 40 6 8 Set Up the Target Platform amp Development Hosts rererere 50 6 8 1 Set Up the Target P
115. ello bin hello Linux out sh 3 2 bin hello Cous out Hello vor lb Run the content and view the results Debug Linux Target Platform Content Use these steps to perform a debug procedure for a simple executable content piece in Linux We use the project created in Section 9 3 Create a Linux User Application In Workbench Project Explorer select the wrLxProject project Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 147 NM e l n tel Workflow 4 Dynamically Load amp Debug Applications on the Target Platform Right click the Linux project and select Debug Linux Application Process See Figure 130 Debug Menu Item Figure 130 Debug Menu Item Lesser Open Wind River Linux Platform 4 3 Development Shell File Edit So amp Refresh FS Ra ri Close Project SEK Close Unrelated Projects Project References gt TTT Buia Project Ctri 8 Ctrl P E A Rebuild Project b vm com Build Options gt dap wt amp Run Linux Application Process Kl ap wg Debug Linux Application Process A P vsb WE Downlod Linux Application Process b iS wr pe a Analyze Memory Linux Application Process s W Profile Linux Application Process With Valgrind on target Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 148 Workflow 4 Dynamically Load amp Debug Applications on the Target Platform i n tel
116. elnet Development Host Specifications A eee SCS development software installs onto a development host computer that you provide Installation of the SCS software onto a disk mounted on the development host will delete all existing storage disk hard drive contents Make certain to back up any hard drive contents before installing the development host software Failure to do so will result in loss of the data on the storage disk The Intel Industrial Solutions System Consolidation Series SCS is comprised partly of a development host which is hardware you must provide The development host platform may be a desktop or laptop PC When selecting a development host PC make certain that it meets or exceeds the specifications defined below e IBM PC based PC Core i3 processor e 200 GB storage disk space e 4 GB RAM e One unused USB 2 0 port USB 3 0 preferred e Keyboard and mouse for development host if using a desktop PC e Keyboard for target platform e Monitor capable of displaying 1024 x 768 16 bpp or better for development host e Monitor with DVI I connector for target platform Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 19 i n tel User Provided Items 4 2 DB9 RS 232 serial connector port One gender changer serial cable adapter One null modem serial cable adapter A network interface card NIC for debugging the target platform over Ethernet
117. ems that have not been built for a specific hardware platform require much time for adaptation To address this problem Intel Industrial Solutions System Consolidation Series SCS comes with a special implementation of Hypervisor that is optimized for and runs on the system s target hardware platform The SCS Hypervisor is somewhat static in the sense that it allocates certain resources Such as RAM to the VMs in order to provide stability and dependability for high volume production environments These allocations are static You should not change their configuration lest you risk degraded performance or inoperability While the SCS system provides the stability through the unmodifiable portions of its configuration its Hypervisor layer is also somewhat flexible to your needs Included in this flexibility is the ability to discover and assign certain devices to specific OSes Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 181 7 l n tel Workflow 6 Configure a New Device 11 1 2 Hypervisor Resource Assignment When Hypervisor starts up on the target platform one of many operations it performs is device discovery This entails e discovering essential system resources such as RAM and non essential physical devices such as USB controllers e mapping each resource to a specific type and class e mapping physical devices and resources to specific OSes e mapping all unassigned devic
118. ench you can configure build and load three OSes onto Wind River Hypervisor These operating systems are e One 1 instance of Wind River Linux e Two 2 instances of Wind River VxWorks Wind River VxWorks and Wind River Linux can be customized to suit your needs For example networking components like telnetd or sshd may be added to or removed from the OS configuration Instructions for configuring components appear later Follow this procedure to create your own Wind River VxWorks Linux and Wind River Hypervisor images based on configurations readily available from the Workbench example repository In this procedure you configure and build images on the development host and then load them to the target Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 79 i n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch 8 3 8 4 8 4 1 The VxWorks Source Build VSB Project Workbench Project Explorer contains a VxWorks Source Build VSB project named vsb_wrVbX86 This project represents the pre built libraries that make up vxWorks compiled specifically for the SCS virtual machines There is no need to modify the core libraries of this VSB The steps in the next section will describe how to use the existing VSB to create your own VxWorks image Proceed to the next step to create a VxWorks Image Project VIP Create VxWorks Guest OS 1 SCS comes with two inst
119. ense document contains a further restriction but permits relicensing or conveying under this License you may add to a covered work material governed by the terms of that license document provided that the further restriction does not survive such relicensing or conveying If you add terms to a covered work in accord with this section you must place in the relevant source files a statement of the additional terms that apply to those files or a notice indicating where to find the applicable terms Additional terms permissive or non permissive may be stated in the form of a separately written license or stated as exceptions the above requirements apply either way 8 Termination You may not propagate or modify a covered work except as expressly provided under this License Any attempt otherwise to propagate or modify it is void and will automatically terminate your rights under this License including any patent licenses granted under the third paragraph of section 11 However if you cease all violation of this License then your license from a particular copyright holder is reinstated a provisionally unless and until the copyright holder explicitly and finally terminates your license and b permanently if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation Moreover your license from a particular copyright holder is reinstated permanently if the copyright ho
120. ense with terms a Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License or b Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it or c Prohibiting misrepresentation of the origin of that material or requiring that modified versions of such material be marked in reasonable ways as different from the original version or Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 213 H l n tel Workflow 6 Configure a New Device d Limiting the use for publicity purposes of names of licensors or authors of the material or e Declining to grant rights under trademark law for use of some trade names trademarks or service marks or f Requiring indemnification of licensors and authors of that material by anyone who conveys the material or modified versions of it with contractual assumptions of liability to the recipient for any liability that these contractual assumptions directly impose on those licensors and authors All other non permissive additional terms are considered further restrictions within the meaning of section 10 If the Program as you received it or any part of it contains a notice stating that it is governed by this License along with a term that is a further restriction you may remove that term If a lic
121. er output Options Bt 3 v Edit D lt Back Next gt Cancel Finish NOTE For more information about identifying or configuring the IP addresses for target platform OSes see Section 10 Workflow 5 Assign Persistent Target Platform OS IP Addresses Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 141 n e l n tel Workflow 4 Dynamically Load amp Debug Applications on the Target Platform Into the Port field type Ox zero and x and the port number you recorded previously For example if the number you recorded previously was 4321 type 0x4321 Into the Root File System field enter bin Click Finish The development host connects to the target platform and a new connection icon appears in the Remote Systems window A remote connection is established See the arrowed item in Figure 125 Remote Connection Figure 125 Remote Connection 9 3 Fi Remote Systems amp T Kernel Objects D bt Ges 7 D EI Local D Hi VxWorks_VIP1_WDBConnection D Hi VxWorks_VIP2_WDB Connection SA WRiinuxUser_10 11 0 105 Wind River Linux T Si Wind River Target Debugge 7 amp Wind River Linux 4 D o Processes KE Expand the icons under the new connection until you see the Processes object See the Processes object in Figure 125 Remote Connection Optionally expand the Processes icon to view the various OS processes Create a
122. er to the VxWorks Application Programmer s Guide for details on using the usrRtpAppl nit c routine stub Within the usrAppI nit c work pane just below the banner at the top of the file locate the following line of code include lt vxWorks h gt Insert the following just above the lt vxWorks h gt include statement include lt stdio h gt Place the cursor at the end of the code line below add application specific code here Press Enter twice The cursor advances downward Type the following code printf Hello World n Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 68 Workflow 2 Develop With Preloaded Workbench Projects i n tel See the boxed content in Figure 48 Print File Code Figure 48 Print File Code usrAppInit initialize the users application ad void usrAppInit void ifdef USER_APPL_INIT T USER_APPL_INIT for backwards compatibility endif add application specific code here printf Hello World n H ifdef INCLUDE_USER_PRE_KERNEL_APPL_INIT HEKEI IHE IHE DHE DHE DHE HHE DHE DHE DHE DE DC DC DEH HHE HHE E DE E E DE DC DE DC DEH HE DHE AE DE E EEE E AHE AHE HHE DHE E E EHEHEHE AHE OOA usrPreKernelAppInit initialize the users pre kernel apr hed You may optionally insert your own code in the space above into the VxWorks project Go to File gt Save See Figure 49 File g
123. ersnescareanaescetiawiabernadendadereseaenr A E aeaemeadsa 107 Fig re 89 OT 108 Fig re 90 COREQNU RE 109 Figure 9 T MY len EE 110 Figure 92 New VxWorks ROMES msnscirarcisenakirior ENNER ENNER AAT REEERE EE ATERRAT DE 111 Fig re 93 my romfs RI EE 112 Figure 94 hellOWOrld eye 113 Figure 95 ROMES Project ege AE Er S DEREN AE E REND ENE EEEE KERPETEN EEATT 114 Figur 96 Build Project ees A E EA dae E 115 Elter Linux Proje Cberninso nanena E ETEO E A O O eg 116 Figure 98 IER 116 Figure 99 Configure Options 1 117 Figure 100 Configure Options 2 i isites ives ceed ee oE ced nid UREE NDE PER EEEE Ra EESE E i 119 Figure LOT ProG SSing sicicatasrasiniagesdiaienadadnctiuadedubaderdacidbieat aha gia desda A E 120 Figure t02 Build Target EE 121 Figure 103 Re e EE 122 Figure 104 Pile COntent 22 REESEN EE EEN EEN seeded NEE ANNE ED KEENAN RAEE REEERE SR 123 Figure 105 le EEN 124 Figure 1062 EE 125 Figure 107 Wind River Application Prolert ccc nerd 125 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 8 Introduction n tel Figure 108 General Dep sreriria snina n EE a gege SES ee Ee 126 FIQGUrE 109 MIM PON EE 127 Figure 110 Hypervisor Updating cn inte 128 Figure 111 Project Name ccs cette nning ani dee bg need eee E ARN EREN alge ENEE NEEN NEE 129 Figure 112 Open lCOM NEE 131 Figure Ee Ein EE 132 Figure E BIOS E 133 Figure 115
124. es User s Guide Document 538056 1 1 184 Workflow 6 Configure a New Device i n tel Figure 167 Target Platform Devices 2 11 1 5 11 1 6 9V 32V OC IN 1234 3 Device Type Assigned to Comment VM Ethernet VxWorks 2 rtg rtg indicates this device is driven by a Realtek driver Ethernet Linux eth1 rtg indicates this device is driven by a Realtek driver eSATA NA NA Not supported by this implementation of SCS Audio NA NA Not supported by this implementation of SCS Serial NA NA Non modifiable device preconfigured to support serial connection between development host and target platform via AMIO console Modify User Configurable Resources Now that you know there are configurable resources within the target platform the instructions in the following sections provide you with the opportunity to modify specific target platform resources Proceed to the following sections to learn more and to perform these procedures Assign Resources to a Target OS Hypervisor comes with a default preconfiguration written into a script file named config esh However you should not modify this file directly Instead a script files called override esh is used to modify the default settings Use Workbench to view and modify override esh contents to achieve the configuration you need Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 185 l n tel Wor
125. es to a default OS During this routine Hypervisor classifies devices as shown in Table 5 Device Classifications Table 5 Device Classifications ele e Se ze ze ze ze USB Controller usb Sub 3 S e E Hypervisor classifies USB controllers only not individual USB devices and sub connections Because there may be more than one of the same device type Hypervisor further identifies a device by appending a number sequentially starting with zero after its signifier For example e sert serl ser2 e ideO idel ide2 The system processes this information and assigns two kinds of resources e Static resources These are devices and resources you cannot configure such as RAM COM1 amp COM2 serial ports and the number of Guest OSes e User configurable resources These are devices you can configure such as USB controllers and Ethernet These resource configurations reside in scripts that you can modify Generally speaking any PCI device discovered on a bus is user configurable Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 182 Workflow 6 Configure a New Device in tel Read on to learn about user configurable resources 11 1 3 User Configurable Resources Use Workbench development software to modify OS access to certain types of devices as well as specific devices Table 6 User Configurable Resources lists all of the devices that come with Inte
126. ew the items listed in the sections below for a description of your issue and perform the suggested troubleshooting activity to help resolve the issue Also make certain to consult the references mentioned in Appendix B Technical Support IMPORTANT This content may be updated without notice To ensure that you are reading the most recent document check the product support website www intel com industrialconsolidation In the event that all immediately available troubleshooting and help does not resolve your issue interactive support is available For more information go to www intel com industrialconsolidation IMPORTANT Some Recommend Resolutions shown below instruct you to perform activities on the development host and some on the target platform Make certain that you distinguish between these two subsystems and that you perform activities on the subsystem indicated Document 538056 1 1 Workflow 6 Configure a New Device i n tel C 1 I nstallation Troubleshooting The following troubleshooting items are commonly related to system installation Table 9 Installation Troubleshooting T0001 Development host does not boot from the USB media labeled Turn off the development host Development Host Make certain the Development Host USB media is plugged into a functional USB port on the development host Start the development host As the development host starts up invoke the development host BIOS menu Configure the BIOS
127. fety instructions should be read and understood before installation operation maintenance or repair of this product When you see the symbol on other pages pay special attention to the safety information presented Observance of safety precautions will also help to avoid actions that could damage or adversely affect the performance of the product Do not attempt to perform any procedure before carefully reading all instructions Always follow product labeling and manufacturer s recommendations If in doubt as to how to proceed in any situation contact your Intel Corporation representative Alerts for Warning Caution I mportant and Note WARNI NG A ee indicates a potentially hazardous situation which if not avoided could result in death or serious injury It may be used to indicate the possibility of erroneous data or device malfunction CAUTION A Es indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury It may also be used to alert against unsafe practices It may be used to indicate the possibility of erroneous data or device malfunction IMPORTANT IMPORTANT is used for comments that add value to the step or procedure being performed Following the advice in the Important sections adds benefit to the performance of a piece of equipment or to a process NOTE NOTE is used to call attention to notable information that should be followed during installation use or se
128. fy these requirements e Convey the object code using peer to peer transmission provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d A separable portion of the object code whose source code is excluded from the Corresponding Source as a System Library need not be included in conveying the object code work A User Product is either 1 a consumer product which means any tangible personal property which is normally used for personal family or household purposes or 2 anything designed or sold for incorporation into a dwelling In determining whether a product is a consumer product doubtful cases shall be resolved in favor of coverage For a particular product received by a particular user normally used refers to a typical or common use of that class of product regardless of the status of the particular user or of the way in which the particular user actually uses or expects or is expected to use the product A product is a consumer product regardless of whether the product has substantial commercial industrial or non consumer uses unless such uses represent the only significant mode of use of the product Installation Information for a User Product means any methods procedures authorization keys or other information required to install and execute modified Intel Industrial Solutions System Consolidation Series
129. gration Host OS Native Development 1S BSP BSP_ CPU Wind River Launches 17 SRC E 4 Binaries 19BUILD_REALMODE TRUE gt E Archives 21 When this variable is not defined then the VB bios is linked as a b ei Includes 22 payload gt amp config 24LINUX_DIR SEET ST pr j export images Db Glib 26 REALMODE_PAYLOAD bzImage intel xeon core 32 bin b amp objects 2 REALMODE_PAYLOAD_EXTRA amp payload 30 BIN wrhv_realmode HV_VB_MODES_SUFFIX gt obj_x86_generic_wrhv 32 OBJDIR obj_x86_generic_wrhv bzImage intel xeon core 32 bin x86 le payload 34 all P Makefile 35 CP BEER KT H 36include Makefile realmode gt Makefile realmode 37 prebuilt Gell 39 i D SS Build the Hypervisor Project This section provides instruction for how to build the guest OSes into the Hypervisor kernel NOTE More information about the Hypervisor build process can be found in the Wind River Hypervisor Getting Started Guide 2 0 section 3 4 and the Wind River Hypervisor User s Guide 2 0 section 12 To build Hypervisor go to Project Explorer and right click the wr_hypervisor_integration project Select Rebuild Project A Rebuild Project window showing a progress bar appears In the Build Console tab at the bottom of Workbench lines of code scroll as the system processes the build The system generates the Hypervisor binary system elf and places it into home wruser workspace wr_hyper
130. gress window appears At the bottom of the Workbench lines of code scroll through the Build Console tab NOTE Depending on your system s speed the build process may require many minutes Build time on some systems may last several hours Open a terminal window from your desktop Optionally click inside the Workbench Project Explorer view and select Open Wind River Platform Base 5 0 1 Development Shell from the menu At the terminal prompt type cd home wruser workspace wrlinux_ugos_glibc_std_prj make ARCH x86 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 121 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Close the terminal window exit In Project Explorer under the wrlinux_ugos_glib_ std project double click the User Space Configuration node to open it in the editor NOTE If a dialog states Would you like to rebuild the package database for Workbench then click OK to continue Otherwise proceed to the next step Double click the wrlinux_ugos_glib_ std project The Filesystem Layout editor appears Expand the file tree and right click the etc rcS d directory Select Add from the menu See Figure 103 Add Figure 103 Add Es EE SCH emm o e a Ione e Gu Add Folder Remove B DI wrlinux_ugos_glibc_ Properties CS Filesystem Layou Touch Ei Filesystem Layout Reset Resource e Reload A File Size kB Type Owner
131. h Context amp ND E S v E amp default localhost LJ Ap WRLinux_UserModeAgent_ Connection Wind River Linux Platform 4 3 gt WARLinuxUger_10 11 0 105 Wind River Linux Platform 4 3 E C C Postmortem E C C Remote Appl Launch Control Us Linux Application Pro Q hello_Linux out Ki wrLxProject out gt wrixPr ICT out General E Target Communicatio n L Q VxWorks Kernel Tasli Exec Path on Host home wruser worksoace wrLxProiect comman i d Wee gt Filter matched 13 of 13 items OG Close Debug S Select the target connection to use for debugging Click the File Copy Deploy tab The File Copy Deploy window appears Use the bottom horizontal scroll bar to view the right side of the File Copy Deploy window Optionally add edit or remove the connection as needed Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 150 D Workflow 4 Dynamically Load amp Debug Applications on the Target Platform l n tel NOTE Because the default path on the configuration usually refers to a path that does not exist on the target platform you may need to edit the Target Location value This procedure assumes you need to edit the debug configuration See Figure 133 Edit Window Figure 133 Edit Window Edit Path Mapping Enter path mapping information Target path bin wrLxProject out NA Host path ho
132. h i n tel Expand the myvip_wrVbX86_2 Wind River VxWorks 6 9 I mage Project Detailed component items appear below the image project line See Figure 85 Expanded Project Figure 85 Expanded Project Project Explorer X gt File Navigator P Ega Ha gt G myvip wrVbX86_1 Wind River VxWorks 6 9 Image Project gt S myvip_wrVbX86_2 Wind River VxWorks 6 9 Image Project d Kernel Configuration E vxWorks bin default if vx Works hex default if vxWorks default gt ll Includes linkSyms c i prjComps h L prjConfig c n prjParams h Ti usrAppInit c usrRtpApplnit c creation log Makefile mk C D a NOTE If at this point you do not wish to add components or applications to your VxWorks image project proceed to Section 8 5 5 Build the Project 8 5 2 Add Components to VxWorks Since myvip_wrVbX86_2 is based on the myvip_wrVbX86_1 project most of the kernel components selected in section 2 1 will already be enabled You simply need to add a few components to enable extra functionality Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 103 l n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Double click the Kernel Configuration node A myvip_wrVbX86_2 Components tab appears in the editor pane See Figure 86 Components Figure 86 Components B creation log myvip wrVbX86 1
133. he IP address as needed At this point you can follow the same steps as in Section 10 2 2 1 Configure a Persistent VxWorks IP Address 1st Instance Rebuild Hypervisor and Boot Target Platform Right click the wr_hypervisor_integration object and select Rebuild Project The system gathers the changes you made to the VxWorks project rebuilds the Hypervisor project and writes an updated target platform configuration to a new system elf file When the systems completes rebuilding a message at the bottom of the build console states Build finished in Boot the Target Platform with Persistent I P Address Changes A PRT Intel Corporation provides you with the target platform media USB for copying the system elf file from the development host to the target platform However copying data onto the target platform USB media may cause the data on the media to be overwritten Make certain to back up data before using the media Failure to do so may result in the loss of the data on the media At the development host insert a Linux formatted USB media with 16 GB or more free space into an open USB port The USB media mounts to the Linux file system In Workbench Project Explorer open the wr_hypervisor_integration object Find the Binaries folder and expand it In the Binaries folder find and right click the system elf object Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 172
134. he file tree by clicking the triangle icons in front of the directory names my_romfs gt helloworld gt COREgnu_RTP gt helloworld gt Debug gt Objects Select the helloworld helloworld vxe item and click Add File s Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 112 LI Workflow 3 Build Linux amp VxWorks OS I mages from Scratch n tel From the Workbench menu select File gt Save to save the changes to the ROMFS See Figure 94 helloworld exe Figure 94 helloworld exe 8 5 5 aned Device Development Wind River Workbench Edit Navigate Search Project Target Run YoctoProjectTools Analyze Window Help New Shift Alt N A D o D we e o Y PI ga E bo Km mm E Open Fite Close Curlew D m my romfs B ee Close All Shitt Curlew mm iW Greg vi Filtering Show all projects Save All Snitt Certes Host contents Target contents gt S my romts Wind River VxWorks 6 9 RON ai Nelloworld vxe D g Build Targets COREgm v OR COREgnuRTP Add File s Convert Line Delimiters To gt vr VR netlowortd je e amp Debug Switch Workspace gt Add External R b BP Objects estart helloworld vre a import re Makefile t Export 2 Apr erect New Folder project Properties Alt Enter wrmakefile a 1 creation log myvip_wrVbX86_2 OOU 2 creation log myvip_wrVbX86_1 zg Expand All Collapse All Zinittad home wruser workspac
135. his instruction the object is named myvip_wrVbX86_1 Wind River VxWorks 6 9 I mage Project Project details appear below the image project line See Figure 65 Project Details Figure 65 Project Details 8 4 2 LG Project Explorer amp File Navigator DZ An le v myvip_wrVbX86_1 Wind River VxWorks 6 9 Image Project Kernel Configuration E vxWorks bin default E vxWorks hex default if vxWorks default D i Includes gt GawrVbX86 ER linkSyms c prjComps h prjConfig c prjParams h usrAppInit c Jab B B B usrRtpApplnit c m creation log Makefile mk SS D a NOTE If at this point you do not wish to add components or applications to your VxWorks image project proceed to Section 8 4 5 Build the Project Add Components to VxWorks VxWorks provides control over what components and capabilities are provided to the applications The Kernel configuration is where you select the components In a new project components geared towards networking and debugging are minimal This section includes some of these useful components Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 84 a Workflow 3 Build Linux amp VxWorks OS I mages from Scratch n tel Double click the Kernel Configuration node A myvip_wrVbX86_1 components tab appears in the editor pane See Figure 66 Components Tab Figure 66
136. i Cancel l OK Scroll the list and select the option for example enable parallel pkgbuilds 1 n NOTE Most of these options optimize the speed and size of the platform build process and do not affect the contents of the kernel or file system built They may be modified as necessary for your build host Use the following steps to determine the number of processor cores your development host hardware has NOTE In the Option text box replace any brackets and their contents with the desired value For example replace yes no with yes In Workbench go to Applications gt System Tools gt System Monitor A System Monitor window appears Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 119 l n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Count the number of processor cores your development host has Enter the number of processor cores into the processor core value space in the following string enable parallel pkgbuilds NNNNNNN For example if your development host has a 4 core processor modify the entry to enable parallel pkgbuilds 4 if your development host has a 16 core processor modify the entry to enable parallel pkgbuilds 16 Click OK The Configure Options window closes Click OK and click Finish Inside the Configure Options window code lines scroll through the Configure command pane and a progress bar moves repe
137. iangle adjacent to General An indented options list appears below General Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 94 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel Select File System See Figure 76 File System Figure 76 File System Select d EI Import resources from the local file system into an existing project LH Select an import source ype filter tex d v amp General Archive File Build Settings Combined Workspace Import E Existing Projects into Workspace t File System S Perspectives E Preferences lt Bach Next gt Cancel Finish Click Next A File system window opens At the right of the From directory field click Browse A Recently Used window appears Click File System Browse to the directory that contains your source code NOTE For demonstration purposes you may optionally navigate to the following directory home wruser WindRiver vxworks 6 9 target src demo cplusplus factory Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 95 i n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Click OK Your application source tree appears in the Import window See Figure 77 File System Figure 77 File System File system a Import resources from the Local file system e From directory home wr
138. idation Series User s Guide Document 538056 1 1 38 a Workflow 1 Set Up amp Explore the System Features n tel 6 6 2 4 Enter the following information into the matching fields on the web page Email Address Your Company s Industry 0 Host ID 1 Host Name 1 First Name 2 Family Name 3 Company Name 4 Your Job Title 5 Address 6 Country Ta Phone 8 9 1 1 Click the Submit button NOTE Repeat the procedure for each additional license that you need to request for additional separate development host PCs IMPORTANT The license issued will only activate the development host software for the PC hardware HOST ID you submitted This license will not allow installation of the development host software onto a different PC Within approximately 24 business hours you should receive a response email with a license file attachment from IOT SW Licensing iot sw licensing intel com If you do not receive a response for your license request please e check your email spam folder for a response message OR e contact your Intel Corporation sales representative for assistance Install the License After receiving the response email follow the instructions below to install the license Insert the Development Host USB media into an available computer and copy the licensing attachment provided wrhost txt in your licensing email to the root directory of the USB stick Rename the licensi
139. idation Series User s Guide Document 538056 1 1 161 D n tel Workflow 4 Dynamically Load amp Debug Applications on the Target Platform In the Create manage and run configurations window in the Launch Context tab select the checkbox representing the vxWorks target platform connection See the checked item in Figure 146 Download Configuration Figure 146 Download Configuration Download Configurations Create manage and run configurations ws Select the launch context for executing the launch operations 1m E Be Name no ntryPomnt _demo out VxWorks6x_10 11 0 105 48 Launch Context 3 Downloads Projects to Build I Common Y Q Linux Application Proce VxWorks Kernel Task Download Options Q hello_Linux out WR D wrLxProject out WI Q wrixProject out Wi v default localhost e Q VaWorks Kernel Task E te KEEN F OH VxWorks_VIP1_WDBConnection Wind River VxWorks 6 9 0 a VxWorks VIP2 WDBConnection Wind River VxWorks 6 9 Launch Context d Hu yo AO gt Advanced Filter matched 6 of 6 items Close Download Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 162 a Workflow 4 Dynamically Load amp Debug Applications on the Target Platform n tel Click the Downloads tab See Figure 147 Downloads Tab Figure 147 Downloads Tab Download Configurations x Create manage and run co
140. igure 138 Usermode Agent Output 156 Figure 139 Agent Monitor Rote eege guud ee EEN DESEN 156 Figure 140 Remote Systems Window ete eee nae 157 Figure 141 White pages NEE abs EEN EEN e KEREN ge Ed E REESEN ee EE DIE PERIE dag 157 Figure 142 System Type mern einir eaa E E AT ge eege EE Ehe de SE 158 Figure 143 Backend WEE 159 Figure 144 Remote Connection 160 Figure 145 VxWorks Live TASKS cic ciiceisd desnepeteeredredeed KEE EEN EUREN ENEE Cain Gidea SNE 160 Figure 146 Download Configuration ssssssssssrrsrsrrstrrttttt ee eee ead 162 Figure 147 D wnloads Taben enge sees ge Eeer gege EES pean 163 Figure 148 Successful DKM Download 164 Figure 149 Debug Menu Item 0 nein 165 Figure 150 Choose Action VWindow ccc trent nena 166 Figure 151 Debug Configurations cece eee nee eee eee teen 167 Figure 152 Entry P int Seledti N rucs crinii REENEN ENEE EE ENEE 168 Figure 153 usrApplnit c IP Change 1 0 0 0 need 170 Figure 154 usrApplnit c IP Change 2 171 Figure 155 Rebuild VxWorks Prolect 00 0 cece eee eee ene eee need 171 Figure 156 System elf Copy wis isetstentdesdesadecceths tied late AE dosed iaeateiolinendindaes ieianadid a 173 Figure 157 System elf Directory ronnan aT E REENEN NEE 174 Figure 158 USB 3 0 POMS EE 175 Figure 159 BIOS EE 176 Figure 160 BIOS EE 176 Figure 161 BIOS 3 ses Seen ege ge EE EES dE dE Dea es adds tee Eege 177 Figure 162 AMIO RE 177 I
141. in avg max 2 2 2 ms value O OxO gt A response from VxWorks appears indicating that a reply was received Repeat the procedure from the other VxWorks command prompt Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 180 Workflow 6 Configure a New Device i n tel 11 11 1 11 1 1 Workflow 6 Configure a New Device About This Chapter The Intel Industrial Solutions System Consolidation Series development host uses Wind River Workbench as its primary development tool Use the Workbench development platform for innumerable development activities called workflows IMPORTANT Before you perform this workflow you must perform Workflow 1 Intel Corporation also recommends performing all other workflows previous to this workflow in the order they occur in this document This chapter includes both system background information and instructions for exploring system features e FIRST Read and understand this chapter entirely e THEN Re read the chapter and perform the instructions in the workflow In this workflow you have the opportunity to learn how to assign devices to specific Guest OSes using Hypervisor to modify a script file that controls devices Afterwards you have the opportunity to add and assign a mini PCle device Special Version of Hypervisor Engineers who have worked previously with hypervisor technology know that out of box syst
142. indRiver_Linux5 0_ThirdPartyNotices_v2 1 pdf Access other license documents by going to the following relative path on the development host media home wruser WindRiver licenses IMPORTANT Make certain to read important information regarding GNU General Public License version 3 GPLv3 and GNU General Public License version 2 GPLv2 in the Wind River Linux User s Guide page 112 Access this document as an Adobe PDF file by going to the following relative path on the Development Host home wruser WindRiver docs extensions eclipse plugins com windriver ide doc wr_linux_5 wr_linux_users_guide wr_linux_users_guide_5 0 1 pdf Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 18 User Provided I tems n tel 4 1 4 1 1 4 1 2 User Provided Items Required User Provided I tems The following sections define the required user provided items for use with Intel Industrial Solutions System Consolidation Series SCS Development Host While a fully configured target platform is able to operate as a standalone system Intel Corporation recommends a direct and permanent connection between the target platform and the development host PC A direct serial connection enables immediate monitoring of all guest operating systems on the target platform via the development host console Alternatively after some configuration users can log in to guest OSes via Ethernet SSH and t
143. ing WINKOW SREL EE ANE Sees bi EEN AE SE RENE EE RE dt 42 Figure 16 Examining DeVICES cece cece eee nen cena enna enna 42 Figure 17 Location te EE 43 Fig re 18 Installation TY Pe 233 EEN REESEN E EE AE EEE E 44 Figure Ell EE 45 Figure 20 Install Target DeVICES 0 nee nee enna EP eee ete 46 Figure 21 EXAMINING Devi SEENEN ENER NNN EEEEEER SEENEN EE NEEN EE NEEN ENER ANERE EEEREN EREN NNN 46 Figure EE CN ne HR 47 Figure 23 Installation Complete 0c nents 48 Figure 24 le EK RETTEN 49 Figure 25 Power Inverter Big died NEESS ENEE de dE vols SEENEN EEN SEENEN dE Ee 50 Figure 26 Target Platform Serial Connector cece nents 51 Figure 27 Development Host Serial CONNECtOF 0 1 0 cece neta 52 Figure 28 Null Modem Gender Changer cece nents 53 Figure 29 Development Host Desktop 54 Figure 30 Workbench WorkSpace ccc cece n nn EERE E eee eee tes 55 Figure3t AMIO CONSON E rianan ata th adadath ere eege pe EE eg den Ee 55 Figure 32 Multiplexed 1 0 BULEON stenge NSA SEENEN NENNEN ENER SNE REES AER eran 56 Figure 33 Open AMIO CoOnsOl iis scccitsccsautsceceeanaieieesdiceiaden ASS vawi daa vided brea meena N 56 Figure 34 DiSCONNECE ICON ec nee unni EREE REE REN KERDE enna Ebin 57 Figure 35 Terminated Connechon cece eee eens 57 Figure 36 AMIO Copsgl e sasg sangus sind ergeet fabs eege EE EENS 58 Figure 37 VxWorks to Linux Communication 59 Figure 38 Linux Prompt isis vrai
144. ing sections Skim the sections that follow for instructions specific to your OS For Windows OS Use this instruction if your development host PC has a Windows OS If your development host machine has a single Ethernet port use the 12 character MAC address Go to Start gt Run A Run window appears Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 36 A Workflow 1 Set Up amp Explore the System Features n tel 6 6 2 1 2 6 6 2 1 3 Type cmd and press Enter A command console appears Type ipconfig all and press Enter The result should be similar to the following Ethernet adapter Local Area Connection Connection specific DNS Suffix Description Com 3C920 Fast Ethernet Physical Address 00 06 5A 21 95 44 In this example the Host ID is 00065A219544 after removing the dashes from the physical address Record the Host ID At the command prompt type hostname and press Enter A Host Name value appears Record the Host Name and proceed to Section 6 6 2 2 Locate the Serial Number For Windows OS Alternate Procedure Use this instruction if your development host PC has a Windows OS and if the previous Windows instructions did not work If your development host machine has multiple Ethernet cards is a laptop that is connected with a docking station with its own Ethernet card or does not have a NIC card use the hard drive
145. ish Click Next Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 91 i n tel i Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Click Next several times until the Build Specs window appears See Figure 73 Build Specs Window Figure 73 Build Specs Window New VxWorks Downloadable Kernel Module Project X Build Specs e Select available and enabled build specs aw Available and enabled build specs Select All Deselect AU V ARMARCH4diab F ARMAR CH4diabbe ARMARCH4 gnu ARMARCH4gnube ARMARCHSdiab ARMARCHSdiabbe ARMARCHSgnu ARMARCHSgnube 4 IS D 9 IS 4 SJ Active build spec SIMLINUXdiab v Debug Mode KA lt Back Next gt Cancel Finish In the Build Specs window click Deselect All Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 92 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel Scroll down the Available and enabled build specs list and select COREgnu See Figure 74 COREgnu Figure 74 COREgnu New VxWorks Downloadable Kernel Module Project Build Specs Select available and enabled build specs Available and enabled build specs Select All Deselect AU m arerrgra a C ATOMgnu_SMP O ATOMicc O ATOMicc_SMP O COREdiab C COREdiab_SMP
146. k in the editor and select Find See Figure 105 Find Figure 105 Find wrlinux_ugos_glibc_std D Configuration Linux Kernel Configuration y n m string hex int N 64 bit kernel gt General setup Change value gt Enable loadable module support Load y gt Enable the block layer Save y gt Processor type and features Save As Y Power management and ACPI options Revert Reload Help Dependencies Kconfig Show History Say yes to build a 64 bit kernel formerly known as ooo Say no to build a 32 bit kernel formerly known as i3 Filters gt Expand AU Overview Configuration config Collapse All L In the Pattern text box check the Show All check box In the Find window enter r8169 Double click on Realtek 8169 gigabit ethernet support in the Matching list box The Find window closes and the R8169 configuration line is highlighted within the editor Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 124 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel In the y n m column select y from the dropdown menu See Figure 106 y n m Figure 106 y n m 8 6 3 wrlinux_ugos_glibc_std X m Configuration Linux Kernel Configuration Option Name y n m string hex int RATER aevices NEI VENDUR REAL Y
147. ke certain your Ethernet eth device lists as ethO If your PC lists its first Ethernet device as eth1 or eth2 etc the Hwaddr value will not work in conjunction with a development host license key and your development host license will fail to function If the first Ethernet eth device does not list as ethO then rename it as ethO and redo the ifconfig command shown above For Solaris OS Use this instruction if your development host PC has a Solaris OS At the command prompt run hostid 83299eed oP ol The 8 character value shown above is the PC s Host Id Record the Host ID that appears on your display At the command prompt type hostname and press Enter A Host Name value appears Record the Host Name and proceed to Section 6 6 2 2 Locate the Serial Number Locate the Serial Number The 12 digit serial number is located on the top left corner of the Startup Guide shipped with this product Find and record this number for use in the next step Go To License Website Go to the following website registrationcenter intel com Enter your email address and the serial number that was included on the Startup Guide If you have not registered with your email address at the Intel Registration Center you will be asked to create a new login ID and password After entering the email address and serial number and registering as a new user if needed a new web page will appear Intel Industrial Solutions System Consol
148. kflow 6 Configure a New Device Before modifying override esh make a backup copy Should modifications to the script cause the target system to stop working correctly you will be able to restore the backup copy and return to a working state To do this from Workbench right click on override esh and select Copy Right click again and select Paste In the dialog box name the file override bak Make certain the development host and target platform are connected via serial and are powered up On the development host open Workbench In Project Explorer click the Hypervisor integration project icon wr_hypervisor_integration to expand the Hypervisor project contents See Figure 168 Hypervisor Project Figure 168 Hypervisor Project Project Explorer amp 5 gA D D GR common_pc Wind River Linux Platform 4 3 Platform Project b vip_wrVbX86_1 Wind River VxWorks 6 9 Image Project b vip_wrVbX86_2 Wind River VxWorks 6 9 Image Project gt eS vsb_wrVbX86 Wind River VxWorks 6 9 Source Build Kernel Library Project gt wr_hypervisor_integration Host OS Native Development User Defined Project Scroll down to the config folder and expand it by clicking its icon Under the config folder several ESH files appear A Een Unless specifically instructed in this document do not open and or modify the ESH files within the config folder Doing so may cause the target platform to malfunction or stop
149. l Industrial Solutions System Consolidation Series target hardware Table 6 User Configurable Resources Resource Type Resource Bus Dev Fn Vendi d Devi d Signifier ee o en e sen Lama we eeng TI er reem NOTE On the ISSCS host there is a single serial controller Because it is not possible to share a single device across multiple guest OSes the serial ports are statically Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 183 i n tel Workflow 6 Configure a New Device 11 1 4 assigned and the systems uses AMIO to multiplex serial access to the multiple guest OSes Default Physical Device Allocations Intel Industrial Solutions System Consolidation Series SCS comes with preconfigured physical device allocations as shown in Figure 166 Target Platform Devices 1 and Figure 167 Target Platform Devices 2 Figure 166 Target Platform Devices 1 12 3 456 Device Type Assigned to VM USB 3 0 Denoted by blue connector color EE USB 2 0 VxWorks 1 Denoted by black connector color Video Linux NA Basic non graphical command line style video only supported at this time Ethernet VxWorks 1 gei indicates this device is driven by a Intel driver 5 Ethernet Linux ethoO gei indicates an Intel Corporation driver PS2 NA NA Not supported by this implementation of SCS Intel Industrial Solutions System Consolidation Seri
150. l video monitor display to a grounded power source receptacle Connect the null modem serial cable between COM1 labeled 1 on the target platform dongle and the DB9 RS 232 serial port on the development host See Figure 26 Target Platform Serial Connector and Figure 27 Development Host Serial Connector Figure 26 Target Platform Serial Connector IMPORTANT Large X marks in Figure 26 Target Platform Serial Connector indicate serial ports you cannot use to connect the development host to the target platform Make certain to use only the serial port connector labeled 1 NOTE Optionally attach the target platform to an Ethernet network cable and connect to the development host over Ethernet Ethernet requires configuration to become functional with either a static IP address or a DHCP configuration with a DHCP server on the network Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 51 D n tel Workflow 1 Set Up amp Explore the System Features NOTE The system requires that you provide development host hardware Depending on the development host hardware you provide the receptacle at the development host serial connection may vary from that shown in Figure 27 Development Host Serial Connector For information about the development host specifications see Section 4 1 2 Development Host Specifications Figure 27 Development Host Serial Connecto
151. l Corporation provides you with the target platform media USB for copying the system elf file from the development host to the target platform However copying data onto the target platform USB media may cause the data on the media to be overwritten Make certain to back up data before using the media Failure to do so may result in the loss of the data on the media IMPORTANT Intel Corporation provides you with the Target Platform media USB for copying the system elf file from the development host to the target platform While you may use any Linux formatted USB media this procedure assumes you use the Target Platform USB media Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 73 bw in tel Workflow 2 Develop With Preloaded Workbench Projects At the development host insert the Target platform USB media into an open USB port The USB media mounts to the Linux file system NOTE You may optionally insert any Linux formatted USB media with 16 GB or more free space into an open USB port Open the the Target platform USB media using the development host Linux File Explorer Open the images directory and find the system elf file Rename the system elf file to system elf factory The file you rename in this step is a default factory configured system elf file which you may later wish to use to boot the target platform By renaming it you are protecting it from being overwritten in the
152. latform c cece cece eee ee eae 50 6 8 2 Connect the Target Platform and Development Host 51 6 9 Explore the SyStem orii innii EE anaia EE e EES EE Ee E 54 6 9 1 Default OS IP Address Aeslonment nett ee ete teeta 58 6 9 2 Inter OS Communication over the Target VNIC eee 58 6 9 2 1 VxWorks to Linux Communication 59 6 9 2 2 Linux to VxWorks Communication 59 6 9 2 3 VxWorks to VxWorks Communication 61 Workflow 2 Develop With Preloaded Workbench Projects cceeeeeeeeeeeeea ene eae 63 7 1 About This Chapters eise geen gees ile Zuteg ee geed Zi NED DEENEN 63 7 2 About BuildiRebuild a Ea EE 63 7 3 Start Ugen E a AEE AE Eege Ee EEEE EAEE nian 64 7 4 Workbench Prolects cece eee eee nee sara ene ee ence eee eens 65 7 5 Modify Code in a Preconfigured OS Project ceceececeee eee ee eee tetra 67 7 5 1 Modify Simple Code Line in VxWorks 1 Prolect eee es 67 7 5 2 Build the Hypervisor Integration Project eect eee ea ees 70 7 5 3 Copy the SYSTEM ELF File to Boot Media 73 7 6 Configure Target Platform BIOS to Boot from USB Media 75 Workflow 3 Build Linux amp VxWorks OS Images from Scratch cceceeeee eect eee 79 8 1 About this WORKTOW EE 79 8 2 Preface EE 79 8 3 The VxWorks Source Build VSB Project cccccecesseee eee eee eee eeesaeeaeeeteentaees 80 8 4 Create VxWorks Guest OS Al 80 8 4 1 Create the VxWorks Image Project VIP sceeeee estes eee eee eae 80 8 4 2 Add
153. lder notifies you of the violation by some reasonable means this is the first time you have received notice of violation of this License for any work from that copyright holder and you cure the violation prior to 30 days after your receipt of the notice Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License If your rights have been terminated and not permanently reinstated you do not qualify to receive new licenses for the same material under section 10 9 Acceptance Not Required for Having Copies You are not required to accept this License in order to receive or run a copy of the Program Ancillary propagation of a covered work occurring solely as a consequence of using peer to peer transmission to receive a copy likewise does not require Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 214 LI Workflow 6 Configure a New Device intel acceptance However nothing other than this License grants you permission to propagate or modify any covered work These actions infringe copyright if you do not accept this License Therefore by modifying or propagating a covered work you indicate your acceptance of this License to do so 10 Automatic Licensing of Downstream Recipients Each time you convey a covered work the recipient automatically receives a license from the original licensors
154. lose All Shift Ctrl W IH Wind River Linux Kernel Module Project Wind River Linux Layer Project ave Ctrl s E IE Wind River Linux Platform Project ave e Wind River Linux User Defined Project Save All Shift Ctrl S iB VxWorks Boot Loader BSP Project P VxWorks Downloadable Kernel Module Project E VxWorks ROMFS File System Project 2 Refresh ra VxWorks Real Time Process Project gt E VxWorks Shared Library Project Move Convert Line Delimiters To Print Ctrl P iki VxWorks Source Build Kernel Library Project Switch Workspace gt IU User Defined Project Restart ai Native Application Project E3 Project A New VxWorks Image Project window appears In the Project name field type myvip_wrVbX86_1 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 81 i n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Select the Create project in workspace button See Figure 63 Create Project in Workspace Figure 63 Create Project in Workspace New VxWorks Image Project Project Create anew VxWorks image project with all available kernel build specs Ki Project name myvip_ wrVbX86_1 Location Create project in workspace O Create project at external location Directory home wruser work space my vip wrVbX86_1 Les Browse O lt Bac Next gt Cancel Finish Click Next
155. lp gt Help Contents gt Wind River Documentation 6 5 3 Special Version of Workbench Intel Industrial Solutions System Consolidation Series SCS comes with a special implementation of Wind River Workbench that runs on development host hardware that you provide This version of Workbench is optimized for development of applications that you load onto and run on the target hardware After installing the SCS development software see Section 6 6 License the System to your development host hard drive you are ready to begin development using Wind River Workbench NOTE For help using the special version of Workbench on SCS read this User Guide in its entirety and access other help files on the User Support media Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 32 A Workflow 1 Set Up amp Explore the System Features i n tel 6 5 4 Workbench Projects The Workbench development environment uses projects as the building blocks for activities such as the development of applications for the target OSes Figure 9 Project Explorer shows several pre configured projects as they appear in Workbench s top workspace console the Project Explorer Figure 9 Project Explorer Project Explorer D File Navigator DS a ae gt vip_wrVbX86_1 Wind River VxWorks 6 9 Image Project b s ng wrVbX86_2 Wind River VxWorks 6 9 Image Project gt E vsb wrVbX86 Wind River VxWo
156. ly in other domains we stand ready to extend this provision to those domains in future versions of the GPL as needed to protect the freedom of users Finally every program is threatened constantly by software patents States should not allow patents to restrict development and use of software on general purpose computers but in those that do we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary To prevent this the GPL assures that patents cannot be used to render the program non free The precise terms and conditions for copying distribution and modification follow TERMS AND CONDITIONS 0 Definitions This License refers to version 3 of the GNU General Public License Copyright also means copyright like laws that apply to other kinds of works such as semiconductor masks The Program refers to any copyrightable work licensed under this License Each licensee is addressed as you Licensees and recipients may be individuals or organizations To modify a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission other than the making of an exact copy The resulting work is called a modified version of the earlier work or a work based on the earlier work A covered work means either the unmodified Program or a work based on the Program To propagate a work means to do anything with it that without permission w
157. me wruser workspace wr Lx Project intel xeon core 3 W Browse Mapping direction O ES Both directions Target to Host and Host to Target path Host to Target path only O gt Target to Host path only e SR When finished editing click OK The system copies the contents from the development host to the target platform The Edit window closes and the Download Configurations window reappears listing the modified download configuration Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 151 l n tel g Workflow 4 Dynamically Load amp Debug Applications on the Target Platform Click Debug In Workbench a Debug console appears at the right and an output Console appears at the bottom See the two arrowed areas in Figure 134 Debug and Console Figure 134 Debug and Console Device Debug wrixProject hollowarid c Wind River Workbench File Edit Source Refactor Navigate Search Project Target Analyze Run Window Help m ri Daea gt oO po o 3 z B AFR eB a i A EI BI esd se 7 Ain ser application ent outine is the entry point for user applic D GEmy_common_pe Wind R is ere with first task starting tl gt DN a o E gt l vip_ weVbX86_1 Wind s his function writes Hello world o D Projec 3 o O vip wrVbX86_2 helloworld c 3 En Y Wi wrLxProject out 748 Stopped D Bvsb_wrVdX86 Wind River int Leg 0x49328b74
158. ment can only be controlled based on the OS type As an illustration there is no way to assign a specific device to VxWorks 2 and not VxWorks 1 Parameter 3 Assignment by Availability If a connected device has not already been assigned to another OS then the system assigns it to the next OS defined assuming that OS allows the device For example assume the target platform hardware has only three USB controllers Also assume you modify override esh so that two USB controllers go to Guest OS 1 one USB controller to Guest OS 2 and one to Guest OS 3 The following shown in Table 8 Sample Scenario happens as Hypervisor starts up Table 8 Sample Scenario of USB Controllers of USB Controllers Requested Actually Assigned of three total Despite configuring it to receive a USB controller Guest OS 3 did not receive any USB devices because A customized assignment in override esh overrides the default USB assignment defined in Parameter 1 No USB controllers are assigned by default The previous two Guest OSes already loaded their assigned USBs see Parameter 2 By the time Guest OS 3 begins its assignment the number of available USBs defined in Parameter 3 are already depleted Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 189 i n tel Workflow 6 Configure a New Device 11 1 6 2 3 Parameter 4 Avoid Device Assignment While the previous three parameters aff
159. mmand At either VxWorks console double click the console tab The console expands At the command line type ping 10 0 0 3 and press Enter See Figure 163 Ping Command Figure 163 Ping Command gt ping 10 0 0 3 Pinging 10 0 0 3 10 0 0 3 with 64 bytes of data Reply from 10 0 0 3 bytes 64 ttl 64 seq 0 time 2ms 10 0 0 3 ping statistics l packets transmtted 1 received packet loss time 2 ms rtt min avg max 2 2 2 ms value O 0x0 gt A response from Linux appears indicating that a reply was received Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 178 Workflow 5 Assign Persistent Target Platform OS IP Addresses 10 3 2 Linux to VxWorks Communication In the AMIO console at the Linux command line type ping 10 0 0 4 and press Enter A response from Linux appears indicating that a reply was received See Figure 164 Ping Command Figure 164 Ping Command EI Channel 1 dev ttySO X 64 bytes from 10 0 0 4 seg 64 bytes from 10 0 0 4 seq 1 64 bytes from 10 0 0 4 seq 2 64 bytes from 10 0 0 4 seq 3 64 bytes from 10 0 0 4 seq 4 64 bytes from 10 0 0 4 seq 5 64 bytes from 10 0 0 4 seq 6 64 bytes from 10 0 0 4 seg 64 bytes from 10 0 0 4 seq 8 64 bytes from 10 0 0 4 seq 9 root localhost I root localhost ping 10 0 0 4 PING 10 0 0 4 10 0 0 4 56 data bytes time 1 time 1 tim
160. mple if you distribute copies of such a program whether gratis or for a fee you must pass on to the recipients the same freedoms that you received You must make sure that they too receive or can get the source code And you must show them these terms so they know their rights Developers that use the GNU GPL protect your rights with two steps 1 assert copyright on the software and 2 offer you this License giving you legal permission to copy distribute and or modify it For the developers and authors protection the GPL clearly explains that there is no warranty for this free software For both users and authors sake the GPL requires that modified versions be marked as changed so that their problems will not be attributed erroneously to authors of previous versions Some devices are designed to deny users access to install or run modified versions of the software inside them although the manufacturer can do so This is fundamentally incompatible with the aim of protecting users freedom to change the software The systematic pattern of such abuse occurs in the area of products for individuals to use which is precisely where it is most unacceptable Therefore we have designed this Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 208 LI Workflow 6 Configure a New Device intel version of the GPL to prohibit the practice for those products If such problems arise substantial
161. n a file system from where it can be executed A read only memory file system ROMFS project acts as a read only file system that can be embedded in a VxWorks image We will include our RTP executable in the ROMFS project which will itself be included in the VxWorks Image Project To create a ROMFS project perform the following procedure Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 109 i n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Select File gt New gt VxWorks ROMFS File System Project A New VxWorks ROMFS File System Project window appears See Figure 91 my_romfs Figure 91 my_romfs New VxWorks ROMES File System Project x Project Create anew VxWorks ROMFS file system project Les Location Create project in workspace O Create project at external location O Create project in workspace with content at external location Directory home wru er workspace my_romf NA Brow Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 110 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel Set the project name to my_romfs and select Next A New VxWorks ROMEFS window appears See Figure 92 New VxWorks ROMFS Figure 92 New VxWorks ROMFS New VxWorks ROMES File System Project x Project Structure Specify the project tree str
162. n across the network Corresponding Source conveyed and Installation Information provided in accord with this section must be in a format that is publicly documented and with an implementation available to the public in source code form and must require no special password or key for unpacking reading or copying 7 Additional Terms Additional permissions are terms that supplement the terms of this License by making exceptions from one or more of its conditions Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License to the extent that they are valid under applicable law If additional permissions apply only to part of the Program that part may be used separately under those permissions but the entire Program remains governed by this License without regard to the additional permissions When you convey a copy of a covered work you may at your option remove any additional permissions from that copy or from any part of it Additional permissions may be written to require their own removal in certain cases when you modify the work You may place additional permissions on material added by you to a covered work for which you have or can give appropriate copyright permission Notwithstanding any other provision of this License for material you add to a covered work you may if authorized by the copyright holders of that material supplement the terms of this Lic
163. n to close the development host listening connection After doing this note that the green connect icon is enabled and the dev ttySO console workspace shows the connection as lt terminated gt See Figure 35 Terminated Connection Before continuing make certain to re click the green connect icon and that the green icon has turned gray Figure 35 Terminated Connection AMIO Console 5 DI lt terminated gt AMIO dev ttySO Double click the AMI O Console tab The AMIO console expands within the Workbench workspace Retrieve the Target platform USB media from the product packaging and insert it into a blue USB 3 0 port on the target platform Press and release the power switch on the target platform The power indicator light on the target platform illuminates and the system starts Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 57 a n tel Workflow 1 Set Up amp Explore the System Features As the system starts screen output appears on the development host Workbench AMIO console Separate AMIO consoles appear Figure 36 AMIO Consoles shows the console for the first instance of VxWorks The figure also shows the tabs that correspond with each AMIO instance that appears Figure 36 AMIO Consoles 6 9 1 6 9 2 S AMIO Console AMIO Core OS X AMIO Channel 1 AMIO Channel 2 AMIO Channel 3 Sulm Ex ER DI Co
164. ndustrialconsolidation Upon downloading a copy of the User Guide from the website compare the cover page date of the downloaded document to the User Guide you currently have Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 12 Introduction l n tel 1 1 Terminology Table 1 Terminology Development host The portion of the SCS system used for development Configurations created on the development host are loaded from the development host onto the target platform to realize productivity Intel Industrial Intel Industrial Solutions System Consolidation Series is also Solutions System sometimes known by its shorter name SCS Consolidation Series Intel Industrial Solutions System Consolidation Series The Intel Industrial Solutions System Consolidation Series system comprises two subsystems e Target platform e Development host with Software Features For detailed descriptions of these items see Section 6 Workflow 1 Set Up amp Explore the System Features Target platform The portion of the SCS system used for productivity Configurations created on the development host are loaded to the target platform for productivity User provided This refers to certain items that the user must provide at the user s expense For more information see Section 4 User Provided Items 1 2 Product Literature You can order product literature from the following Intel literature ce
165. nfigurations Kl a Name noEntryPoint c demo out VxWorks6x_10 11 0 105 L 8 Launch Context Hl Downloads 77 Projects to Build Common Y Q Linux Application Proce Downloads amp hello_Linux cut WR v Fie Retoad Options Add wrlxProject out W M je demo PENTIL JM gnu c_demo Debug c_demo out Q wrlxProject out WI L Q VxWorks Kernel Task E noEntryPoint de a r gt Filter matched 6 of 6 items Close Dowsioed Unlike Linux executables a downloadable kernel module is akin to a code library that will be loaded in RAM There is no path to download it to The DKM is preconfigured since we are doing a download from the downloadable kernel module project If you have another existing DKM that is not part of a workbench project you could use the Edit button to replace the file or even use Add to download multiple DKMs This movement shows the right side of the File Copy Deploy window and three buttons e Add Click this button to create additional DKM to download e Edit To use this function select an existing download configuration and click the Edit button This allows you to change the DKM to download e Remove To use this function select an existing download configuration Click the Remove button to permanently remove that download configuration This procedure assumes you will edit and run an existing line item Click Download The system downloads
166. ng file to zwrsLicense lic See Figure 12 Rename the Licensing File The example shown here is for a Microsoft Windows computer Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 39 a n tel Workflow 1 Set Up amp Explore the System Features Figure 12 Rename the Licensing File el L4IR e Drive Tools Removable Disk D SS EEE e x II T New tem d Hl select at Fa access e Delete New to lt T we gt Computer Removable Disk D v P me ab Computer amp OSDisk C LiveUSB_list ot 4 Removable Disk D E intel _industrial_Solutions_SCS_User_Guide_EN_538056_v1 0_ J licenses E licenses LiveOs systin E syslinux ystinux E Liveos Remove the USB stick Proceed to Section 6 7 Install the Development Host Software 6 7 Install the Development Host Software A ues In this section you install the development host software onto the development host PC you provide When installing the development host software the system destroys all data including any applications and OSes already installed on your development host PC hard drive Make certain to back up all important data to external storage media before installing the development host software Failure to do so may result in loss of data on the development host After you license the development host flash media follow this procedure to install the development softw
167. ntel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 9 Figure 163 Ping COMMANA s4 c ccctsc eee EEN RER KE ER SEE EE EENE NEE EEE a EENS SEN EEN NEE SEENEN 178 Figure 164 lt Ping Command EE 179 Figure 165 Pind COMMAN BEE 180 Figure 166 Target Platform Devices 1 184 Figure 167 Target Platform Devices 2 185 Figure 168 HypervisSor Project 0 neti 186 Figure 169 OVERRIDE ESH Work Pane cece cece eee een AAAA aed 187 Figure 170 OVERRIDE ESH Configurable Gecton cece ete eaed 187 Figure 171 Rebuild Hypervisor Project 1 0 0 0 ccc eter 191 Figure 172 System elf Copy EE 192 Figure 173 System elf Director 193 Figure 174 USB 3 0 POMS EE 194 Figures 75 BIOS Tripan a a TE a E 195 Welle ae 195 Figure 177 BIOS EE 196 Figure 178 Hypervisor AMIO Console cect nerd 196 Fig re 179 Device Kat telen ele EE 197 Figure 180 Device BDF and VendorlD Devicel D Information 198 Figure 181 Target Platform Devices 1 199 Figure 182 Target Platform Devices 2 200 Tables RI EK dun inte e VE 13 Table 2 Product Viteraturesscssiccssngestiaessiaies pias n dE REESEN d DE eens EEN 13 Table 3 Reference Documents 14 Table 4 VIP INLCUDE Components 0 c cece eect eee EEEREN eee EEEN 87 Table 5 Device ClassificatjONS rsorrirrrc isnin nai n EEEN eine 182 Table 6 User Configurable Hesources cece cece eee nee eee eee enna naa 183 Table 7 Supported Gues
168. nters Table 2 Product Literature U S and Canada 1 800 548 4275 U S from overseas 708 296 9333 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 13 3 Reference Content Introduction Contact your Intel Field Representative for assistance in acquiring the latest version of these documents Table 3 Reference Documents Intel Industrial Solutions System Consolidation Series User Guide User Support Documents Other product documentation Make certain to check the product support website for supplemental information and updates to this document Document No Location This is the document you are reading now available in PDF format on the User Support media USB that comes with the product packaging PN 538056 See the full listing of user support documents at Section 3 Intel Industrial Solutions System Consolidation Series Documentation Get other product documentation by consulting with www intel com and or your Intel Corporation sales representative www intel com industrialconsolidation Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 14 Safety Notice 2 1 2 1 1 2 1 2 2 1 3 2 1 4 intel Safety Notice This safety notice summarizes information basic to the safe operation of the equipment described in this manual The international symbol displayed below is a reminder that all sa
169. nux elf gt System_Baseline 30CONFIG_DIR CURDIR config 31 E Makefile 32 rj z a 33 New system elf with user customized Guest OSes b ES wrlinux_ugos_glibc_std Wind River Linux Platform Base 5 1 34SYS_0BJ 0BJ_DIR system elf L R P el Edit the following two lines to point to the path of the projects created in the previous sections e Update VX1_OBJ_SRC to point to use myvip_wrVbX86_1 e Update VX2_OBJ_SRC to point to use myvip_wrVbX86_ 2 IMPORTANT Make certain to update the path value with the entire path name With these changes the integration project automatically copies your VxWorks guest OS into the wr_hypervisor_integration project file system Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 128 Workflow 3 Build Linux amp VxWorks OS Images from Scratch n tel In the wr_hypervisor_integration project browse to the file wr_hypervisor_integration gt payload Double click Makefile A Makefile pane appears Verify that the LI NUX_DIR path matches the Linux project name you use in the previous section See Figure 111 Project Name Figure 111 Project Name 8 7 2 Project Explorer X E File Navigator O Makefile Makefile 2 EEs aane EE EEN ES SSE SE D d ni ee had x 11 SE Je aK bX86 V iver VxWorks 6 9 Source merci 13 Db G t vr Wind River VxWorks 6 9 Source Build Kerr 14BSP_PENTIUM pentium Y wr_hypervisor inte
170. o a Hard Drive Abort 45 Proceed Click Proceed The cursor changes to a spinning disk for a few moments to indicate system progress The cursor then returns to its default arrow appearance and remains this way for a few minutes An Examining Devices window appears for a few moments See Figure 16 Examining Devices Figure 16 Examining Devices Examining Devices Examining storage devices Le A Fedora installer window appears prompting you to select an interactive language Window not shown here Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 42 a Workflow 1 Set Up amp Explore the System Features n tel Select US English and click Next The location window appears See Figure 17 Location Window Figure 17 Location Window Fedora Installer xX Please select the nearest city in your time zone k Selected city New York n Time New York Eastern Time s Nipigon Eastern Time Ontario amp Quebec places that did not observe DST 1967 1973 Nome Alaska Time west Alaska Noronha Atlantic islands gt North Dakota Ojinaga US Mountain Time Chihuahua near US border Panama Pangnirtung Eastern Time Pangnirtung Nunavut 3 Paramaribo Phoenix Mountain Standard Time Arizona Port au Prince Port of Spain System clock uses UTC Intel Industrial Solutions System Consolidation Series User
171. of your copyrighted material outside their relationship with you Conveying under any other circumstances is permitted solely under the conditions stated below Sublicensing is not allowed section 10 makes it unnecessary 3 Protecting Users Legal Rights From Anti Circumvention Law No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 210 LI Workflow 6 Configure a New Device intel adopted on 20 December 1996 or similar laws prohibiting or restricting circumvention of such measures When you convey a covered work you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work and you disclaim any intention to limit operation or modification of the work as a means of enforcing against the work s users your or third parties legal rights to forbid circumvention of technological measures 4 Conveying Verbatim Copies You may convey verbatim copies of the Program s source code as you receive it in any medium provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice keep intact all notices stating that this License and any non permissive terms add
172. oject Target Run YoctoProjectTools Analyze Window Help New E E Wind River Workbench Project Open File t Wind River Linux Application Project Close Ctri w W Wind River Linux IOP Project Close All epp Cru Wind River Linux Kernel Module Project Wind River Linux Layer Project T Wind River Linux Platform Project iW Wind River Linux User Defined Project Ei VxWorks Boot Loader BSP Project VxWorks Downloadable Kernel Module Project iE VxWorks ROMFS File System Project ci VxWorks Image Project Enter a name for your project Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 90 LI Workflow 3 Build Linux amp VxWorks OS I mages from Scratch n tel Select the Create project in workspace option See Figure 72 Create NOTE When you create a new project using the Create project in workspace option Workbench creates a directory bearing the same name as the project you choose in workbench s current workspace directory See Figure 72 Create Figure 72 Create New VxWorks Downloadable Kernel Module Project X Project Creates a new VxWorks downloadable kernel module project with all available kernel build specs Project name myDKM project Location Create project in workspace O Create project at external location O Create project in workspace with content at external location m Next gt Cancel Fin
173. olidation Series Documentation For information about installing and operating Intel Industrial Solutions System Consolidation Series SCS see e Intel Industrial Solutions System Consolidation Series SCS Startup Guide PN 538055 This is a printed document that comes with the Intel Industrial Solutions System Consolidation Series SCS package This document also comes as an Adobe formatted PDF document on the User Support USB media found within the Intel Industrial Solutions System Consolidation Series SCS package e Intel Industrial Solutions System Consolidation Series SCS User Guide PN 538056 This is the guide you are reading now This is an Adobe formatted PDF document that comes with the User Support USB media found within the Intel Industrial Solutions System Consolidation Series SCS package e MXE 5300 Series Fanless Embedded Computer User s Manual See this resource for information regarding the target platform hardware e Wind River Development Host Help Access various help resources after booting the development host platform on the Development Host media USB After booting and agreeing to the license information the development host loads to a Linux OS environment From there go to Applications gt Wind River Documentation and choose from the help resources available there e Wind River Workbench Help Access various help resources after opening the development host software Wind River Workben
174. on icon s you wish to include with Wind River Linux Click Finish The window closes Right click wrLxProject Wind River Linux Platform Application Project and select Build Project NOTE If a Build warning window denoted by a light bulb symbol appears prompting you to include the search path for your application select the Continue button After a few moments in the Build Console tab a message appears stating Build Finished in wrLxProject Download Application to a Linux Platform OS Follow this procedure to download executables to a specific directory on the target platform Linux OS NOTE In this case download means a real time migration of content from the development host to the running target platform In Workbench Project Explorer right click wrLxProject and select Download Linux Application Process In the Create manage and run configurations window go to Linux Applications Process gt wrLxProject out Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 143 a n tel Workflow 4 Dynamically Load amp Debug Applications on the Target Platform In the Launch Context tab select the checkbox representing the target platform connection See the checked item in Figure 126 Download Configuration Figure 126 Download Configuration Download Configurations X Create manage and run configurations K Select the launch context for executing
175. on on this and how to apply and follow the GNU GPL see lt http www gnu org licenses gt The GNU General Public License does not permit incorporating your program into proprietary programs If your program is a subroutine library you may consider it more useful to permit linking proprietary applications with the library If this is what you want to do use the GNU Lesser General Public License instead of this License But first please read lt http www gnu org philosophy why not Igpl html gt Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 218
176. onfigure the target platform to boot from the USB media Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 136 D Workflow 4 Dynamically Load amp Debug Applications on the Target Platform n tel 9 9 1 9 2 Workflow 4 Dynamically Load amp Debug Applications on the Target Platform About This Chapter The Intel Industrial Solutions System Consolidation Series development host uses Wind River Workbench as its primary development tool Use the Workbench development platform for innumerable development activities called workflows IMPORTANT Before you perform this workflow you must perform Workflow 1 Intel Corporation also recommends performing all other workflows previous to this workflow in the order they occur in this document This chapter includes both system background information and instructions for exploring system features e FIRST Read and understand this chapter entirely e THEN Re read the chapter and perform the instructions in the workflow After performing the other workflows in this document you find that one of your applications does not function correctly or requires modification Instead of rebuilding the entire Hypervisor system and rebooting the target platform during development you can build and dynamically load just the application to the target platform In this workflow you will have the opportunity to learn how to port your own so
177. onnections to the guest OSes appear in individual AMIO consoles at the bottom of the development host Workbench workspace Among these consoles appears the AMIO Core tab which shows the contents of the Hypervisor startup log See Figure 178 Hypervisor AMIO Console Figure 178 Hypervisor AMI O Console E Core OS dev ttySO X odin all done the world is created BIOS pciVGA_0 10 pinO irql9 BIOS pciEthernet_O c8 pinO irqls BIOS pciUSB_0 dO pinO irql6 BIOS pciUnknownMm_O d8 pinO irq22 BIOS pciSATA_O fa pinl irq20 BIOS pciUSB_5 0 pinO irql7 BIOS pciUSB_O e8 bin irql6 BIOS pciEthernet_2 0 pinO irql7 ahci Found SATA contoller 00 1f 02 8086 1c03 class 0106 Entering emulation Allow the target platform to fully boot Scroll up and down within the Hypervisor console and examine its contents Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 196 Workflow 6 Configure a New Device intel Within the Hypervisor AMIO console are several sections that contain boot information that include the devices recognized by Hypervisor Find the PCI Devices section of the Hypervisor console See Figure 179 Device Information NOTE This section appears approximately halfway down the Hypervisor startup log Figure 179 Device I nformation PCI devices bus6 dev66 func6 pine bus dev01 Func pint bus0 dev02 funcO pint bus6 dev20 func6 pint bus
178. ons and this document provides instructions for this configuration in the workflow chapters that follow this workflow chapter The SCS target hard drive comes loaded with three virtual machine VM platforms as independent operating systems e One instance of Wind River Linux 5 OS e Two instances of Wind River VxWorks 6 9 Real Time OS When you develop customized OS configurations to be run on the target platform you may optionally boot the target platform from a USB that contains a bootable image carrying your customizations Optionally copy this same image to the target platform s Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 25 n tel Workflow 1 Set Up amp Explore the System Features hard drive via network or a serial connection to boot directly from the target platform hard drive Figure 4 Target Platform OS Configuration and Figure 5 Target Platform 1O Configuration depict high level views of the system Figure 4 Target Platform OS Configuration Wind River VxWorks1 VxWorks 2 Linux 5 Virtual Virtual Virtual Machine Machine Machine Hypervisor Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 26 A Workflow 1 Set Up amp Explore the System Features i n tel 6 4 1 Virtual NIC VNI C The Intel Industrial Solutions System Consolidation Series SCS four virtual OS platforms are networked
179. ons of your Intel Industrial Solutions System Consolidation Series SCS product are provided courtesy of Wind River For support and training beyond that defined here see Wind River s website www windriver com company contact Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 201 Appendix C Troubleshooting A Ee Content within this section may include activities that entail risk to the preservation of data you may have accumulated in the course of your business activities For example in order to resolve a performance issue in your system you may decide to follow the recommendation to reinstall all or part of the system software In so doing you may cause data that you may have accumulated in your system hard drive storage to be irretrievably formatted To avoid data loss make certain to create full backups of your business data onto remote resources in accordance with your company s policies Make certain to review other Safety content outlined in Section 2 Safety Notice This section provides activities you may perform to resolve some issues while using the Intel Industrial Solutions System Consolidation Series SCS This chapter is arranged into subsections when issues commonly occur e Installation Issues that may arise when setting up connecting and starting the system e Configuration Issues that may arise when developing target platform configurations for production Revi
180. operation Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 186 a Workflow 6 Configure a New Device in tel 11 1 6 1 OVERRIDE ESH Script File Double click the override esh script file To the right of Project Explorer an override esh work pane appears See Figure 169 OVERRIDE ESH Work Pane Figure 169 OVERRI DE ESH Work Pane B override esh X m 1 override esh hypervisor automatic cl 2 3 4 Copyright c 2013 Wind River Systems 5 6 The right to copy distribute modify 7 of this software may be licensed only 8 of an applicable Wind River license au SE a T gt Double click the override esh work pane The work pane expands Scroll up and down within the override esh work pane and examine its contents Within the override esh work pane are several sections that contain default target configuration values See Figure 170 OVERRIDE ESH Configurable Section Figure 170 OVERRI DE ESH Configurable Section G override esh X 24 General configurations 25 26 Default guest def_ser_devs 0 3def_eth_devs 0 29def_usb_devs 0 30def_ide_devs 0 3ldef_raid_devs 0 32def_allow_pci_split 0 34 Unmodified guest type 35umod_allow_pci_split 0 36 d 42 default win_eth_devs 3 43 win_pci_bridge_opt 0 441gnore_usb_uhc1 0 45 Avoid Active Management Engine Interfaces BDF 0 22 0 0 22 3 It does not work
181. ors During testing on various development host hardware Intel Corporation observed installation times ranging from 10 minutes to 2 hours Generally newer hardware systems require less installation time than older systems Because software ideally only needs to be installed once Intel Corporation recommends waiting until the system installs completely When attempting to install development host software onto Make certain your development host hardware meets the minimum the development host the installation hangs or fails performance specifications defined in Section 4 1 2 Development Host Specifications If you determine you must install your development host software onto different hardware you should first contact your Intel representative to nullify the old license and provide Host ID information for the new development host See the licensing instructions in Section 6 6 License the System When establishing an AMIO connection between the Make certain you correctly set up the physical and logical connections development host and target platform over serial connection between the development host and target platform When starting up the the development host and target platform do not connect development host and target platform and establishing a connection make certain to start up the development host software first and establish an open connection on the development host AMIO console before starting the target platform See
182. ould make you directly or secondarily liable for infringement under applicable copyright law except executing it on a computer or modifying a private copy Propagation includes copying distribution with or without modification making available to the public and in some countries other activities as well To convey a work means any kind of propagation that enables other parties to make or receive copies Mere interaction with a user through a computer network with no transfer of a copy is not conveying An interactive user interface displays Appropriate Legal Notices to the extent that it includes a convenient and prominently visible feature that 1 displays an appropriate copyright notice and 2 tells the user that there is no warranty for the work except to the extent that warranties are provided that licensees may convey the work under this License and how to view a copy of this License If the interface presents a list of user commands or options such as a menu a prominent item in the list meets this criterion 1 Source Code The source code for a work means the preferred form of the work for making modifications to it Object code means any non source form of a work Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 209 H l n tel Workflow 6 Configure a New Device A Standard Interface means an interface that either is an official standard defined by a recognized s
183. plications on the Target Platform Select Wind River Linux User Mode Target Server Connection See Figure 123 System Type Figure 123 System Type New Connection Select Remote System Type System type b amp General 7 amp VxWorks 6 x BR Wind River VxWorks 6 x Core Dump Connection H Wind River VxWorks 6 x Simulator Connection H wind River VxWorks 6 x Target Server Connection S Wind River Linux amp Wind River Linux Application Core Dump Target Server Connection A Wind River Linux KGDB Connection d Wind Riut Linux User Mode Target Server Connection A Wind River QEMU Backend Connection i Click Next A Target Server Connection for Linux User Mode window appears Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 140 Workflow 4 Dynamically Load amp Debug Applications on the Target Platform i n tel Into the Target name or address field enter the Linux OS IP address Figure 124 Target Server uses 192 168 1 10 as the IP address Figure 124 Target Server New Connection x Target Server Connection for Linux User Mode Please configure the target server Backend settings Processor default from target Select Backend wdbrpc m Target name or address 192 168 110 v Check Port de e Target file system Root File System V Browse Advanced target server options M Verbose target serv
184. propriate Legal Notices your work need not make them do so A compilation of a covered work with other separate and independent works which are not by their nature extensions of the covered work and which are not combined with it such as to form a larger program in or on a volume of a storage or distribution medium is called an aggregate if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation s users beyond what the individual works permit Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate 6 Conveying Non Source Forms Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 211 H l n tel Workflow 6 Configure a New Device You may convey a covered work in object code form under the terms of sections 4 and 5 provided that you also convey the machine readable Corresponding Source under the terms of this License in one of these ways a Convey the object code in or embodied in a physical product including a physical distribution medium accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange b Convey the object code in or embodied in a physical product including a physical distribution medium accompanied by a written offer valid for at least three years and valid for as long as you offer spare parts o
185. r Sa Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 52 A Workflow 1 Set Up amp Explore the System Features n tel NOTE If you cannot establish a connection between the development host and target platform in the following steps the serial cable connection between the development host and target platform may require the use of a null modem adapter and or cable gender changer See Figure 28 Null Modem Gender Changer Figure 28 Null Modem Gender Changer NULL MODEM Gender changer serial connector adapter Target platform DB9 RS 232 serial port dongle labeled 1 at the location indicated by the arrow Connect the development host power cord to a wall receptacle power source Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 53 Workflow 1 Set Up amp Explore the System Features Explore the System Start up the development host The system loads to the Wind River Linux 6 9 development host desktop See Figure 29 Development Host Desktop Figure 29 Development Host Desktop SE pes at d Secci z e EE S e b Advanced Device Dev On the desktop double click the Wind River Workbench icon desktop icon Wind River Workbench loads See Figure 30 Workbench Workspace Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1
186. r customer support for that product model to give anyone who possesses the object code either 1 a copy of the Corresponding Source for all the software in the product that is covered by this License on a durable physical medium customarily used for software interchange for a price no more than your reasonable cost of physically performing this conveying of source or 2 access to copy the Corresponding Source from a network server at no charge c Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source This alternative is allowed only occasionally and noncommercially and only if you received the object code with such an offer in accord with subsection 6b d Convey the object code by offering access from a designated place gratis or for a charge and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge You need not require recipients to copy the Corresponding Source along with the object code If the place to copy the object code is a network server the Corresponding Source may be on a different server operated by you or a third party that supports equivalent copying facilities provided you maintain clear directions next to the object code saying where to find the Corresponding Source Regardless of what server hosts the Corresponding Source you remain obligated to ensure that it is available for as long as needed to satis
187. ra Installer 6316 Copying live image to hard drive After a few minutes the system prompts you Would you like to keep any changes you made to the LiveUSB environment Select No NOTE The system may take upwards of 45 minutes to install Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 47 intel Workflow 1 Set Up amp Explore the System Features The system completes installing and a window appears prompting you to restart the system See Figure 23 Installation Complete Figure 23 Installation Complete Fedora Installer F Congratulations your Fedora installation is complete Please reboot to use the installed system Note that updates may be available to ensure the proper functioning of your system and installation of these updates is recommended after the reboot Reboot Click Reboot After the system shuts down remove the Development Host USB media before the system restarts Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 48 intel zi S Bind River User Workflow 1 Set Up amp Explore the System Features Allow the system to restart The Wind River Linux development host desktop environment appears See Figure 24 Linux Desktop Fri Jan 17 1 10 AM Applications Places Figure 24 Linux Desktop R iB Wind River Workbench H T Advanced Devic
188. re OS dev ttySO DO memmap 0x8000 0xf fffO000 memmap 0x100000 0x1f fO0000 console ttySO 9600 irqpol l D Entering emulation ahci ATA drive on port 1 ata Identified INTEL SSDSC2CW120A3 400i ata Support for LBA 48 enabled BIOS Boot using disk hdO at port 0170 master INTEL SSDSC2CW120A3 Entering emulation BIOS INT15h AX 5F34 BX C000 BIOS INT15h AX 5F70 BX C003 Lal NOTE If not all AMIO consoles appear then in Workbench go to Window gt Show View and select the console you wish to view e AMIO Console This console has no output Optionally close this console e AMIO Core OS This displays hypervisor output e AMIO Channel 1 This displays Linux OS output e AMIO Channel 2 This displays output from the VxWorks OS 1 e AMIO Channel 3 This displays output from the VxWorks OS 2 Default OS IP Address Assignment Intel Industrial Solutions System Consolidation Series virtual NIC VNIC assigns IP addresses to the guest operating systems by default as follows e Linux 10 0 0 3 e VxWorks 1 10 0 0 4 e VxWorks 2 10 0 0 5 Inter OS Communication over the Target VNIC Using the physical serial cable connection between the development and the target platforms you can use the Workbench AMIO console to display the logical connection among the Linux and VxWorks shells NOTE To physically connect the development host to the target platform see Section 6 8 Set Up the Target Pl
189. re a Persistent VxWorks IP Address 2 Instance172 10 2 3 Rebuild Hypervisor and Boot Target Blattorm 172 10 2 4 Boot the Target Platform with Persistent IP Address Changes 172 10 3 Configure Target Platform BIOS to Boot from USB Media 175 10 3 1 VxWorks to Linux Communication 178 10 3 2 Linux to VxWorks Communication 179 10 3 3 VxWorks to VxWorks Communication 180 Workflow 6 Configure a New Device cc cece eee erect eee eee teen eee ene 181 LE About This Chapter ebe ebe deeg andi Leni gene EE See dee de 181 11 1 1 Special Version of HyperviSOr cccccece eset ee ee ee eee teeta ees 181 11 1 2 Hypervisor Resource Aesignment cc ceece cette eee eee eee tates 182 11 1 3 User Configurable Resources cece cette eee ee nee etter eats 183 11 1 4 Default Physical Device Allocations teeter eee 184 11 1 5 Modify User Configurable Resources cc ceeeee eee eee teeta errn 185 11 1 6 Assign Resources to a Target OS 185 11 1 6 1 OVERRIDE ESH Script le 187 11 1 6 2 Device Assignment Parametere 188 11 2 Configure Target Platform BIOS to Boot from USB Media 194 Default I O Device Asslonment cee eee eect cette eee teeta ena a a 199 AL Default Physical Device Allocations eee eee ee eee teeta nanan 199 Technical SUpport EE 201 B 1 1 In Product Technical Support 201 B 2 Online amp Live Technical Support 201 B 3 Wind River Product Support amp Training 201 Troubleshooting EE 202 Cl Installation
190. re to verify that the sample code embedded into the VxWorks 2 OS functions After the target platform boots go to AMIO Channel 3 for VxWorks 2 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 135 l n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch NOTE For the steps that follow refer to the output content shown in Figure 118 VxWorks 2 Code to verify that you have performed the procedure correctly Figure 118 VxWorks 2 Code gt gt cmd vxWorks vxWorks cd romfs vxWorks 1s helloworld vxe vxWorks helloworld vxe Launching process helloworld vxe Process helloworld vxe process Id 0x11718c0 launched Hello World vxWorks Type cmd and press Enter The bracketed cmd prompt appears Type cd romfs and press Enter Type Is and press Enter to list files within directory The executable helloworld vxe should appear in the directory list Type helloworld vxe and press Enter The application should launch The output is Hello World This output signifies the application is present in the OS and is working correctly NOTE If the application does not exist in the booted target platform then the target platform system most likely is not booting from the USB media and is booting from the target platform SSD instead See Section 8 10 Configure Target Platform BIOS to Boot from USB Media for instructions to c
191. rimary development tool Use the Workbench development platform for innumerable development activities called workflows IMPORTANT Before you perform this workflow you must perform Workflow 1 Intel Corporation also recommends performing all other workflows previous to this workflow in the order they occur in this document This chapter includes both system background information and instructions for exploring system features e FIRST Read and understand this chapter entirely e THEN Re read the chapter and perform the instructions in the workflow In this workflow you configure the IP addresses for the VxWorks virtual machine OSes on the target platform and then confirm that these VMs can communicate within the system s virtual network VNIC Default OS IP Address assignment The Intel Industrial Solutions System Consolidation Series SCS four virtual platforms are networked together via a virtual Layer 2 switch Each individual virtual platform has a virtual Network Interface Card VNIC in this document Intel Industrial Solutions System Consolidation Series SCS assigns target platform IP addresses to the four guest operating systems by default as follows e Linux 10 0 0 3 e VxWorks 1 10 0 0 4 e VxWorks 2 10 0 0 5 NOTE Intel Industrial Solutions System Consolidation Series currently supports four physical Ethernet interfaces By default each guest OS is assigned at least one physical Ethernet interf
192. rk is specifically designed to require such as by intimate data communication or control flow between those subprograms and other parts of the work The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source The Corresponding Source for a work in source code form is that same work 2 Basic Permissions All rights granted under this License are granted for the term of copyright on the Program and are irrevocable provided the stated conditions are met This License explicitly affirms your unlimited permission to run the unmodified Program The output from running a covered work is covered by this License only if the output given its content constitutes a covered work This License acknowledges your rights of fair use or other equivalent as provided by copyright law You may make run and propagate covered works that you do not convey without conditions so long as your license otherwise remains in force You may convey covered works to others for the sole purpose of having them make modifications exclusively for you or provide you with facilities for running those works provided that you comply with the terms of this License in conveying all material for which you do not control copyright Those thus making or running the covered works for you must do so exclusively on your behalf under your direction and control on terms that prohibit them from making any copies
193. rks 6 9 Development Shell A prjConfig c Refresh n prjParams h Close Project usrAppInit c Close Unrelated Projects usrRtpApplnit c Project References B creation log Me Build Project emm i The build window shows lines of code compiling A build project progress window appears and a progress bar moves repeatedly left and right while the system compiles the VxWorks libraries required for the Guest OS When the project finishes building a Build Finished in Project vip_wrVbX86_2 statement appears at the bottom of the Build Console pane Create and Build WR Linux Follow the procedure below to create and build a Wind River Linux project Create a WR Linux Platform Project On the development host open Wind River Workbench Switch to the Advanced Device Development perspective Window gt Open Perspective gt Advanced Device Development Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 115 l n tel i Workflow 3 Build Linux amp VxWorks OS I mages from Scratch Go to File gt New gt Wind River Linux Platform Project See Figure 97 Linux Project Figure 97 Linux Project 5 Edit Navigate Search Project Target Run YoctoProjectTools Analyze Window Help New E E Wind River Workbench Project Open File Wi Wind River Linux Application Project e wt Wind River Linux IOP Project t Wind River Linux Kernel Module Project Ctrl W Close All Shift
194. rks 6 9 Source Build Kernel Library Project b Bwr hypervisor integration Host OS Native Development User Defined Project b GR wrlinux_ ugos Wind River Linux Platform Base 5 0 1 Platform Project The SCS version of Workbench has preconfigured projects These projects are prebuilt packages that help reduce time you spend in development effort The development host system comes pre loaded with five preconfigured projects vip_wrVbX86_1 This is the VxWorks image project VIP that provides the build information for the first VxWorks virtual machine that appears on the target platform This project is configurable for example to include source code for applications you have created to run on VxWorks vip_wrVbX86_2 This is the VxWorks image project VIP that provides the build information for the second VxWorks virtual machine that appears on the target platform This project is configurable for example to include source code for applications you have created to run on VxWorks vsb_wrVbX86 This is a VxWorks source build library that provides the building blocks for the VIPs mentioned above NOTE The vsb_ wrVbX86 project is not configurable and thus requires no user modification or interaction wr_hypervisor_integration This is a hypervisor integration project that combines the Linux and the two VxWorks images and creates the single hypervisor target image This image is used to boot the target This type of project has
195. rm the target platform likely did not boot from the USB media booting the target platform using the USB media with the image containing my customized code the code does not appear in the VxWorks Linux OSes after the target platform boots Every time you boot the target platform from USB media you must configure the target platform BIOS settings to boot from USB media After configuring the BIOS to boot from USB Media this change is not persistent and the system boots only one time from USB Media On subsequent startups the target platform boots from hard drive Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 205 a in tel Workflow 6 Configure a New Device T0009 While using the development host software to build a new When frequently adding small portions of customized code or small Linux project from scratch the build process takes too components that require frequent recompiling of the Linux project try long using the Rebuild command instead the Build command Rebuild recompiles the Linux project adding only the differences you added since the last full project build Using Rebuild can significantly reduce overall wait time as the project compiles To further reduce build time select fewer components and or work with a development host with powerful processing capabilities During testing on various development host hardware Intel Corporation observed Linux project buil
196. rvicing of this equipment Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 15 intel Se 2 2 2 3 Safety During Installation and or Maintenance The target platform is designed to be repaired and serviced by a designated service representative Any repair servicing or modification of this equipment that requires removal of any covers can expose parts and involves the risk of electric shock or personal injury Make sure that the power switch is off and the product is disconnected from the main power source Refer servicing to qualified personnel See further safety information in the documentation that comes with the target platform Safety Related to Data Preservation A Base Intel Industrial Solutions System Consolidation Series provides development software that you will install onto a user provided computer called a development host Installation of the I ntel Industrial Solutions System Consolidation Series SCS software onto the development host will delete all existing hard drive contents Make certain to back up any contents before installing the development host software Failure to do so will result in loss of the data on the hard drive Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 16 a Intel Industrial Solutions System Consolidation Series Documentation In tel 3 Intel Industrial Solutions System Cons
197. s Chapter The Intel Industrial Solutions System Consolidation Series SCS development host uses Wind River Workbench as its primary development tool Use the Workbench development platform for innumerable development activities called workflows IMPORTANT Before you perform this workflow you must perform Workflow 1 Intel Corporation recommends performing all other workflows previous to this workflow This chapter includes both system background information and instructions for connecting and exploring basic system functionality e FIRST Read and understand this chapter entirely e THEN Re read the chapter and perform the instructions in the workflow In this workflow you use preloaded Linux and VxWorks template projects in Wind River Workbench to quickly develop a target platform image and boot it on the target hardware This workflow helps provide you with basic skills using Workbench in order to reduce source build and compilation time Once built you then load the complete target image onto the target platform and boot it up In this workflow you will have the opportunity to learn how to port your own source code to the VxWorks projects which boot up from independent VM partitions on the target platform This workflow is the shortened version of Workflow 3 Build Linux amp VxWorks OS Images from Scratch which provides instruction for more advanced code importing and for building new Linux and VxWorks VMs from scratch
198. s Guide Document 538056 1 1 167 i n tel Workflow 4 Dynamically Load amp Debug Applications on the Target Platform Into the Entry Point field enter the function you want to debug If you are using the demo program that would be my_main See Figure 152 Entry Point Selection Figure 152 Entry Point Selection Name my_main _demo out VxWorks6x_10 11 0 105 18 Launch Context 3 Downloads 7 Projects to Build D Source Common LEI aul OL atriust al VxWorks6x_10 11 0 105 Wind River Vx We OH VxWorks VIP1 WDBConnection Wind River VxWorks 6 9 H VxWorks_VIP2_WDBConnection Wind River VxWorks 6 9 z General Entry Point ru musl d Browse Arguments Advanced D Apply Revert Close Debug Click Debug In Workbench a Debug console appears at the right and an output Console appears at the bottom At this point you are ready to debug your code in exactly the same way and with the same features used in the Linux example in Section 9 5 Debug Linux Target Platform Content Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 168 a Workflow 5 Assign Persistent Target Platform OS IP Addresses n tel 10 10 1 10 2 Workflow 5 Assign Persistent Target Platform OS IP Addresses About This Chapter The Intel Industrial Solutions System Consolidation Series development host uses Wind River Workbench as its p
199. se Workbench to connect to the booted target platform Go to the Workbench Linux AMIO console At the Linux command prompt type wrproxy amp Press Enter The proxy agent does not produce any output but the proxy is active Next the Linux user mode agent described in section 1 2 must be activated if it is not already At the Linux command prompt type usermode agent V amp Press Enter Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 155 i n tel Workflow 4 Dynamically Load amp Debug Applications on the Target Platform The console produces many lines of output Figure 138 Usermode Agent Output displays the top portion of this output Figure 138 Usermode Agent Output sh 3 2 usermode agent V 8 1 646 assed IGHUP 1 SIGINT 2 SIGQUIT 3 IGTRAP S SIGABRT 6 SIGKILL 9 IGUSR1 10 SIGUSR2 12 SIGPIPE 13 IGALRM 14 SIGTERM 15 SIGSTKFLT 16 IGCHLD 17 SIGCONT 18 SIGSTOP 19 IGTSTP 2 SIGTTIN 21 SIGTTOU 22 SIGURG 23 SIGXCPU 24 SIGXFSZ2 25 IGVTALRM 26 SIGPROF 27 SIGWINCH 28 IGPOLL 29 SIGPWR 3 SIGSYS 31 Scroll to the section of output that displays the UDP port number that the agent monitors See the boxed item in Figure 139 Agent Monitor Port Figure 139 Agent Monitor Port WOB AGENT 3 3 READY c Copyright Wind River Systems Inc 2004 2011 11 rights reserved uild 71 Jul 29 2013 23 16 37
200. sing NPTL threading model aiting on UDP port sh 3 2 Target server o paming tmp queryProperti s 17185 ine 10 11 0 101 connecting Record the port number Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 156 Workflow 4 Dynamically Load amp Debug Applications on the Target Platform i n tel 9 6 2 Creating VxWorks Debug Connection Go to the Workbench Remote Systems window See Figure 140 Remote Systems Window Figure 140 Remote Systems Window Z Remote Systems 3 T Kernel Objects D e By b G Local b H VxWorks_VIP1 WOBConnection Wind Rive D H VxWorks VIP2_WOBConnection Wind River Vx D Aa WRLinux_UserModeAgent_Connection Wind Bis ll al gt Right click the white space within the Remote Systems window A menu appears See Figure 141 White Space Figure 141 White Space A Remote Systems 2 T Kernel Objects D Die D gt amp Local D H VxWorks_VIP1_WDBConnection Wind River VxWd D H VxWorks_VIP2_WDBConnection Wind River VxWe D Ae WRLinux_UserModeAgent_Connection Wind Rive he New Connection LC e port Connection D Select New Connection A Select Remote System Type window appears Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 157 NM e l n tel Workflow 4 Dynamically Load amp Debug Applications on the Target Platform Select Win
201. sistent Target Platform OS IP Addresses Into the Port field type the port number you recorded previously from the linux user mode agent Into the Target name or address field type VNIC IP address of the VxWorks GOS you want to talk to At the Kernel I mage section File field browse to the VxWorks image used by the hypervisor corresponding to the Guest OS you want to connect to Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 159 i n tel Workflow 4 Dynamically Load amp Debug Applications on the Target Platform Click Finish The development host connects to the target platform and a new connection icon appears in the Remote Systems window A remote connection is established See the arrowed item in Figure 144 Remote Connection Figure 144 Remote Connection A Remote Systems 23 SAS A H SS ECY Y amp Wind River Target Debugger Wind R VxWorks 6 9 CORE sys W Kernel Tasks gt Real Time Processes vx Works OxE Symbol Me hi ml Wind River Launches RT eg Expand the icons under the new connection until you see the Kernel Tasks object Optionally expand the Kernel Tasks icon to view the various OS tasks See Figure 145 VxWorks Live Tasks Figure 145 VxWorks Live Tasks A Remote Systems 17 P r NM WR Oo Die VxWorks 6 CORE sys v Kernel Tasks 4 ipcom_syslogd OxE010D8 Pu A ipcom_teinetd 0xE21010
202. so that the development host boots from USB media upon next startup Boot the development host from the Development Host USB media If the development host still does not boot from the Development Host USB media try using a different USB port or try using different development host hardware T0002 When attempting to install development host software to Before you can install the development host software onto the the development host the I nstall to Hard Drive icon does development host you must first license the Development Host USB media The licensing process includes placement of a license file into a specific file directory Make certain you place the file into the correct location and follow the instructions provided in Section 6 6 License the System After placing the license file into the proper Development Host USB media directory and booting the development host from the USB media it may take several minutes for the Install to Hard Drive icon to appear not appear Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 203 i n tel Workflow 6 Configure a New Device When attempting to install development host software to Installation time depends greatly upon the performance factors of the the development host the installation takes too long user provided development host These factors include processor speed hard drive speed and overall throughput among other fact
203. t Save Figure 49 File gt Save Edit Source Refactor Navigate Search Project Target New Shift AlttN gt Open File Close Ctrl W Close All Shift Ctrl W Ctri S El Save As Save All Shift Ctrl S Revert The file saves to the system Repeat this procedure to embed source code for VxWorks 2 vip_wrVbX86_ 2 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 69 Workflow 2 Develop With Preloaded Workbench Projects 7 5 2 Build the Hypervisor I ntegration Project In Project Explorer go to and right click the vip_wrVbX86_1 object Select Rebuild Project See Figure 50 Rebuild Project Figure 50 Rebuild Project n prjParams h usrApplnit c usrRtpApplnit c D Project Explorer SR WHK Go Into Kernel Configure E vxWorks bin def E vx Works hex de Paste bk E vxWorks defaul X Delete b Ce Binaries Attributes D gt e Includes Bes bk default Rename gt GawrVbX86 Source linkSyms c Se R prjComps h es Import A prjConfig c CO Export New Edit Kernel Configuration Open in New Window OD Open Wind River VxWorks 6 9 Development Shell EN Refresh Close Project A Remote Systems Si gt Ef Local gt HB VxWorks_VIP2_W gt 8 a tig VxWorks_VIP1_W Rebuild Project Close Unrelated Projects Project References Build Proj
204. t OS6S ccc nutran Srnu nSrnANEENENEEASEEENEEEENEER SENERS EEE REENE nS 188 Table 8 Sample ScenaNiO WEEN 189 Table 9 Installation Troubleshooting ssssssssserssserssrrrsrrersrrensrrnrrrrarerrerrrserirserrrnerarsernnsrrans 203 Table 10 Installation Troubleshooting sssssssssssssssrrnsnrnturr ened 205 Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 10 RE intel Revision History C ees 2 12 2014 Official release for Intel Industrial Solutions System Consolidation Series SCS version 1 0 6 20 2014 New licensing instructions added Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 11 intel Ree 1 Introduction This document is written for use by system developers including embedded system developers This content assumes advanced knowledge of installing and configuring hardware and software for a personal computer system Engineers using this document should be familiar with the use of and programming of e Wind River Hypervisor e Wind River Linux e Wind River VxWorks e Wind River Workbench IMPORTANT Read and understand this document in its entirety before performing any activities such as installing software and starting up the system IMPORTANT This content may be updated without notice To ensure that you are reading the most recent document check the product support website www intel com i
205. t you start the target platform from USB media follow this procedure each time you need to boot from USB media Shut down the target platform and wait 5 seconds Place the bootable USB media into an open USB port preferably a blue USB 3 0 port Press and release the target platform power button The target platform begins to start As the target platform begins to start repeatedly press the DELETE button Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 194 Workflow 6 Configure a New Device i n tel The target platform enters the BIOS Main tab See Figure 175 BIOS 1 Figure 175 BIOS 1 Aptio Setup Utility Copyright C 2011 American Megatrends Inc tem Language English Use the right arrow key to go to the Save amp Exit tab See Figure 176 BIOS 2 Figure 176 BIOS 2 Aptio Setup Utility Copyright C 2011 American Megatrends Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 195 i n tel Workflow 6 Configure a New Device Use the down arrow key to move the highlighted selection to the USB media See Figure 177 BIOS 3 NOTE In this example the USB media is named ADATA USB Flash Drive 1100 Your USB media may have a different name Figure 177 BIOS 3 ADATA USB Flash Drive 1100 Press Enter The target platform boots from USB media On the development host c
206. tandards body or in the case of interfaces specified for a particular programming language one that is widely used among developers working in that language The System Libraries of an executable work include anything other than the work as a whole that a is included in the normal form of packaging a Major Component but which is not part of that Major Component and b serves only to enable use of the work with that Major Component or to implement a Standard Interface for which an implementation is available to the public in source code form A Major Component in this context means a major essential component kernel window system and so on of the specific operating system if any on which the executable work runs or a compiler used to produce the work or an object code interpreter used to run it The Corresponding Source for a work in object code form means all the source code needed to generate install and for an executable work run the object code and to modify the work including scripts to control those activities However it does not include the work s System Libraries or general purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work For example Corresponding Source includes interface definition files associated with source files for the work and the source code for shared libraries and dynamically linked subprograms that the wo
207. tel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 197 To determine a specific device s BDF ID and Vendorl D DevicelD refer to the values that appear in each line See Figure 180 Device BDF and VendorlD Devicel D Information Workflow 6 Configure a New Device Figure 180 Device BDF and Vendorl D Devicel D Information PCI devices bus6 dev66 func6 pind 6x6156 6x8 486 Host Bridge Device bus dev61 funcO pini 6x0151 6x8086 INT 16 PCI Bridge Device bus0 dev02 funcO pini 0x0152 0x8086 INT 16 UGA Display Controller SS 1 2 3 KS En Device Vendorl D Devicel D Information about the kind of device Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 198 Workflow 6 Configure a New Device i n tel Appendix A Default I O Device Assignment A 1 Default Physical Device Allocations Default Physical Device Allocations Intel Industrial Solutions System Consolidation Series SCS comes with preconfigured physical device allocations as shown in Figure 181 Target Platform Devices 1 and Figure 182 Target Platform Devices 2 Figure 181 Target Platform Devices 1 12 3 456 Ke E SSC VM USB 3 0 Denoted by blue connector color USB 2 0 VxWorks 1 Denoted by black connector color Basic non graphical command line style video only supported at this time Lamm Lem sesar
208. the business of distributing software under which you make payment to the third party based on the extent of your activity of conveying the work and under which the third party grants to any of the parties who would receive the covered work from you a discriminatory patent license a in connection with copies of the covered work conveyed by you or copies made from those copies or b primarily for and in connection with specific products or compilations that contain the covered work unless you entered into that arrangement or that patent license was granted prior to 28 March 2007 Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law 12 No Surrender of Others Freedom If conditions are imposed on you whether by court order agreement or otherwise that contradict the conditions of this License they do not excuse you from the conditions of this License If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations then as a consequence you may not convey it at all For example if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program 13
209. the change you made to the override esh file Right click the wr_hypervisor_integration object and select Rebuild See Figure 171 Rebuild Hypervisor Project Figure 171 Rebuild Hypervisor Project Kees CH Export File Edit Navigate Sea HD Refresh S o e e Open Wind River Workbench 3 3 4 Development Shell Close Project l Project Explorer H Close Unrelated Projects gt E vip_wrVbx86_1 Wi Project References b tb vip wrVbx86_2 Wi Build Project D eS vsb_wrVbX86 W in diamhsa iia h Mm Came Build Options b ewrlinux_ugos Wind Run Linux Application Process Debug Linux Application Process The system rebuilds the Hypervisor and your updated target platform configuration to a new system elf file Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 191 l n tel Workflow 6 Configure a New Device A EEN Intel Corporation provides you with the target platform media USB for copying the system elf file from the development host to the target platform However copying data onto the target platform USB media may cause the data on the media to be overwritten Make certain to back up data before using the media Failure to do so may result in the loss of the data on the media At the development host insert a Linux formatted USB media with 16 GB or more free space into an open USB port The USB media mounts to the Linux file system In Workbench
210. the contents from the development host to the target platform As the content transfers from host to target on the bottom right of Workbench a Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 163 a n tel Workflow 4 Dynamically Load amp Debug Applications on the Target Platform console appears window showing the progress of the download and the content file structure build e If the download completes correctly the console displays a Build Finished statement at the bottom of the console and a new line appears in the VxWorks connection containing the DKM s filename See Figure 148 Successful DKM Download e If the download does not complete correctly the console displays an error statement at the bottom of the console with an indication of what the error entails Figure 148 Successful DKM Download 9 9 Ai Remote Systems 3 Sp Sa D amp GC AALL 3 mye vevegyt Ea v VxWorks 6 9 gt Kernel Tasks P Real Time Processes Run the content and view the results Debug VxWorks Target Platform Content Use these steps to perform a debug procedure for a simple DKM We use the project created in Section 9 8 In Workbench Project Explorer select the c_demo project Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 164 e e Workflow 4 Dynamically Load amp Debug Applications on the Target Pl
211. the launch operations x E Sr Name wrLxProject out WRLinuxUser_10 11 0 105 frype fiter text L 28 Launch Context 2 Fite Copy Deploy Projects to Budd O Common gt Q Linux Application Prd Launch Context o WO 2 S wr Lx Propect out S default localhost UI e VxWorks Kernel Tas Ze WRLinux_UserModeAgent_Connection Wind River Linux Platform 4 3 A WRUnuxUser_10 11 0 1 5 Wind River Linux Platform 4 3 E gt Filter matched 3 of 3 items Close Download Click the File Copy Deploy tab Use the bottom horizontal scroll bar to view the entire contents of the File Copy Deploy window The window s development Host location column shows the location of the content you wish to deploy to the target The executable is preconfigured since we are doing a download from an application project If you have an existing executable that is not part of a workbench project you could use the Edit button to replace the file or even use Add to download multiple applications The Target Location absolute path and filename column shows where on the target the file would be copied Note that workbench does not know the file structure of the target so the path is more than likely wrong and will need to be edited NOTE If you initially open the download window from something other than a Linux Application project it is possible that no files are present in the File Copy Deploy tab
212. the scroll bar or reposition the window to view all of the window s contents At the bottom of the Configure Options window there is an Option Value pane At the right of the Option Value pane use the Add and Remove buttons to configure the list with the following options enable parallel pkgbuilds 4 enable rm oldimgs yes enable rm work yes with package inetutils telnetd git openssl openssh grub Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 118 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel Click the Add button A Configure Options window appears See Figure 100 Configure Options 2 Figure 100 Configure Options 2 X Configure Options Choose an option any character any string enable core branch branch enable debuginfo split yes no enable doc pages target none enable internet download yes no enable jobs 1 n enable kvm multi guest build guest1 guest2 questN enable multilib mlib enable parallel pkgbuilds 1 n enable patchresolve noop user enable prelink yes no enable rm oldimgs yes no enable rm work yes no enable scalable mklibs none eb Option enable rm work yes p e Description Incrementally remove objects from your build area after the build successfully completes default no G
213. ting driver INCLUDE_DISK_UTIL from the VxWorks project IMPORTANT If you do not exclude this conflicting driver from the VxWorks project then the VxWorks OS may not boot on the target platform Press Ctrl F A Find window appears This utility allows you to search for components in the Kernel Configuration Tool In the Pattern field type INCLUDE_DISK_UTIL An object corresponding to the name you type appears in the Matching pane Double click the object in the Matching window The Find window closes and the component appears as a highlighted item in the Component Configuration window In the Component Configuration window right click INCLUDE_DISK_UTIL and select Exclude quick exclude A progress window appears momentarily as the component unloads The system returns to the Component Configuration window and the component you just removed appears as an unbolded item Press CTRL S to save the project Right click the myvip_ wrVbX86_ 2 object and select Rebuild Project The VxWorks project rebuilds Add User Applications to the VIP Using Real Time Process RTP You can use Real Time Process RTP projects to manage build and incorporate applications in user space Workbench provides pre configured templates for various types of projects and lets you create and import these project templates In this case we will use an existing example RTP project to create a simple Hello World executable Once your development work is
214. tion Inc lt http fsf org gt Everyone is permitted to copy and distribute verbatim copies of this license document but changing it is not allowed Preamble The GNU General Public License is a free copyleft license for software and other kinds of works The licenses for most software and other practical works are designed to take away your freedom to share and change the works By contrast the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program to make sure it remains free software for all its users We the Free Software Foundation use the GNU General Public License for most of our software it applies also to any other work released this way by its authors You can apply it to your programs too When we speak of free software we are referring to freedom not price Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software and charge for them if you wish that you receive source code or can get it if you want it that you can change the software or use pieces of it in new free programs and that you know you can do these things To protect your rights we need to prevent others from denying you these rights or asking you to surrender the rights Therefore you have certain responsibilities if you distribute copies of the software or if you modify it responsibilities to respect the freedom of others For exa
215. to run modify and propagate that work subject to this License You are not responsible for enforcing compliance by third parties with this License An entity transaction is a transaction transferring control of an organization or substantially all assets of one or subdividing an organization or merging organizations If propagation of a covered work results from an entity transaction each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party s predecessor in interest had or could give under the previous paragraph plus a right to possession of the Corresponding Source of the work from the predecessor in interest if the predecessor has it or can get it with reasonable efforts You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License For example you may not impose a license fee royalty or other charge for exercise of rights granted under this License and you may not initiate litigation including a cross claim or counterclaim in a lawsuit alleging that any patent claim is infringed by making using selling offering for sale or importing the Program or any portion of it 11 Patents A contributor is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based The work thus licensed is called the contributor s contributor version A contributor s essential patent
216. u determine your development host PC s JD and Host Name A keen After you determine your development host Host ID and Host Name you later install the development host software onto the development host PC you provide When installing the development host software the system destroys all data including any applications and OSes already installed on your development host PC hard drive Make certain to back up all data to external storage media before installing the development host software Failure to do so may result in loss of data on the development host Before you can license and activate your development host software you must first provide some information specific to your development host PC Part of the information you provide is your development host PC s e Host Name A system name assigned to the development host PC e Host ID An 8 or 12 character hexadecimal number If your development host PC does not have a pre existing OS If your development host PC does not have a pre existing OS Insert the Development Host USB media into your development host and boot PC from that media After the system boots a Linux development desktop appears Follow the instructions in Section 6 6 2 1 3 For Linux OS to determine the development host Host 1D and Host Name If your development host PC does have a pre existing OS Many times a development host is already running one of the operating systems mentioned in the follow
217. ucture and project references Ki Referenced subprojects E helloworld Wind River VxWorks 6 9 Real Time Process Project 2 L pp Wind River Linux Platform Base 5 0 1 Application Project m og my_wrlinux_ugos_glibc_std Wind River Linux Platform Base 5 0 1 Platform Project og wrLxProject Wind River Linux Platform Base 5 0 1 Application Project oO H Oo P amp wr _hypervisor_integration Host OS Native Development User Defined Project amp wrlinux_ugos_glibc_std Wind River Linux Platform Base 5 0 1 Platform Project BD O c ete ee EC In the Project Structure wizard s Referenced subprojects panel select the helloworld project Click Finish Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 111 a l n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch A new editor panel opens with a tab titled my_romfs See Figure 93 my_romfs Tab Figure 93 my_romfs Tab my romfs D m Filtering O Show all projects Host contents Target contents v my romfs Wind River VxWorks 6 9 ROMF gt B helloworld Wind River VxWorks 6 9 Rei X cproject project X wrproject Add External New Folder Ss D Expand All Collapse All Target path Host path In the host contents pane open the helloworld project node by clicking on the triangle Descend into t
218. urce code to both Linux and the VxWorks partitions Initialize Linux User Mode Agent By default Linux s debug agent does not execute at start up In order to begin a remote session with the Linux OS start the User Mode Agent Follow the procedure Connect the target platform to an Ethernet cable before booting up Use Workbench to connect to the booted target platform Go to the Workbench Linux AMIO console At the Linux command prompt type usermode agent V amp Press Enter Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 137 i n tel Workflow 4 Dynamically Load amp Debug Applications on the Target Platform The console produces many lines of output Figure 119 Usermode Agent Output displays the top portion of this output Figure 119 Usermode Agent Output sh 3 2 usermode agent V 8 1 646 assed IGHUP 1 SIGINT 2 SIGQUIT 3 IGTRAP S SIGABRT 6 SIGKILL 9 IGUSR1 10 SIGUSR2 12 SIGPIPE 13 IGALRM 14 SIGTERM 15 SIGSTKFLT 16 IGCHLD 17 SIGCONT 18 SIGSTOP 19 IGTSTP 20 SIGTTIN 21 SIGTTOU 22 SIGURG 23 SIGXCPU 24 SIGXFS2 25 IGVTALRM 26 SIGPROF 27 SIGWINCH 28 IGPOLL 29 SIGPWR 3 SIGSYS 31 Scroll to the section of output that displays the UDP port number that the agent monitors See the boxed item in Figure 120 Agent Monitor Port Figure 120 Agent Monitor Port WOB AGENT 3 3 READY c
219. user WindRiver vxworks 6 9 target src demo cplusp Y Browse P factory h Filter Types Select All Deselect All Into folder myDKM_oproject Options L Overwrite existing resources without warning O Create top level folder KA lt Back Next gt Cancel Under the right pane check the application components you wish to enable Click Finish The application source imports into Workbench Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 96 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch i n tel 8 4 5 Build the Project After you have created and configured your project you must build it You can use kernel applications linked with the VxWorks kernel itself You can also create custom static libraries for use with kernel applications NOTE For more information on projects and project structure see Wind River Workbench User s Guide Projects Overview You can build VxWorks kernel applications and associated libraries by adding your DKM project to the VIP and then build it To add a DKM project to the VIP follow this procedure Right click the Downloadable Kernel Module project select Project References gt Add as Project Reference An Add as a Project Reference window appears See Figure 78 Project Reference Figure 78 Project Reference Add as Project Reference Superprojects referencing
220. ver Virtual Boar Memory Size Ox7effeee 126 Created Aug 8 2013 14 46 EDSR Policy Mode Deployed WOB Comm Type WOB_COMM_ENO WO3 Ready gt This concludes a basic demonstration of working with preconfigured Workbench projects Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 78 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch n tel 8 1 8 2 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch About this Workflow This workflow is the long form version of Workflow 2 Develop With Preloaded Workbench Projects which uses prebuilt Project Explorer projects for quick productivity Here you follow very detailed instructions to create projects VSB VIP Linux Platform Project Hypervisor Integration project from scratch Use these instructions for example if you determine that using the prebuilt projects that come with Workbench do not meet your development needs After building new projects from scratch you can then use them to create a new target platform boot image Once built you then load the target image onto the target platform and boot it up In this workflow you will have the opportunity to learn how to add your own source code to both Linux and the VxWorks VMs Preface The Intel Industrial Solutions System Consolidation Series SCS target platform system loads three guest operating systems GOSes Using Wind River Workb
221. visor_integration objects Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 129 MN e l n tel Workflow 3 Build Linux amp VxWorks OS I mages from Scratch 8 8 Copy SYSTEM ELF to Target Platform USB Media Intel Industrial Solutions System Consolidation Series SCS comes with a GRUB2 bootable target USB drive Use this USB drive to simplify the process of booting the system on the target Follow the procedure below to use the target platform USB media to boot the target platform Plug the Target USB into the development host The Target USB automatically mounts to media lt mount_dir gt In the Project Explorer tab right click the wr_hypervisor_integration HIP and select Open Wind River Workbench 3 3 4 Development Shell A command line interface window opens into the directory of the Hypervisor Integration Project you created previously In this next step you back up the system elf file that currently resides in the images directory on the USB NOTE The file paths given in the command line steps below are for example purposes only The file path on which your system elf file resides may vary To determine the exact path of your system elf file in Project Explorer right click the system elf object and select Properties A window appears showing the file path At the command line interface type the command below and press Enter cp media lt mount_dir gt images system elf
222. w and change the development host and target platform file system locations for content you wish to copy e Remove To use this function select an existing download configuration Click the Remove button to permanently remove that download configuration This procedure assumes you will edit and run an existing line item Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 145 LI n tel Workflow 4 Dynamically Load amp Debug Applications on the Target Platform Click the Edit button An Edit window appears See Figure 128 Edit Window Figure 128 Edit Window Edit x File Transfer Edit target or host location or the transfer direction Host File pc std i686 wriinux_4 wrLx Project Debug wrLxProject out YW ig Target Locatior binMello Linux out wi Transfer direction Host to Target P Target to Host Cancel OK Edit the locations of the host File and target Location fields if needed NOTE Because the default path on the configuration usually refers to a path that does not exist on the target platform you may need to edit the Target Location value Select the Host to Target radio button Click OK The system copies the contents from the development host to the target platform The Edit window closes and the Download Configurations window reappears listing the modified download configuration Click Download The system downloa
223. w appears See Figure 33 Open AMIO Console Figure 33 Open AMIO Console Open AMIO Console X Connection Type Serial Port c Settings Port dev ttySO mA Baud Rate 9600 R Data Bits Stop Bits 1 Ge Parity None S Flow Control None S Timeout sec 5 MI Automatically connect to new channels Open each channel in a separate view Cancel OK Select the parameters shown in Figure 33 Open AMIO Console Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 56 A Workflow 1 Set Up amp Explore the System Features i n tel NOTE If you are connecting through a USB to serial connector you may not be able to connect using the Port parameter dev ttySO above If you are unable to connect using the dev ttySO try connecting with dev ttyUSBO Later references to this connection in this document assume you use the dev ttySO connection Click OK This opens up an AMIO connection at the development host serial port Near the bottom right section of the Workbench workspace there is a grayed out connected icon adjacent to a red disconnect icon See Figure 34 Disconnect Icon The red icon indicates the development host is listening for a connection to the target platform Figure 34 Disconnect I con AMIO Console X i Optionally click the red disconnect ico
224. w to move the object into the Install Target Devices pane See Figure 20 Install Target Devices Figure 20 Install Target Devices Fedora Installer Below are the storage devices you ve selected to be a part of this installation Please indicate using the arrows below which devices you d like to use as data devices these will not be formatted onty mounted and which devices you d like to use as installation target devices these may be formatted Please also indicate which system drive will have the bootloader installed Data Storage Devices to be mounted only Install Target Devices Model Capacity Vendor Identifier Des Mode Comes iia USB DISK 2 0 15258 MB pci 0000 00 1d O usb 0 1 5 1 0 scsi 0 0 0 C ATA INTEL SSOSCZCW12 114473 MB pci 0000 00 1f 2 scsi O 0 0 0 EET Tip The install target devices will be reformatted and wiped of any data Make sure you have backups Click Next A small Examining Devices window appears and the software begins to install See Figure 21 Examining Devices Figure 21 Examining Devices Examining Devices Examining storage devices C _ Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 46 A Workflow 1 Set Up amp Explore the System Features n tel Numerous other process windows appear and disappear as the system installs See Figure 22 System Installs Figure 22 System Installs Fedo
225. wiVbX86_1 prjextraModules ts 7 version o usrEntry o start group Uhome wruser workspace vab_ wr VbX86 pentium CORE gnu_standard Uhome wruser workspace vsb_ wt VOX86 pentsuny CORE gnu Lihome wruser workspace vsb_ wr VDX8 defsym VX DATA ALIGN 1 T home wruser WindRiver vxworks 6 9 target h tool gnu ldscripts link RAM o vxWorks true vxWorks VX_CPU_FAMIL Y pentium nomne wruser WindRiver veworks 6 9 host x86 linux 2 bin vxsize v 00108000 00408000 vxWorks vxWorks 1917424 t 182912 d 190496 b 2290832 rm ipcom_ipdomain make 1 Leaving directory home wruser workspace myvip_wrVbX86_1 defauit make budt targets of home wruser workspace mynp wrVbX86_3 Build Finished in Project myvip weVbX86 1 2013 12 13 19 37 21 Elapsed Time 00 03 a La D Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 99 intel 8 5 8 5 1 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch The resulting executable is located in the project s default folder and is called vxWorks home wruser workspace myvip_wrVbX86_1 default Create VxWorks Guest OS 2 The procedure for creating VxWorks Guest OS 2 will be very similar to the steps for creating VxWorks 1 NOTE For more information see Hypervisor User s Guide section 16 3 Example Hypervisor Standard Profile with a VxWorks Guest Intel Create the second VxWorks I mage Project VIP Go to File gt
226. ws the Hypervisor I O e Channel 1 This shows the Linux I O e Channel 2 This shows the I O for VxWorks 1 e Channel 3 This shows the I O for VxWorks 2 The code you inserted into the usrAppl nit c object in the development host VxWorks project runs and displays See the boxed content in Figure 61 AMIO Consoles Figure 61 AMIO Consoles AERCH D r on cpu tortgr on cpu ck 106 Hz ived unmapped 13 ived unmapped 3 ived unmapped 2 available created oU irq2i B 1F 2 8086 1 02 class 0106 80G2 Lavite ed t port 0170 master INTEL SSDMAE e ForAte mnr ge Bca a Bas f Ge af B E E Channel 2 COM1 z Target Name vxTarget ERROR ipcom_drv_eth_init drvname vnic drvunit Adding 6745 symbols for standalone IwdbCommevInit Could not find device vnic unit bdbCommPevInit could not get device nome hedbconfig error configuring WDS communication interface Development System Vaidocks 6 9 KERNEL WIND version 2 Copyright Wind River Sys Processor 30 BSP version 6 9 2 CPU Wind River Virtual Board X86 Memory Size Ox7eff00 126 b Created Aug 14 2613 06 19 51 EDER Policy Mode Deployed NOB Comm Type WOB_COMM_END WDB Agent configuration failed Ei EES Le m D DIE AMIO Channel3 22 EI Channel 3 COMI Target Name vxTarget Adding 6797 symbols for stand CPU Wind Ri
227. wxrwx link root root sysvinit 2 88d e S10checkroot sh gt init d chec lrwxrwxrwx link root root initscripts 1 0 E S1Ovnicinstall FWXTWXT X wruser wruser added O O O O O O i gt e amp S35mountall sh gt init d mount lrwxrwxrwx link root root initscripts 1 0 In the Filesystem Layout configuration window right click the etc inittab object Select Remove In the Filesystem Layout configuration window right click the ete directory Select Add from the menu A window appears In the file browser dialog go to home wruser workspace custom_files Select the inittab object and click OK In the Filesystem Layout editor right click on lib directory Select Add from the menu In the file browser dialog go to home wruser workspace vnic_module vbi Select the vbi ko object and click OK Right click the lib directory again Select Add from the menu In the file browser dialog go to home wruser workspace vnic_module vnic Select the vnic ko object and click OK From the Workbench menu select File gt Save In Project Explorer double click Kernel Configuration NOTE If a dialog appears click YES to continue The kernel sources unpack This may take several minutes The Linux Kernel Configuration editor appears Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 123 Workflow 3 Build Linux amp VxWorks OS I mages from Scratch intel Right clic
228. y appear in Workbench s top workspace console the Project Explorer Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 65 Workflow 2 Develop With Preloaded Workbench Projects Figure 45 Project Explorer Bi i Sr y 4 s Project Explorer D File Navigator es SS vip_ wrVbX86 _1 _orig Wind River VxWorks 6 9 Image Project vip_wrVbX86_2 Wind River VxWorks 6 9 Image Project D vsb_wrVbX86 Wind River VxWorks 6 9 Source Build Kernel Cp wr _hypervisor_integration Host OS Native Development Us Vv Vv 7 VY YT 1 a Qo wrlinux_ugos_glibc_std Wind River Linux Platform Base 5 0 1 Workbench uses preconfigured projects These projects are prebuilt packages that help reduce time you spend in development effort The development host system comes pre loaded with five preconfigured projects vip_wrVbX86_1 This is the VxWorks image project VIP that provides the build information for the first VxWorks VxWorks 1 OS that appears on the target platform This project is configurable for example to include source code for applications you have created to run on VxWorks vip_wrVbX86_2 This is a VIP just like the VxWorks 1 project vip_wrVbX86_ 1 immediately above It corresponds to the VxWorks VxWorks 2 OS that appears on the target platform This project is also configurable vsb_wrVbX86 This is a VxWorks source build library that provides
229. ystem Consolidation Series SCS development host uses Wind River Workbench as its primary development software See Figure 8 Workbench Workspace Figure 8 Workbench Workspace STP EE vr HN Advanced Device Development Wind Riven Workbench mAAR File Edit Navigate Search Project Target Analyze Run YoctoProjectToole Window Help se rs a E gt SO a F pg Ves t o sF PS D ER D Project Explorer H File Navigator SE Shin D F Outline H o b oh vp_wrvbxs6_1 An outline is not available b eh vip_wrvbx86_2 Re gt ab wrhypervisor integration gt eB wriinux ugos SD AMIO Console H e0 A Remote Systems H I Kernel Objects o B S T b Local b H vxWorks_VIP1_WDBConnection V D Hi VxWorks VIP2 WDB Connection gt Ze WRLinux UserModeAgent Connection W 30M of 62M 8 Workbench is an Eclipse based development suite that provides an efficient way to develop real time and embedded applications with minimal intrusion on the target system It is an integrated development environment for creating software that runs on embedded Wind River Linux or VxWorks systems Workbench includes a full project management facility in addition to a suite of tools for source code development debug and analysis It provides the capability to manage multiple processes and threads on Linux and VxWorks systems For more information about Workbench please refer to the Wind River documentation Find other Wind River documents in Workbench under He
230. ystem Consolidation Series User s Guide Document 538056 1 1 88 a Workflow 3 Build Linux amp VxWorks OS I mages from Scratch n tel Double click the matching object The Find window closes and the component appears as a highlighted item in the Component Configuration tab See Figure 69 Highlighted Item Figure 69 Highlighted Item B creation log myvip wrVbX86_1 38 m Components Component Configuration Description Name Type vat gt amp hardware default FOLDER HARDWARE gt BSP configuration variants default FOLDER_BSP_CONFIG Y Bus Support FOLDER_BUS gt RapidlO Bus Support FOLDER RAPIDIO BUS O Inter Integrated Circuit Bus INCLUDE_I2C_BUS O PCI Bus Auto Configuration Routines INCLUDE_PCI_BUS_AUT PCI Bus Show Routines INCLUDE_PCI_BUS_SHC G PCI Bus legacy Auto Configuration Routines INCLUDE_PCI_OLD_CO G Peripheral Component Interconnect Bus INCLUDE PCI BUS C Processor Local Bus default INCLUDE_PLB_BUS G vxBus subsystem default INCLUDE_VXBUS EN a DI Synopsis Log PCI Bus Show Routines i Defined at JS D RB Overview Bundles Components Right click the component and select Include quick include A progress window appears momentarily as the component loads The system returns to the Component Configuration tab and the component you just added appears as a bolded item See Figure 70 Bolded Item Figure 70 Bolded Item Inter Integrated Circuit Bus INC
231. ze OxO5abc800 Create Boot Image home wruser workspace wr_hypervisor_integration objects system elf Copy Hypervisor code done Copy new ROMFS image done Padded with 200 bytes done ROMFS new size 0x05ab4800 Update boot header done Write ELF header done All done Build Finished in Project wr_hypervisor_integration 2013 10 15 18 38 47 Elapsed Time 00 03 Minimize Workbench Use Linux File Explorer to navigate to the root directory of the USB media Paste the system elf file to the root directory of the USB media After the file finishes copying unmount the USB media and remove it from the development host Make certain that the target platform is powered down Ensure that no other bootable media are inserted into the target platform Intel Industrial Solutions System Consolidation Series User s Guide Document 538056 1 1 193 l n tel Workflow 6 Configure a New Device Insert the USB media into an open port on the target platform NOTE For a faster boot Intel Corporation recommends you connect the boot media to a USB 3 0 port on the target platform Arrows in Figure 174 USB 3 0 Ports provide the locations of two target platform USB 3 0 ports Figure 174 USB 3 0 Ports 11 2 Configure Target Platform BI OS to Boot from USB Media Before booting the target platform from USB media you first configure the target platform BIOS to boot from USB media NOTE To ensure tha

Download Pdf Manuals

image

Related Search

Related Contents

取扱説明書  PRIME 1 – ISOLATION DU TOIT  Triarch 29764 User's Manual  SB-912i-004iS Version Française  HURRICANE USER MANUAL - Whiz Stick Balance Scooters    Milwaukee Instruments SM500 User's Manual  取扱説明書  ICY BOX IB-AC506  INSTALLATION AND OPERATION MANUAL  

Copyright © All rights reserved.
Failed to retrieve file