Beruflich Dokumente
Kultur Dokumente
com
www.sensorflock.com
DOCUMENT CONTROL
Author M Rizwan Azam
DOCUMENT APPROVAL
Nature of Signoff Person Signature Date Role
QA Engr.
Authors M Rizwan Azam
CEO & CTO,
Reviewers Mr Weqaar Janjua
DaaS Architect
GM Projects
Mr Yasir Awais
TABLE OF CONTENTS
DOCUMENT CONTROL ............................................................................................ II
TABLE OF CONTENTS............................................................................................ III
LIST OF FIGURES.................................................................................................... IV
1.1 Introduction .............................................................................................. 1
1.2 Advantages ............................................................................................... 1
2 BOOT SEQUENCE ......................................................................................... 2
2.1 Introduction .............................................................................................. 2
2.2 Kernel Space ............................................................................................ 2
2.3 User Space................................................................................................ 3
3 BUSYBOX VS. SYSINIT ................................................................................. 4
3.1 BusyBox .................................................................................................... 4
3.2 SysInit ....................................................................................................... 4
4 GNU TOOLS AND SUBSYSTEMS ................................................................. 5
4.1 GNU Tools................................................................................................. 5
4.1.1 Glibc ..................................................................................................... 5
4.1.2 BinUtils ................................................................................................ 5
4.1.3 Coreutils .............................................................................................. 5
4.1.4 InetUtils................................................................................................ 5
4.1.5 Bash ..................................................................................................... 5
4.2 Subsystems of Kernel.............................................................................. 5
4.3 Daas Linux OS .......................................................................................... 6
4.3.1 Opensource Components .................................................................. 6
4.4 Daas Linux Performance testing............................................................. 7
4.5 Screenshots .............................................................................................. 9
4.6 Trial and Evaluation ............................................................................... 11
4.7 References .............................................................................................. 12
LIST OF FIGURES
1.1 INTRODUCTION
A Linux distribution (often called distro for short) is a member of the family of Unix-
like operating systems built on top of the Linux kernel. These operating systems
consist of the Linux kernel and, usually, a set of libraries and utilities from the GNU
Project. Before discussing the procedure of making a distro, it is compulsory to
understand the need for it.
1.2 ADVANTAGES
Some of the advantages a customized distro provides are listed below;
1. Customized program for a specific architecture, increases level of
performance.
2. Optimized for performance & high-availability
3. Removing excess modules and components will reduce the size of the
compiled kernel and helps it to boot quickly.
4. Requires extremely less Memory and CPU Power
5. We can add various features and optimize it for better performance.
6. Open System Architecture
7. Clean file system
8. Secure and Robust
2 BOOT SEQUENCE
2.1 INTRODUCTION
Figure 1 shows the boot sequence for a Linux distro on ARM Architecture as well as
the architecture to make a custom distro.
3.2 SYSINIT
DaaS Linux init subsystem is developed using System-V UNIX init ‘SysVinit’.
4.1.1 Glibc
4.1.2 BinUtils
Includes the utilities most often used to manipulate binary object files i.e.
1. Linker
2. Assembler
3. Archives
4.1.3 Coreutils
These are the core utilities which are expected to exist in every operating system. It
includes
1. File, shell and text manipulation utilities
4.1.4 InetUtils
4.1.5 Bash
3. Scheduler - Decides which process should run, when and how long it should
run.
4. File system - Used to store, retrieve and update a set of files
5. I / O Subsystem - Scheduling, buffering, caching, and error handling are
provided by the kernel's I/O subsystem
6. Networking – Routing of packets between different networks is done inside
the kernel
7. Inter-Process Communication (IPC) - Provides a method for multiple
processes to communicate with one another.
kernel 3.2
u-boot <>
x-load <>
glibc <>
gcc <>
binutils 2.23
coreutils 8.1
inetutils 1.9.1
nettools 1.60
ncurses <>
lzo <>
sysvinit 2.88
bash 4.2
bison <>
openssl <>
util-linux 2.22.2
Oracle java embedded runtime 1.7.0
iperf <>
netperf <>
* FIN_TIMEOUT = 1 sec
4.5 SCREENSHOTS
4.7 REFERENCES
[1] http://www.mentor.com/embedded-software/sourcery-tools/sourcery-
codebench/overview/
[2] http://goo.gl/DMZqs
[3] http://db.tt/0vIWI7Um
[4] https://launchpad.net/qemu-linaro/