Top Banner
29 April 2005 Part B Final Presentation Peripheral Peripheral Devices For Devices For ML310 Board ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen & Shay Yosef Supervisor : Inna Rivkin
34

29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

Jan 15, 2016

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Peripheral Peripheral Devices For Devices For

ML310 BoardML310 Board

Project name :

Spring Semester 2005 Final Presentation

Presenting :Erez Cohen & Shay YosefSupervisor :Inna Rivkin

Page 2: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

ContentsContents

Project GoalsProject Goals Tools & design’s main flowTools & design’s main flow Drivers & supported peripherals Drivers & supported peripherals Accessed Peripherals Accessed Peripherals Project websiteProject website

Page 3: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Project Main GoalProject Main Goal

Creating comfortable Creating comfortable Platform for future Platform for future

projects on the ML310 projects on the ML310 BoardBoard

The ML310 evaluation board is one of the major hardware platform for projects in the High Speed Digital System Lab, therefore our main project goal is :

In order to allow students to focus on their specific project modules and not to waste valuable time understanding how to operate the board and its peripherals.

Page 4: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Collect information about the peripherals Collect information about the peripherals of the ML310 Board.of the ML310 Board.

Operate the peripherals of the ML310 Operate the peripherals of the ML310 Board in Board in StandaloneStandalone mode. mode.

Arrange all collected information about Arrange all collected information about the ML310’s peripherals and the way to the ML310’s peripherals and the way to operate them, into a simple & operate them, into a simple & comfortable html format.comfortable html format.

Part A GoalsPart A Goals

Page 5: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Part B GoalsPart B Goals

Learn Xilinx’s & Montavista’s tools in Learn Xilinx’s & Montavista’s tools in order to work with Linux operating order to work with Linux operating system on the board. system on the board.

Operate the board and it’s Operate the board and it’s peripherals using peripherals using Montavista LinuxMontavista Linux..

Add all collected information & Add all collected information & examples to the project’s website. examples to the project’s website.

Page 6: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Part A AchievementsPart A Achievements We collected a lot of information about the ML310 We collected a lot of information about the ML310

Board and it’s peripherals. Board and it’s peripherals. We operated the following peripherals of the ML310 We operated the following peripherals of the ML310

Board in Board in StandaloneStandalone mode: mode:LEDs - LEDs - LCD - LCD - DDR Memory - DDR Memory - UART - UART - Parallel Port - Parallel Port -

We researched the ALI south bridge and understood We researched the ALI south bridge and understood how to operate the peripherals connected to it.how to operate the peripherals connected to it.

We implemented the basic protocols of the Parallel Port, We implemented the basic protocols of the Parallel Port, and printed text using a printer connected to the port.and printed text using a printer connected to the port.

We arranged all the collected information into a simple We arranged all the collected information into a simple & comfortable html format.& comfortable html format.

Page 7: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

ContentsContents

Project GoalsProject Goals

Tools & design’s main flowTools & design’s main flow Drivers & supported peripheralsDrivers & supported peripherals Accessed Peripherals Accessed Peripherals Project websiteProject website

Page 8: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Xilinx - EDKXilinx - EDK

Generate & configure the HW:Generate & configure the HW:Create Basic project.Create Basic project.Add additional modules.Add additional modules.Resource allocation & SW setting.Resource allocation & SW setting.

Generate netlist & bitstream files.Generate netlist & bitstream files. Generate .ace file (root file Generate .ace file (root file

system) after configuration of the system) after configuration of the kernel with montavista’s tools. kernel with montavista’s tools.

Page 9: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Montavista - Montavista - DevRocketDevRocket

Create & Configure the kernel.Create & Configure the kernel. Add user additional Add user additional

software/drivers.software/drivers. Compile the kernel.Compile the kernel. Generate the zImage.elf file.Generate the zImage.elf file.

Page 10: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Design main flowDesign main flow

Phase 1: Determine system structure (EDK)Phase 1: Determine system structure (EDK)1.1. Download basic design from Xilinx new Download basic design from Xilinx new

disk. disk. 2.2. Open the .xmp file with Xilinx Platform Open the .xmp file with Xilinx Platform

Studio tool (EDK).Studio tool (EDK).3.3. Generate netlist & bitstream files.Generate netlist & bitstream files.

Page 11: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Design main flowDesign main flow

Page 12: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Design main flowDesign main flow

Phase 1: Determine system structure (EDK)Phase 1: Determine system structure (EDK)4.4. Change SW setting for Linux BSP.Change SW setting for Linux BSP.5.5. Set the appropriate parameters of the Set the appropriate parameters of the

