Professional Documents
Culture Documents
Abstract List of Abreviations List of Figures List of Tables Chapter 1 INTRODUCTION 1.1 Product overview 1.2 Hardware interfaces and functional blocks i iii iv vii 1 1 1
CHAPTER 2 ROOT FILE SYSTEM 2.1 Types of Root File System 2.2 JFFS2 2.2.1 Node format and compatibility 2.2.2 Operation 2.2.3 Mounting 2.2.4 Disadvantages
12 12 14 14 15 17 18
CHAPTER 3 OPENWRT 3.1 What is Open WRT 3.2 Download Open WRT 3.3 Directory structure of Open WRT 3.4 Building Open WRT
19 19 19 19 20
CHAPTER 4 BOOT SOURCE OPTIONS 4.1 Boot process from Power ON 4.1.1 Power on and boot rom code execution
23 24 24
4.1.2 The Boot Loader 4.1.3 The Linux Kernel 4.1.4 The Init Process
24 26 26
CHAPTER 5 MEASURING THE BOOTING TIME 5.1 Printk 5.2 Initcall Debug 5.3 Kernel Function Trace 5.3.1 Using Kernel function trace 5.3.2 Quick overview 5.3.3 Detailed Instructions 5.3.3.1 Configurating the Kernel for using KFT 5.3.3.2 Editing the static trace run configuration 5.3.4 Triggers 5.3.5 Filters
28 28 31 31 31 33 34 34 34 35 36
CHAPTER 6 MODULES IN THE PROJECT 6.1 Phase-1 Reducing the boot up-time at u-boot level 6.1.1 Optimize the Jffs2 scanning and loading of kernel in u-boot 6.1.1.1 Algorithm for fsload command 6.1.1.2 Algorithm for uload command 6.1.2 Increasing the expansion bus 6.2 Phase-2 Reducing the boot up-time at kernel level 6.2.1 Optimization at asterisk configuration
41 41
42 42 43 43 43 44
6.2.2 Adding Summary to kernel to reduce the mounting time of jffs2 6.2.2.1 How it works 6.2.3 To change the Jffs2 to Ubifs 6.2.3.1 UBIFS 6.2.4 To change the uimage into separate partition 44 44 46 46 51
CHAPTER 7 IMAGES OF THE COMMANDS CHAPTER 8 OUTPUT RESULTS OF THE PROJECT Appendix Commands used in the project References
62 70 79 90 92