摘要
在嵌入式开发中,由于Bootloader和硬件紧密相关,造成了移植Bootloader到一个新的硬件平台要修改大量的代码。针对这个问题,在Bootloader中引入硬件抽象层。硬件抽象层为各种硬件抽象出一个公共接口;Bootloader的硬件抽象层屏蔽了具体的底层硬件,增加了系统的可移植性,减少了移植的工作量。最后针对硬件抽象层实现方法上的不足,给出可行的解决办法。
During development of embedded systems, lots of codes will be changed when Bootloader is moved to a new hardware because Bootloader is in close relationship with hardwares. The hardware abstract layer (HAL) is introduced into Bootloader, which can shield a certain bottom hardware, advance the portability and reduce the workload of Bootloader. In combination with the practical work, the viable solutions against the lack of implementation methed of the hardware abstract layer are given.
出处
《现代电子技术》
2010年第8期38-40,共3页
Modern Electronics Technique