- Mastering Embedded Linux Programming
- Chris Simmonds
- 222字
- 2021-07-30 09:45:02
Summary
Every system needs a bootloader to bring the hardware to life and to load a kernel. U-Boot has found favor with many developers because it supports a useful range of hardware and it is fairly easy to port to a new device. Over the last few years, the complexity and ever increasing variety of embedded hardware has led to the introduction of the device tree as a way of describing hardware. The device tree is simply a textual representation of a system that is compiled into a devicetree binary (dtb) and which is passed to the kernel when it loads. It is up to the kernel to interpret the device tree and to load and initialize drivers for the devices it finds there.
In use, U-Boot is very flexible, allowing images to be loaded from mass storage, flash memory, or a network, and booted. Likewise, Barebox can achieve the same but with a smaller base of hardware support. Despite its cleaner design and POSIX-inspired internal APIs, at the time of writing it does not seem to have been accepted beyond its own small but dedicated community.
Having covered some of the intricacies of booting Linux, in the next chapter you will see the next stage of the process as the third element of your embedded project, the kernel, comes into play.
- OpenStack Cloud Computing Cookbook(Third Edition)
- 零基礎搭建量化投資系統:以Python為工具
- VMware vSphere 6.7虛擬化架構實戰指南
- Learn Swift by Building Applications
- MySQL數據庫基礎實例教程(微課版)
- Functional Kotlin
- Java 11 Cookbook
- 快人一步:系統性能提高之道
- Java網絡編程核心技術詳解(視頻微課版)
- Fast Data Processing with Spark(Second Edition)
- 深入淺出Go語言編程
- 軟件項目管理實用教程
- 深入分析GCC
- INSTANT PLC Programming with RSLogix 5000
- 軟件再工程:優化現有軟件系統的方法與最佳實踐