本文介绍了为什么我们需要在嵌入式设备中的引导程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对的ARM Cortex-A8内核ELinux工作。

我知道了引导程序如何运作,它做什么工作。但我有一个问题 - 为什么我们需要引导程序,为什么引导程序诞生

为什么我们不能直接在内核加载到RAM从闪存中没有引导程序?如果我们加载它会发生什么?事实上,处理器将不支持它,但是我们为什么下面的程序?


解决方案

^

So basically bootloader is doing just what you wanted - copying data from flash into operating memory. It's really that simple.

If you want to know more about boostrapping the OS, I highly recommend you read the linked article. Boot phase consists, apart from tests, also of checking peripherals and some other things. Skipping them makes sense only on very simple embedded devices, and that's why their bootloaders are even simpler:

这篇关于为什么我们需要在嵌入式设备中的引导程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 18:57
查看更多