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

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.

主站蜘蛛池模板: 绥江县| 罗平县| 固阳县| 修武县| 汉源县| 柏乡县| 宁波市| 太仓市| 肥东县| 余姚市| 桂林市| 南充市| 泰顺县| 和龙市| 永昌县| 临泉县| 荥经县| 宣化县| 肇州县| 涟源市| 溆浦县| 托克逊县| 德庆县| 准格尔旗| 金塔县| 鄂伦春自治旗| 神池县| 秭归县| 达孜县| 千阳县| 宁陕县| 特克斯县| 望都县| 沂水县| 河南省| 墨玉县| 郴州市| 永丰县| 罗山县| 梓潼县| 龙州县|