You are previewing Instant Optimizing Embedded Systems Using BusyBox.
O'Reilly logo
Instant Optimizing Embedded Systems Using BusyBox

Book Description

Learn to optimize embedded systems with Busybox using practical, hands-on recipes

  • Build and play embedded (Android Linux) system with Busybox from scratch

  • Configure, compile, cross compile, and install Busybox

  • Build external utilities and development environments (include Bash and C) for a Busybox-based embedded system to meet diverse system requirements

  • Set up the required environment and tools for an embedded (Android Linux) system development

  • Optimize multiple aspects of an embedded (Android Linux) system using some powerful Busybox applets

  • In Detail

    As hundreds of millions of people have started using Android smartphones, embedded Linux systems are becoming more and more popular. To get more market share, not only for hardware and function piling up, smartphone manufacturers gradually realized the importance of user experience. To improve user experience, the back-end Linux system must be optimized in many ways.

    Instant Optimizing Embedded System Using BusyBox is a practical, hands-on guide that provides you with a number of clear, step-by-step exercises to help you take advantage of the real power behind Busybox, and give you a good grounding for using it to optimize your embedded (Android Linux) systems.

    Moving on from the basics, this book will teach you how to configure and compile it from source code, including cross-compiling it with static linking and dynamic linking. You will also learn how to install and use Busybox on the Android emulator. You will learn to replace the simple Android mksh console with Busybox ash console and start a telnet and HTTP service provided by Busybox. You will also build embedded Linux file system from scratch and start it on Android emulator. We will take a look at how to add functionality to Busybox based system, including adding external applets to Busybox, as well as building development environments (like Bash and C) for it manually or with the automatic Buildroot system. If want to learn how to take advantage of using Busybox applets to optimize your embedded system, then this is the book for you for it will also show you how to use the powerful applets to optimize multiple aspects of an embedded (Android Linux) system.

    This book will teach you how to build an embedded (Android Linux) system with Busybox, enhance its functionality to meet diverse system requirements, and optimize it to provide a better user experience for embedded products.

    Table of Contents

    1. Instant Optimizing Embedded Systems Using BusyBox
      1. Instant Optimizing Embedded Systems Using BusyBox
      2. Credits
      3. About the Authors
      4. Acknowledgments
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      8. 1. Instant Optimizing Embedded System Using BusyBox
        1. Configuring BusyBox (Simple)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        2. Compiling BusyBox (Simple)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        3. Installing BusyBox (Simple)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        4. Creating a virtual Android device (Simple)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        5. Playing BusyBox on a virtual Android device (Intermediate)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        6. Building BusyBox-based embedded systems (Intermediate)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        7. Adding new applets to a BusyBox-based embedded system (Intermediate)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        8. Tailoring the system size of an embedded (Android) system (Advanced)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        9. Reducing the power consumption of an embedded (Android) system (Advanced)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        10. Speeding up the system boot of an embedded (Android) system (Advanced)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        11. Enhancing the system stability of an embedded (Android) system (Advanced)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        12. Increasing the serviceability of an embedded (Android) system (Advanced)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...