BKM: Installing Ubuntu OS on the DE2i-150 Board

Similar documents
Intel SSD 520 Series Specification Update

Intel Data Migration Software

Revision History. Revision Revision History Date

Intel Desktop Board DP55WB

Intel Data Migration Software

This guide explains how to install an Intel Solid-State Drive (Intel SSD) in a SATA-based desktop or notebook computer.

Creating Overlay Networks Using Intel Ethernet Converged Network Adapters

Intel Desktop Board DG41WV

Intel System Event Log (SEL) Viewer Utility

Intel Desktop Board D945GCPE

Intel Desktop Board DG41TY

Intel Desktop Board DG43NB

Intel Desktop Board D945GCPE Specification Update

Intel Desktop Board DP43BF

Intel Desktop Board D101GGC Specification Update

Intel Desktop Board DG41BI

System Event Log (SEL) Viewer User Guide

How to Configure Intel X520 Ethernet Server Adapter Based Virtual Functions on Citrix* XenServer 6.0*

Intel Desktop Board DQ965GF

Intel Desktop Board DG31PR

Intel Desktop Board DG965RY

Intel Storage System SSR212CC Enclosure Management Software Installation Guide For Red Hat* Enterprise Linux

Intel Compute Stick STCK1A32WFC User Guide. Intel Compute Stick STCK1A32WFC

How to Configure Intel Ethernet Converged Network Adapter-Enabled Virtual Functions on VMware* ESXi* 5.1

Intel System Event Log (SEL) Viewer Utility

Intel Desktop Board DG43RK

Specification Update. January 2014

Partition Alignment of Intel SSDs for Achieving Maximum Performance and Endurance Technical Brief February 2014

Intel Management Engine BIOS Extension (Intel MEBX) User s Guide

Intel Core i5 processor 520E CPU Embedded Application Power Guideline Addendum January 2011

Intel Desktop Board D925XECV2 Specification Update

User Guide Software Version 2.1.0

Customizing Boot Media for Linux* Direct Boot

Intel Desktop Board DQ43AP

Intel Desktop Board D945GCL

Intel 810 and 815 Chipset Family Dynamic Video Memory Technology

Intel Media SDK Library Distribution and Dispatching Process

Intel System Event Log (SEL) Viewer Utility

Intel Extreme Memory Profile (Intel XMP) DDR3 Technology

Intel Simple Network Management Protocol (SNMP) Subagent v6.0

with PKI Use Case Guide

Intel System Event Log (SEL) Viewer Utility. User Guide SELViewer Version 10.0 /11.0 December 2012 Document number: G

Intel Desktop Board DQ35JO

System Image Recovery* Training Foils

Intel Server S3200SHL

Intel Identity Protection Technology (IPT)

Intel Server Board S3420GPV

Intel Server Board S3420GPRX Intel Server System SR1630GPRX Intel Server System SR1630HGPRX

Intel Ethernet and Configuring Single Root I/O Virtualization (SR-IOV) on Microsoft* Windows* Server 2012 Hyper-V. Technical Brief v1.

USB Stick Driver Installation Instructions

RAID and Storage Options Available on Intel Server Boards and Systems

Intel Desktop Board DQ45CB

Intel Rapid Storage Technology

Intel Desktop Board DG45FC

Getting Started with VMware Fusion

iscsi Quick-Connect Guide for Red Hat Linux

Parallels Transporter Agent

Intel Server Raid Controller. RAID Configuration Utility (RCU)

Intel Cloud Builder Guide: Cloud Design and Deployment on Intel Platforms

Intel Matrix Storage Manager 8.x

Intel Core TM i3 Processor Series Embedded Application Power Guideline Addendum

Intel Integrated Native Developer Experience (INDE): IDE Integration for Android*

Intel Desktop Board D945GCZ

Recovery BIOS Update Instructions for Intel Desktop Boards

EHCI Removal from 6 th Generation Intel Core Processor Family Platform Controller Hub (PCH)

Version Rev. 1.0

Intel Identity Protection Technology Enabling improved user-friendly strong authentication in VASCO's latest generation solutions

