Install MontaVista™ Linux® PE 3.1 on ADI® Coyote IXP425 Adviser : Dr Cheng (鄭伯炤) Author : Shower Tsai (蔡鎮宇) :

Slides:



Advertisements
Similar presentations
Drivers and the kernel1-1 Drivers and the kernel UNIX system has three layers: m The hardware m The operating system kernel m The user-level programs Kernel.
Advertisements

Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
Choose a category: Install Episys Install Accessories Synergent Confidential Episys Version Synergent 2008Download latest guides from:
Introduction of MontaVista Linux Ku-Chuan Lin. MontaVista Linux2 2015/6/3 Outlines Introduction of Embedded System Environment Build Host Build Target.
Lesson 15 – INSTALL AND SET UP NETWARE 5.1. Understanding NetWare 5.1 Preparing for installation Installing NetWare 5.1 Configuring NetWare 5.1 client.
GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.
29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.
Installation. Installation   There are three phases to building an LTSP server: – –Installing the LTSP utilities – –Installing the LTSP client packages.
Overview Basic functions Features Installation: Windows host and Linux host.
Developed by Klaus Knopper Linux Consultant. What is Knoppix?  Unix-like operating system  Run directly from CD or DVD  Bootable from USB flash drive.
Linux-MVME Targets Using Motorola Board Support
1. 2 LXU800 User’s Manual 1.Installation – Windows XP UI Features Introduction Data Connection & Disconnection.
COMPUTER SYSTEM LABORATORY Lab8 - Debugging II. Lab 8 Experimental Goal Learn how to debug Linux in source-level by Domingo and diagnose target boards.
Linux Operations and Administration
Va-scanCopyright 2002, Marchany Unit 3 – Installing Solaris Randy Marchany VA Tech Computing Center.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Configuring the MagicInfo Pro Display
MetaMorph Installation. 2 MetaMorph Overview Imaging Toolbox What MetaMorph can do oAcquisition oDevice Control oVisualization oProcessing oAnalysis oPresentation.
Modifying Network Packet Buffering in Network Layer CS518 Final Presentation and Instruction Guide Li Zhang.
Hands-On Virtual Computing
Embedded Linux porting Kernel
Computer System Laboratory
May 10, 2012 Lloyd Moore, President/Owner. Quick Start Video Building Mobility 1.2 SDK Emulator Quirks Installing On A Device Summary Overview.
LOGO Linux Installation. Linux Distribution Including shells, libraries, tools, compiler, servers, applications. Redhat, Fedora, Mandrake, SuSE, Debian,
Lab 11 Department of Computer Science and Information Engineering National Taiwan University Lab11 - Porting 2014/12/9/ 26 1.
Network Installation Objectives –Manage linux installation from network install server Contents –Preparing for a network installation –Setting up the install.
Geo CE-XM ch 4 Edited 10/14/05 1 The XM is the newest of the rovers, and unlike other units, it comes with software installed on the unit as well as using.
AT91SAM9261-EK WinCE 5.0 DEMO ATMEL AT91 Application & Support Group Version 1.O February 2007.
Internet of Things with Intel Edison Compiling and running Pierre Collet Intel Software.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
Installing SME Version 5 –1)Set the computer to boot from the CDRom by changing the BIOS setting. –2)Startup the computer with the CD in the CD drive –3)Type.
Booting Ubuntu Linux Live CSCI 130 – Fall 2008 Action Lab Dr. W. Jones.
Ericsson-LG Enterprise Proprietary | | Page 1 Slide title 30 pt Text and bullet level 1 minimum 24 pt Bullets level 2-5 minimum 20 pt Do not.
Cisco ASA 5505 Joseph Cicero Northeast Wisconsin Technical College.
INFSO-RI Enabling Grids for E-sciencE Installation of an APT+kickstart server Giuseppe Platania INFN Catania EMBRACE Tutorial Clermont-Ferrand,
Proxy Installer for Windows Squid: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response.
Kickstart Installation
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
7200 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. 1/16 OfficeServ 7200 Enterprise IP Solutions Data Server S/W Upgrade.
© 2008 Cisco Systems, Inc. All rights reserved.CIPT1 v6.0—1-1 Getting Started with Cisco Unified Communications Manager Installing and Upgrading Cisco.
C. Aiftimiei, E. Ferro / January LCFGng server installation Cristina Aiftimiei, Enrico Ferro INFN-LNL.
7200 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. 1/7 OfficeServ 7200 Enterprise IP Solutions Data Server S/W Upgrade.
LOGO Linux Installation. Linux Distribution Including shells, libraries, tools, compiler, servers, applications. Redhat, Fedora, Mandrake, SuSE, Debian,
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
Lab 5 Department of Computer Science and Information Engineering National Taiwan University Lab5 – Bootloader + OS Kernel 2015/10/27/ 25 1.
Lab 8 Department of Computer Science and Information Engineering National Taiwan University Lab8 - Root Filesystem 2015/11/10/ 22 1.
How to Build RedBoot Image for IXDP425 ? 林谷泉.
Implementation of Embedded OS
Prestige NAND Flash DOWNLOAD. Prepare ITEM. 1.PC - Run Tftpd32 program. (Tftpd setup.exe install ) 2. Download DVR B/D 3. Download Serial B/D 4.
Lab 5 Department of Computer Science and Information Engineering National Taiwan University Lab5 - OS Kernel 2014/10/21/ 16 1.
Embedded Real-Time Systems Introduction to embedded software development Lecturer Department University.
1 Setup and Compile Linux Kernel Speaker: Yi-Ji Jheng Date:
IBM Software Group © 2008 IBM Corporation IBM Tivoli Provisioning Manager 7.1 OS Management with TPM for OS Deployment.
MVL3.0 설치를 위한 Cross 환경 설정 구 본 진. Contents  IXDP425 보드 소개  Cross 개발 환경 구축.
PXEBOOT. What is PXEBOOT. The Preboot Execution Environment (PXE) is a service, Establish client/server communication and it will install the OS to the.
An Embedded Wireless Mini-Server with Database Support Presented by: Amit Kumar.
By Ganesan Alagu Ganesh Feb 26, 2008
Computer System Laboratory
CCNA Routing and Switching Routing and Switching Essentials v6.0
CIT 384: Network Administration
HTTP Server Protocol Module :
Data Server S/W Upgrade Samsung Electronics Co., Ltd.
Drivers and the kernel UNIX system has three layers: Kernel
Chapter 10: Device Discovery, Management, and Maintenance
CCNA Routing and Switching Routing and Switching Essentials v6.0
Chapter 10: Device Discovery, Management, and Maintenance
SUSE Linux Enterprise Desktop Administration
Software Setup & Validation
Lecture9: Embedded Network Operating System: cisco IOS
Lecture9: Embedded Network Operating System: cisco IOS
Presentation transcript:

