[go: up one dir, main page]

0% found this document useful (0 votes)
218 views3 pages

Embedded Linux

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 3

Objective:

1. To understand and make effective use of linux utilities and shell scripting language to
solve programming.
2. To Develop the skills that necessary for systems programming including file system

programming,process and signal management and interprocess communication.

3. To introduce the concept of embedded linux.

4. To explain the essential components –tool chain ,boot loader,kernel and ,root file system

5 . To provide particle experience in developing embedded linux system

Outcome:

Upon successful completion of this course, Student will able to

1. understand the basic commands of linux operating system and can write shell scripts.

2. create shared memory segements , pipes ,message queues and can exercise inter process

Communication.

3. ablity to set up and use cross Development platform.

4. learn to configure and build a customized linux kernel.

5 . explain the porting of linux kernel and root file system in embedded linux board.

CONTENT:

MODULE I
Introduction
Introduction to Linux & Open source, GPL, LGPL licensing, Introduction to various flavors to
Linux, Basic linux commands, Components of Linux

Shell Scripting: Shell programming, what is shell, making a script executable, shell syntax,
loops,
emory control
Management Unitstatements, functions, array.
(MMU) introduction

MODULE II
System Calls
User and Kernel Space, Introduction to System Calls, System Calls in Detail, Strace – Tracing
system calls

Process
Introduction to Process, Process vs. Program, Process States, Creating Process, Process
termination, Special case of processes

Inter Process Communication (IPC)


Introduction to IPC, Pipe, FIFO, Shared Memory, Advantages and Disadvantages of various IPC
mechanisms, Application use cases

MODULE III
Signals
Introduction to Signals, Default disposition of Signals, Handling the Signals, Signal Related
Functions

Race condition in multi-threaded applications, Writing thread safe code, Mutex, POSIX
Semaphores, Usage of Binary semaphores and Mutex

MODULE IV
Introduction
Embedded Systems & Real Time Aspect, Open Source & Free Software Fundamentals
Linux as an Embedded OS: Architecture, Software components, Choices to make, Applying
Patches Source Code Browsing Techniques

Learning About Toolchains


What is a toolchain?, Types of toolchain - native versus cross toolchain, Choosing the C library,
Finding a toolchain, Anatomy of a toolchain, Other tools in the toolchain, Looking at the
components of the C library, Linking with libraries: static and dynamic linking, The art of cross
compiling, Problems with cross compiling.

MODULE V
What does a bootloader do?, The boot sequence, Booting with UEFI firmware, Moving from
bootloader to kernel, Introducing device trees, Choosing a bootloader, U-Boot, Barebox
Porting and Configuring the Kernel
What does the kernel do?, Choosing a kernel, Building the kernel, Compiling, Cleaning kernel
sources, Booting your kernel, Porting Linux to a new board.
Module VI

Building a Root Filesystem


What should be in the root filesystem?, Programs for the root filesystem, Libraries for the root
filesystem, Device nodes, The proc and sysfs filesystems, Kernel modules, Transfering the root
filesystem to the target, Creating a boot ramdisk, The init program, Configuring user accounts,
Starting a daemon process, A better way of managing device nodes,
Module VII

Debugging with GDB


The GNU debugger, Preparing to debug, Debugging applications using GDB, Remote debugging
using gdbserver, Starting to debug, Debugging shared libraries, Just-in-time debugging,
Debugging forks and threads, Core files, GDB user interfaces, Debugging kernel code.

Text Books:
1. Unix Concepts and Applications, 4th Edition, Sumitabha Das, TMH.
2. Beginning Linux Programming, 4th Edition, N.Matthew, R.Stones,Wrox, Wiley India
Edition.
3. Mastering Embedded Linux Programming”, Chris Simmonds, Packt publishing Ltd,
December 2015,ISBN 978-1-78439-253-6.
4.

Reference books:
1. Linux System Programming, Robert Love, O’Reilly, SPD.
2. Advanced Programming in the Unix environment, 2nd Edition, W.R.Stevens, Pearson
Education.
3. Unix Network Programming, W.R.Stevens,PHI. 4. Unix for programmers and users, 3rd
Edition, Graham Glass, King Ables, Pearson Education

You might also like