Intel Q35/Q33, G35/G33/G31, P35/P31 Express Chipset Memory Technology and Configuration Guide

Intel Desktop Board DG33TL

Intel 845G/845GL/845GV Chipset

Intel Desktop Board DG31GL

Running Windows 8 on top of Android with KVM. 21 October Zhi Wang, Jun Nakajima, Jack Ren

Intel RAID Controller Troubleshooting Guide

Intel Technical Advisory

Intel Solid-State Drive Pro 2500 Series Opal* Compatibility Guide

Intel Server Board S5000PALR Intel Server System SR1500ALR

Intel 845G/GL Chipset Dynamic Video Memory Technology

Upgrading Intel AMT 5.0 drivers to Linux kernel v2.6.31

Intel Matrix Storage Console

Intel HTML5 Development Environment. Tutorial Test & Submit a Microsoft Windows Phone 8* App (BETA)

Intel Desktop Board D945GNT

Intel IoT Gateway Software Development Kit SK100

Intel 815 Chipset Platform for Use with Universal Socket 370

Intel Server Board S3420GPLX Intel Server Board S3420GPLC Intel Server System SR1630GP Intel Server System SR1630HGP

Intel HTML5 Development Environment Article Using the App Dev Center

Intel Platform Controller Hub EG20T

Intel RAID RS25 Series Performance

Intel Desktop Board DP35DP. MLP Report. Motherboard Logo Program (MLP) 6/17/2008

Wake on LAN Hardware Implementation Utilizing the Intel EP80579 Integrated Processor Product Line

Intel 965 Express Chipset Family Memory Technology and Configuration Guide

The Transition to PCI Express* for Client SSDs

Intel(R) IT Director User's Guide

Intel Server Board S5520HC

IDE Integration for Android* Part of the Intel Integrated Native Developer Experience (Intel INDE) 1.5.7

BIOS Update Release Notes

Intel X38 Express Chipset Memory Technology and Configuration Guide

Instructions for Recovery BIOS Update

Intel Remote Configuration Certificate Utility Frequently Asked Questions

Transcription:

BKM: Installing Ubuntu OS on the DE2i-150 Board Intelligent Systems with Intel Atom Processors 4 December 2013

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. UNLESS OTHERWISE AGREED IN WRITING BY INTEL, THE INTEL PRODUCTS ARE NOT DESIGNED NOR INTENDED FOR ANY APPLICATION IN WHICH THE FAILURE OF THE INTEL PRODUCT COULD CREATE A SITUATION WHERE PERSONAL INJURY OR DEATH MAY OCCUR. 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. This document contains information on products in the design phase of development. Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and other countries. *Other names and brands may be claimed as the property of others. Copyright 2013 Intel Corporation. All rights reserved

Contents 1 Introduction... 5 1.1 Revision History... 5 2 Ubuntu Installation... 6 2.1 Requirements... 6 2.2 Procedure... 7 2.3 Graphical Install... 8 3 Installing Linux Drivers on Ubuntu... 9 3.1 Overview... 9 3.2 Where to Find a Driver... 9 3.2.1 Ethernet Driver... 9 3.2.2 usbserial Driver... 10 3.2.3 WiFi Driver... 10 3.2.4 PCIe Driver... 10 3.2.5 Specialized Driver for Your Application... 11 4 Appendix... 12 4.1 An Example Installation Using a Flash Drive... 12 4.1.1 Version Information... 12 4.1.2 Step by Step Instructions... 12 4.1.3 Setting Up the Image... 13 4.1.4 Installing Drivers... 13 4.2 FAQs... 14 4.2.1 Ethernet Driver Q&A... 14 4.2.2 WiFi Driver Q&A... 15 4.2.3 Bluetooth Q&A... 15 4.2.4 PCIe Driver Q&A... 16

Figures Figure 1 DE2i-150 Board... 4 Figure 2 SATA Connections Used for External Drive... 7 Figure 3 Terasic DE2i-150 System CD... 11 Figure 1 DE2i-150 Board

