摘要
用U-Boot构建嵌入式系统的引导加载程序,在对U-Boot的启动工作机理进行了简略分析后,针对基于SEP3203的目标板对U-Boot作了具体的修改和移植。要在U-Boot里增加了若干测试命令,并在U-Boot里增加了中断处理程序,通过SEP3203的timer.每隔一毫秒进入中断处理进行喂狗。并在刚开始的一段代码里增加了启动Nucleus代码。在U-Boot里增加了应用结果表明,移植后的U-Boot在目标板上运行良好,可成功引导Nucleus内核。
This paper develops a bootloader for embedded system with the U-Boot. After analyzing the booting mechanism of U-Boot, the modification and. porting in an embedded system.board based on SEP3203 are done in detail. We add some test commands ,and enable interrupt by setting SEP3203 and do irq for watchdog every one millisecond. The application shows the U-Boot runs well and can lead Nucleus kernel successfully.
作者
张国祥
钟锐
ZHANG Guo-xiang, ZHONG Rui (Deptement of Electronic Science and Engineering,Southeast University,Nanjing 210096, China)
出处
《电脑知识与技术》
2008年第8期809-813,共5页
Computer Knowledge and Technology