Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 17

Introductions to Linux and Embedded Systems

June 8th to 16th

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

Organization
14:30 to 15:15 Introduction to Linux Linux shell and kernel Linux booting procedure an overview

15:15 to 1530
Question & Answer session 15:30 to 16:00 TCP/IP stack in Linux Network applications in Linux
Simple network trouble shooting tools in Linux (required ??)

16:00 to 16:30
Tea break NetDevices Proprietary & Confidential
All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

Organization
16:30 to 17:00 Realtime and non real time Linux Basics of embedded systems Difference with desktop PC
Requirements of embedded systems

Booting a disk less system an overview

17:00 to 17:30
Various license GNU and BSD License Discussion on GPL, LGPL, usage and other issues of copyright

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

Linux
Linux a product of the internet
Developed by Linus Torvalds a Finnish undergraduate student Code was made available over the internet for free Coders world wide took part in developing the OS (Operating System)

The Heritage of Linux: UNIX


Originally UNIX was used by Universities starting in 1975 CSRG (Computer Systems Research Group at the University of California at Berkeley) made significant additions and changes becoming the BSD System V was developed and maintained by At&T and UNIX System Laboratories

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

Linux
Whats so good about Linux?
Includes features from both BSD and System V but differs in several significant ways
The kernel is implemented completely independently of both BSD and System V Linux is continually being developed by individuals throughout the world Skilled programmers can submit additions and improvements to the Linux OS to Linux Development Team over the internet Constant add support for new device drivers and network code Applications are developed that are both free and commercial Linux includes a wide variety of tools: graphical, word processing networking, Web Server, Web page creation, and much more Conforms more closely to POSIX (Portable Operating System Interface for Computer Environments) standards Enormous support of peripherals Linux is for Intel based platforms, Power PC, Apples (MkLinux) and DEC Alpha-based, MIPS-based and Motorola 68K-based machines Multiprocessor compatibility (SMPs) Supports emulators that allow you to run code intended for other OSs

The Code is Free

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

Free means you are free to study it, redistribute it, and modify it Project GNU (GNUs NOT UNIX) are free applications for Linux, for example gcc the GNU C compiler. Linux and GNU software are distributed under the terms of the GNU Public License Agreement (GPL)

Shell
The Shell is:
A command interpreter which interfaces between the user and the OS Each shell has a built-in programming language that is referred to as shell scripting Popular shells include:

The Bourne Again Shell (/bin/bash) this is an enhanced version of the Bourne Shell (/bin/sh) The TC Shell (/bin/tcsh) this is an enhanced version of the C Shell (/bin/csh) The Z Shell (/bin/zsh) which is a conglomerate of a number of shells including the Korn Shell (/bin/ksh) The Remote Shell (/usr/bin/rsh) which allows you to execute a command on a remote machine without actually logging onto that machine. Beware that on some Unix System V machines, rsh is the name for the restricted shell, in which case you get a remote shell by issuing the rshell or rcmd commands.

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

kernel
Monolithic kernel
explain loadable modules ..

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

How does Linux boot


Uncompressing image.. init rc-sys init inittab/run level rc scripts

login/X

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

Question and Answers

Open discussion

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

TCP/IP stack in Linux


TCP/IP within kernel socket->socket-glue->skbuff->TCP->IPdivices Network devices: Linux vs Solaris Device drivers, insmod

ifconfig, routing
IP routing and bridging IP chains, IP tables, net-filters

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

Networking applications
NAT, masquarading, firewalling ping, tcptrace Telnet, ftp, ssh, services
xinetd and xinted.conf

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

Break !!

Have a break !!

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

Realtime Linux

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

Embedded Systems

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

Booting Disk less Systems

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

Licenses
Freeware/Shareware GNU (GNU Not Unix)
FSF, philophy of FSF and GNU

BSD license LGPL

Which is best and which is not so good

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

End

Thank GOD !!
Remember: It is only first day, you have 5 more days :-)

NetDevices Proprietary & Confidential All descriptions are only projections/estimates, and are only effective if expressly described in a written agreement .

You might also like