作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (04): 215-217. doi: 10.3969/j.issn.1000-3428.2012.04.070

• 工程应用技术与实现 • 上一篇    下一篇

在内核下的BootLoader自动更新方法

康文军 1,2,鄢 萍 1,2,胡新元 1,2   

  1. (1. 重庆大学机械传动国家重点实验室,重庆 400044;2. 重庆市网络化制造工程技术研究中心,重庆 400044)
  • 收稿日期:2011-07-23 出版日期:2012-02-20 发布日期:2012-02-20
  • 作者简介:康文军(1986-),男,硕士,主研方向:嵌入式系统的应用与开发;鄢 萍,教授、博士生导师;胡新元,博士
  • 基金资助:
    国家自然科学基金资助重点项目“离散车间制造系统高效低碳运行优化理论与关键技术”(51035001);教育部“新世纪人才支持计划”基金资助项目

Automatic BootLoader Updating Method Under Kernel

KANG Wen-jun 1,2, YAN Ping 1,2, HU Xin-yuan 1,2   

  1. (1. State Key Laboratory of Mechanical Transmission, Chongqing University, Chongqing 400044, China; 2. Chongqing Networked Manufacturing Engineering Technology Research Center, Chongqing 400044, China)
  • Received:2011-07-23 Online:2012-02-20 Published:2012-02-20

摘要: 目前的BootLoader更新方法仅适用于单块目标板的调试阶段,无法实现批量更新。为此,提出一种在内核下的BootLoader自动更新方法。该方法提取新BootLoader镜像文件中的有效数据,并将其保存到以“.h”结尾的文件中,利用特制的Flash驱动程序及该类型文件生成特制的内核,通过外部移动存储设备,将特制内核更新到嵌入式系统中,特制内核启动后将自动更新BootLoader,从而完成BootLoader的批量更新。

关键词: BootLoader程序, 自动更新, 内核, 移动存储设备, Flash驱动程序

Abstract: Current BootLoader updating method is proposed for the debugging of one target board, but not for batch BootLoader updating. This paper proposes a new automatic updating method under the kernel. It extracts effective data from new BootLoader image files, saves them to the files with the suffix “.h”, uses a special Flash driver and above files to form a special kernel, and updates the special kernel into embedded system through peripheral removable storage device. After starting the kernel, BootLoader can automatically updated, so that batch BootLoader Automatic updating is finished.

Key words: BootLoader, automatic updating, kernel, movable storage device, Flash driver

中图分类号: