Enviar búsqueda
Cargar
Linux Kernel Overview and Configuration
•
42 recomendaciones
•
26,990 vistas
Título mejorado por IA
Anil Kumar Pugalia
Seguir
Tecnología
Denunciar
Compartir
Denunciar
Compartir
1 de 20
Recomendados
Linux kernel
Linux kernel
Mahmoud Shiri Varamini
Embedded Operating System - Linux
Embedded Operating System - Linux
Emertxe Information Technologies Pvt Ltd
Linux Internals - Part II
Linux Internals - Part II
Emertxe Information Technologies Pvt Ltd
BusyBox for Embedded Linux
BusyBox for Embedded Linux
Emertxe Information Technologies Pvt Ltd
linux device driver
linux device driver
Rahul Batra
A practical guide to buildroot
A practical guide to buildroot
Emertxe Information Technologies Pvt Ltd
Linux Kernel Module - For NLKB
Linux Kernel Module - For NLKB
shimosawa
Introduction to Modern U-Boot
Introduction to Modern U-Boot
GlobalLogic Ukraine
Recomendados
Linux kernel
Linux kernel
Mahmoud Shiri Varamini
Embedded Operating System - Linux
Embedded Operating System - Linux
Emertxe Information Technologies Pvt Ltd
Linux Internals - Part II
Linux Internals - Part II
Emertxe Information Technologies Pvt Ltd
BusyBox for Embedded Linux
BusyBox for Embedded Linux
Emertxe Information Technologies Pvt Ltd
linux device driver
linux device driver
Rahul Batra
A practical guide to buildroot
A practical guide to buildroot
Emertxe Information Technologies Pvt Ltd
Linux Kernel Module - For NLKB
Linux Kernel Module - For NLKB
shimosawa
Introduction to Modern U-Boot
Introduction to Modern U-Boot
GlobalLogic Ukraine
Uboot startup sequence
Uboot startup sequence
Houcheng Lin
Part 02 Linux Kernel Module Programming
Part 02 Linux Kernel Module Programming
Tushar B Kute
Linux device drivers
Linux device drivers
Emertxe Information Technologies Pvt Ltd
Bootloaders (U-Boot)
Bootloaders (U-Boot)
Omkar Rane
Embedded Linux on ARM
Embedded Linux on ARM
Emertxe Information Technologies Pvt Ltd
Embedded Android : System Development - Part II (Linux device drivers)
Embedded Android : System Development - Part II (Linux device drivers)
Emertxe Information Technologies Pvt Ltd
Embedded Linux Kernel - Build your custom kernel
Embedded Linux Kernel - Build your custom kernel
Emertxe Information Technologies Pvt Ltd
Building Embedded Linux Systems Introduction
Building Embedded Linux Systems Introduction
Sherif Mousa
Embedded_Linux_Booting
Embedded_Linux_Booting
Rashila Rr
Linux Internals - Part I
Linux Internals - Part I
Emertxe Information Technologies Pvt Ltd
Basic Linux Internals
Basic Linux Internals
mukul bhardwaj
U-Boot Porting on New Hardware
U-Boot Porting on New Hardware
RuggedBoardGroup
Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)
RuggedBoardGroup
Introduction to Linux
Introduction to Linux
Anil Kumar Pugalia
Linux Internals - Kernel/Core
Linux Internals - Kernel/Core
Shay Cohen
U-Boot presentation 2013
U-Boot presentation 2013
Wave Digitech
Linux kernel
Linux kernel
Goutam Sahoo
Kernel Recipes 2017 - An introduction to the Linux DRM subsystem - Maxime Ripard
Kernel Recipes 2017 - An introduction to the Linux DRM subsystem - Maxime Ripard
Anne Nicolas
U Boot or Universal Bootloader
U Boot or Universal Bootloader
Satpal Parmar
Platform Drivers
Platform Drivers
SysPlay eLearning Academy for You
BeagleBoard-xM Bootloaders
BeagleBoard-xM Bootloaders
SysPlay eLearning Academy for You
Linux Porting
Linux Porting
Anil Kumar Pugalia
Más contenido relacionado
La actualidad más candente
Uboot startup sequence
Uboot startup sequence
Houcheng Lin
Part 02 Linux Kernel Module Programming
Part 02 Linux Kernel Module Programming
Tushar B Kute
Linux device drivers
Linux device drivers
Emertxe Information Technologies Pvt Ltd
Bootloaders (U-Boot)
Bootloaders (U-Boot)
Omkar Rane
Embedded Linux on ARM
Embedded Linux on ARM
Emertxe Information Technologies Pvt Ltd
Embedded Android : System Development - Part II (Linux device drivers)
Embedded Android : System Development - Part II (Linux device drivers)
Emertxe Information Technologies Pvt Ltd
Embedded Linux Kernel - Build your custom kernel
Embedded Linux Kernel - Build your custom kernel
Emertxe Information Technologies Pvt Ltd
Building Embedded Linux Systems Introduction
Building Embedded Linux Systems Introduction
Sherif Mousa
Embedded_Linux_Booting
Embedded_Linux_Booting
Rashila Rr
Linux Internals - Part I
Linux Internals - Part I
Emertxe Information Technologies Pvt Ltd
Basic Linux Internals
Basic Linux Internals
mukul bhardwaj
U-Boot Porting on New Hardware
U-Boot Porting on New Hardware
RuggedBoardGroup
Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)
RuggedBoardGroup
Introduction to Linux
Introduction to Linux
Anil Kumar Pugalia
Linux Internals - Kernel/Core
Linux Internals - Kernel/Core
Shay Cohen
U-Boot presentation 2013
U-Boot presentation 2013
Wave Digitech
Linux kernel
Linux kernel
Goutam Sahoo
Kernel Recipes 2017 - An introduction to the Linux DRM subsystem - Maxime Ripard
Kernel Recipes 2017 - An introduction to the Linux DRM subsystem - Maxime Ripard
Anne Nicolas
U Boot or Universal Bootloader
U Boot or Universal Bootloader
Satpal Parmar
Platform Drivers
Platform Drivers
SysPlay eLearning Academy for You
La actualidad más candente
(20)
Uboot startup sequence
Uboot startup sequence
Part 02 Linux Kernel Module Programming
Part 02 Linux Kernel Module Programming
Linux device drivers
Linux device drivers
Bootloaders (U-Boot)
Bootloaders (U-Boot)
Embedded Linux on ARM
Embedded Linux on ARM
Embedded Android : System Development - Part II (Linux device drivers)
Embedded Android : System Development - Part II (Linux device drivers)
Embedded Linux Kernel - Build your custom kernel
Embedded Linux Kernel - Build your custom kernel
Building Embedded Linux Systems Introduction
Building Embedded Linux Systems Introduction
Embedded_Linux_Booting
Embedded_Linux_Booting
Linux Internals - Part I
Linux Internals - Part I
Basic Linux Internals
Basic Linux Internals
U-Boot Porting on New Hardware
U-Boot Porting on New Hardware
Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)
Introduction to Linux
Introduction to Linux
Linux Internals - Kernel/Core
Linux Internals - Kernel/Core
U-Boot presentation 2013
U-Boot presentation 2013
Linux kernel
Linux kernel
Kernel Recipes 2017 - An introduction to the Linux DRM subsystem - Maxime Ripard
Kernel Recipes 2017 - An introduction to the Linux DRM subsystem - Maxime Ripard
U Boot or Universal Bootloader
U Boot or Universal Bootloader
Platform Drivers
Platform Drivers
Destacado
BeagleBoard-xM Bootloaders
BeagleBoard-xM Bootloaders
SysPlay eLearning Academy for You
Linux Porting
Linux Porting
Anil Kumar Pugalia
File Systems
File Systems
Anil Kumar Pugalia
BeagleBone Black Bootloaders
BeagleBone Black Bootloaders
SysPlay eLearning Academy for You
I2C Drivers
I2C Drivers
SysPlay eLearning Academy for You
File System Modules
File System Modules
Anil Kumar Pugalia
Serial Drivers
Serial Drivers
SysPlay eLearning Academy for You
SPI Drivers
SPI Drivers
SysPlay eLearning Academy for You
Block Drivers
Block Drivers
Anil Kumar Pugalia
USB Drivers
USB Drivers
Anil Kumar Pugalia
References
References
Anil Kumar Pugalia
Kernel Debugging & Profiling
Kernel Debugging & Profiling
Anil Kumar Pugalia
Interrupts
Interrupts
Anil Kumar Pugalia
Introduction to Linux Drivers
Introduction to Linux Drivers
Anil Kumar Pugalia
Character Drivers
Character Drivers
Anil Kumar Pugalia
BeagleBone Black Booting Process
BeagleBone Black Booting Process
SysPlay eLearning Academy for You
Toolchain
Toolchain
Anil Kumar Pugalia
Arduino Robotics workshop Day1
Arduino Robotics workshop Day1
Sudar Muthu
Arduino Robotics workshop day2
Arduino Robotics workshop day2
Sudar Muthu
Introduction to BeagleBone Black
Introduction to BeagleBone Black
SysPlay eLearning Academy for You
Destacado
(20)
BeagleBoard-xM Bootloaders
BeagleBoard-xM Bootloaders
Linux Porting
Linux Porting
File Systems
File Systems
BeagleBone Black Bootloaders
BeagleBone Black Bootloaders
I2C Drivers
I2C Drivers
File System Modules
File System Modules
Serial Drivers
Serial Drivers
SPI Drivers
SPI Drivers
Block Drivers
Block Drivers
USB Drivers
USB Drivers
References
References
Kernel Debugging & Profiling
Kernel Debugging & Profiling
Interrupts
Interrupts
Introduction to Linux Drivers
Introduction to Linux Drivers
Character Drivers
Character Drivers
BeagleBone Black Booting Process
BeagleBone Black Booting Process
Toolchain
Toolchain
Arduino Robotics workshop Day1
Arduino Robotics workshop Day1
Arduino Robotics workshop day2
Arduino Robotics workshop day2
Introduction to BeagleBone Black
Introduction to BeagleBone Black
Similar a Linux Kernel Overview and Configuration
Slim Server Theory
Slim Server Theory
Gaurav Paliwal
Introduction to Linux
Introduction to Linux
Anil Kumar Pugalia
Introduction To Linux Kernel Modules
Introduction To Linux Kernel Modules
dibyajyotig
Linux Memory Management
Linux Memory Management
Anil Kumar Pugalia
Mobile Hacking using Linux Drivers
Mobile Hacking using Linux Drivers
Anil Kumar Pugalia
LSA2 - 02 Namespaces
LSA2 - 02 Namespaces
Marian Marinov
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Anderson Bassani
Nim
Nim
muhammad adeel
.ppt
.ppt
webhostingguy
the NML project
the NML project
Lei Yang
System Calls
System Calls
Anil Kumar Pugalia
Unix nim-presentation
Unix nim-presentation
Rajeev Ghosh
Linux scheduler
Linux scheduler
Liran Ben Haim
Operating system Definition Structures
Operating system Definition Structures
anair23
docslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.ppt
PrasannaDeSilva7
Practical Introduction To Linux
Practical Introduction To Linux
Zeeshan Rizvi
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Tushar B Kute
Interview Questions
Interview Questions
rajusandeep12
Walking around linux kernel
Walking around linux kernel
Dharshana Kasun Warusavitharana
Ite pc v40_chapter5
Ite pc v40_chapter5
paulinagonzapyl
Similar a Linux Kernel Overview and Configuration
(20)
Slim Server Theory
Slim Server Theory
Introduction to Linux
Introduction to Linux
Introduction To Linux Kernel Modules
Introduction To Linux Kernel Modules
Linux Memory Management
Linux Memory Management
Mobile Hacking using Linux Drivers
Mobile Hacking using Linux Drivers
LSA2 - 02 Namespaces
LSA2 - 02 Namespaces
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Nim
Nim
.ppt
.ppt
the NML project
the NML project
System Calls
System Calls
Unix nim-presentation
Unix nim-presentation
Linux scheduler
Linux scheduler
Operating system Definition Structures
Operating system Definition Structures
docslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.ppt
Practical Introduction To Linux
Practical Introduction To Linux
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Interview Questions
Interview Questions
Walking around linux kernel
Walking around linux kernel
Ite pc v40_chapter5
Ite pc v40_chapter5
Más de Anil Kumar Pugalia
File System Modules
File System Modules
Anil Kumar Pugalia
Kernel Debugging & Profiling
Kernel Debugging & Profiling
Anil Kumar Pugalia
Processes
Processes
Anil Kumar Pugalia
System Calls
System Calls
Anil Kumar Pugalia
Embedded C
Embedded C
Anil Kumar Pugalia
Embedded Software Design
Embedded Software Design
Anil Kumar Pugalia
Playing with R L C Circuits
Playing with R L C Circuits
Anil Kumar Pugalia
Audio Drivers
Audio Drivers
Anil Kumar Pugalia
Video Drivers
Video Drivers
Anil Kumar Pugalia
Shell Scripting
Shell Scripting
Anil Kumar Pugalia
Functional Programming with LISP
Functional Programming with LISP
Anil Kumar Pugalia
Power of vi
Power of vi
Anil Kumar Pugalia
gcc and friends
gcc and friends
Anil Kumar Pugalia
"make" system
"make" system
Anil Kumar Pugalia
Hardware Design for Software Hackers
Hardware Design for Software Hackers
Anil Kumar Pugalia
RPM Building
RPM Building
Anil Kumar Pugalia
Linux User Space Debugging & Profiling
Linux User Space Debugging & Profiling
Anil Kumar Pugalia
Linux Network Management
Linux Network Management
Anil Kumar Pugalia
Timers
Timers
Anil Kumar Pugalia
Threads
Threads
Anil Kumar Pugalia
Más de Anil Kumar Pugalia
(20)
File System Modules
File System Modules
Kernel Debugging & Profiling
Kernel Debugging & Profiling
Processes
Processes
System Calls
System Calls
Embedded C
Embedded C
Embedded Software Design
Embedded Software Design
Playing with R L C Circuits
Playing with R L C Circuits
Audio Drivers
Audio Drivers
Video Drivers
Video Drivers
Shell Scripting
Shell Scripting
Functional Programming with LISP
Functional Programming with LISP
Power of vi
Power of vi
gcc and friends
gcc and friends
"make" system
"make" system
Hardware Design for Software Hackers
Hardware Design for Software Hackers
RPM Building
RPM Building
Linux User Space Debugging & Profiling
Linux User Space Debugging & Profiling
Linux Network Management
Linux Network Management
Timers
Timers
Threads
Threads
Último
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
HarshalMandlekar2
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
mohitsingh558521
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
ScyllaDB
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
blackmambaettijean
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
BkGupta21
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
Raghuram Pandurangan
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
LoriGlavin3
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
MounikaPolabathina
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Zilliz
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Pixlogix Infotech
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Fwdays
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Addepto
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Lonnie McRorey
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
LoriGlavin3
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
Último
(20)
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
Linux Kernel Overview and Configuration
1.
© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Linux Kernel Overview
2.
2© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. What to Expect? W's of Kernel Linux Architecture Linux Kernel Startup Linux Kernel Functionality Linux Kernel Configuration Linux Kernel Compilation
3.
3© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. What is a Kernel? Core of a System The Operating System
4.
4© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. OS Core OS Core could be further classified as the following major functionalities Inter Process Communication Minimal Memory Management Low-level Process Management & Scheduling Low-level Input / Output
5.
5© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Types of Kernels Micro kernel Also called the Modular kernel Contains only the OS Core Other OS stuff are typically provided as services Examples: Amoeba, Mach, QNX Monolithic kernel Contains all the OS related stuff Either built into it statically or loaded dynamically Examples: VxWorks, Linux
6.
6© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Micro vs Monolithic Advantages Micro Kernel Flexible Modular Easy to implement Monolithic Kernel Performance
7.
7© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Linux Architecture User Space (is the usage platform) System Call I/F (the connector) Kernel Space (provides functionalities & facilities to use) Hardware (is what is to be used)
8.
8© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Linux Architecture Details User Space Memory where user processes run Doing typical computation tasks And accesses kernel space for privileged tasks Through System Call interface Kernel Space This is protected space Place of all privileged happening I/O access, Memory access, … (System Resources access) Kernel processes can access User processes but not vice versa These levels are achieved by processor states How does system call switches user to kernel space? Check Which space is executing command from root? Do we need these levels and system calls if the kernel image and root file system are read only?
9.
9© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Process vs Thread Single Process Single Threaded Single Process Multi-Threaded Multi-Process Single Threaded Multi-Process Multi-Threaded What is Linux User Space? What about the Kernel Space? Need for Single vs Multi
10.
10© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Linux Kernel Startup CPU / Platform specific Initialization CPU Speed Setup MMU Setup Board Id Setup Minimal Driver Initialization: FS specific Mounting Root File System Remaining Driver Initialization Doing Initcall & Freeing Initial Memory Moving to User Space by Jumping to the first user process init
11.
11© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Linux Kernel Functional Overview Process Management Memory Management Device Management Storage Management Network Management
12.
12© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Linux Kernel Source Let's get down to the Source Code
13.
13© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Linux Kernel Build System Key components Makefile Kconfig Configuring the Makefile Setting up the kernel version (specially for the Desktops) For Cross Compilation, need to setup ARCH CROSS_COMPILE Or, invoke make with these options
14.
14© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Linux Kernel Configuration Methods make config make menuconfig make xconfig Others make defconfig make oldconfig make <board_specific>_defconfig Check: Where is the menuconfig target?
15.
15© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Linux Kernel Configuration Code Maturity level Options General Setup Loadable Module Support Block Layer Networking Device Drivers File Systems Kernel Hacking Security Options Cryptographic Options Library Routines
16.
16© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Linux Kernel Compilation Cleaning Methods make clean – Simple clean make mrproper – Complete sweep clean, incl. Configs Also called Building the Kernel After configuring the kernel, we are all set to build it Build Methods make vmlinux – To build everything configured for a kernel image make modules – To build only configured modules make – To build everything configured (kernel image & modules) make modules_prepare – To only prepare for building modules
17.
17© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Linux Kernel Images Kernel Image should be understood by Stage 2 Bootloader Default kernel compilation builds vmlinux vmlinux is understood only by the desktop bootloaders So, for embedded systems, we would typically have to do the following Creating linux.bin using <cross>-objcopy Example: arm-linux-objcopy -O binary vmlinux linux.bin And then, convert it into the bootloader specific image using some bootloader utility. For u-boot, it is done using mkimage Example: mkimage -A arm -O linux -T kernel -C none -a 20008000 -e 20008000 -n “Custom” -d linux.bin uImage.arm
18.
18© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Linux Kernel Arguments console root initrd mem resume ...
19.
19© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. What all have we learnt? W's of Kernel Linux Architecture Linux Kernel Startup Linux Kernel Functionality Linux Kernel Configuration Linux Kernel Compilation
20.
20© 2010-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Any Queries?