ARMSDK-VM Virtual Appliance A preconfigured Linux system



Similar documents
The Build Process. of (GNU Tools for ARM Embedded Processors)

LSN 10 Linux Overview

Installing Sun's VirtualBox on Windows XP and setting up an Ubuntu VM

1. Install a Virtual Machine Download Ubuntu Ubuntu LTS Create a New Virtual Machine... 2

The Tor VM Project. Installing the Build Environment & Building Tor VM. Copyright The Tor Project, Inc. Authors: Martin Peck and Kyle Williams

ECT362 Installing Linux Virtual Machine in KL322

VMWare Workstation 11 Installation MICROSOFT WINDOWS SERVER 2008 R2 STANDARD ENTERPRISE ED.

1. Install a Virtual Machine Download Ubuntu Ubuntu LTS Create a New Virtual Machine... 2

Creating a Linux Virtual Machine using Virtual Box

Buildroot for Vortex86EX (2016/04/20)

APPLICATION NOTE. How to build pylon applications for ARM

How To Install Acronis Backup & Recovery 11.5 On A Linux Computer

IBM Security QRadar Version Installing QRadar with a Bootable USB Flash-drive Technical Note

Personal Virtual Server (PVS) Quick Start Guide

Acronis Backup & Recovery 11.5 Quick Start Guide

Using VMware Player. VMware Player. What Is VMware Player?

Installing Proview on an Windows XP machine

The BackTrack Successor

AdminToys Suite. Installation & Setup Guide

Acronis Backup & Recovery 11.5

Online Backup Client User Manual

Acronis Backup & Recovery 11

Oracle Fusion Middleware

RecoveryVault Express Client User Manual

Accessing RCS IBM Console in Windows Using Linux Virtual Machine

Newton2 Developers Guide

Installing Windows On A Macintosh Or Linux Using A Virtual Machine

Getting Started With Parallels Desktop 10

HP SDN VM and Ubuntu Setup

SmoothWall Virtual Appliance

NAS 249 Virtual Machine Configuration with VirtualBox

Online Backup Linux Client User Manual

NetIQ Sentinel Quick Start Guide

Online Backup Client User Manual

Consolidated Monitoring, Analysis and Automated Remediation For Hybrid IT Infrastructures. Goliath Performance Monitor Installation Guide v11.

VERITAS Backup Exec 9.1 for Windows Servers Quick Installation Guide

Using Keil software with Linux via VirtualBox

Virtual Appliance for VMware Server. Getting Started Guide. Revision Warning and Disclaimer

Linux Development Environment Description Based on VirtualBox Structure

Parallels Desktop 4 for Windows and Linux Read Me

Moxa Device Manager 2.3 User s Manual

Verax Service Desk Installation Guide for UNIX and Windows

Archive One Policy V4.2 Quick Start Guide October 2005

Virtualization Technology (or how my Windows computer gave birth to a bunch of Linux computers)

1. Product Information

Acronis Backup & Recovery 10 Server for Windows. Installation Guide

VMware Horizon FLEX User Guide

Creating a Windows XP Virtual Machine using Virtual Box

Online Backup Client User Manual Linux

Installing VMware Tools on Clearswift v4 Gateways

CS197U: A Hands on Introduction to Unix

ERIKA Enterprise pre-built Virtual Machine

2.6.1 Creating an Acronis account Subscription to Acronis Cloud Creating bootable rescue media... 12

Virtual Appliance Setup Guide

Acronis Backup & Recovery 11

Cassandra Installation over Ubuntu 1. Installing VMware player:

Testing your Linux Virtual Box

VMware Horizon FLEX User Guide

Getting Started with Database Provisioning

Computer Science and Engineering Linux Cisco VPN Client Installation and Setup Guide

Parallels Desktop for Mac

Installation & Activation Guide

Moxa Device Manager 2.0 User s Guide

Mobile App User's Guide

HOW TO BUILD A VMWARE APPLIANCE: A CASE STUDY

Revision History. Revision Revision History Date

VMware Horizon FLEX User Guide

PHD Virtual Backup for Hyper-V

An Oracle White Paper April How to Install the Oracle Solaris 10 Operating System on x86 Systems

License Patrol TM Mac Client Installation Guide 7.0 for Mac OS X. September 2015 VERALAB TM

