摘要
固件作为目标板启动最核心程序,不仅仅需要引导操作系统,更重要的是需要实现所有硬件的初始化和自检等,方便设备的维护和保养。U-Boot作为一款通用的开源固件程序,具有良好的可移植性和完整的功能。通过分析U-Boot的目录结构和启动流程以及目标板的设计需求,来实现完成基于MPC8548E目标板的具体修改和移植,并增加关键硬件的自检功能,同时阐述通过设置环境变量来启动操作系统内核。对于不同的CPU和开发板,本U-Boot的启动原理分析和移植有一定的借鉴意义。
The firmware which is a the core program of target board booting not only need to boot the operating system, more important is to implement all hardware initialization and self-checking, but also make device convenient equipment maintenance and repair. U-Boot which is a general firmware program with open source has the good portability and the complete function. After analysis the directory structure and the booting mechanism of U-Boot and design requirement of target board, the modification and porting in an embedded system board based on MPC8548E board are accomplished in particular, and it also can increase the self-check function of the key hardware. By setting up the environment variable to start operating system kernel. For different CPU and target board, the booting principle and transplanting of U-Boot have some reference significance.
出处
《电子设计工程》
2012年第21期180-183,共4页
Electronic Design Engineering