Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Embedded Linux Using the Yocto Project

You're reading from  Learning Embedded Linux Using the Yocto Project

Product type Book
Published in Jun 2015
Publisher
ISBN-13 9781784397395
Pages 334 pages
Edition 1st Edition
Languages
Authors (2):
Alexandru Vaduva Alexandru Vaduva
Profile icon Alexandru Vaduva
Vaduva Jan Alexandru Vaduva Jan Alexandru
View More author details

Table of Contents (20) Chapters

Learning Embedded Linux Using the Yocto Project
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Introduction Cross-compiling Bootloaders Linux Kernel The Linux Root Filesystem Components of the Yocto Project ADT Eclipse Plug-ins Hob, Toaster, and Autobuilder Wic and Other Tools Real-time Security Virtualization CGL and LSB Index

Minimal root filesystem


Now that all the information relating to the root filesystem has been presented to you, it would be good exercise to describe the must-have components of the minimal root filesystem. This would not only help you to understand the rootfs structure and its dependencies better, but also help with requirements needed for boot time and the size optimization of the root filesystem.

The starting point to describe the components is /sbin/init; here, by using the ldd command, the runtime dependencies can be found. For the Yocto Project, the ldd /sbin/init command returns:

linux-gate.so.1 (0xb7785000)
libc.so.6 => /lib/libc.so.6 (0x4273b000)
/lib/ld-linux.so.2 (0x42716000)

From this information, the /lib directory structure is defined. Its minimal form is:

lib
|-- ld-2.3.2.so
|-- ld-linux.so.2 -> ld-2.3.2.so
|-- libc-2.3.2.so
'-- libc.so.6 -> libc-2.3.2.so

The following symbolic links to ensure backward compatibility and version immunity for the libraries. The linux...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}