Virtual Server Installation Manual April 8, 2014 Version 1.8

Operating System Installation Guidelines

Abstract. Microsoft Corporation Published: August 2009

InfoPrint 4247 Serial Matrix Printers. Remote Printer Management Utility For InfoPrint Serial Matrix Printers

Using VirtualBox ACHOTL1 Virtual Machines

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

Land Information New Zealand (LINZ) SALT Database. Migration from original hardware to virtualised hardware: Process Documentation

SecureClient Central Installation Guide. September 2014

How to Test Out Backup & Replication 6.5 for Hyper-V

The Virtual Environment

Getting Started with VMware Fusion. VMware Fusion for Mac OS X

Getting Started With Parallels Desktop 8

Integration with Active Directory

Getting started with ARM-Linux

Acronis Backup & Recovery 11 Virtual Edition

Getting Started With Parallels Desktop 9

Cincom Smalltalk. Installation Guide P SIMPLIFICATION THROUGH INNOVATION

Getting Started with VMware Fusion

Acronis Backup & Recovery 10 Server for Windows. Installation Guide

StarWind iscsi SAN Software: Installing StarWind on Windows Server 2008 R2 Server Core

Acronis Backup & Recovery 11.5

VERITAS Backup Exec TM 10.0 for Windows Servers

PRODUCT GUIDE. N u c l e u s D a t a R e c o v e r y. C o m P riv a t e L i m i t e d

RUGGEDCOM NMS for Linux v1.6

Novell Identity Manager Resource Kit

ThinkServer RD540 and RD640 Operating System Installation Guide

Polar Help Desk Installation Guide

Intelligent Video Analytics. Server Installation Guide. - Windows - Linux

Transcription:

ARMSDK-VM Virtual Appliance A preconfigured Linux system Ka-Ro electronics GmbH - Pascalstr. 22, D-52076 Aachen, Germany - Tel.: +49 2408 1402-0 (FAX -10) www.karo-electronics.de

Disclaimer The information contained within this specification, including but not limited to any product specification, is subject to change without notice. Ka-Ro electronics provides no warranty with regard to this specification or any other information contained herein and hereby expressly disclaims any implied warranties of merchantability or fitness for any particular purpose with regard to any of the foregoing. Copyright Notice Copyright 2009, Ka-Ro electronics GmbH. All rights reserved. All text, pictures and graphics are protected by copyrights. No copying is permitted without written permission. We have made every attempt to ensure that the information in this document is accurate yet the information contained within is supplied as-is. Trademarks ARM is a registered trademark of ARM Limited. VMware is a registered trademark of VMware, Inc. in the United States. Microsoft, Windows, and Windows NT are registered trademarks of Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. All other brand and product names, trademarks, and copyrights are the property of their respective owners. 2/12 2011-02-23 ARMSDK-VM Guide

Table of contents 1 System-Setup...4 1.1 Ready to use virtual appliance...4 1.2 System requirements...4 1.3 VMware Player...4 1.4 KARO-ARM virtual appliance...5 1.4.1 Login...5 1.4.2 Mount the CDROM...5 1.4.3 Change the keyboard layout...5 2 Setting up the tool-chain...6 2.1 Getting the source...6 2.2 Preparing...6 2.3 Building...7 3 Linux kernel...8 3.1 Getting the source...8 3.2 Preparing...8 3.3 Building...8 4 Root-File-System...9 4.1 Getting the source...9 4.2 Preparing...9 4.3 Building...9 5 Redboot...10 5.1 Getting the source...10 5.2 Preparing...10 5.3 Building...10 6 Prerequisites on other systems...11 6.1 List of required Debian 5 (Lenny) utilities...11 7 Document revision history...12 ARMSDK-VM Guide 2011-02-23 3/12