targettarget(memory size, clock freq. etc…).(memory size, clock freq. etc…).

6.6. Generate the libraries.Generate the libraries.

Page 13: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Design main flowDesign main flow

Page 14: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Design main flow Design main flow (continue)(continue)

Phase 2: create the kernel Phase 2: create the kernel (DevRocket)(DevRocket)

1.1. Create new kernel project.Create new kernel project.

2.2. Download Linux configuration file (pci Download Linux configuration file (pci compatible) from Xilinx new disk.compatible) from Xilinx new disk.

3.3. Change the basic configuration using Change the basic configuration using the configuration interface:the configuration interface:

Page 15: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Configuration window Configuration window (example)(example)

It is possible to compile the drivers as a part of the kernel ([*]) orIt is possible to compile the drivers as a part of the kernel ([*]) oras a module (<M>) which would be accessed and changed later.as a module (<M>) which would be accessed and changed later.A <driver>.o file will be generated.A <driver>.o file will be generated.

Page 16: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Design main flow Design main flow (continue)(continue)

Phase 3: Build Root Filesystem (EDK)Phase 3: Build Root Filesystem (EDK)1.1. Copy the zImage.elf file to the edk project.Copy the zImage.elf file to the edk project.

2.2. Use the Xygwin shell to create .ace file.Use the Xygwin shell to create .ace file.

3.3. Copy the ace file to cf6 or cf7 in the Flash disk.Copy the ace file to cf6 or cf7 in the Flash disk.

Page 17: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Design main flow Design main flow (continue)(continue)

Page 18: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Design main flow Design main flow (continue)(continue)

Phase 4: set up debug/boot Phase 4: set up debug/boot configurationconfiguration

1.1. Connect the flash disk to the board and Set the Connect the flash disk to the board and Set the Dip Switches on the board to 000 (where the Dip Switches on the board to 000 (where the boot loader is)boot loader is)::

2.2. Use TeraTerm to connect between the PC and Use TeraTerm to connect between the PC and the board through serial cable.the board through serial cable.

3.3. Reset the board, choose the number of the Reset the board, choose the number of the folder where the kernel is located and Login.folder where the kernel is located and Login.

Page 19: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

ContentsContents

Project GoalsProject Goals Tools & design’s main flowTools & design’s main flow

Drivers & supported Drivers & supported peripheralsperipherals

Accessed Peripherals Accessed Peripherals Project websiteProject website

Page 20: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Drivers & supported Drivers & supported PeripheralsPeripherals

SysAce Driver:SysAce Driver: The driver for the System The driver for the System Advanced Configuration Environment (ACE) Advanced Configuration Environment (ACE) controller supports the Compact Flash solution - controller supports the Compact Flash solution - The driver provides a user the ability to access The driver provides a user the ability to access the Compact Flash through the System ACE the Compact Flash through the System ACE device.device.

UART Driver:UART Driver: The driver support the features of The driver support the features of XILINX 16450/16550 compatible UART.XILINX 16450/16550 compatible UART.

PCI DriverPCI Driver: The driver provides full bridge : The driver provides full bridge functionality between the local bus and a 32 bit functionality between the local bus and a 32 bit V2.2 compliant PCI bus.V2.2 compliant PCI bus.

Page 21: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Drivers & supported Drivers & supported PeripheralsPeripherals

PLB to OPB Bridge DriverPLB to OPB Bridge Driver: This driver allows : This driver allows the user to access the Bridge registers to the user to access the Bridge registers to support the handling of bus errors and other support the handling of bus errors and other access errors and determine an appropriate access errors and determine an appropriate solution if possible.solution if possible.

PLB Arbiter DriverPLB Arbiter Driver:: This driver allows the user This driver allows the user to access the PLB Arbiter registers to support to access the PLB Arbiter registers to support the the

handling of bus errors and other access handling of bus errors and other access errors and determine an appropriate solution errors and determine an appropriate solution if possible. if possible.

Page 22: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Ethernet Driver:Ethernet Driver: supports 100 Mbit ethernet. supports 100 Mbit ethernet. Video card Driver:Video card Driver: Full support only to Matrox Full support only to Matrox

Millennium video card (other cards require additional Millennium video card (other cards require additional drivers).drivers).

Mice Driver:Mice Driver: full support. full support. Keyboard Driver:Keyboard Driver: full support. full support. Sound Driver:Sound Driver: supports several sound drivers. The ALI supports several sound drivers. The ALI

