Research and Implementation of the Optimization on the Phone Firmware Loading
- Author
- HuHaiQing
- Advisor
- WuBo , GongWenQiang
- School
- Xi'an University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 9
- Citations
- 0
Abstract
At present, the existing loading pattern of phone firmware takes up more flashspace. Meanwhile, with the increase of user’s requirements and new functions, bootingperformance of phones will be reduced. Therefore, the optimization processing in theprocess of loading firmware is an effective solution to reduce costs and improve bootingperformance of phones.This paper designs and implements an optimization system using optimizationstrategy for the phone firmware loading on the basis of analyzing how to load firmware.According to functional requirement, the system is divided into three parts: datacompression module, decompression speed optimization module and versionself-decompression module. The LZO (Lempel Ziv Oberhumer) data compressionalgorithm is selected in the data compression module. In the process of decompressionspeed optimization module, decompression speed is optimized by TCM (TightlyCoupled Memories), Cache and memory copy optimization technology. The versionself-decompression module ensures the feasibility of the system by actualizingself-decompression technology.The loading optimization system uses the superposition implementation and there’sno need to make any changes of the source code. This load optimization system canproduce the optimized firmware after the original firmware is produced, and theimplementation of research programs is transparent to the production tools.Experimental results show that the feasibility and the validity of this load optimizationsystem meet the design requirement.
Table of contents
Summary 3-4
Abstract 4-7
first chapter 7-11
1.1 background and significance 7-8
1.2 domestic status quo 8-9
1.3 The main contents 9-10
1.4 thesis structure 10-11 <br / > the second chapter related technical overview 11-29
2.1 data compression technology 11-21
2.1.1 general method for data compression 11-12 <br / > 2.1.2 classification of data compression technology 12-13
2.1.3 common dictionary mode compression algorithm 13-21
2.2 decompression speed optimization techniques 21 -26
2.2.1 TCM theory 21-22
2.2.2 Cache theory 22-25
2.2.3 memory copy optimization 25 - 26
2.3 version of the self-extracting technology conceptual 26-28
2.3.1 extracting 26-27
2.3.2 principle of self-extracting 27
2.3.3 self-extracting process analysis 27-28
2.4 Summary 28-29
Chapter load analysis and optimization of the overall architecture of the system requirements 29-41
3.1 image file loading process 29-32
3.2 system Requirements Analysis 32-38
3.2.1 system design requirements 32-34
3.2.2 system functional requirements 34-35
3.2.3 system use case modeling 35-38
3.3 overall load optimized system architecture 38-40
3.3.1 system design 38-39
3.3.2 system function modules 39-40
3.4 Summary 40-41
Chapter load optimization system detailed design and implementation 41-57
4.1 data compression module design and implementation 41-50
4.1. a data compression algorithms require 41-42
4.1.2 data Compression Algorithm screening 42-44
4.1.3 data compression algorithms 44-50 <br / > 4.2 decompression speed optimization module design and implementation 50-53
4.2.1 using ITCM 50-51
4.2.2 enable Cache 51-52
4.2.3 memory copy optimization 52-53
4.3 version of SFX module design and implementation 53-56
4.3.1 self-extracting process design 53-55
4.3.2 self-extracting process to achieve 55-56
4.4 Summary 56-57
Chapter running and testing 57-63
5.1 system operating environment 57-59
5.2 system test results 59-62
5.3 Summary 62-63 <br / > Chapter VI Conclusion 63-65
6.1 the main work of this research 63-64
6.2 summarizes deficiencies exist 64
6.3 and further prospects 64-65
Thanks 65-67
References 67-69