ELTEC BAB 912 Hardware Documentation

Powerpc 750 based pci real-time cpu board
Table of Contents

Advertisement

Quick Links

PowerPC 750 Based PCI Real-Time CPU Board
hardware documentation
linux documentation
Revision 0B

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for ELTEC BAB 912

  • Page 1 PowerPC 750 Based PCI Real-Time CPU Board hardware documentation linux documentation Revision 0B...
  • Page 2 Revision Revision Changes Date / Name First Edition 2003 GM/UW Disclaimer new 08.11.06 hh...
  • Page 3 The complete risk inherent in the utilization of this document or in the results of its utilization shall be with the user; to this end, ELTEC Elektronik AG shall not accept any liability. Regardless of the applicability of...
  • Page 4 Þ Make sure that your power supply is set to the correct voltage in your area. If you are not sure about the voltage of the electrical outlet you are using, contact your local power company. Þ If the power supply is broken, do not try to fix it by yourself. Contact a qualified service technician or your retailer. Operation safety Þ...
  • Page 5: Table Of Contents

    Table of Contents Disclaimer/Copyrightnotice Aboutthisdocument Hardwarepart 1.Specification 1.1.MainFeatures 1.2.SpecificationDetails 1.2.1.CPUKernel 1.2.2.MemoryConfiguration 1.2.3.Chipset 1.2.4.BootPROM 1.2.5.EthernetInterface 1.2.6.SerialI/O 1.2.7.PCISAInterface 1.2.8.Timer 1.2.9. Non-volatile Memory / RTC 1.2.10.Operatingsystems 1.2.11.On-boardI/O 1.2.12.Miscellaneous 1.2.13.RelatedDocuments 1.2.14.BlockDiagram 2.Installation 2.1. What's needed for Installation 2.2.SODIMMInstallation 2.3.StatusLEDs 2.4.EthernetStatusLEDs 2.5.BAB912I/O 3.ConnectorAssignments 3.1.FrontPanelConnectors 3.1.1.EthernetConnector 3.1.2.
  • Page 6 BAB 912 6.3.ELinOSInstallation 6.4. Installation of BAB912 kernel sources 6.5.BAB912sampleprojects 6.6. Downloading and running the sample project 7.U-Boot 7.1. What is PPCBoot/U-Boot ? 7.2.CommonU-Bootcommands 7.3.U-BootEnvironment 7.3.1.StandardEnvironment 7.3.2.ExtentedEnvironment 7.4. Flash-ROM mapping for BAB912 7.5.StandaloneBoot 7.6.U-BootUpdate 8. Using ELinOS demonstration projects 8.1.Cloningaproject A.Appendix...
  • Page 7 3.2. COM1, COM2 (9-pin min-D Connector) 3.3.PISAConnector 5.1. Boot ROM Select (J1001_1) 5.2. Auxilary ROM Select (J1001_2) 7.1.CommonU-Bootcommands 7.2.StandardU-Bootenvironment 7.3. Extented U-Boot environment (ELTEC) 7.4. BAB912 Flash ROM mapping A.1.MemoryAddressMap A.2.WatchdogAddressAssignment A.3. Configuration Switch Address Assignment A.4. Status Display Address Assignment...
  • Page 8: Aboutthisdocument

    About this document This document describes the ELTEC BAB912 running under LINUX. The BAB912 is a PowerPC based PCISA board for use in a passive backplane. Chapter 1 to 5 describe the hardware of the BAB912 in detail. Chapter 6 describes how to prepare your development system for ELINOS cross development. It explains the first steps needed to compile and start the sample project available.
  • Page 9: Hardwarepart

    Hardware part...
  • Page 10: Specification

    IDE Controller, one channel for CompactFlash, the other for ATA disks 1.2. Specification Details The BAB 912 is a PowerPC-based single board computer with a PCISA interface. The small format permits setting up small industrial realtime systems. The board is based on the Motorola MPC 107 chip, the reference for PowerPC designs.
  • Page 11: Bootprom

    1.2.8. Timer The BAB 912 has four programmable timers, located in the MPC 107, for timing interrupts in the 1 µs to 1000 ms range. Three of these timers are intended for use with user-written drivers, they are not used by the operating system or the BSP, one may be used by the OS.
  • Page 12: Non-Volatile Memory / Rtc

    Only byte-access is allowed. 1.2.10. Operating systems Compliant with the ELTEC Linux Initiative, the BAB 912 supports implementations of Elinos and PxROS - applications for both operating systems can be designed under Linux. Elinos is best when an Embedded Linux is needed with a compact implementation and full Linux capabilities. PxROS is for hard real-time applications with the smallest footprint.
  • Page 13: Blockdiagram

    Chapter 1. Specification 1.2.14. Block Diagram...
  • Page 14: Installation

    SODIMM socket X701. These modules are currently available with a capacity of up to 256 Mbyte. In the near future there may also be 512 Mbyte modules that are supported by the BAB 912. The firmware reads the type and size of the SODIMM from the SPD (Serial Presence Detect) EEPROM installed on the memory module, and tests the module.
  • Page 15: Ethernetstatusleds

    Chapter 2. Installation 2.4. Ethernet Status LEDs At the ethernet connector there are two LEDs indicating link status and network activity. Table 2.1. Ethernet Status LEDs Color Description Activity Green Ethernet1: HD or CF activity Ethernet2: Board power ok; network not initialized or no link pulses Yellow Network activity Link pulses detected;...
  • Page 16: Bab912I/O

    Chapter 2. Installation 2.5. BAB 912 I/O Connection Diagram...
  • Page 17: Connectorassignments

    Chapter 3. Connector Assignments Please check the connector assignments before using any interface. 3.1. Front Panel Connectors 3.1.1. Ethernet Connector Table 3.1. ETHERNET (8-pin Telephone Jack Connector) Signal TXD+ TXD- RXD+ RXD- 3.1.2. Serial Ports 1 and 2 Connectors Table 3.2. COM1, COM2 (9-pin min-D Connector) Signal 3.2.
  • Page 18 Chapter 3. Connector Assignments ISA-Bus top layer up ISA-Bus bot layer up PCIbus top layer low PCIbus bot layer low INTB# INTA# INTD# INTC# -12V VI/O PCIRST# PCICLK2 +12V GNT#0 REQ#0 GNT#1 PCICLK1 REQ#1 AD31 REQ#2 PCICLK3 GNT#2 PCICLK4 AD28 AD27 AD26 AD25...
  • Page 19 Chapter 3. Connector Assignments ISA-Bus top layer up ISA-Bus bot layer up PCIbus top layer low PCIbus bot layer low VI/O...
  • Page 20: Boardparameters

    Chapter 4. Board Parameters 4.1. Host Bus 100 MHz 4.2. PCI Local Bus CPU to PCI Transfer Options: Write post buffer Max. 120 MByte/s (peak) PCI to Memory Transfer Options: Max. 120 MByte/s (peak) Clock Speed: 33.3 MHz IRQs: Four PCI interrupts 4.3.
  • Page 21: Esdvalues

    Chapter 4. Board Parameters 4.6. ESD Values 2 kV (Human body method) 4.7. Environmental Conditions Storage Temperature: -40° C - +70° C (non condensing) Operating Temperature: 0° C - +55° C (1 m/s forced air cooling) 4.8. Maximum Operating Humidity: 85% relative 4.9.
  • Page 22: Jumpers

    Chapter 5. Jumpers 5.1. On-board Jumpers 5.1.1. User-settable Jumpers Table 5.1. Boot ROM Select (J1001_1) J1001_1 Description open Boot from Boot-ROM (default) short Boot from User-ROM (if present) Table 5.2. Auxilary ROM Select (J1001_2) J1001_2 Description open Boot ROM selected by J1001_1 (default) short Boot from auxilary ROM (if present)
  • Page 23: Linuxpart

    LINUX part xvii...
  • Page 24: Prepare Your Developement System

    Chapter 6. Prepare your developement system 6.1. Serial terminal program In order to connect to the targets serial console, you need a terminal program. This is necessary during development, as the bootloader and the Linux output can only be seen at the serial console. Later you may connect to the camera using a telnet or rsh client.
  • Page 25 Chapter 6. Prepare your developement system Minicom setup screen The important items are "A", "E", "F" and "G". In this case we use COM1 on the development system (/dev/ttyS0), the baud setup explained before and no flow control. 6.1.2.2. Modem parameter setup Minicom is intended to be used for modem connections too.
  • Page 26: Bootpserver

    Chapter 6. Prepare your developement system Minicom serial parameters 6.1.2.3. Saving the setup Save the setup e.g. as com1. Later, minicom can be used with this setup by normal users just by typing minicom com1. 6.2. Bootp server If you want to develop applications for the BAB912, you need to transfer the Linux image to the BAB912 in order to store it to flash or to boot it.
  • Page 27: Restartinginetd

    6.2.2.2. /etc/inetd.conf Look for the two lines beginning with tftp and bootp. They must look like this. tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot bootps dgram udp wait root /usr/sbin/bootpd bootpd -c /tftpboot 6.2.2.2.1. tftpboot directory You need to create the directory /tftpbootfor your boot images and change the access right as root. If you choose another name, change the name in /etc/inetd.conf.
  • Page 28: Bab912Sampleprojects

    The kernel sources for BAB912 are not contained on the ELinOS CD, but provided seperatly by ELTEC, and must be installed after installing ELinOS. ELinOS is installed in the directory /opt/elinos. One subdirectory contains the Linux kernel sources. It is named linux-2.4.18 or similar.
  • Page 29: Downloading And Running The Sample Project

    Chapter 6. Prepare your developement system Connect the project to the proper kernel ! elinos-linkkernel -n --kernelsrc=/opt/elinos/linux-2.4.18-2.4.18-eltec-3 Now you can start the ELinOS configurator elk, compile the kernel, modules and user applications as described in the ELinOS manual. 6.6. Downloading and running the sample project After building, the BAB912 kernel image should be located in the /tftpboot directory.
  • Page 30: U-Boot

    Chapter 7. U-Boot 7.1. What is PPCBoot/U-Boot ? PPCBoot is a monitor for Embedded PowerPC boards, which can be installed in a boot ROM and used to test the hardware or download and run application code. PPCBoot is free software developed under GNU General Public License.
  • Page 31: U-Bootenvironment

    Chapter 7. U-Boot Command Parameter Description .l : Long protect on protect on start end enable FLASH write protection (software) protect off protect off start end disable FLASH write protection (software) erase erase start end erases Flash-ROM flinfo Print information about installed Flash-ROM. h [command] Print compiled in help text for command.
  • Page 32 Chapter 7. U-Boot Variable Default Description Example sequence. setenv bootargs\ (1)Load boot image via bootp at address 1000000h. root=ramfs\ (2) Set environment variable ip=$(ipaddr):\ bootargs to "root=ramfs...". $(serverip):\ (3) Start image at address 1000000h. $(gatewayip):\ $(netmask):\ $(hostname):\ eth0:none;\ bootm bootdelay not set: Autoboot without delay Delay time in seconds till exec of command boot.
  • Page 33: Extentedenvironment

    7.3.2. Extented Environment The following is a description of ELTEC specific U-Boot environment extentions for BAB912. All changes with command setenv are temporary only and will be lost after next reset. To store changes permanently the saveenv command has to be used.
  • Page 34: Flash-Rom Mapping For Bab912

    CUSTOMER-STRING board DHCP-Server on dhcp reset with command. This string revision can be used to select information a board specific IP e.g.:ELTEC: address and/or bootfile V-BAB. via Class entries in the -912A:0A DHCP-Server configuration file 'dhcpd.conf'. For details consult the dhcpd documentation.
  • Page 35: U-Bootupdate

    Otherwise the network can be configured in init-task with ifconfig eth0 ..7.6. U-Boot Update The current version of U-Boot supports all necessaries to initialize the board and to run linux. If you plan to modify U-Boot to special applikation requirements please contact ELTEC support group.
  • Page 36: Using Elinos Demonstration Projects

    Chapter 8. Using ELinOS demonstration projects 8.1. Cloning a project After installing ELinOS and the BAB912 linux kernel, you can use ELinOS elk for cloning the ELinOS demo projects. Please read the ELinOS manual for details. Start /opt/elinos/bin/elk e.g. from a shell. Elk comes up with a dialog. Use Clone an existing project.
  • Page 37 Chapter 8. Using ELinOS demonstration projects Now choose one of the ElinOS sample project direcories in the file-select-box Choose next in the dialog box. Select a directory for installation in the next dialog.
  • Page 38 Chapter 8. Using ELinOS demonstration projects Choose the libc model you want your binaries to be linked with.
  • Page 39 In the next step choose the ppcboot_multi boot strategie for the BAB912.
  • Page 40 Now you have to select the previously installed ELTEC kernel for the BAB912. The last step is to provide a DOS compatible name for your project.
  • Page 41 Chapter 8. Using ELinOS demonstration projects Now you have cloned a project and are nearly ready to compile it. The last step is to import a proper .config file into your linux directory. The most recent .config file is contained in the previously installed kernel sources Select Kernel Configuration in the left panel of elk and use the Import button.
  • Page 42: A.appendix

    OS-9 and VxWorks, is used, there should be no need to address these devices with user-written code. A.2. Memory Address Map The BAB 912 uses address map B (CHRP) of the MPC107. After initialization the following address map becomes effective: Table A.1. Memory Address Map...
  • Page 43: A.3.Interruptcontroller

    Appendix A. Appendix CPU Address PCI Address Device FFC8.0000-FFFF.FFFF Auxilary Emergency Flash EEPROM A.3. Interrupt Controller This diagram shows how the on-board interrupt sources are connected to the interrupt controller, located in the MPC 107 chipset. This chip then prioritizes and drives the CPU interrupt input. The priority of the several interrupts is programmable by software.
  • Page 44: A.3.2.Configurationswitch

    Appendix A. Appendix A.3.2. Configuration Switch Table A.3. Configuration Switch Address Assignment Address Description $78000001 read byte: get hex value in the 4 LSBs, 4 MSBs are always "1000" write byte: not allowed A.3.3. Status Display Table A.4. Status Display Address Assignment Address Description $78000002...
  • Page 45: A.3.4.Nonvolatileram

    A.3.6. Soft Reset The BAB 912 can be reset by writing bit 0 (observe byte ordering) of the Processor Initialization Register PI in the MPC 107 (at offset 0x41090 of the Embedded Utilities Memory Block). This will entirely reset the...
  • Page 46 Index Bootp server, 20 /etc/bootptab, 21 /etc/inetd.conf, 21 /etc/services, 20 tftpboot directory, 21 Serial connection, 18 minicom setup, 18 U-Boot common commands, 24 environment, 25 , 27 flash rom mapping, 28 standalone boot, 28 update, 29...

Table of Contents