ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Mastering Embedded Linux Programming

دانلود کتاب تسلط بر برنامه نویسی لینوکس جاسازی شده

Mastering Embedded Linux Programming

مشخصات کتاب

Mastering Embedded Linux Programming

ویرایش: 2nd edition 
نویسندگان:   
سری:  
ISBN (شابک) : 9781787288850, 1787288854 
ناشر: Packt Publishing 
سال نشر: 2017 
تعداد صفحات: 0 
زبان: English 
فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 4 مگابایت 

قیمت کتاب (تومان) : 41,000



کلمات کلیدی مربوط به کتاب تسلط بر برنامه نویسی لینوکس جاسازی شده: سیستم عامل، کتاب های الکترونیکی، لینوکس



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 11


در صورت تبدیل فایل کتاب Mastering Embedded Linux Programming به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب تسلط بر برنامه نویسی لینوکس جاسازی شده نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب تسلط بر برنامه نویسی لینوکس جاسازی شده

جلد -- حق چاپ -- اعتبار -- درباره نویسنده -- درباره منتقدان -- www.PacktPub.com -- نظرات مشتریان -- فهرست مطالب -- پیشگفتار -- فصل 1: شروع -- انتخاب سیستم عامل مناسب -- بازیکنان -- چرخه حیات پروژه -- چهار عنصر لینوکس تعبیه شده -- منبع باز -- مجوزها -- سخت افزار برای لینوکس جاسازی شده -- سخت افزار مورد استفاده در این کتاب -- The BeagleBone Black -- QEMU -- نرم افزار مورد استفاده در این کتاب -- خلاصه -- فصل 2: ​​یادگیری در مورد Toolchains -- معرفی زنجیره های ابزار -- انواع زنجیره ابزار -- معماری CPU -- انتخاب کتابخانه C -- یافتن زنجیره ابزار -- ساخت زنجیره ابزار با استفاده از crosstool-NG -- نصب crosstool -NG -- ساخت زنجیره ابزار برای BeagleBone Black -- ساخت زنجیره ابزار برای QEMU -- آناتومی زنجیره ابزار -- یافتن اطلاعات در مورد کامپایلر متقابل شما -- sysroot، کتابخانه و فایل های هدر -- ابزارهای دیگر در زنجیره ابزار -- نگاهی به اجزای کتابخانه C -- پیوند با کتابخانه ها -- پیوند ایستا و پویا -- کتابخانه های ثابت -- کتابخانه های مشترک -- درک شماره نسخه های کتابخانه مشترک -- هنر کامپایل متقابل -- فایل های ساخت ساده -- ابزارهای خودکار -- مثال: SQLite -- پیکربندی بسته -- مشکلات در کامپایل متقابل -- خلاصه -- فصل 3: همه چیز درباره بوت لودرها -- بوت لودر چه کاری انجام می دهد؟ -- دنباله بوت -- فاز 1 -- کد رام -- فاز 2 -- بارگذار برنامه ثانویه -- فاز 3 -- TPL -- بوت شدن با سیستم عامل UEFI -- انتقال از بوت لودر به هسته -- معرفی درختان دستگاه -- دستگاه اصول درخت -- ویژگی reg -- برچسب ها و وقفه ها -- درخت دستگاه شامل فایل ها -- کامپایل درخت دستگاه -- انتخاب بوت لودر -- U-Boot -- Building U-Boot -- نصب U-Boot -- استفاده از U -Boot -- متغیرهای محیط -- فرمت تصویر بوت -- بارگیری تصاویر -- بوت کردن لینوکس -- خودکار کردن بوت با اسکریپت های U-Boot -- انتقال U-Boot به یک برد جدید. تسلط بر تکنیک های مورد نیاز برای ساخت عالی و کارآمد دستگاه های جاسازی شده در لینوکس درباره این کتاب* نحوه ساخت و پیکربندی دستگاه های لینوکس جاسازی شده قابل اعتماد را بیابید* این کتاب به روز شده است تا شامل Linux 4.9 و Yocto Project 2.2 (Morty)* این راهنمای جامع به روز رسانی از راه دور دستگاه ها در زمینه و مدیریت انرژی را پوشش دهد. این کتاب برای اگر شما یک مهندس هستید که مایل به درک و استفاده از لینوکس به صورت embedded هستید دستگاه ها، این کتاب برای شماست. همچنین برای توسعه دهندگان لینوکس و برنامه نویسان سیستمی است که با سیستم های جاسازی شده آشنا هستند و می خواهند بهترین دستگاه های کلاس را یاد بگیرند و برنامه نویسی کنند. برای دانش‌آموزانی که تکنیک‌های جاسازی شده را مطالعه می‌کنند، برای توسعه‌دهندگانی که دستگاه‌های لینوکس جاسازی شده را پیاده‌سازی می‌کنند، و مهندسانی که از دستگاه‌های لینوکس موجود پشتیبانی می‌کنند، مناسب است. آنچه یاد خواهید گرفت* بسته های پشتیبانی برد ارائه شده توسط اکثر سازندگان سیستم را بر روی تراشه یا ماژول تعبیه شده ارزیابی کنید* از Buildroot و پروژه Yocto برای ایجاد سریع و کارآمد سیستم های لینوکس جاسازی شده استفاده کنید* دستگاه های IoT را در این زمینه بدون به خطر انداختن امنیت به روز کنید* کاهش بودجه انرژی دستگاه ها برای دوام بیشتر باتری* تعامل با سخت افزار بدون نیاز به نوشتن درایورهای دستگاه هسته* دستگاه ها را از راه دور با استفاده از GDB اشکال زدایی کنید و ببینید که چگونه عملکرد سیستم ها را با استفاده از ابزارهای قدرتمندی مانند perk، ftrace و valgrind اندازه گیری کنید* نحوه پیکربندی لینوکس را به عنوان یک سیستم عامل بی‌درنگ بیابید In DetailEmbedded Linux بسیاری از دستگاه‌هایی را که ما هر روز استفاده می‌کنیم، از تلویزیون‌های هوشمند گرفته تا روترهای WiFi، تجهیزات آزمایشی تا کنترل‌کننده‌های صنعتی را اجرا می‌کند - همه آنها در قلب خود لینوکس دارند. لینوکس یک فناوری اصلی در پیاده سازی دنیای به هم پیوسته اینترنت اشیا است. راهنمای جامع فناوری ها و تکنیک های مورد نیاز برای ساخت لینوکس در سیستم های جاسازی شده را به شما نشان می دهد. شما با یادگیری عناصر اساسی که زیربنای همه پروژه‌های لینوکس جاسازی شده‌اند شروع خواهید کرد: زنجیره ابزار، بوت‌لودر، هسته و سیستم فایل ریشه. خواهید دید که چگونه هر یک از این عناصر را از ابتدا ایجاد کنید، و چگونه فرآیند را با استفاده از Buildroot و Yocto Project خودکار کنید. در ادامه، متوجه خواهید شد که چگونه یک استراتژی ذخیره سازی موثر برای تراشه های حافظه فلش را پیاده سازی کنید، و چگونه به روز رسانی ها را پس از استقرار دستگاه از راه دور نصب کنید. شما همچنین با جنبه های کلیدی نوشتن کد برای لینوکس جاسازی شده آشنا خواهید شد، مانند نحوه دسترسی به سخت افزار از برنامه ها، پیامدهای نوشتن کد چند رشته ای، و تکنیک های مدیریت حافظه به روشی کارآمد. فصل های آخر به شما نشان می دهد که چگونه کد خود را چه در برنامه ها و چه در هسته لینوکس اشکال زدایی کنید و چگونه سیستم را نمایه کنید تا بتوانید به دنبال گلوگاه های عملکرد باشید. در پایان کتاب، شما یک نمای کلی از مراحل لازم برای ایجاد یک سیستم لینوکس جاسازی شده موفق خواهید داشت. سبک و رویکرد این کتاب یک راهنمای کاربردی و کاربردی با تحلیل عمیق پیاده سازی دستگاه های تعبیه شده است. این چرخه عمر یک پروژه را از آغاز تا تکمیل دنبال می‌کند، و در هر مرحله هم تئوری زیربنای موضوع و هم مراحل عملی گام به گام اجرای نمونه ارائه می‌شود.