Install MontaVista™ Linux® PE 3.1 on ADI® Coyote IXP425 Adviser : Dr Cheng (鄭伯炤) Author : Shower Tsai (蔡鎮宇) :

Outline Introduction Set up Host environment Compile kernel Image Set up Target Set up Server Hello world Kernel module IXP400 Software Codelet

Introduction ADI coyote ixp425 Environment Prepare

ADI Coyote IXP425 LAN port WAN port Phone port Mini PCI slot power Intel® IXP425™ Reset Flash USB 1.1 Rs-232

Development Environment Host computer Target board Serial (Initial setup) NFS mount Network (Most work) Hard device TFTP server zImage DHCP server NFS server MVL Mini com

Preparing Development System OS  Mandrake® 8.1 (on x86)  Red Hat® 7.3 or 9.0 (on x86)  SuSE® 9.0 (on x86)  Solaris™ 8 (on Sparc™)  Windows® 2000/XP MontaVista™ Linux® PE 3.1 File  ipl_ixp400accesslibrarywithcrypto-1_5.zip (include access library and drivers )  ixp400linuxethernetdriverpatch-1_2.zip  ixp400linuxintegrationpatch-1_2.zip (For kernel path and config : CONFIG_IXP425_ETH)  ipl_ixp400npelibrarywithcrypto-1_5.zip

Initial process (1/2) Use Minicom / hyper terminal logon Redboot Install Linux 7.2 / 7.3 with all packages and shut down the firewall Configure TFTP 、 DHCP 、 NFS server Press Ctrl + C to stop Redboot execute script Install MVL PE 3.1 Host Binaries 、 arm_xscale_be 、 intel-ixdp425 LSP on Host and compile zImage Edit script and network configuration copy the zImage to /tftpbootPress reset and restart Target HOSTTARGET