1 System-Setup 1.1 Ready to use virtual appliance A virtual appliance is a virtual machine image designed to run on a virtualisation platform (e.g., VMware Workstation, Xen, VirtualBox). Ka-Ro provides a complete preconfigured Debian 5 (Lenny) VMware virtual machine, called ARMSDK-VM, which can be used to customise RedBoot, Linux kernel and root-file-system. 1.2 System requirements The minimum host system requirements for installing and using the ARMSDK-VM virtual appliance are: Standard x86-compatible or x86-64-compatible PC Processor speed 733MHz or faster Memory 512 MB minimum (2GB recommended). You must have enough memory to run the host operating system, the virtual machine, and applications on the host and guest operating systems. Hard disk - At least 10GB free disk space is recommended VMware Player version 2.5.3 or later 1.3 VMware Player To be able to use the ARMSDK-VM virtual appliance a VMware Player has to be installed and properly configured on the host machine. VMware Player is the easiest way to run multiple operating systems at the same time on your PC. With its user-friendly interface, VMware Player makes it effortless for anyone to try out Windows 7 or the latest Linux releases, or create isolated virtual machines to safely test new software and surf the Web. The ARMSDK-VM virtual appliance has been tested with VMware Player version 2.5.3. Please download and install this from here: http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/2_5 Refer to the VMware Player documentation for more details: http://www.vmware.com/support/pubs/player_pubs.html 4/12 2011-02-23 ARMSDK-VM Guide

1.4 KARO-ARM virtual appliance The ARMSDK-VM virtual appliance can be downloaded from the Ka-Ro website: http://www.karo-electronics.com/download.htm To execute the VM copy first the delivered Version on your local hard disk C:\. Start the installed VM Player by double click on the desktop icon and click the open button on the Virtual Machine window. Browse into the folder of the VM, place the mouse cursor over in the Debian 5.0 Lenny Server.vmdk and right click the mouse button to pass control to VMware Player. After the Linux kernel is booted the VM windows shows the Debian desktop environment. Enter the login name and user password as root. The VM is not designed to build a particular version of the tool-chain or rootfs and therefore it comes without any pre-installed source code. 1.4.1 Login Three user accounts are configured on the ARMSDK-VM virtual appliance: user: root user: user user: armsdk password: user password: user password: armsdk Always login as armsdk for doing all the tasks described in this document. 1.4.2 Mount the CDROM Login as armsdk and put the CD into the cdrom drive. Mount the cdrom device: sudo mount -t iso9660 /dev/hda /cdrom Verify mounted device: ls /cdrom 1.4.3 Change the keyboard layout The default keyboard mapping is setup for a german keyboard. Use this command to change the layout: sudo dpkg-reconfigure console-data ARMSDK-VM Guide 2011-02-23 5/12

2 Setting up the tool-chain 2.1 Getting the source The gcc and tool-chain sources can be found on the Starterkit CD in /Linux/tool-chain. Please refer to the README file for additional information. Also check for updates on the Ka-Ro homepage: http://www.karo-electronics.com/download.htm. 2.2 Preparing Login as armsdk Create the folder /user/local/arm: sudo mkdir -p /usr/local/arm Change the permissions to be able to use it with your armsdk user account: sudo chown armsdk /usr/local/arm Create the tool-chain and arm-linux directories mkdir -p ~/starterkit/tool-chain mkdir -p ~/starterkit/arm-linux Extract the archives cd ~/starterkit/tool-chain tar -xjf /cdrom/linux/tool-chain/tool-chain-src.tar.bz2 tar -C../arm-linux -xjf /cdrom/linux/arm-linux_src.tar.bz2 6/12 2011-02-23 ARMSDK-VM Guide

2.3 Building Use the build-tool-chain script to build the ARM EABI tool-chain for compiling the Linux kernel and applications: bash build-tool-chain -m tx25 -pgi Use the build-tool-chain script to build a OABI tool-chain for compiling RedBoot bash build-tool-chain -m tx25 -op Call bash build-tool-chain -h for further information and available options. Modify the PATH settings: for TX25/TX27/TX28: PATH="$PATH:/usr/local/arm/cross-gcc-4.4.1-armv5te-soft/`uname -m`-pc-linux-gnu/bin" PATH="$PATH:/usr/local/arm/cross-gcc-4.4.1-armv5te/`uname -m`-pc-linux-gnu/bin" for TX51: PATH="$PATH:/usr/local/arm/cross-gcc-4.4.1-armv7a-soft/`uname -m`-pc-linux-gnu/bin" PATH="$PATH:/usr/local/arm/cross-gcc-4.4.1-armv7a/`uname -m`-pc-linux-gnu/bin" ARMSDK-VM Guide 2011-02-23 7/12