توضیحاتی درمورد کتاب به خارجی

Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: Starting Out -- Selecting the right operating system -- The players -- Project life cycle -- The four elements of embedded Linux -- Open source -- Licenses -- Hardware for embedded Linux -- Hardware used in this book -- The BeagleBone Black -- QEMU -- Software used in this book -- Summary -- Chapter 2: Learning About Toolchains -- Introducing toolchains -- Types of toolchains -- CPU architectures -- Choosing the C library -- Finding a toolchain -- Building a toolchain using crosstool-NG -- Installing crosstool-NG -- Building a toolchain for BeagleBone Black -- Building a toolchain for QEMU -- Anatomy of a toolchain -- Finding out about your cross compiler -- The sysroot, library, and header files -- Other tools in the toolchain -- Looking at the components of the C library -- Linking with libraries -- static and dynamic linking -- Static libraries -- Shared libraries -- Understanding shared library version numbers -- The art of cross compiling -- Simple makefiles -- Autotools -- An example: SQLite -- Package configuration -- Problems with cross compiling -- Summary -- Chapter 3: All About Bootloaders -- What does a bootloader do? -- The boot sequence -- Phase 1 -- ROM code -- Phase 2 -- secondary program loader -- Phase 3 -- TPL -- Booting with UEFI firmware -- Moving from bootloader to kernel -- Introducing device trees -- Device tree basics -- The reg property -- Labels and interrupts -- Device tree include files -- Compiling a device tree -- Choosing a bootloader -- U-Boot -- Building U-Boot -- Installing U-Boot -- Using U-Boot -- Environment variables -- Boot image format -- Loading images -- Booting Linux -- Automating the boot with U-Boot scripts -- Porting U-Boot to a new board.;Master the techniques needed to build great, efficient embedded devices on LinuxAbout This Book* Discover how to build and configure reliable embedded Linux devices* This book has been updated to include Linux 4.9 and Yocto Project 2.2 (Morty)* This comprehensive guide covers the remote update of devices in the field and power managementWho This Book Is ForIf you are an engineer who wishes to understand and use Linux in embedded devices, this book is for you. It is also for Linux developers and system programmers who are familiar with embedded systems and want to learn and program the best in class devices. It is appropriate for students studying embedded techniques, for developers implementing embedded Linux devices, and engineers supporting existing Linux devices. What You Will Learn* Evaluate the Board Support Packages offered by most manufacturers of a system on chip or embedded module* Use Buildroot and the Yocto Project to create embedded Linux systems quickly and efficiently* Update IoT devices in the field without compromising security* Reduce the power budget of devices to make batteries last longer* Interact with the hardware without having to write kernel device drivers* Debug devices remotely using GDB, and see how to measure the performance of the systems using powerful tools such as perk, ftrace, and valgrind* Find out how to configure Linux as a real-time operating systemIn DetailEmbedded Linux runs many of the devices we use every day, from smart TVs to WiFi routers, test equipment to industrial controllers - all of them have Linux at their heart. Linux is a core technology in the implementation of the inter-connected world of the Internet of Things. The comprehensive guide shows you the technologies and techniques required to build Linux into embedded systems. You will begin by learning about the fundamental elements that underpin all embedded Linux projects: the toolchain, the bootloader, the kernel, and the root filesystem. You'll see how to create each of these elements from scratch, and how to automate the process using Buildroot and the Yocto Project. Moving on, you'll find out how to implement an effective storage strategy for flash memory chips, and how to install updates to the device remotely once it is deployed. You'll also get to know the key aspects of writing code for embedded Linux, such as how to access hardware from applications, the implications of writing multi-threaded code, and techniques to manage memory in an efficient way. The final chapters show you how to debug your code, both in applications and in the Linux kernel, and how to profile the system so that you can look out for performance bottlenecks. By the end of the book, you will have a complete overview of the steps required to create a successful embedded Linux system. Style and approachThis book is an easy-to-follow and pragmatic guide with in-depth analysis of the implementation of embedded devices. It follows the life cycle of a project from inception through to completion, at each stage giving both the theory that underlies the topic and practical step-by-step walkthroughs of an example implementation.