Initial process (2/2) Target execute script Target download zImage from TFTP Auto decompress zImage and initial MontaVista Linux OS MVL OS get network information from DHCP MVL OS connect to NFS server Complete the process and then enter “root” to use the system Turn on TARGET

Set up Host environment Install MVL 3.1

Install MontaVista™ Linux® Version 3.1 Host Binaries Insert CD1 : MontaVista™ Linux® Version 3.1 Host Binaries Enter /mnt/cdrom/ install to install MontaVista™ Linux®

Install MVL 3.1 Host Binaries Open Web Browser , fill the URL with “ “

Install MVL 3.1 Host Binaries License agreement

Install MVL 3.1 Host Binaries Select full installation

Install MVL 3.1 Host Binaries Make sure everything is right and the press “next”

Install MVL 3.1 Development Environment Insert CD2 : MontaVista™ Linux® Version 3.1 Development Environment

Install MVL 3.1 Development Environment Agree license

Install MVL 3.1 Development Environment Make sure everything is right and the press “next”

Install MVL 3.1 Development Environment Installing

Install MVL 3.1 ADI coyote LSP arm_xscale_be Insert CD3 : MontaVista™ Linux® Version 3.1 ADI Coyote LSP arm_xscale_be

Install MVL 3.1 Development Environment Select ADI coyote Reference Platform

Install MVL 3.1 cross arm_xscale_be Insert CD4 : MontaVista™ Linux® Version 3.1 cross arm_xscale_be

Install MVL 3.1 target arm_xscale_be Insert CD5 : MontaVista™ Linux® Version 3.1 target arm_xscale_be

Install MVL 3.1 target arm_xscale_be

Select “skip”

Install MVL 3.1 target arm_xscale_be Finish

Compile kernel Image Get the file Patch Compile zImage

File you need go and downloadwww.intel.com  ipl_ixp400accesslibrarywithcrypto-1_5.zip  ipl_ixp400npelibrarywithcrypto-1_5.zip  ixp400linuxethernetdriverpatch-1_2.zip  ixp400linuxintegrationpatch-1_2.zip Unzip them to /root/nplab (work dir)

Patch the file Copy the file /opt/montavista/pro/devkit/lsp/adi- coyote-arm_xscale_be/linux _mvl31 linux Here has the source code of the kernel we need and then create a soft link “linux” point to the copy directory

Patch the file Fix ixp400_xscale_sw/buildUtils/environment.linux.sh  linuxbe_KERNEL_DIR=/root/nplab/linux  IX_XSCALE_SW=/root/nplab/ixp400_xscale_sw execute. environment.linux.sh

Patch the file Go to /root/nplab/linux  patch -p1 <../ixp400LinuxKernel-BE-1_2.patch  patch -p1 <../ixp400LinuxEthernetDriver-1_2.patch Go to /root/nplab  Use ixp425_eth_update_nf_bridge- 1_2.patch to fix ixp425_eth.c

Start to compile zImage Go to /root/nplab/linux “make menuconfig”  System Type ->IXP425 Implementation Options  Network device support->Ethernet (10 or 100Mbit)  Intel IXP425 Ethernet Device support

Start to compile zImage After “make menuconfig”,edit “.config” , patch Accesslibary CONFIG_IXP425_LIB=m make dep make zImage

Complete the compile We will have the “zImage” at /root/nplab/linux/arch/arm/boot Copy zImage to /tftpboot

Set up Target Configure moinicom Edit Script

Configure minicom Logon Linux by root “Minicom –s” to configure minicom

Configure minicom configure serial port by below

Configure minicom Exit Serial port setup and enter Modem and dialing

Configure minicom Clean A 、 B 、 K fields

Configure minicom Save setup as df1 Select “exit” to exit and connect to target Or select “exit from minicom” to exit

Edit Script Restart target. Press Ctrl+C to redboot

Edit Script At RedBoot Command line , enter “fconfig” to edit Script and network

Edit Script zImage 檔名

Edit Script Set Script waiting time before execute ( for example, wait 3 seconds )

Edit Script Set up your network

Edit Script Save and restart