south bridge contains audio HW which can be used.south bridge contains audio HW which can be used. IDE Driver:IDE Driver: supports IDE connection through the ALI supports IDE connection through the ALI

south bridge (PCI).south bridge (PCI).

Drivers & supported Drivers & supported PeripheralsPeripherals

Page 23: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Parallel Port Driver:Parallel Port Driver: supports parallel port supports parallel port drivers & IEEE 1284 protocols. It is possible drivers & IEEE 1284 protocols. It is possible to print text files.to print text files.For advanced printing or for using other For advanced printing or for using other devices connected to the parallel port, devices connected to the parallel port, additional drivers are required.additional drivers are required.

USB Driver:USB Driver: supports many devices supports many devices connected through the USB port. Mass connected through the USB port. Mass Storage devices are fully supported using Storage devices are fully supported using mount system. mount system.

Drivers & supported Drivers & supported PeripheralsPeripherals

Page 24: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

ContentsContents

Project GoalsProject Goals Tools & design’s main flowTools & design’s main flow Drivers & supported peripheralsDrivers & supported peripherals

Accessed Peripherals Accessed Peripherals Project websiteProject website

Page 25: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Accessed PeripheralsAccessed Peripherals

Sound:Sound: To play an audio file, use the To play an audio file, use the command:command:cat <path to the audio file> > /dev/dsp. cat <path to the audio file> > /dev/dsp.

UART:UART: We connected the board to the PC We connected the board to the PC through the COM1 connector.through the COM1 connector.

Ethernet:Ethernet: We used the mount system to We used the mount system to mount shared folders in the PC to the Linux mount shared folders in the PC to the Linux using the Ethernet connection.using the Ethernet connection.PC IP – 192.168.10.1 , Board IP – 192.168.10.2PC IP – 192.168.10.1 , Board IP – 192.168.10.2

USB:USB: We connected a USB mass storage We connected a USB mass storage device (Disk on Key) and mounted its folders device (Disk on Key) and mounted its folders to the Linux system.to the Linux system.

Page 26: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

PCI – video card:PCI – video card: We connected the board to a screen We connected the board to a screen using PCI Matrox Millennium video card, and started using PCI Matrox Millennium video card, and started a Linux Graphical Environment.a Linux Graphical Environment.

Mouse / Keyboard:Mouse / Keyboard: We used We used the Mouse and the the Mouse and the Keyboard while working in the Graphical Keyboard while working in the Graphical Environment.Environment.

Parallel Port:Parallel Port: We printed text files through the We printed text files through the parallel port after applying the necessary kernel parallel port after applying the necessary kernel configurations.configurations.

IDE:IDE: We connected Hard drive to IDE connector, and We connected Hard drive to IDE connector, and mounted it through the Linux. mounted it through the Linux.

Accessed PeripheralsAccessed Peripherals

Page 27: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

ContentsContents

Project GoalsProject Goals Tools & design’s main flowTools & design’s main flow Drivers & supported peripheralsDrivers & supported peripherals Accessed PeripheralsAccessed Peripherals Project websiteProject website

Page 28: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Project WebsiteProject Website

The following items will be added to the project website:The following items will be added to the project website: All the steps needed in order to create & configure a basic kernel All the steps needed in order to create & configure a basic kernel

using Xilinx’s and Montavista’s tools.using Xilinx’s and Montavista’s tools. The necessary setup and connections needed to work with the The necessary setup and connections needed to work with the

Linux on the board.Linux on the board. How to use the USB port.How to use the USB port. How to mount folders from the PC to the Linux system using the How to mount folders from the PC to the Linux system using the

NFS system.NFS system. How to setup the graphical environment.How to setup the graphical environment. How to configure the kernel to print files through the parallel port,How to configure the kernel to print files through the parallel port,

And how to print files. And how to print files. Basic configurations when working with the kernel. Basic configurations when working with the kernel. How to compile example c program (driver) and execute it in Linux.How to compile example c program (driver) and execute it in Linux. Useful information on Linux & the tools (docs, links, Howto’s etc..). Useful information on Linux & the tools (docs, links, Howto’s etc..).

Page 29: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Project Website - Project Website - OverviewOverview

Page 30: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Project Website - Project Website - OverviewOverview

Page 31: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Project Website - Project Website - OverviewOverview

Page 32: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Project Website - Project Website - OverviewOverview

Page 33: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Project Website - Project Website - OverviewOverview

Page 34: 29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.

29 April 2005Part B Final Presentation

Thank YouThank You! !