فهرست مطالب

Cover --
Copyright --
Credits --
About the Author --
About the Reviewers --
www.PacktPub.com --
Customer Feedback --
Table of Contents --
Preface --
Chapter 1: Starting Out --
Selecting the right operating system --
The players --
Project life cycle --
The four elements of embedded Linux --
Open source --
Licenses --
Hardware for embedded Linux --
Hardware used in this book --
The BeagleBone Black --
QEMU --
Software used in this book --
Summary --
Chapter 2: Learning About Toolchains --
Introducing toolchains --
Types of toolchains --
CPU architectures --
Choosing the C library --
Finding a toolchain --
Building a toolchain using crosstool-NG --
Installing crosstool-NG --
Building a toolchain for BeagleBone Black --
Building a toolchain for QEMU --
Anatomy of a toolchain --
Finding out about your cross compiler --
The sysroot, library, and header files --
Other tools in the toolchain --
Looking at the components of the C library --
Linking with libraries --
static and dynamic linking --
Static libraries --
Shared libraries --
Understanding shared library version numbers --
The art of cross compiling --
Simple makefiles --
Autotools --
An example: SQLite --
Package configuration --
Problems with cross compiling --
Summary --
Chapter 3: All About Bootloaders --
What does a bootloader do? --
The boot sequence --
Phase 1 --
ROM code --
Phase 2 --
secondary program loader --
Phase 3 --
TPL --
Booting with UEFI firmware --
Moving from bootloader to kernel --
Introducing device trees --
Device tree basics --
The reg property --
Labels and interrupts --
Device tree include files --
Compiling a device tree --
Choosing a bootloader --
U-Boot --
Building U-Boot --
Installing U-Boot --
Using U-Boot --
Environment variables --
Boot image format --
Loading images --
Booting Linux --
Automating the boot with U-Boot scripts --
Porting U-Boot to a new board. Board-specific files --
Configuring header files --
Building and testing --
Falcon mode --
Barebox --
Getting barebox --
Building barebox --
Using barebox --
Summary --
Chapter 4: Configuring and Building the Kernel --
What does the kernel do? --
Choosing a kernel --
Kernel development cycle --
Stable and long term support releases --
Vendor support --
Licensing --
Building the kernel --
Getting the source --
Understanding kernel configuration --
Kconfig --
Using LOCALVERSION to identify your kernel --
Kernel modules --
Compiling --
Kbuild --
Finding out which kernel target to build --
Build artifacts --
Compiling device trees --
Compiling modules --
Cleaning kernel sources --
Building a kernel for the BeagleBone Black --
Building a kernel for QEMU --
Booting the kernel --
Booting the BeagleBone Black --
Booting QEMU --
Kernel panic --
Early user space --
Kernel messages --
Kernel command line --
Porting Linux to a new board --
A new device tree --
Setting the board compatible property --
Additional reading --
Summary --
Chapter 5: Building a Root Filesystem --
What should be in the root filesystem? --
The directory layout --
The staging directory --
POSIX file access permissions --
File ownership permissions in the staging directory --
Programs for the root filesystem --
The init program --
Shell --
Utilities --
BusyBox to the rescue! --
Building BusyBox --
ToyBox --
an alternative to BusyBox --
Libraries for the root filesystem --
Reducing the size by stripping --
Device nodes --
The proc and sysfs filesystems --
Mounting filesystems --
Kernel modules --
Transferring the root filesystem to the target --
Creating a boot initramfs --
Standalone initramfs --
Booting the initramfs --
Booting with QEMU --
Booting the BeagleBone Black --
Mounting proc --
Building an initramfs into the kernel image --
Building an initramfs using a device table. The old initrd format --
The init program --
Starting a daemon process --
Configuring user accounts --
Adding user accounts to the root filesystem --
A better way of managing device nodes --
An example using devtmpfs --
An example using mdev --
Are static device nodes so bad after all? --
Configuring the network --
Network components for glibc --
Creating filesystem images with device tables --
Booting the BeagleBone Black --
Mounting the root filesystem using NFS --
Testing with QEMU --
Testing with the BeagleBone Black --
Problems with file permissions --
Using TFTP to load the kernel --
Additional reading --
Summary --
Chapter 6: Selecting a Build System --
Build systems --
Package formats and package managers --
Buildroot --
Background --
Stable releases and long-term support --
Installing --
Configuring --
Running --
Creating a custom BSP --
U-Boot --
Linux --
Build --
Adding your own code --
Overlays --
Adding a package --
License compliance --
The Yocto Project --
Background --
Stable releases and supports --
Installing the Yocto Project --
Configuring --
Building --
Running the QEMU target --
Layers --
BitBake and recipes --
Customizing images via local.conf --
Writing an image recipe --
Creating an SDK --
The license audit --
Further reading --
Summary --
Chapter 7: Creating a Storage Strategy --
Storage options --
NOR flash --
NAND flash --
Managed flash --
MultiMediaCard and Secure Digital cards --
eMMC --
Other types of managed flash --
Accessing flash memory from the bootloader --
U-Boot and NOR flash --
U-Boot and NAND flash --
U-Boot and MMC, SD, and eMMC --
Accessing flash memory from Linux --
Memory technology devices --
MTD partitions --
MTD device drivers --
The MTD character device, mtd --
The MTD block device, mtdblock --
Logging kernel oops to MTD --
Simulating NAND memory --
The MMC block driver --
Filesystems for flash memory. Flash translation layers --
Filesystems for NOR and NAND flash memory --
JFFS2 --
Summary nodes --
Clean markers --
Creating a JFFS2 filesystem --
YAFFS2 --
Creating a YAFFS2 filesystem --
UBI and UBIFS --
UBI --
UBIFS --
Filesystems for managed flash --
Flashbench --
Discard and TRIM --
Ext4 --
F2FS --
FAT16/32 --
Read-only compressed filesystems --
squashfs --
Temporary filesystems --
Making the root filesystem read-only --
Filesystem choices --
Further reading --
Summary --
Chapter 8: Updating Software in the Field --
What to update? --
Bootloader --
Kernel --
Root filesystem --
System applications --
Device-specific data --
Components that need to be updated --
The basics of software update --
Making updates robust --
Making updates fail-safe --
Making updates secure --
Types of update mechanism --
Symmetric image update --
Asymmetric image update --
Atomic file updates --
OTA updates --
Using Mender for local updates --
Building the Mender client --
Installing an update --
Using Mender for OTA updates --
Summary --
Chapter 9: Interfacing with Device Drivers --
The role of device drivers --
Character devices --
Block devices --
Network devices --
Finding out about drivers at runtime --
Getting information from sysfs --
The devices: /sys/devices --
The drivers: /sys/class --
The block drivers: /sys/block --
Finding the right device driver --
Device drivers in user space --
GPIO --
Handling interrupts from GPIO --
LEDs --
I2C --
Serial Peripheral Interface (SPI) --
Writing a kernel device driver --
Designing a character driver interface --
The anatomy of a device driver --
Compiling kernel modules --
Loading kernel modules --
Discovering the hardware configuration --
Device trees --
The platform data --
Linking hardware with device drivers --
Additional reading --
Summary --
Chapter 10: Starting Up --
The init Program --
After the kernel has booted. Introducing the init programs --
BusyBox init --
Buildroot init scripts --
System V init --
inittab --
The init.d scripts --
Adding a new daemon --
Starting and stopping services --
systemd --
Building systemd with the Yocto Project and Buildroot --
Introducing targets, services, and units --
Units --
Services --
Targets --
How systemd boots the system --
Adding your own service --
Adding a watchdog --
Implications for embedded Linux --
Further reading --
Summary --
Chapter 11: Managing Power --
Measuring power usage --
Scaling the clock frequency --
The CPUFreq driver --
Using CPUFreq --
Selecting the best idle state --
The CPUIdle driver --
Tickless operation --
Powering down peripherals --
Putting the system to sleep --
Power states --
Wakeup events --
Timed wakeups from the real-time clock --
Further reading --
Summary --
Chapter 12: Learning About Processes and Threads --
Process or thread? --
Processes --
Creating a new process --
Terminating a process --
Running a different program --
Daemons --
Inter-process communication --
Message-based IPC --
Unix (or local) sockets --
FIFOs and named pipes --
POSIX message queues --
Summary of message-based IPC --
Shared memory-based IPC --
POSIX shared memory --
Threads --
Creating a new thread --
Terminating a thread --
Compiling a program with threads --
Inter-thread communication --
Mutual exclusion --
Changing conditions --
Partitioning the problem --
Scheduling --
Fairness versus determinism --
Time-shared policies --
Niceness --
Real-time policies --
Choosing a policy --
Choosing a real-time priority --
Further reading --
Summary --
Chapter 13: Managing Memory --
Virtual memory basics --
Kernel space memory layout --
How much memory does the kernel use? --
User space memory layout --
The process memory map --
Swapping --
Swapping to compressed memory (zram) --
Mapping memory with mmap.




نظرات کاربران