用户名: 密码: 验证码:
基于Linux的嵌入式设备多状态重启记录系统设计与实现
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Design and Implementation of Multi-state Reboot Recording System for Embedded Devices Based on Linux
  • 作者:王晨光 ; 孙文胜
  • 英文作者:WANG Chen-guang;SUN Wen-sheng;Communication Engineering College,Hangzhou Dianzi University;
  • 关键词:Linux ; 嵌入式设备 ; reboot ; EEPROM ; 看门狗中断 ; 重启记录
  • 英文关键词:Linux;;embedded devices;;reboot;;EEPROM;;watchdog interrupt system;;reboot record
  • 中文刊名:RJDK
  • 英文刊名:Software Guide
  • 机构:杭州电子科技大学通信工程学院;
  • 出版日期:2019-01-04 11:16
  • 出版单位:软件导刊
  • 年:2019
  • 期:v.18;No.199
  • 语种:中文;
  • 页:RJDK201905030
  • 页数:5
  • CN:05
  • ISSN:42-1671/TP
  • 分类号:131-135
摘要
近年来,随着嵌入式技术的迅猛发展,嵌入式产品已渗透到生产与生活各个方面,嵌入式设备运行稳定性则显得愈发重要。针对嵌入式设备运行异常现场难复现的问题,设计一种基于Linux的嵌入式设备多状态重启记录系统,可为设备问题定位提供重要的系统参考数据,实现嵌入式设备多状态重启数据记录。系统选择EEPROM掉电记忆存储芯片,结合嵌入式Linux系统中的看门狗驱动、EEPROM驱动和reboot命令,完成嵌入式设备断电重启、看门狗重启与reboot命令正常重启3种重启状态统计记录。该系统为维护设备的稳定运行提供了可靠方法,具有较高的实际应用价值。
        With the rapid development of embedded technology in recent years,embedded device products have penetrated into every corner of life and production,and the stability of embedded device operation has become increasingly important. For the abnormal operation of the embedded device and difficulty to reproduce the scene,this paper proposes a multi-state restart recording system for embedded devices based on Linux to provide important system reference data for device problem location,enabling multiple times of multi-state restart data logging of embedded devices. This system selects the EEPROM power-down memory storage chip,combined with the watchdog driver,EEPROM driver and reboot command in the embedded Linux system. It completes the record of three reboot states for the embedded device power-off reboot,watchdog reboot,and reboot command normal reboot. This system provides a reliable method for stable operation and maintenance of the equipment,and has a high practical application value.
引文
[1]谷中山.嵌入式技术的实际应用及前景[D].北京:北京动力机械研究所,2018.
    [2]翟军治.板载软件状态检测与异常分析[D].西安:西安电子科技大学,2014.
    [3]马骁骐.实时操作系统资源预留的研究与实现[D].北京:中国科学院研究生院(软件研究所),2003.
    [4]尚珊珊,赵铁群.软件可靠性综述[J].软件导刊,2006(15):3-5.
    [5]陈光宇,黄锡滋.软件可靠性学科发展现状及展望[J].电子科技大学学报:社会科学版,2002,4(3):99-102.
    [6]杨玉丽.软件可靠性研究现状与展望[J].电脑知识与技术,2010(1):128-129.
    [7]王成长.一种AP设备的异常重启原因检测方法及装置[P].中国,106571954.A,2017-04-19.
    [8]朱靖飞.一种查看系统异常时代码信息的方法及装置[P].中国,102479116.A,2012-05-30.
    [9] ST.M24128-BF data sheets[EB/OL]. https://www.stmicroelectronics.com.cn/content/st_com/zh/products/memories/serial-eeprom/standard-serial-eeprom/standard-i2c-eeprom/m24128-bf.html.
    [10] DP.I2C中线协议学习笔记[EB/OL]. http://dpinglee.blog.163.com/blog/static/14409775320112239374615/.
    [11]郭天祥. 51单片机C语言教程[M].北京:电子工业出版社,2015.
    [12]宋宝华. Linux设备驱动开发详解[M].北京:机械工业出版社,2015.
    [13] JONATHAN CORERT,ALESSANDRO RUBINI.Linux设备驱动程序[M].魏永明,译.北京:中国电力出版社,2009.
    [14]尤晋元,张亚英,戚正伟. UNIX环境高级编程[M].北京:人民邮电出版社,2006.
    [15]孙弋.基于S3C2440的嵌入式Linux开发实例[M].西安:西安电子科技大学出版社,2010.
    [16] mr_raptor.S3C2440看门狗定时器(Watchdog)[EB/OL]. https://blog.csdn.net/mr_raptor/article/details/6555704.
    [17]天王. S3C2440看门狗设置使用例程[EB/OL]. https://blog.csdn.net/skykingf/article/details/6185827.
    [18] CSDN.Linux驱动中断函数参数详解[EB/OL]. https://blog.csdn.net/sum_tw/article/details/73301981.
    [19] Wang-bob.基于Linux与Busybox的Reboot命令流程分析[EB/OL]. https://blog.csdn.net/wavemcu/article/details/8544333.
    [20] CCJ.Linux内核配置、编译及Makefile简述[EB/OL]. https://www.linuxidc.com/Linux/2016-12/137841.htm.
    [21]金步国. Linux-4.4-x86_64内核配置选项简介[EB/OL]. https://blog.csdn.net/wdsfup/article/details/52302142.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700