1 Introduction This is a quick guide or Best Known Method (BKM) on how to install Ubuntu images for the INTEL Atom processor N2600 on the DE2i-150 board. The Intel Embedded University Program does not provide technical support for the Ubuntu OS. The information in this document is not intended to be a complete guide to using Ubuntu images on the DE2i-150 board. This approach was developed during the initial debug of the DE2i-150 board. There may be alternative methods or simpler approaches for your given configuration. Please use this document as a resource and do not assume that this is the best approach for your needs.. 1.1 Revision History Date Revision Description 7/3/2013 0.1 Initial Release 9/19/2013 1.0 Fix typos and formatting, add descriptive text. 10/9/2013 1.1 Fix typos, add descriptions. 12/4/2013 1.2 Minor text and grammatical fixes.

2 Ubuntu Installation Users have been able to install several versions of Linux on the DE2i-150 board. The Ubuntu OS has been a popular choice of many users. More details about Ubuntu can be found at the following web site: http://www.ubuntu.com/ There are many ways to install Ubuntu on a given system, as described on this web site: https://help.ubuntu.com/community/installation For those who might not have a SATA based drive, there are web sites that describe how to load a USB flash drive device with an image 1, and then install that image: https://help.ubuntu.com/community/installation/fromusbstick You will need the items listed in the Requirements section. Then use the steps listed in the Procedure section to install the Ubuntu image onto the INTEL Atom processor N2600 on the DE2i-150 board. This is a simple process, and it s easy to make simple mistakes, so please read through the Procedure section completely before trying it out. At the end of the document, the process used to install some of the Linux drivers is also provided. 2.1 Requirements An external hard drive (an optical hard drive was used) large enough to hold the Ubuntu image. 1 An example installation using a flash drive is also provided in the appendix.

Note: For this procedure, the OS image was first loaded onto an optical drive. This external drive was then attached to the SATA port using the SATA power port and SATA port (shown in Figure 2 SATA Connections Used for External Drive). Figure 2 SATA Connections Used for External Drive 2.2 Procedure Steps to load an Ubuntu Desktop image onto the DE2i-150 board 1) Configure your BIOS to boot first from your optical drive, then boot from your Ubuntu disc 2) Select Install Ubuntu 3) Select whether you want third party software 4) Select whether you want to connect to wifi 5) Select your installation type 6) Select your drive 7) Select your time zone, and language 8) Restart the system The Ubuntu OS image is now installed. Your should be able to boot the INTEL Atom processor N2600 on the DE2i-150 board using the Ubuntu image on the SSD.

For the DE2i-150 board, you also need to install a driver to communicate between the INTEL Atom processor N2600 and the FPGA, through the PCIe port. See the section on Installing Linux Drivers on Ubuntu for more information. 2.3 Graphical Install The graphical install is described on the following web page: https://help.ubuntu.com/community/installation#standard_installation You should check out the minimum system requirements for using the Graphical Install. https://help.ubuntu.com/community/installation/systemrequirements which include the following: 700 MHz processor (about Intel Celeron or better) 512 MiB RAM (system memory) 5 GB of hard-drive space (or USB stick, memory card or external drive but see LiveCD for an alternative approach) VGA capable of 1024x768 screen resolution Either a CD/DVD drive or a USB port for the installer media Internet access is helpful If you do not have an Ethernet connection to the DE2i-150 board, you may need to use a 2 nd machine to download packages for the Ubuntu installation. https://help.ubuntu.com/community/synaptic/packagedownloadscript