3 Linux kernel 3.1 Getting the source The Linux kernel sources can be found on the Starterkit CD in /Linux/TX25/ or /Linux/TX27/ depending on the module type you are using. Please refer to the README file for additional information. Also check for updates on the Ka-Ro homepage: http://www.karo-electronics.com/download.htm. 3.2 Preparing Login as armsdk Create the build directory: mkdir -p ~/starterkit/arm-linux cd ~/starterkit/arm-linux Extract the archive: tar -xjf /cdrom/linux/arm-linux_src.tar.bz2 3.3 Building Refer to ~/starterkit/arm-linux/documentation/arm/readme and ~/starterkit/arm-linux/documentation/kbuild/makefiles.txt for details. 8/12 2011-02-23 ARMSDK-VM Guide

4 Root-File-System 4.1 Getting the source The root-file-system source code can be found on the Starterkit CD in /Linux/rootfs. Please refer to the README file for additional information. Also check for updates on the Ka-Ro homepage: http://www.karo-electronics.com/download.htm. 4.2 Preparing Login as armsdk Create the build directory: mkdir -p ~/starterkit/rootfs-build cd ~/starterkit/rootfs-build Extract the archive: tar -xjf /cdrom/linux/rootfs/rootfs_src.tar.bz2 4.3 Building To compile the rootfs issue the command: bash build_all.sh This will create a tar archive file that contains the rootfs binaries. Refer to the README file in the rootfs source archive for more information about the build process. To create a bootable root file system or an image file for flash programming, this archive has to be extracted as 'root': mkdir -p /tftpboot/rootfs tar -C /tftpboot/rootfs -xzf build-arm-926ejs-linux-gnueabi-soft/rootfs-arm-926ejs-linux-gnueabi-soft.tgz cd../arm-linux/ make modules_install INSTALL_MOD_PATH=/tftpboot/rootfs The contents of /tftpboot/rootfs can now be used as mount point for an NFS-mounted rootfs or as source for creating a flash image with the 'mkfs.jffs2' utility: mkfs.jffs2 -n -e 0x20000 -p 0x20000 -d /tftpboot/rootfs -o rootfs.image mkfs.jffs2 can be installed with the command: sudo aptitude install mtd-utils ARMSDK-VM Guide 2011-02-23 9/12

5 Redboot 5.1 Getting the source The RedBoot sources can be found on the Starterkit CD in /RedBoot. Please refer to the README file for additional information. Also check for updates on the Ka-Ro homepage: http://www.karo-electronics.com/download.htm. 5.2 Preparing Login as armsdk Create the build directory: mkdir -p ~/starterkit/ecos cd ~/starterkit/ecos Extract the archive: tar -xjf /cdrom/redboot/ecos_src.tar.bz2 5.3 Building The RedBoot source code contains support for TX25 as well as TX27 with either 64MiB or 128 MiB SDRAM. The target for which to build is selected via configuration files (*.ecc) in the 'config' subdirectory of the RedBoot source tree. Run the build script 'build.sh' giving the name of the appropriate configuration file from the 'config' directory as parameter. E.g. for TX25-4021: bash build.sh TX25-40x1 The binary file is located in the folder build/current/install/bin/redboot.bin 10/12 2011-02-23 ARMSDK-VM Guide

6 Prerequisites on other systems Ka-Ro provides a complete preconfigured Debian 5 (Lenny) VMware virtual machine, called ARMSDK-VM. To setup your own system the following steps can be used as a guideline. The version numbers indicate the configuration that was used to build the rootfs for the starterkit CD, which does not necessarily mean, that other versions of those tools cannot be used. If needed, update the Debian 5 (Lenny) Linux distribution first: aptitude update Use aptitude to install all the packages listed below, e.g.: aptitude install gcc bison. 6.1 List of required Debian 5 (Lenny) utilities autoconf autoconf-archive automake autotools-dev bison bzip2 fakeroot flex g++ gawk gcc gettext gperf libc6-dev libgmp3-dev libmpfr-dev libncurses-dev libstdc++-dev libtool linux-libc-dev lynx make mtd-utils pkg-config sudo tcl-dev texi2html tk-dev xmlto ARMSDK-VM Guide 2011-02-23 11/12

7 Document revision history Revision Changes 2010-06-08 New layout 2011-02-22 New version 12/12 2011-02-23 ARMSDK-VM Guide