ECos (Twothread Compile) 한규종

Slides:



Advertisements
Similar presentations
Dayu Zhang 9/8/2014 Lab02. Example of Commands pwd --- show your current directory This is home of venus, not your home directory Tilde: means you are.
Advertisements

Modern Operating Systems 2014 Practice Tasks. Lab1. OS Installation. Boot configuration Install Dual boot system Linux / Windows 7 or 8 / win server 2012(Dreamspark.
Computer System Laboratory
CSCI S-1 Section 3. Deadlines for Homework 2 Problems 1-8 in Parts C and D – Friday, July 3, 17:00 EST Parts E and F – Tuesday, July 7, 17:00 EST.
WINDOWS 7 AND UBUNTU INSTALLING LINUX WITHIN WINDOWS.
Red Hat Installation. Installing Red Hat Linux is the process of copying operating system files from a CD, DVD, or USB flash drive to hard disk(s) on.
Embedded Programming and Robotics Lesson 17 The OpenCV (Computer Vision) Library The OpenCV Library1.
V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 10 Topics: Coming up: –Yearbook Picture: Feb 7 12:20PM.
CIS 228 Grub Basics and Boot Security How we get there.
1 Copyright 2006 Aplix Corporation. All rights reserved. May, 2006 Tokyo Jamboree #8 Cross-Development on Mac André Krützfeldt.
1 Embedded Linux porting Speaker: Yi-Ji Jheng Date:
Kernel Development using Virtualization Installing VMWare and using a virtual machine to build and test a Linux Kernel.
Cassandra Installation Guide and Example Lecturer : Prof. Kyungbaek Kim Presenter : I Gde Dharma Nugraha.
A few Linux basics Network Monitoring & Management.
LING 408/508: Programming for Linguists Lecture 3 August 31 st.
QT - a C++ based GUI QT’s Designer and Assistant.
Linux in a Virtual Environment Nagarajan Prabakar School of Computing and Information Sciences Florida International University.
Cygwin Tutorial 1. What is Cygwin? Cygwin offers a UNIX like environment on top of MS-Windows. Gives the ability to use familiar UNIX tools without losing.
Vim Editor and Unix Command gcc compiler Computer Networks.
Android x86 Build Environments Update 1.Update System $sudo apt-get install git-core gnupg flex bison gperf build-essential \ zip curl zlib1g-dev libc6-dev.
1 Objectives Manage and install new file systems.
1 Lab 2 “Hello world” in Unix/Linux #include "std_lib_facilities_4.h" int main(){ cout
COMPUTER SYSTEM LABORATORY Lab6 - Root Filesystem.
CIS Lesson 5 Lesson 5 New Skills Boot time GRUB edits (review) Changing BIOS boot order on a VM (review) Mounting CD ISO and floppy Image files on.
Cole David Ronnie Julio Sam Littlefield. Let’s Begin  Globus Toolkit runs on Unix platform only  Install Ubuntu  download all updates for Ubuntu.
National Chung Cheng University,Taiwan,R.O.C eCos demo using x86 PCs I-Hung Lin Date:2004/4/29.
OS Project 0 February 25, Outline  Linux Installation  Linux Kernel Compilation  System Call Development  Kernel Modules / 452.
Prachoom rangkasikorn Presents Picture from thailand Thayang phetchaburi ibm x3400 m2+2tbx2 green1 prachoom rangkasikorn thailand phetchaburi.
Prachoom rangkasikorn Presents Picture from thailand Thayang phetchaburi ibm x3400 m2+2tbx2 black1 prachoom rangkasikorn thailand phetchaburi.
PRACHOOM RANGKASIKORN PRESENTS 2/6/20131 cned school server prachoom rangkasikorn school.
PRACHOOM RANGKASIKORN PRESENTS 7 may2556 updating from december cned school server prachoom rangkasikorn
PRACHOOM RANGKASIKORN PRESENTS dell poweredge t6101 prachoom rangkasikorn prachoom school server
솔라리스 10 Chapter 23 점프 스타트 서버 관리 Solaris1. 점프 스타트 서버 구성.
PRESENTS tbx3 red dell poweredge t6101 prachoom rangkasikorn HOW TO SETUP PRACHOOM SCHOOL SERVER ON.
Cygwin Tutorial 1. What is Cygwin? Cygwin offers a UNIX like environment on top of MS-Windows. Gives the ability to use familiar UNIX tools without losing.
Implementation of Embedded OS
Downloading a Visual C compilers (try it yourself at home) Visual Studio 2012 can be found at:
1 Setup and Compile Linux Kernel Speaker: Yi-Ji Jheng Date:
Embedded Software Design Week II Linux Intro Linux Kernel.
Intro to GNU/Linux See, Stallman? I said GNU. Are you happy now?
 CSC 215 : Procedural Programming with C C Compilers.
1 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com The GRUB bootloader Michael.
The GRUB bootloader Michael Opdenacker Thomas Petazzoni Free Electrons
By Jonathan Rinfret UNIX/LINUX By Jonathan Rinfret
Cygwin Tutorial 1.
How to Program.
How to Work on your METEO 473 codes from your PC at home
EE516: Embedded Software Project 1
Implementation of Embedded OS
CSC227: Operating Systems
How to Start Programming in Linux Environment
Computer System Laboratory
Getting started with CentOS Linux
Andy Wang Object Oriented Programming in C++ COP 3330
Containers and Virtualisation
Linux.
Linux Programming Environment How to Run Linux in Windows
Hands-On Virtualization in the Classroom
CIS 228 Grub Basics and Boot Security
Lab #1 Install Linux & How to Build Live CD
Run Java file with Window cmd
Getting started with CentOS Linux
Andy Wang Object Oriented Programming in C++ COP 3330
Cygwin.
Cygwin Tutorial 1.
Please send any images as a separate file
Cygwin Tutorial 1.
Computer System Laboratory
Yung-Hsiang Lu Purdue University
Computer System Laboratory
Presentation transcript:

eCos (Twothread Compile) 한규종

Step1 - (Host OS : Windows7) VirtualBox Install

Step2 - (VirtualBox) Ubuntu Install

Step3 Ubuntu Update

Step4 - Terminal #apt-get install bcc, iasl, uuid-dev, zlib1g-dev, libidl-dev, libsdl1.2-dev, libxcursor-dev, libstdc++5, libhal-dev, libxml2-dev, libxslt1-dev, python-dev, libqt4-dev, qt4-dev-tools, libcap-dev, libxmu-dev, libpam0g-dev, libcurl4-openssl-dev, libxrandr-dev, libxinerama-dev, makeself, tk texlive-latex-base, grub

Step5 eCos Download & Install #wget --passive-ftp ftp://ecos.sourceware.org/pub/ecos/ecos-install.tcl  step5.1 #sh ecos-install.tcl  Please select a distribution site : 목록 중 접근할 사이트 선택  step5.2  Please select a directory for installation : Enter( 디폴트 /opt/ecos)  Please select GNU tools to download and install : 타겟환경 선택  step5.3

Step5.1

Step5.2 Site Choice

Step5.3 Enter 환경 Choice Enter

Step6 eCos 환경 변수 설정 & eCos 실행 #cat /opt/ecos/ecosenv.sh >> ~/.profile #mkdir -p /work/lib #cd /work/lib #source /opt/ecos/ecosenv.sh #ecosconfig new pc #configtool ecos.ecc  step6.1

Step6.1

Step7.2 - eCos setting Templates 선택

Step7.1 eCos setting i386 PC target with RTL8139 ethernet 선택

Step7 eCos setting Choice

Step7.3 - eCos setting GRUB 선 택 2 입력 file 선택 -> save -> exit

Step7.4 - eCos setting #ecosconfig check #ecosconfig tree #make

Step8 - eCos Example Make #cd /opt/ecos/ecos-3.0/examples #vi Makefile INSTALL_DIR=/work/lib/install :wq  step8.1 #make all

Step8.1 - eCos Example Make 편집

Step9 - Virtual Hdd Image 생성 Choice

Step9.1 - Virtual Hdd Image 생성 Virtual hdd image 생성 후 Ubuntu 실행

Step10 - fdisk 설정 #fdisk -l 가상디스크가 생성되었는지 확인 /dev/sdb 위치 확인

Step fdisk 설정 #fdisk /dev/sdb n 입력 p 입력 1 입력 Enter a 입력 w 입력 1 입력

Step fdisk 설정 #mke2fs /dev/sdb1

Step11 - mount & grub 설정 #mkdir /mnt/ecoshdd #mount -t ext2 /dev/sdb1 /mnt/ecoshdd #mkdir -p /mnt/ecoshdd/boot/grub #cp /usr/lib/grub/i386-pc/*stage* /mnt/ecoshdd/boot/grub #vi /mnt/ecoshdd/boot/grub/menu.lst #vi /mnt/ecoshdd/boot/grub/device.map default=0 timeout=5 hiddenmenu title eCos-hello kernel(hd0,0)/boot/bootimg (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb

Step mount & grub 설정 #cp /opt/ecos/ecos-3.0/examples/twothreads /mnt/ecoshdd/boot/bootimg #grub-install --root-directory=/mnt/ecoshdd /dev/sdb

Step12 Virtual ecos hdd 실행