3 Installing Linux Drivers on Ubuntu 3.1 Overview This section discusses how to install some basic Linux (software) drivers on the DE2i- 150 board. 2 If you discover that a particular driver is not available on the Ubuntu version that you are using, the information in this section should help you load the drivers you need onto your DE2i-150 system. 3.2 Where to Find a Driver Many drivers needed for the DE2i-150 board are pre-installed in the Ubuntu kernel. This may include the Ethernet drivers, the WiFi drivers and the usbserial drivers. Depending on the release, these packages can often be simply activated under the desktop menu: System > Administration > Hardware/Additional Drivers or System > Hardware/Additional Drivers Note: Please use the appropriate linux commands (some examples are provided in the FAQ section of the appendix) to check whether a driver is installed, before trying to install a particular driver. 3.2.1 Ethernet Driver The Intel 82583V Gigabit Ethernet Controller on the DE2i-150 uses the e1000e driver from the Intel download website. For the latest versions of Ubuntu, the driver should already be included in the kernel. 2 There is also a sample Ubuntu Flash Drive installation process (that includes valuable information about how to install drivers) provided in the appendix.

3.2.2 usbserial Driver For Linux systems the USB serial driver currently supports a number of different USB to serial converter products, as well as some devices that use a serial interface from userspace to talk to the device. All available USB-Serial drivers have already been built as modules. If you have a problem using one of these drivers, you may wish to see an example of how to load the driver provided on the following askubuntu.com page: http://askubuntu.com/questions/302583/how-can-i-install-a-driver-for-a-usb-to-serialadapter 3.2.3 WiFi Driver For the WiFi drivers on Ubuntu some cards (including the Intel WiFi card) should work out-of-the-box, while other WiFi cards may need packages (downloading from an install CD or using an existing Internet connection e.g. Ethernet). The Intel Centrino Advanced-N 6205 and Intel Centrino Wireless-N 135 are listed as being supported by the iwlwifi package http://www.intellinuxwireless.org/ Note: The WiFi capabilities of the Intel Centrino Advanced-N 6205 and the Bluetooth and WiFi capabilities of the Intel Centrino Wireless-N 135 were tested using Ubuntu 12.04.1 LTS. 3.2.4 PCIe Driver You may also need to install a driver for the PCIe port between the Intel NM10 Express Chipset and the Altera Cyclone IV FPGA. A Linux PCIe driver is available from Terasic. http://www.terasic.com.tw/cgibin/page/archive.pl?language=english&categoryno=11&no=529 The Linux version of the PCIe driver can be found in the linux directory as shown in Error! Reference source not found..

Figure 3 Terasic DE2i-150 System CD This Linux PCIe driver can be loaded and installed onto the DE2i-150 board as described in the Terasic documentation. 3.2.5 Specialized Driver for Your Application Specialized application areas may require that different Linux drivers also be installed on the board. Please consult the web sites and any FAQs devoted to these specialized application areas for information on how to install drivers not discussed in this section.

4 Appendix Some additional examples and information are provided in this appendix. 4.1 An Example Installation Using a Flash Drive This procedure was used during the 2013 Cornell Cup competition by one of the teams. Since Ubuntu is constantly being improved, some information may not be current. If you have any problems using a Flash Drive in the USB port, you might want to check out the following information about Ubuntu: https://help.ubuntu.com/community/mount/usb 4.1.1 Version Information The following process has been used to successfully install Ubuntu 12.04.1 LTS successfully on the DE2i-150 board. Notes: Ubuntu 12.04.2 or 12.10 was not recommended at the time of the 2013 Cornell Cup. You may want to check whether a later version of Ubuntu can be used. You will also need a linux based PCIe-FPGA driver compatible with Unbuntu. [The PCIE-FPGA driver is pre-installed on the Yocto image provided on the DE2i-150 board.] 4.1.2 Step by Step Instructions Download the Ubuntu 12.04.1 LTS 32-bit image from here: http://old-releases.ubuntu.com/releases/12.04.1/ You will retrieve a file named: ubuntu-12.04.1-desktop-i386.iso Install this.iso file to a USB stick. Boot with the USB stick inserted into the DE2i-150 board.

