Design and Implementation of DUET Loader under Linux Environment

Author
GuiKun
Advisor
GuGuoChang
School
Harbin Engineering University
Major
Applied Computer Technology
Classification
TP316.81
Degree
Master's thesis
Year
2010
Downloads
37
Citations
0

Request the full text

Abstract

Unified Extensible Firmware Interface (UEFI) firmware interface standard developed by Intel 's next-generation computer . Designed to blend modern software engineering ideas and design method to construct a flexible , robust , extensible , reusable , firmware development framework to facilitate the development and maintenance . Intel UEFI framework based on the open source community provides a set of UEFI Development Kit ( EDK EDK2 ) and a variety of the UEFI simulation platform to implement the sample . The DUET platform included in the UEFI Development Kit , which is different from other run on the operating system level simulation platform the UEFI simulation platform , its obvious characteristics , then package the traditional BIOS ACPI tables in a variety of functions and system calls , UEFI Framework needs of the various system interface is formed , so as to run in the actual hardware platform . According to its characteristics , the design and implementation of the simulation platform fully reused in EDK2 Core Library module , to the maximum extent in order to simplify the code and workload . This paper mainly studies the DUET platform bootloader function , design ideas and implementation methods . Discusses the differences and relations between the the DUET platform and platform -based UEFI Framework . Then discuss the Boot Sector write to the boot media sector based on the design of the MBR and GPT Boot Sector , related tools , and how to write shell scripts and compiler tool to compile the entire project . Depth description the DUET platform boot program execution jump from the completion of the traditional BIOS boot boot media Boot Sector , jump protected mode , unzip the need to perform the DXE mirror and ready DXE mirror the Memory Stack and HOB way passed to the DXE Entrypoint. Analyzed the entire DUET platform memory mapping, as well as the implementation of DxeIPL and EFI Loader and how to reuse legacy BIOS system call .

Table of contents

Abstract 5-6 Abstract 6-9 Chapter 1 Introduction 9-14 1.1 research background 9-10 1.2 research status 10 1.3 The main research topics 10-12 1.4 Thesis Organization 12-14 first Chapter 2 DUET platform analysis 14-23 2.1 UEFI Framework 14-15 2.2 DUET Framework 15-16 2.3 boot process 16-20 2.3.1 UEFI boot process 17-18 2.3.2 DUET boot process 18-20 2.4 DUET similarities and differences with UEFI Firmware 20-21 2.5 Chapter Summary 21-23 Chapter 3 DUET platform to guide program design 23-42 3.1 disk partition table 23-28 3.1.1 Main Boot Record 24-26 3.1.2 Guided Partition Table 26-28 3.2 Lzma compression 28-30 3.3 GnuGenBootSector 30 3.4 Build Shell Script 30-32 3.4.1 Post Build 30-31 3.4 .2 Create Boot Disk 31-32 3.5 ACPI 32-36 3.6 platform module division 36-37 3.7 Memory Mapping 37-40 3.8 Chapter Summary 40-42 Chapter 4 DUET platform boot program implementation 42-59 4.1 Boot Sector 42 -45 4.1.1 BIOS Parameter Block realization 42-44 4.1.2 Find EfiLdr 44 4.1.3 Find EfiVar 44 - 45 4.2 EFI Loader 45-53 4.2.1 Jump protected mode 45-47 4.2.2 Interrupt Vector 47-48 4.2.3 Executive EFI Loader 48-53 4.3 DxeIPL 53-56 4.4 Experimental results and analysis 56-58 4.4.1 Experimental environment and tools 56 4.4.2 process and results analysis 56-58 4.5 Chapter Summary 58-59 conclusion 59-61 References 61-63 papers published during the master's degree and research achievements 63-64 Thanks 64

Related dissertations

  1. Analysis of BIOS System Based on UEFI Technology and Research on Its API Performance Test
  2. The Firmware Driver Development of Intel Xeon-E5Multiprocessor in UEFI
  3. Design and Implementation of Operating System for Wireless Sensor Netwok Nodes Based on MC13224Chip
  4. Affirmation and Question the Spirit of Bushido
    GuoZuo ·Hunan University ·2012 ·Master's thesis
  5. The Research and Application of Trusted-BIOS Platform Based on UEFI
  6. The Research of UEFI Based Virtual Machine and Its Application on Digital Signature
    ChenZhiFeng ·Shanghai Jiaotong University ·2008 ·Master's thesis
  7. On the Artistic Values of Couple Show
    ChangXueLian ·Shanxi University ·2007 ·Master's thesis
  8. On Piano Teaching the importance of four hands
    ChenJing ·Northeast Normal University ·2007 ·Master's thesis
  9. The Fieldwork and Research of the Inner Mongolian Errentai’s Instrumental Ensemble Music
    LiuXiaoWen ·Inner Mongolia Normal ·2007 ·Master's thesis
  10. A Study of the Duet in "The Marriage of Figaro
    ChenYing ·Southwest China Normal ·2004 ·Master's thesis
  11. Baotou Duet vocal music and singing characteristics
    FuChao ·Central University for Nationalities ·2007 ·Master's thesis
  12. Study of Embedded Linux Device Drivers and BootLoad Program
  13. On the Morphology of Song and Dance Duet of Inner Mongolia
    WeiLinLin ·Inner Mongolia Normal ·2005 ·Master's thesis
  14. The Design and Realization for Network Video Monitoring Machine Based on ARM
    GaoRenCai ·Jilin University ·2010 ·Master's thesis
  15. About the Disaster Data Recovery System’s Research and Design
    XuChaoMing ·Chongqing University of Technology ·2009 ·Master's thesis
  16. Research and Implementation of Technology in Hard Disk Formatted Data Recovery
    LuEnMing ·Sichuan Normal University ·2009 ·Master's thesis
  17. Mass Communication in the Context of the Northeast \
    SunYanHui ·Northeast Normal University ·2009 ·Master's thesis
  18. Zhao rural theme of narrative comedy drama tendency
    ChenHong ·Southwestern University ·2009 ·Master's thesis
  19. Control module and drive the design of integrated circuit tester
  20. Research and Improvement of Protocol Stack Based on Unified Extensible Firmware Interface
    XingZhuoZuo ·East China Normal University ·2011 ·Master's thesis