Design and Implementation on the UEFI BIOS Shell under Debugging Tools

Author
ZhangQiong
Advisor
DuanGuiDuo , JiaHuiPeng
School
University of Electronic Science and Technology
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
30
Citations
0

Request the full text

Abstract

With the increasing demand for personal computer, the computer manufacturerincreases constantly too, make the competition between manufacturers more intense, inthe constant improvement and development or maintenance test debug time to speed upthe delivery. The computer system control key--hardware resources access is the entirecomputer system development core technology. There are three methods to realizeaccessing computer hardware resource, respectively is visual access interface, firmware,realization method and prior to operating system hardware access technology.In this thesis,mainly through tools to access of the computer hardware equipment,puts forward a functional debug method under UEFI BIOS Shell environment whencomputer power on, realize without the help of operating system, to access the computerhardware resources situation of software method. This method realized the computerdevelopment or maintenance testers in do not need to operating system under the premiseof deeper levels of access to low-level hardware resources: such as PCI deviceconfiguration register, the keyboard controller, etc., and provides a visual user interface.For the development of the computer system, in-depth understanding of the workingprinciple of the computer hardware, and then to solve the design and maintenance of theproblems appeared in the process to provide a convenient, save the computer productiontesting manpower and peripheral storage fixture cost, make Shell in perform debugprovides a new method, at the same time, it also will be a generated technologydevelopment trend,This thesis chapter8with existing way contrast detailed performanceanalysis..

Table of contents

Summary 5-6 ABSTRACT 6-11 Chapter 1 Introduction 11-16 1.1 Background and Significance 11 - 12 Status 1.2 hardware test debug major work 12-13 1.3 papers 13-14 1.3.1 research objectives 13 <br / > 1.3.2 research 13-14 1.4 dissertation chapters arranged 14-16 Chapter II BIOS development process and technical characteristics 16-28 2.1 BIOS profile 16-18 basic concepts 2.1.1 BIOS of 16 basic functions 2.1.2 BIOS of 16-18 2.2 UEFI domestic and international trends and profiles 18-23 2.2.1 UEFI BIOS development status 18-20 2.2.2 UEFI limitations and safety hidden 20-21 distinction 2.2.3 UEFI BIOS with legacy BIOS 21-23 2.3 UEFI architecture analysis and device access 23-25 ?? 2.3.1 UEFI -based platforms 23-24 2.3.2 PCI device software access method 24-25 2.4 UEFI BIOS stage process analysis 25 -27 2.5 Summary needs 27-28 Chapter UEFI BIOS Shell hardware debug mode analysis 28-34 3.1 Shell in debug tool design feasibility analysis performance run-time debugging tools 28-30 3.1.1 analysis 28-29 calling environment analysis 3.1.2 debugging tools 29-30 feasibility 3.2 Shell debugging tools in the design of functional requirements analysis 30-33 3.2.1 BIOS under debugging tool design and analysis 30-31 3.2.2 software debugging tool programming requirements formatting 31 3.2.3 debugging tool 31-32 3.2.4 except system Block Diagram wrong tool 32-33 3.3 Summary 33-34 Chapter overall program UEFI BIOS Shell hardware design debugging mode 34 -40 4.1 Shell hardware debug mode system works system process design nbsp 34-35 4.2 Shell debugging hardware testing tools ; 35-36 <br / > 4.3 BIOS loading process under debugging tool 36-39 4.4 Summary achieve 39-40 Chapter user interaction and main calling module logic diagram 40-45 5.1 user interaction module implementations 40-42 5.1.1 user interaction module 41-42 5.2 main calling module the logic diagram implementations 42-44 5.2.1 main calling module 43-44 5.3 Summary 44-45 sixth Chapter achieve the main function modules 45-62 system diagram nbsp 6.1 main functional modules ; achieve 45-46 6.2 each sub- function module features 46 - 61 6.2.1 memory implementation (Memory) access module 46-51 6.2.2 achieve access to the underlying PCI device module 51-53 6.2. 3 to achieve access to the CPU core registers modules way 53-55 implementations 6.2.4 SMBus bus access to the underlying device module 55-57 6.2.5 access to the underlying CMOS module implementations 57-61 6.3 Summary 61-62 Chapter VII UEFI BIOS embedded debugging tools to achieve 62-66 7.1 BIOS initialization of the computer hardware realization 62-63 7.2 development tools, hardware debugging methods used in Option ROM 63 7.2.1 debugging tool BIOS Shell integration 63 7.3 implementations handle Option ROM firmware format 63-64 7.3.1 resolves field definition format 64 7.3.2 application Method parse data entry 64 7.4 Summary 64-66 Chapter VIII of the overall system functionality testing and results analysis 66-77 meaning 8.1 debugger function tests 66-67 8.1.1 White-box testing 66 8.1.2 Black box testing 66 select the 8.1.3 test development platform functional testing diagram 66-67 8.2 debugger is ; nbsp 67-71 8.2.1 input parameters module test 67-68 8.2.2 user interface module test 68-69 8.2.3 The main control module test 69 8.2.4 main function of each module test 69-70 8.2.5 module integration testing 70-71 8.2.6 debugging tool development considerations 71 8.3 except wrong is experimental results 71-76 8.3.1 experimental results demonstrate 71-74 8.3.2 analysis of experimental results 74-76 8.4 Summary 76-77 Chapter IX conclusion 77-79 Thanks 79-80 References 80-82 Appendix 82-89 Appendix [ 1 ] system to achieve a test environment 82-83 Appendix [ 2 ] system to achieve test platform 83 <br / > Appendix [3] PCI device debugging tools source code 83-89

Related dissertations

  1. The digitize smart charger
    HanXing ·Northwestern Polytechnical University ·2006 ·Master's thesis
  2. Smart Battery charging and discharging management system
    ShaoQiang ·Zhengzhou University ·2005 ·Master's thesis
  3. Wireless data collection and transmission mechanism
    ChenLiNa ·Tianjin Normal University ·2010 ·Master's thesis
  4. The Research of Intelligent Charge & Protection Circuit for Lithium Power Battery
  5. Development of PXI Express Remote Controllor
    SongHuiJuan ·Harbin Institute of Technology ·2011 ·Master's thesis