首页> 外国专利> METHOD AND DEVICE FOR IMPLEMENTING UNIVERSALITY OF BOOT PROGRAM FOR EMBEDDED DEVICE

METHOD AND DEVICE FOR IMPLEMENTING UNIVERSALITY OF BOOT PROGRAM FOR EMBEDDED DEVICE

机译:实现嵌入式设备启动程序通用性的方法和设备

摘要

Disclosed is a method for implementing universality of a boot program for an embedded device, comprising: distinguishing universal hardware from non-universal hardware; allocating a data structure for the non-universal hardware, generating a configuration parameter file corresponding to the data structure, and configuring the codes of the boot program according to the data structure; linking the configuration parameter file and the codes of the boot program as image files, placing the codes for the boot program in a boot program section in the image file, and placing configuration parameters in the configuration parameter file in a parameter section in the image file; initialising CPU and the universal hardware by the codes of the boot program, and initialising the non-universal hardware by the configuration parameters and the codes of the boot program. A corresponding device is also provided.By the method provided by the present invention, a universal boot program can be used for the initialisation of hardware having different peripherals, reducing the efforts for maintaining the boot program and improving the extendibility of the boot program.
机译:公开了一种用于实现嵌入式设备的引导程序的通用性的方法,该方法包括:将通用硬件与非通用硬件区分开;为所述通用硬件分配数据结构,生成与所述数据结构对应的配置参数文件,并根据所述数据结构配置所述启动程序的代码;将配置参数文件和引导程序的代码链接为映像文件,将引导程序的代码放置在映像文件的引导程序部分中,并将配置参数放置在映像文件的参数部分中的配置参数文件中;通过启动程序的代码初始化CPU和通用硬件,并通过配置参数和启动程序的代码初始化非通用硬件。还提供了一种相应的设备。通过本发明提供的方法,可以将通用启动程序用于具有不同外围设备的硬件的初始化,从而减少了维护启动程序的工作量并提高了启动程序的可扩展性。

著录项

  • 公开/公告号WO2013075522A1

    专利类型

  • 公开/公告日2013-05-30

    原文格式PDF

  • 申请/专利权人 ZTE CORPORATION;LAI YINGJUN;

    申请/专利号WO2012CN80738

  • 发明设计人 LAI YINGJUN;

    申请日2012-08-29

  • 分类号G06F9/445;

  • 国家 WO

  • 入库时间 2022-08-21 16:32:55

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号