Embedded Linux
Embedded Linux
Embedded Linux
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
4. To explain the essential components –tool chain ,boot loader,kernel and ,root file system
Outcome:
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.
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
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
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
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