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

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.

主站蜘蛛池模板: 客服| 隆回县| 金寨县| 巧家县| 广南县| 都匀市| 察隅县| 荆州市| 常熟市| 临夏市| 吉首市| 苏尼特右旗| 商水县| 四子王旗| 科尔| 襄城县| 乌鲁木齐县| 天峨县| 大庆市| 青神县| 南丰县| 景谷| 肇东市| 汨罗市| 福安市| 房产| 巨野县| 玛曲县| 运城市| 九江市| 巴塘县| 丰台区| 乌兰察布市| 阜阳市| 古田县| 嵊州市| 泰安市| 民权县| 潢川县| 温宿县| 长武县|