摘要
针对嵌入式设备专有引导程序开发周期长、移植困难,开源引导程序代码体积大、启动速度慢等问题,提出基于uC/OS-Ⅱ内核的ARM9引导程序设计方法。首先根据S3C2410处理器特点对uC/OS-Ⅱ内核进行移植;其次在分析uC/OS-Ⅱ内核启动流程基础上,设计基于uC/OS-Ⅱ内核的引导程序功能结构,建立功能调度任务和任务调度优先级,移植设备驱动和看门狗程序;最后分析内核引导程序完整启动流程与命令行功能,生成引导程序映像并与U-boot进行实验比较。实验结果表明,设计的引导程序体积小、启动速度快,提高了引导程序的可移植性,降低了引导程序的开发难度和开发周期,为引导程序的开发提供了一种新思路。
To the problems of long development cycle and hard transporting in the proprietary bootloader, and bulk code and slow booting in the open bootloader, the method of designing ARM9 bootloader based on uC/OS- II kernel is proposed. The uC/OS- II kernel is transplanted according to the characters of s3c2410 processor. The bootloader functional structures are designed based on analyzing the uC/OS- U kernel's boot process. Functional scheduing tasks and task scheduling priorities are established, and the device drivers and watchdog programs are repoted. The complete boot process and commond-line functions of the kernel bootloader are analyzed, and the image and its comparison with the U-boot are generated. The experiment result shows that the bootloader has the advantages of small size and fast booting. The proposed method enhances the bootloader portability, reduces the development difficulty and cycle and proides a new way for developing the bootloader.
出处
《控制工程》
CSCD
北大核心
2011年第6期997-1000,共4页
Control Engineering of China
基金
国家863项目基金资助(2006AA04A124)