Table of Contents

Advertisement

Quick Links

»
«
VX304x, VX3035, VM6050 & VM6052/54
Release Notes Fedora 16
on VX304x, VX3035, VM6050 & VM6052/54
Version 3.4 - ID 15111
SD.DT.G11-7e
- July 2015
If it's embedded, it's Kontron.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VX304x and is the answer not in the manual?

Questions and answers

Summary of Contents for Kontron VX304x

  • Page 1 » « VX304x, VX3035, VM6050 & VM6052/54 Release Notes Fedora 16 on VX304x, VX3035, VM6050 & VM6052/54 Version 3.4 - ID 15111 SD.DT.G11-7e - July 2015 If it's embedded, it's Kontron.
  • Page 2: Revision History

    Initial Version 04-2013 Copyright © 2015 Kontron AG. All rights reserved. All data is for information purposes only and not guaranteed for legal purposes. Information has been carefully checked and is believed to be accurate; however, no responsibility is assumed for inaccuracies.
  • Page 3: Proprietary Note

    This document contains information proprietary to Kontron. It may not be copied or transmitted by any means, disclosed to others, or stored in any retrieval system or media without the prior written consent of Kontron or one of its authorized agents.
  • Page 4: For Your Safety

    Therefore, in the interest of your own safety and of the correct operation of your new Kontron product, you are requested to conform with the following guidelines.
  • Page 5: Special Handling And Unpacking Instructions

    General Instructions on Usage In order to maintain Kontron’s product warranty, this product must not be altered or modified in any way. Changes or modifications to the device, which are not explicitly approved by Kontron and described in this manual or received from Kontron’s Technical Support as a special handling instruction, will void your warranty.
  • Page 6: Table Of Contents

    6.1.2 Udev Rule (only for VX304x and VM6052/VM6054) ....... .
  • Page 7 Fedora 16 Release Notes Table Of Contents VXFabric ............... . Chapter 7 - BSP Specific Features .
  • Page 8 Fedora 16 Release Notes Table Of Contents 9.2.1 Under BIOS ..............9.2.2 Under Linux .
  • Page 9: Chapter 1 - Overview

    The goal of this document is to help you through the installation process of the Fedora 16 BSP distribution on the Kontron VX304x, VX3035, VM6050 & VM6052/54 boards. In this document, the terms VX304x, VX3035, VM6050 and VM6052/VM6054 are used for the VX304x, VX3035, VM6050 and VM6052/VM6054 boards in standard or rugged conduction-cooled version: VX304x 3U VPX Computing Node >...
  • Page 10 Overview Fedora 16 Release Notes In this document, the terms VX304x-RTM, VX3035-RTM, VM6050-RTM and VM6052/VM6054-RTM are asso­ ciated to the VX304x, VX3035, VM6050 and VM6052/VM6054 Rear Transition Module (RTM): VX304x-RTM Rear Transition Module for the single-slot 3U VPX board > PB-VX3-4xx VX3035-RTM Rear Transition Module for the single-slot 6U VPX board >...
  • Page 11: Chapter 2 - Release Content

    Fedora 16 Release Notes Release Content Chapter 2 - Release Content In this document the term Ki7 is used to refer to a board among the VX304x, VX3035, VM6050 & VM6052/54 boards. The release is made of: > Fedora 16 x86_64 DVD for Ki7 boards This distribution includes the standard Fedora 16 Linux release as well as the BSP packages related to the Ki7 boards.
  • Page 12 Release Content Fedora 16 Release Notes The 'Fedora 16 x86_64 DVD for Ki7 boards' contains Kontron source packages. SRPMS These packages are present in the ' ' folder. Below an example of source packages available : cpld-1.2-15111.src.rpm e1000e-2.3.2-15111.src.rpm hwtools-1.3.7-15111.src.rpm ki7_bsp-3.4-15111.fc16.src.rpm turbostat-1.0-1.fc16.src.rpm...
  • Page 13: Chapter 3 - Associated Documentation

    Kontron Documentation > Hardware 4 VX304x 3U VPX Computing Node User's Guide ......
  • Page 14: Chapter 4 - Required Configuration

    > The Fedora 16 release may be installed on one of the following bootable disks: 4 a SATA disk connected to the SATA connectors available on VX304x-RTM board. 4 an optional onboard USB Flash Disk. 4 an optional onboard SSD Flash Disk >...
  • Page 15: Hardware Requirements For Vm6052/Vm6054 Board

    4.1.4 Hardware Requirements for VM6052/VM6054 Board > A Kontron VM6052/VM6054 board > The Fedora 16 release may be installed on one of the following bootable disks: 4 a SATA disk connected to the SATA connectors available on the VM6052-RTM/VM6054-RTM board.
  • Page 16: Software Requirements

    Ki7 Board Support Package 3.3 [14085] > ISO file image: the Kontron DVD can be delivered as ISO image format to customer. To know how to create a USB flash disk from ISO image on Fedora 16, see chapter 10 “Create a USB Flash Disk from DVD Iso Image”...
  • Page 17: Dvd-Rom Installation Example

    DVD-ROM Installation Example for VX304x Board 1. Plug a DVD-ROM USB device to the front panel USB connector using a standard USB cable. 2. Plug the HDD SATA device on the SATA0-A connector of the Rear Transition Module (VX304x-RTM). USB 2.0...
  • Page 18: Dvd-Rom Installation Example For Vx3035

    Required Configuration Fedora 16 Release Notes 4.4.2 DVD-ROM Installation Example for VX3035 1. Plug a DVD-ROM USB device to the front panel USB connector using a standard USB cable. 2. Plug the HDD SATA device on the SATA0-A connector of the Rear Transition Module (VX3035-RTM). USB 2.0 Standard USB cable DVD-ROM USB device...
  • Page 19: Dvd-Rom Installation Example For Vm6050

    Fedora 16 Release Notes Required Configuration 4.4.3 DVD-ROM Installation Example for VM6050 1. Plug a DVD-ROM USB device to the front panel USB connector using a standard USB cable. 2. Plug the HDD SATA device on the SATA0-A connector of the Rear Transition Module (VM6050-RTM). USB 2.0 Standard USB cable DVD-ROM USB device...
  • Page 20: Dvd-Rom Installation Example For Vm6052/Vm6054

    Required Configuration Fedora 16 Release Notes 4.4.4 DVD-ROM Installation Example for VM6052/VM6054 1. Plug a DVD-ROM USB device to the front panel USB connector using a standard USB cable. 2. Plug the HDD SATA device on the SATA0-A connector of the Rear Transition Module (VM6052/VM6054-RTM).
  • Page 21: Chapter 5 - Installation

    Fedora 16 Release Notes Installation Chapter 5 - Installation This chapter describes the specific steps of the installation process of Fedora 16 on Ki7 boards. Disk Installation 5.1.1 Fedora 16 DVD Menu This section describes the options added to the installation menu on the Fedora 16 x86_64 DVD for Ki7 boards media.
  • Page 22 Installation Fedora 16 Release Notes > Press <tab> and append the network settings; at least the IP address : > vmlinuz initrd=initrd.img console=ttyS0,115200 text stage2=hd:LABEL=”Fedora” vnc ip=172.20.144.95 or more settings : > vmlinuz initrd=initrd.img console=ttyS0,115200 text stage2=hd:LABEL=”Fedora” vnc ip=172.20.161.201 netmask=255.255.255.0 gateway=172.20.161.46 dns=172.20.144.1 >...
  • Page 23 Fedora 16 Release Notes Installation Select the interface to use during installation to connect with the VNC client Welcome to Fedora for x86_64 ************* Disc Found ************* * To begin testing the media before * * installation press OK. * Choose Skip to skip the media test * * and start the installation.
  • Page 24: Fedora 16 Installation On Ki7 Boards

    Creating a LiveUSB on the SSD flash disk implies the presence of the LiveDVD in the USB DVD-ROM drive. At first, boot on the LiveDVD in the following way: 4 Insert the Kontron LiveDVD into the USB DVD-ROM drive. You should also have a console connected to the ttyS0 serial port 4 Under BIOS context, select the USB DVD-ROM drive as the first boot device.
  • Page 25 Fedora 16 Release Notes Installation For example: # fdisk /dev/sdX Return Return Return Return should create a unique partition which covers the whole media. Then, reformat the media: # mkfs.vfat -F 32 /dev/sdb1 livecd-iso-to-disk Write the ISO image to the USB/SSD SATA flash disk using # ./livecd-iso-to-disk --overlay-size-mb <OVERLAY_SIZE>...
  • Page 26: Chapter 6 - Fedora System Configuration

    4 /etc/resolv.conf 4 /etc/sysconfig/network > Start the network service: service network start > Reboot if /etc/sysconfig/network has been modified 6.1.2 Udev Rule (only for VX304x and VM6052/VM6054) udev ethx Kontron rule exists to set the onboard Ethernet device name with (where is the interface number).
  • Page 27: Mac Address

    Fedora 16 Release Notes Fedora System Configuration 6.1.3 MAC Address By default, the MAC address is stored with the configuration parameters of each interface. If the MAC address of a device is found different from the one expected (board changed for example), the interface is not brought up.
  • Page 28: Selinux

    Fedora System Configuration Fedora 16 Release Notes SELinux SELinux stands for Security-Enhanced Linux. The Security-Enhanced Linux kernel enforces mandatory access control policies that confine user programs and system servers to the minimum amount of privilege they require to do their jobs. If you experience some trouble running some services or have some permission issues, try to set the System system-config-selinux Default Policy to Permissive instead of Enforcing by running the...
  • Page 29: Sata Speed

    Fedora 16 Release Notes Fedora System Configuration SATA Speed /etc/grub.d/80_ki7 Kontron introduce in the Ki7 BSP a file named that contains the default value to append in the Linux command line. grub2-mkconfig -o /boot/grub2/grub.cfg By using this custom file, the standard Fedora comand "...
  • Page 30 Fedora System Configuration Fedora 16 Release Notes [root@ki7 ~]# dmesg | egrep ata[1-9]: 2.245689] ata1: DUMMY 2.248133] ata2: FORCE: PHY spd limit set to 3.0Gbps 2.253177] ata2: SATA max UDMA/133 abar m2048@0xf0b12000 port 0xf0b12180 irq 44 2.260557] ata3: DUMMY 2.263001] ata4: DUMMY 2.265445] ata5: FORCE: PHY spd limit set to 1.5Gbps 2.270488] ata5: SATA max UDMA/133 abar m2048@0xf0b12000 port 0xf0b12300 irq 44 2.277867] ata6: DUMMY...
  • Page 31: Sata Hotplug

    Fedora 16 Release Notes Fedora System Configuration SATA Hotplug In AHCI mode, the SATA controller of the Ki7 boards provides a hotplug function. First of all this has to be setup at BIOS menus (Chipset->South Bridge Configuration->SATA Configuration). After the Hot Plug option is enabled for the SATA ports, boot the system.
  • Page 32: Vita

    VITA 57 Using VX3830 IO cards for VPX boards or VM6050, it is possible to use the VITA 57 option. Kontron is delivering a toolkit to help the setup and development of application using the onboard FPGA and the FMC modules defined though the VITA 57 standard.
  • Page 33: Chapter 7 - Bsp Specific Features

    7.1.1 Sensors Overview The BSP contains an RPM named sensors_addons that configures the standard lm_sensor software for the Ki7 boards. To display sensors information: [root@ki7]# sensors Example on VX304x [root@ki7]# sensors acpitz-virtual-0 Adapter: Virtual device temp1: +37.0°C (crit = +106.0°C) temp2: +36.0°C (crit = +106.0°C)
  • Page 34: Sensors Values Limitations

    The Kontron BIOS, to inform the user that the temperature probe validity is not correct, return the value -56°C. So if a probe of these sensors value returns -56°C, it does not mean that the board is currently running at -56°C, but it only means that the probe value can not be reliable.
  • Page 35: Voltage Sensors Threshold And Alarm Report

    Fedora 16 Release Notes BSP Specific Features 7.1.4 Voltage Sensors Threshold and Alarm Report Only the Nuvoton NCT7802Y manages lower and higher limits. Only the polling mode is implemented in the Nuvoton NCT7802Y device driver. ALARM (MIN) sensors ' is reported by ' ' command when sensor value is lower than the minimum threshold.
  • Page 36: Cpld-Wdt

    * Kontron board cpld_wdt watchdog driver DESCRIPTION This man page describes how to use the watchdog implemented by the cpld on various Kontron boards including the VX304x, VX3035 and VM605x families. The principle of a watchdog is to automatically provoke some action after a given time passes without the watchdog being prodded by some process.
  • Page 37 Fedora 16 Release Notes BSP Specific Features configure the watchdog, but can be used simply from a shell script as follows: Load the module with the required configuration, for example to interrupt, with a timeout of 10 seconds: [root@ki7]# rmmod cpld_wdt [root@ki7]# modprobe cpld_wdt timeout=10 trigger_mode=2 nowayout=0 Start the watchdog by writing to the device: [root@ki7]# echo >/dev/watchdog...
  • Page 38 These are WDIOS_DISABLECARD to disable the watchdog, and WDIOS_ENABLECARD to enable the watchdog. WDIOC_KEEPALIVE ioctl(fd, WDIOC_KEEPALIVE, 0); prods the watchdog, restarting the countdown timer. SEE ALSO cpld(4) cpldtool(1) FILES /dev/watchdog Documentation/watchdog/watchdog*api.txt COPYRIGHT Kontron Page 30 SD.DT.G11-7e...
  • Page 39: Vpd Tool

    **human or *H **keylist **macaddr **serialnumber **variant DESCRIPTION vpdtool reads the VPDs (Vital Product Data) of many Kontron boards, including the following: • ITC320/322 PENTXM2/4 • VM6050 VM6052 VM6054 • VM6250 • VX3020 VX3030 VX3035 VX3040 • VX3230 VX3240 • VX6060 VX6070 VX6080 As it reads hardware ports via /dev/mem you need to be root to run it.
  • Page 40 P80 debug option not available on debug connector PCB plating: Immersion Tin CPLD I2C equipment: one F*RAM, one EEPROM No P5V only No front IO option PMC connector fitted on board JTAG connector fitted on board FILES /dev/mem /dev/i2c/* COPYRIGHT Kontron Page 32 SD.DT.G11-7e...
  • Page 41: Leds

    [root@ki7]# echo 1 > led2:OFF/brightness > VX304x: On the front panel, the name of the led1 is L1, led2 is L2 and led3 is L3. The led1 (L1 and L4) is not manageable at user level, so no special file for led1 is available.
  • Page 42: Multinodes Diskless

    BSP Specific Features Fedora 16 Release Notes Multinodes Diskless Multinodes Diskless is a powerful set of python scripts to help the configuration of diskless root filesystems and to boot distant nodes through the Ethernet network (PXE). diskless The main command is [root@ki7] diskless --help There are two xml files to configure the diskless system: /etc/diskless/images.xml: describes the layers, the nodes and main configuration setup.
  • Page 43: Build The Diskless Rfs ( Root File System )

    Fedora 16 Release Notes BSP Specific Features Then code the right value into the following field of the /etc/diskless/diskless_fs.xml: <baseurl>file:///dist/Fedora_16_ki7_boards/</baseurl> In this way the diskless tool will know the location of the Fedora 16 RPMs just installed. The next step is to build a diskless root file system based on these Fedora 16 RPMs. 7.5.3 Build the diskless RFS ( root file system ) Force the layer building even if it already exists by running:...
  • Page 44: Configure The Dhcp And Pxe Services In Geoid Ethernet Address Mode

    BSP Specific Features Fedora 16 Release Notes This section presents the MAC Ethernet adress mode. The next one presents the GEOID Ethernet addres mode. Of course both of them are exclusive. At first, uncomment if needed the XML structure called <nodemap id=”MAC_ADDR-diskless-cluster”..> in the file /etc/diskless/image.xml and comment out the one related to the GEOID mode.
  • Page 45: Export The Root File System

    Fedora 16 Release Notes BSP Specific Features Indeed, in this case, it is required to code the GEOID range into the image.xml file instead of the explicit MAC addresses related to the boards plugged into the rack. So edit the file /etc/diskless/image.xml, uncomment the right XML structure called <nodemap id=”GEOID-disk‐ less-cluster”..>...
  • Page 46: Diskless Service

    BSP Specific Features Fedora 16 Release Notes 7.5.8 Diskless Service To automate the launching of the diskless at the boot step, simply enable the related service by running : chkconfig diskless on In this case, the next time you boot the server, the service diskless will be launched. As result the commands diskless -x and diskless -e will be run automatically, authorizing the diskless boot of the target.
  • Page 47: Sysvartool

    BSP Specific Features Sysvartool To get the report of the PBIT (Power Built In Test), run the command: [root@ki7]# sysvartool -A pbit -l VX304x detected area = 2, arch = 2 POSTs configured to run from command line: mem_data: PASSED...
  • Page 48: Gpios

    - Kontron board gpio-cpld driver gpios DESCRIPTION This man page describes how to use the gpios implemented by the cpld on various Kontron boards including the VX304x, VX3035 and VM605x families. The cpld gpio driver provides an API using files in the /sys filesystem. Reads and writes to the files are directly handled by the driver, provoking reads and writes of hardware registers.
  • Page 49 For example: [root@ki7]# port 0x870 @0x870 = 0x1d [root@ki7]# port 0x870 0xd @0x870 <− 0x0d [root@ki7]# port 0x870 @0x870 = 0x0d SEE ALSO cpld(4) cpldtool(1) FILES /sys/devices/platform/cpld_gpios/cpld-gpio/gpio[1-8] COPYRIGHT Kontron SD.DT.G11-7e Page 41...
  • Page 50: Cpldtool

    -s register hexvalue DESCRIPTION This utility interprets, displays, and sets flags in registers of the cPLD on Kontron boards including the VX3230, VM6250, VX3030 and VX6060. The cPLD is a small device that controls some low-level aspects of the board. See cpld(4). You need to be root to access the device. Do not change register values accept as advised by Kontron.
  • Page 51 Boot flash CS swap DIP=0x0 Boot flash CS swap Valid#=0x0 Boot both flash=0x0 USER WP=0x0 SYS WP=0x0 VPD WP=0x0 VPX NVMRO=0x0 Set the "USER WP" bitfield in register 9: [root@ki7]# cpldtool −f 9 ’USER WP’ 1 SEE ALSO cpld(4) COPYRIGHT Kontron SD.DT.G11-7e Page 43...
  • Page 52: I2C Busses

    [root@ki7]# Read the current BIOS: [root@ki7]# ki7updbios -r BIOS.bin flashrom v0.9.4 on Linux 2.6.32.14-11035.vx304x.fc12.i686.PAE (i686), built with libpci 3.1.7, GCC 4.4.2 20091027 (Red Hat 4.4.2-7), little endian flashrom is free software, get the source code at http://www.flashrom.org Calibrating delay loop... OK.
  • Page 53 BSP Specific Features Write a new BIOS file: [root@ki7]# ki7updbios -w vx304x_ID12xxx.bin flashrom v0.9.4 on Linux 2.6.32.14-11035.vx304x.fc12.i686.PAE (i686), built with libpci 3.1.7, GCC 4.4.2 20091027 (Red Hat 4.4.2-7), little endian flashrom is free software, get the source code at http://www.flashrom.org Looking for ”bios”...
  • Page 54: 7.11 Fmram Example

    BSP Specific Features Fedora 16 Release Notes 7.11 FMRAM Example The fmram packages gives an example of how access to the FMRAM device which may be used to save some customer data which needs to be backuped. [root@ki7]# fmram -h fmram Usage [options]...
  • Page 55: 7.12 Vme

    This describes the kernel service calls available for VME device drivers or application development on Kontron platforms using the almavme driver for all boards equipped with Alma2e and Alma2f. Alma2f provides a highly integrated single chip solution to interface a VME64 bus with 2eSST protocol (two-edge Source-Synchroneous Transfer) and a 32-bit 66 MHz PCI Bus.
  • Page 56 BSP Specific Features Fedora 16 Release Notes In the following, functions are described from the kernel point of view, and examples show how to call them from a user application. User Space Ioctls All ioctls take a command argument, and an appropriate struct as third argument. As alma_ioctl_arg_t is a union of most of the possible struct types, it can be used as a suitable third argument for most of the ioctls.
  • Page 57 A24 SUPER USER MBLT are identify as AM that present some transfer error. For these cases please contact the Kontron support. This routine returns an identifier from 0 to 15 on success and -1 on failure. It can be called from user space with the ioctl() VMEIOCTL_PCI_CHAN_ALLOC.
  • Page 58 BSP Specific Features Fedora 16 Release Notes VMEFG_READAHEAD access is read ahead (default NO). It must be used with a BLT or MBLT channel. VMEFG_LEBE_xx defines the little/big endian conversion mode (default address coherency). VMEFG_PCIIO access is from PCI-IO to VME (default is access from PCI-MEM to VME). There is no difference between PCI-MEM and PCI-IO.
  • Page 59 DMA bounce buffers are allocated if necessary, i.e. if the flags say the source or destination area is a virtual address. Note that by default each DMA transfer is 4 kB (a page). Contact Kontron for other possibilities. alma_user_dma...
  • Page 60 BSP Specific Features Fedora 16 Release Notes calls alma_user_dma(A.dma.vmeaddr, A.dma.data, A.dma.size, A.dma.flag). ioctl(fd, VMEIOCTL_DMA_START_MCAST, &A) calls alma_user_dma_mcast(A.mcast.vmeaddr, A.mcast.data, A.mcast.size, A.mcast.flag, A.mcast.­ select). This feature is not available on Alma2f. For example: dma_arg.vmeaddr = strtoul(argv[1], NULL, 0); // VME address size = strtoul(argv[2], NULL, 0); dma_arg.dmaaddr = malloc(size);...
  • Page 61 Fedora 16 Release Notes BSP Specific Features ioctl(fd, VMEIOCTL_PHYSICAL_MEM_FREE , struct alma_phys_mem_object *phys_mem) calls alma_phys_mem_free(phys_mem). For example (taken from the almavmechan tool): mem_obj.size = ...; rc = ioctl(fd,VMEIOCTL_PHYSICAL_MEM_ALLOC,&mem_obj); printf(”0x%x\n”,mem_obj.cpu_phys_addr); mem_obj.cpu_phys_addr = ...; rc = ioctl(fd,VMEIOCTL_PHYSICAL_MEM_FREE,&mem_obj); Locking The VME bus can be explicitly locked before one or more accesses are done. It must always be paired with a free.
  • Page 62 BSP Specific Features Fedora 16 Release Notes fair mode is coded in bit 3 (ALMACFG_FAIRMODE). If active, the VME/PCI bridge does not request the VME if another VME device requests it on the same level. bus release mode is coded in bits 4..6 (ALMACFG_BUSREL_MSK). Four modes are supported: ALMACFG_BUSREL_ROR (release on request), ALMACFG_BUSREL_RWD (release when done), ALMACFG_BUSREL_ROC (release on clear) and ALMACFG_BUSREL_RNE (release never).
  • Page 63 Fedora 16 Release Notes BSP Specific Features if (buffer == NULL) { fprintf(stderr,” Error allocating DMA buffer\n”); exit(1); if (argc <= 3) // Optional channel flags = VMEFG_AM_A32SDATA; else flags = strtoul(argv[3],NULL,0); printf(” VME Addr: 0x%x, DMA buf: 0x%p, Size: 0x%x, Flags: 0x%x\n”, vmeaddr, buffer, size, flags);...
  • Page 64 BSP Specific Features Fedora 16 Release Notes This deprecated routine enables a single VME interrupt level, from 1 to 7. alma_vmeinterrupt int alma_vmeinterrupt(unsigned char level, unsigned char vector) This sends an interrupt on the VMEbus. Vector must be a multiple of 8. The interrupt vector generated is (vector+level).
  • Page 65 Fedora 16 Release Notes BSP Specific Features // Disable the interrupt lvl alma_arg.intrctl.mask = (1 << lvl); // VME IRQ level alma_arg.intrctl.enable = 0; // Disable the IRQ err = ioctl(fd, VMEIOCTL_VMEINTR_CTRL, &alma_arg); printf(”Disable VME IRQ level %d\n”, lvl); alma_arg.index = Id; // Id in the user vector table err = ioctl(fd, VMEIOCTL_VMEIOINTCLR, &alma_arg);...
  • Page 66 BSP Specific Features Fedora 16 Release Notes returns in A.vmechannb.mem the number of PCI-MEM to VME channels opened and in A.vmec­ hannb.io the number of PCI-IO to VME channels opened. ioctl(fd, VMEIOCTL_PCI_CHAN_GET, struct vmepci_window *p) copies the VME to PCI channel descriptions into the third arg. It is 7 structures of type struct vmepci_window.
  • Page 67 Fedora 16 Release Notes BSP Specific Features The rate chosen for the dma can be throttled globally to a lower value by ioctl VMEIOCTL_SET_ALMACFG or kernel service alma_ctrl(), or the almavmechan(1) option -setal­ mastate. Addresses for 2ESST dma must be aligned on 16 bytes. The 2ESST protocol also provides for a broadcast transfer, where one board can do a single write that is received simultaneously by several boards.
  • Page 68: Almavmechan

    BSP Specific Features Fedora 16 Release Notes 7.12.2 almavmechan NAME almavmechan - VME bus utility for almavme driver SYNOPSIS -vmememalloc name vmeaddr size flag -vmeioalloc name vmeaddr size flags -vmefree cpu_addr -pcialloc name vmeadr cpuadr size fg -pcifree id -printall -vmeioprint -vmememprint -pciprint...
  • Page 69 1MB. A24 USER MBLT, A24 SUPER USER MBLT are identify as AM that present some transfer error. For these cases please contact the Kontron support. -pcifree id free a VME to PCI channel -printall print all allocated channels.
  • Page 70 BSP Specific Features Fedora 16 Release Notes -vmeintwait id wait for a VME interrupt. -setamrw value set AM (address modifier) to use for accesses through standard read() and write() routines. -vmeedit use the VME data editor to do direct VME bus read/writes (with VME addresses). -getalmastate print the current Alma state.
  • Page 71: Vme Irq Response Time Improvement

    Fedora 16 Release Notes BSP Specific Features −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− PCIMEM to VME CHANNELS −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− Name CPUaddr PCIaddr VMEaddr size(Mb) Conv −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− GREAT 0xd2000000 0x52000000 0x10000000 0128 A32SDATA ADDR −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− No VME to PCI CHANNEL −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− Alma state: System controller: fixed priority. timeout 100 Fair mode timeout.
  • Page 72: 7.13 Cpld

    This man page describes some of the facilities made available by the cPLD (complex programmable logic device) on several Kontron boards. Not all boards provide all the facilities. The cPLD is a small device that controls some low*level aspects of the board, including power up sequencing, reset, gpios, i2c buses including one for communication to the backplane, timer, watchdog, leds, and many configuration and control features.
  • Page 73 See the separate man page for the driver providing gpios implemented by the cpld. cpld*wdt See the separate man page for the driver providing a watchdog implemented by the cpld. SEE ALSO cpld*gpio(4) cpld*wdt(4) cpldtool(1) FILES /proc/geo_id /dev/cpld_smi /dev/port /dev/i2c*0 ... COPYRIGHT Kontron SD.DT.G11-7e Page 65...
  • Page 74: Chapter 8 - Rc Boards

    Rear Transition Module (RTM) Paddle board. The Kontron PB-VX3-4xx is a 3U VPX Rear Transition Module compliant with the definition of the Rear Transition Module on VPX Standard –VITA 46.10.
  • Page 75: Rc Specifications

    Fedora 16 Release Notes RC Boards RC Specifications The RC version of the boards is designed to work in different environmental constraints and for different levels of temperature and power dissipation. This may imply specific setups (cpu frequencies, hardware parameters,…) to guarantee the specified behavior. They are described in the “Hardware User’s Guide”...
  • Page 76: Chapter 9 - Power Management

    Power Management Fedora 16 Release Notes Chapter 9 - Power Management Introduction At the core of power management is an understanding of how to effectively optimize energy consumption of each system component. By studying the different tasks that your system performs, and configuring each component to ensure that its performance is just sufficient for the job, you can save energy, generate less heat.
  • Page 77: Under Linux

    Fedora 16 Release Notes Power Management 9.2.2 Under Linux CPUFreq The main power management tool available under linux is CPUfreq allows the clock speed of the processor to be adjusted on the fly. This enables the system to run at a reduced clock speed to save power. CPUfreq Different types of governors are available:...
  • Page 78 Power Management Fedora 16 Release Notes An alternative consists of selecting an explicit frequency by using a command such as: [root@ki7]# cd /sys/devices/system/cpu [root@ki7]# for i in 0 1 2 3 do ; cd cpu$i ; echo 1300000 > cpufreq/scaling_max_freq; cd ..; done This sets frequency 1.3 GHZ for all the CPUs.
  • Page 79: Impact Of The Power Management Policy

    Hyper-Threading + Turbo Mode Enabled The purpose of this configuration is to obtain as much performance as possible. This is the default configuration (Except on Kontron RC -Rugged Conduction-Cooled- board which implies disabling the turbo mode in order to fit the maximal temperature constraint).
  • Page 80 Power Management Fedora 16 Release Notes The different C-states of the CPU are defined as follows: > idle C0: Running state: the CPU is working with no at all. > C1, Halt: a state where the processor is not executing any instruction but is typically not in a lower power state. >...
  • Page 81 Fedora 16 Release Notes Power Management Analyse the frequencies of the different CPUs with the command: [root@ki7]# powertop Frequency Stats And move to the option. powertop Freq Stats LOG related to the in turbo mode with load Notice the frequencies remain at the top level around 2.8 GHZ. SD.DT.G11-7e Page 73...
  • Page 82: Turbo Mode Disabled + Cpufreq Policy=Powersave

    Power Management Fedora 16 Release Notes 9.3.2 Turbo mode disabled + CpuFreq policy=Powersave CpuFreq powersave Select the mode by running: [root@ki7]# cd /sys/devices/system/cpu [root@ki7]# for i in 0 1 2 3 4 5 6 7 do ; cd cpu$i ; echo powersave > cpufreq/scaling_governor; cd ..; done Then run this process in order to load the CPU: [root@ki7]# while true;...
  • Page 83: Tdp Low Mode (Low Power Comsumption Oriented)

    Fedora 16 Release Notes Power Management 9.3.3 TDP LOW mode (low power comsumption oriented) Select the appropriate option in the BIOS TDP menu. Then run this loop in order to load the system as much as possible: [root@ki7]# while true; do rm -rf squashfs-root ; unsquashfs squashfs.img; done & powertop And analyse the result with The CPU is used only at 36 % of its capacity.
  • Page 84: Chapter 10 - Create A Usb Flash Disk From Dvd Iso Image

    Chapter 10 - Create a USB Flash Disk from DVD Iso Image Kontron can provide DVD-ROM media or ISO disk images. This chapter provides information for customer to be able to generate a USB flash disk from the iso image.
  • Page 85: Chapter 11 - Additional Information

    With full graphic Fedora 16 packages installed on SATA disk, the boot time from an exit in the EFI shell to the GDM graphical login window can be higher that 30 seconds. For more details contact the Kontron support team. SD.DT.G11-7e...
  • Page 86: 11.2 Bsp Installation On Ki7 Boards For Bsp Id < 14085

    Follow the procedure below to install the BSP onto an existing bootable media (SATA disk or USB flash) or to access to the source packages: 1. Insert the Kontron media Fedora 16 x86_64 DVD for Ki7 boards in the USB DVD-ROM drive. 2. Boot the Ki7 board on the SATA disk previously installed with the Fedora 16.
  • Page 87: 11.3 Rebuild Bsp Packages

    FRAM fmram-1.1-15111.src.rpm hwtools-1.3.7-15111.src.rpm some tools ixgbe-3.18.7-1.src.rpm driver for the 10G Ethernet from Intel update of the standard Fedora kernel with Kontron BSP drivers kernel-3.4.9-15111.ki7.fc16.src.rpm ki7_bsp-3.4-15111.fc16.src.rpm BSP rpm requiring other rpms as dependencies sysvartool-1.7-15111.src.rpm utility to get the PBIT report turbostat-1.0-1.fc16.src.rpm...
  • Page 88 Additional Information Fedora 16 Release Notes + /bin/tar -xvvf - drwxr-xr-x root/root 0 2015-04-21 12:31 fmram-1.1/ -rw-r--r-- root/root 1173 2010-10-15 11:55 fmram-1.1/Makefile -rw-r--r-- root/root 10795 2010-09-24 15:41 fmram-1.1/i2c-dev.h -rw-r--r-- root/root 929 2014-10-02 16:42 fmram-1.1/fmram.spec -rw-r--r-- root/root 345 2010-09-24 15:41 fmram-1.1/rpmmacros -rw-r--r-- root/root 1434 2010-09-24 15:41 fmram-1.1/i2c_access.h -rw-r--r-- root/root...
  • Page 89: Rebuild The Kernel

    Rebuild the Kernel The kernel source rpm contains the patch of the drivers and updates required for the Kontron VME/VPX boards. The steps to rebuild the kernel from the SRPM are quite similar to a standard rpm but note that some other rpms may be required as dependencies: [root@localhost SPECS]# rpmbuild -ba --target x86_64 kernel.spec...
  • Page 90 + cd kernel-3.4.fc16 + rm -rf /root/rpmbuild/BUILDROOT/kernel-3.4.9-15162.ki7.fc16.x86_64 + exit 0 /root/rpmbuild/SOURCES/ kernel patch Kontron VME/VPX boards located linux-3.4.9.2-ki7.patch It contains the specific drivers and aufs patch (required for multinodes-diskless tool). This patch can be used and port to another kernel version.
  • Page 91: 11.4 Errata

    VME timeout is set at 0. It means infinite VME timeout. The Inifnite VME timeout driver default is to preserve the Kontron Legacy VME. This default parameter value (at 0) can hang the VME bus in some specific use cases.
  • Page 92 +33 (0) 4 98 16 34 00 150 rue Marcelin Berthelot - BP 244 Sales: Order-ATD-Toulon@Kontron.com ZI TOULON EST Support: GSS-ATD-Toulon@Kontron.com 83078 TOULON CEDEX - France For further information about other Kontron products, please visit our Internet web site: www.kontron.com.

Table of Contents