Learning Embedded Linux Using the Yocto Project
eBook - ePub

Learning Embedded Linux Using the Yocto Project

  1. 334 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Learning Embedded Linux Using the Yocto Project

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Learning Embedded Linux Using the Yocto Project


Table of Contents

Learning Embedded Linux Using the Yocto Project
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Introduction
Advantages of Linux and open source systems
Embedded systems
General description
Examples
Introducing GNU/Linux
Introduction to the Yocto Project
Buildroot
OpenEmbedded
Summary
2. Cross-compiling
Introducing toolchains
Components of toolchains
Delving into C libraries
Working with toolchains
Advice on robust programming
Generating the toolchain
The Yocto Project reference
Summary
3. Bootloaders
The role of the bootloader
Comparing various bootloaders
Delving into the bootloader cycle
The U-Boot bootloader
Booting the U-Boot options
Porting U-Boot
The Yocto Project
Summary
4. Linux Kernel
The role of the Linux kernel
Delving into the features of the Linux kernel
Memory mapping and management
Page cache and page writeback
The process address space
Process management
Process scheduling
System calls
The virtual file system
Interrupts
Bottom halves
Methods to perform kernel synchronization
Timers
Linux kernel interaction
The development process
Kernel porting
Community interaction
Kernel sources
Configuring kernel
Compiling and installing the kernel
Cross-compiling the Linux kernel
Devices and modules
Debugging a kernel
The Yocto Project reference
Summary
5. The Linux Root Filesystem
Interacting with the root filesystem
Delving into the filesystem
Device drivers
Filesystem options
Understanding BusyBox
Minimal root filesystem
The Yocto Project
Summary
6. Components of the Yocto Project
Poky
Eclipse ADT plug-ins
Hob and Toaster
Autobuilder
Lava
Wic
Summary
7. ADT Eclipse Plug-ins
The Application Development Toolkit
Setting up the environment
Eclipse IDE
QEMU emulator
Debugging
Profiling and tracing
The Yocto Project bitbake commander
Summary
8. Hob, Toaster, and Autobuilder
Hob
Toaster
Autobuilder
Summary
9. Wic and Other Tools
Swabber
Wic
LAVA
Summary
10. Real-time
Understanding GPOS and RTOS
PREEMPT_RT
Applying the PREEMPT_RT patch
The Yocto Project -rt kernel
Disadvantages of the PREEMPT_RT patches
Linux real-time applications
Benchmarking
Meta-realtime
Summary
11. Security
Security in Linux
SELinux
Grsecurity
Security for the Yocto Project
Meta-security and meta-selinux
Meta-security
Meta-selinux
Summary
12. Virtualization
Linux virtualization
SDN and NFV
NFV
ETSI NFV
SDN
OPNFV
Virtualization support for the Yocto Project
Summary
13. CGL and LSB
Linux Standard Base
Carrier grade options
Carrier Grade Linux
Automotive Grade Linux
Carrier Grade Virtualization
Specific support for the Yocto Project
Summary
Index

Learning Embedded Linux Using the Yocto Project

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: June 2015
Production reference: 1240615
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-739-5
www.packtpub.com

Credits

Author
Alexandru Vaduva
Reviewers
Peter Ducai
Alex Tereschenko
Commissioning Editor
Nadeem N. Bagban
Acquisition Editor
Harsha Bharwani
Content Development Editor
Vaibhav Pawar
Technical Editor
Shivani Kiran Mistry
Copy Editor
Sonia Michelle Cheema
Project Coordinator
Nidhi J. Joshi
Proofreader
Safis Editing
Indexer
Mariammal Chettiyar
Graphics
Sheetal Aute
Disha Haria
Jason Monteiro
Abhinash Sahu
Production Coordinator
Conidon Miranda
Cover Work
Conidon Miranda

About the Author

Alexandru Vaduva is an embedded Linux software engineer whose main focus lies in the field of open source software. He has an inquiring mind and also believes that actions speak louder than words. He is a strong supporter of the idea that there is no need to reinvent the wheel, but there is always room for improvement. He has knowledge of C, Yocto, Linux, Bash, and Python, but he is also open to trying new things and testing new technologies.
Alexandru Vaduva has been a reviewer of the book Embedded Linux Development with Yocto Project, Packt Publishing, which is a great asset to the Yocto Project community.

About the Reviewer

Peter Ducai has 15 years of experience in the IT industry, including the fields of programming and OS administration. Currently, he works at HP as an automation engineer.
Alex Tereschenko is an avid Maker. He believes that computers can do a lot of good when they are interfaced with real-world objects (as opposed to just crunching data in a dusty corner). This drives him in his projects and is also the reason why embedded systems and the Internet of Things are the topics he enjoys the most.

www.PacktPub.com

Support files, eBooks, discount offers, and more

For support files and downloads related to your book, please visit www.PacktPub.com.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
Support files, eBooks, discount offers, and more
https://www2.packtpub.com/books/subscription/packtlib
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.

Why subscribe?

  • Fully searchable across every book published by Packt
  • Copy and paste, print, and bookmark content
  • On demand and accessible via a web browser

Free access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view 9 entirely free books. Simply use your login credentials for immediate access.

Preface

With regard to the Linux environment today, most of the topics explained in this book are already available and are covered in a fair bit of detail, This book also covers ...

Table of contents

  1. Learning Embedded Linux Using the Yocto Project

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Learning Embedded Linux Using the Yocto Project by Alexandru Vaduva in PDF and/or ePUB format, as well as other popular books in Computer Science & Application Development. We have over one million books available in our catalogue for you to explore.