At the main screen, select Install. You will need to hit the tab key to adjust the load. Remove splash Add video=lvds-1:d Install the Ubuntu image and reboot the DE2i-150 board. 4.1.3 Setting Up the Image After rebooting the board (with the Ubuntu OS), make the following modifications to the installed image. Add the following to the file /etc/default/grub. GRUB_CMDLINE_LINUX_DEFAULT="vmalloc=256MB video=lvds-1:d mem=4gb" sudo update-grub Next, run the Software Update Manager to update Ubuntu (~350MB+ of files). From the terminal window install the ssh server using the following commands: Prompt> sudo apt-get install openssh-server (you may not need this command) Prompt> reboot the board You should have a new kernel 3.2.0-39-generic-pae 4.1.4 Installing Drivers Now the following MUST BE DONE from either a tty window (ie, Ctrl+Alt+F2) or an ssh session to install drivers on the Ubuntu OS.

From a tty window or ssh session, type: Prompt> sudo apt-get install cedarview-drm cedarview-graphics-drivers libvacedarview-vaapi-driver libva-glx1 libva-tpi1 vainfo libva-dev freeglut3 freeglut3- dev binutils-gold libxi-dev libxfont-dev libxext-dev libdrm-dev libpciaccess-dev libxfixes-dev libxv-dev libxpm-dev libx11-dev libxres-dev libxrender-dev libdmx-dev libxkbfile-dev libxinerama-dev libxdamage-dev libxxf86vm-dev mesa-utils libtool autoconf The Ubuntu OS image and Linux drivers are now installed. Your should be able to boot the INTEL Atom processor N2600 on the DE2i-150 board using the Ubuntu image on the SSD and the drivers should be working. Note: If you try to install the driver through the graphical interface the monitor will go to a black screen and never come back, although the system is still alive. 4.2 FAQs These Questions and Answers are provided for checking whether a particular driver has been installed correctly. 4.2.1 Ethernet Driver Q&A Question: How do I tell whether the Ethernet is connected on the DE2i-150 board? Answer: Boot the Ubuntu OS on the DE2i-150 board, open the DASH home, go to a terminal window and type "ifconfig". This will list the ethernet interface. You should be able to see if the MAC address matches the MAC address label on the white sticker on the bottom side of the board. To display info on all network interfaces, active or inactive, type: Prompt> ifconfig -a To view the network settings on a particular adapter, type the command followed by the assigned name for that adapter. For example, for the first Ethernet adapter installed in the computer, type:

Prompt> ifconfig eth0 This command should display the Ethernet network settings. 4.2.2 WiFi Driver Q&A Question: How do I tell whether the wireless drivers are installed on the DE2i-150 board? Answer: Boot the Ubuntu OS on the DE2i-150 board, open the DASH home, go to a terminal window and type: Prompt> iwconfig You should see be able to see an entry for wlann where N 3 is a number if the WiFi drivers are installed. 4.2.3 Bluetooth Q&A Question: How do you check whether a Bluetooth device is connected on Ubuntu? Answer: Check to see whether the Bluetooth driver is already installed on your distribution, by typing: Prompt> hciconfig a The hciconfig command prints the name and basic information about all the Bluetooth devices installed in the system. Note: If no device is listed, you may need to check whether you have Bluetooth installed on your system. For more information on this command, check out the following website: http://www.linuxcommand.org/man_pages/hciconfig8.html 3 for example wlan0 or wlan1

Question: How do you setup Bluetooth on Ubuntu? Answer: Taken from the following webpage: http://crunchbang.org/forums/viewtopic.php?id=742 Open a terminal window and type: Prompt> sudo apt-get install bluez-gnome Bluetooth gnome-bluetooth Once installed, you will need to add the tray icon to your autostart.sh file. (sleep 5s && Bluetooth-applet) & Once the applet is up and running, the icon should appear and you should be able to use the Bluetooth connection (if you have Bluetooth hardware in your DE2i-150 kit). 4.2.4 PCIe Driver Q&A Question: How do I tell whether the PCIe driver is installed on the DE2i-150 board? Answer: Boot the Ubuntu OS on the DE2i-150 board, open the DASH home, go to a terminal window and type: Prompt> modprobe terasic-qsys-pcie You can see all the PCI devices recognized by the Ubuntu OS by typing: Prompt> lspci You should see many entries for the system peripherals; the FPGA should be listed as Altera Non-VGA device (or something along those lines).