Skip to content

davidgaow/Mastering-Embedded-Linux-Programming-Second-Edition

 
 

Repository files navigation

$5 Tech Unlocked 2021!

The $5 campaign runs from December 15th 2020 to January 13th 2021.

Mastering Embedded Linux Programming – Second Edition

This is the code repository for Mastering Embedded Linux Programming - Second Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

Embedded Linux is widely used and there’s a need of selection, organization, and presentation of embedded linux.

Mastering Embedded Linux Programming 2nd edition takes you through the product cycle and gives you an in-depth description of the components and options that are available at each stage.The aim of this book is to help you create efficient and secure embedded devices using Linux. You will begin by learning about tool chains, boot loaders, the Linux kernel, and how to configure a root file system to create a basic working device which will be followed by using Buildroot and Yocto to speed up and simplify the development process .Key topics include basic system set-up, toolchains, accessing hardware at a low-level, robustness, real-time behavior and security.Its purpose is to make you aware how to construct an embedded Linux using open source projects to produce a robust and reliable system by understanding about Linux 4.9 Yocto’s Pyro 2.3 along with the latest Buildroot.

By the end of the book , you will be able to derive a wide choice of solutions to solve a particular problem.

Instructions and Navigation

All of the code is organized into folders. For example, Chapter04.

The code will look like the following:

/dts-v1/;
/{
    model = "TI AM335x BeagleBone";
    compatible = "ti,am33xx";
    #address-cells = <1>;
    #size-cells = <1>;
    cpus {
        #address-cells = <1>;
        #size-cells = <0>;
        cpu@0 {
            compatible = "arm,cortex-a8";
            device_type = "cpu";
            reg = <0>;
        };
    };
    memory@0x80000000 {
        device_type = "memory";
        reg = <0x80000000 0x20000000>; /* 512 MB */
    };
};

At the end of the ROM code phase, the next stage bootloader is present in on-chip memory and the ROM code jumps to the beginning of that code.

Errata

(Page 136) If you get errors after executing the commands mentioned in the book. Please click the below link to find the solution to get rid of those errors: https://unix.stackexchange.com/questions/579640/u-boot-wrong-ramdisk-image-format-with-initramfs-on-beaglebone-black

Related Embedded Linux Programming Products

About

Mastering Embedded Linux Programming – Second Edition, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 56.3%
  • Shell 20.7%
  • Makefile 16.1%
  • BitBake 6.7%
  • C++ 0.2%