Set up Server TFTP server DHCP server NFS server

Set up TFTP server Edit /etc/xinetd.d/tftp Change the “disable” field from “yes” to “no”

Set up TFTP server After save the file, execute etc/init.d/xinetd reload zImage will be copied to /tftpboot

Set up DHCP server Check dhcp.leases If not, use “touch”

Set up DHCP server Edit /etc/dhcp.conf

Set up DHCP server Restart DHCP server Run DHCP server when boot

Set up NFS server Edit /etc/exports Add “/opt/montavista/pro/devkit/arm/xscale_be/target *(rw,no_root_squash,no_all_squash)” Restart NFS

Set up NFS server Run NFS server when boot /sbin/chkconfig nfs on Sync NFS daemon : /usr/sbin/exportfs -ra

Hello world Set up executable search path Compile a program

The executable search path of Target 提供 Host 端使用 MontaVista™ Linux® 工具 Application : /opt/montavista/host/bin Man Pages : /opt/montavista/host/man Info Pages : /opt/montavista/host/info

The executable search path of host 提供 Host 端開發並可以在 Target 端執行的程 式 Application : /opt/montavista/devkit/arm/xscale_be/bin Man Pages : /opt/montavista/devkit/arm/xscale_be/ma n Info Pages : /opt/montavista/devkit/arm/xscale_be/inf o

The executable search path of Cross-development Application : /montavista/devkit/arm/xscale_be/target/bin  Target : /bin /opt/montavista/devkit/arm/xscale_be/target/usr/bin  Target : /usr/bin /opt/montavista/devkit/arm/xscale_be/target/sbin  Target : /sbin /opt/montavista/devkit/arm/xscale_be/target/usr/sbin  Target : /sbin /opt/montavista/devkit/arm/xscale_be/target/usr/share  Target : /usr/share Man Pages : /opt/montavista/devkit/arm/xscale_be/target/usr/share/man Info Pages : /opt/montavista/devkit/arm/xscale_be/target/usr/share/info

Set up executable search path of Target 、 Host and Cross-development Set up Host Application path : /opt/montavista/pro/host/bin PATH=$PATH:/opt/montavista/pro/host/bin Then we can use the tool MontaVista™ Linux® provide ( ex. mvl-rpm ) montavista

Set up executable search path of Target 、 Host and Cross-development Set up Application path of Cross development : /opt/montavista/pro/devkit/arm/xscale_be/bin PATH=$PATH:/opt/montavista/pro/devkit/arm /xscale_be/bin Cross development Application perfix : xscale_be- ( ex. xscale_be-gcc ) montavista

Set up executable search path of Target 、 Host and Cross-development Edit /etc/profile Add Host Application path: /opt/montavista/pro/host/bin Add Cross development application path : /opt/montavista/pro/devkit/arm/xscale_be/bin

Hello world Create a directory “myapplication” Edit a progream : hellow.c

Hello world Use xscale_be-gcc to compile your c file Copy it to the directory where target mount /opt/montavista/pro/devkit/arm/xscale_be /target/root/

Execute the binary on target Logon on target and execute

Kernel module Create kernel module Install NPE-Ethernet driver

Create kernel module First, check the environment Go to /root/nplab and then use ”make module” to create kernel module

Create kernel module Execute make modules_install INSTALL_MOD_PATH=/~~~~ Install modules to the directory where target mount

Install NPE-Ethernet driver module Logon on target and use “lsmod” to show what modules have been loaded use “rmmod” to remove the module

Install NPE-Ethernet driver module Go to /lib/modules/2.4.20_mvl31- coyote/kernel/drivers/ixp400/

Install NPE-Ethernet driver module Ismod ixp400.o Go to /lib/modules/2.4.18_mvl30-ixdp425/kernel/drivers/net Ismod ixp425_eth.o

Configure ixp0 Configure the ip of ixp0 At same time, minicom~~~

IXP400 Software Codelet Install a codelet Test the codelet

Install ixp400 software codelet driver module Go to /lib/modules/2.4.18_mvl30- ixdp425/kernel/drivers/ixp400/ Ismod ixp400.o Ismod ixp400_codelets_ethAcc.o with operationType=1

Test codelet At same time, minicom~~ ixp0 擷取到由 Test 所產生的封包