官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 长沙市| 信丰县| 灵寿县| 丁青县| 呼和浩特市| 腾冲县| 南开区| 金华市| 永登县| 泾源县| 威宁| 宁阳县| 嘉鱼县| 阳朔县| 大足县| 东源县| 旺苍县| 田林县| 绍兴县| 宁海县| 邵武市| 五河县| 涟水县| 新建县| 兴隆县| 铜梁县| 寻乌县| 克山县| 阿巴嘎旗| 玉龙| 余干县| 方正县| 平安县| 文安县| 平南县| 乌鲁木齐县| 绥德县| 建德市| 新津县| 呈贡县| 隆德县|