Pentium iii real-time vmebus cpu x86 basic automation board (59 pages)
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 Þ...
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.
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.
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.
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.
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.
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;...
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.
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.
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)
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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...
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.
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...
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...
Need help?
Do you have a question about the BAB 912 and is the answer not in the manual?
Questions and answers