Embedded operating system for multi-core processors
- Author
- ChenYunChuan
- Advisor
- LuoKeLu
- School
- University of Electronic Science and Technology
- Major
- Computer Applications
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 243
- Citations
- 2
Abstract
The main purpose of this thesis is to study what changes should be committed onμCLinux to runμCLinux on dual-core Blackfin 561 DSP. The concentration of this thesis is focused on following areas, booting, interrupting, and cache.The main work of this thesis on booting is, constructing a kernel thread after core A initialized, which will copy initializing code for core B to appropriate memory location. The kernel thread will proceed to install service routine for inter-processor interrupt, and then finally kick off core B. The initializing code for core B derives from initializing code for core A. Initializing work comprises of, installation of interrupt service routine, enabling cache for core B, reserving private data area of core B, and setting timer.Two affected interrupts in this thesis are inter-processor interrupt and timer interrupt. Data structure and corresponding functions needed by inter-processor interrupt are constructed and established in this thesis. As for timer interrupt, core A and core B share the same interrupt service routine, no special treat is needed, so we just give it a short glimpse.To enable cache on core B, two tasks are undertaken in this thesis. CPLB data structure which is suitable both for the dual cores is added. Moreover, loading and switching CPLB is implemented. CPLB data structure is involved mainly in representing and storing CPLB. On the other hand, loading CPLB means writing to CPLB table in MMR and switching CPLB means switching in and out CPLB to MMR in a given policy. Cache coherence and atomic operation under cache situation is added as supplementary.Finally, this thesis ends up with testing of the modifiedμCLinux. The adopted testing program is based on BBP algorithm for pi. We stated and proved BBP formula. Detailed scheme for parallel BBP algorithm is explained. Conclusion about the testing result is made at the end of this thesis.
Table of contents
Abstract 4-5
ABSTRACT 5-10
Chapter Introduction 10-13
1.1 status quo 10
1.2 of the problem to be solved 10-11
1.3 paper target 11-12
1.4 The paper is organized 12-13
the second chapter of the hardware architecture 13-19
2.1 BF561-EZKIT evaluation board 13-14
2.2 core architecture 14-15
2.3 memory architecture 15-17
2.4 event handling 17-18
2.5 external bus interface unit (EBIU) 18
2.6 Summary 18-19
start and interrupt 19-36
3.1 BF561 interrupt hardware 19-24
3.1.1 Overview 19-20
3.1.2 system interrupts the process 20-22
3.1.3 system device interrupt 22-23
3.1.4 Event Scale (EVT); 23-24
3.2 B nuclear boot process 24-28
3.2.1 B nuclear start 24-25
3.2.2 B core initialization 25-28
3.3 inter-processor interrupt (IPI) 28-33
3.3.1 IPI-related data structures 28-29
3.3.2 the IPI interrupt the service function 29-32
3.3.3 trigger IPI 32-33
3.4 clock interrupt 33-35
3.4.1 to install the clock interrupt handler function 33-34
3.4.2 clock interrupt handler 34-35
3.5 Summary 35-36
the fourth chapter of the memory and cache 36-54
4.1 Memory Management Overview 36-37
4.2 cache hardware About 37-42
4.2.1 cache hardware 37-40
4.2.2 CPLB hardware 40-42
4.3 enable cache and CPLB 42-46
4.4 CPLB switch 46-50
4.5 cache consistency 50-52
4.6 cache environment atomic operation 52
4.7 Summary 52-54
Chapter testing and analysis 54-72
5.1 parallel computing evaluation 54-56
5.2 pi pi solving algorithm 56-62
5.2.1 Solving of pi history 56-58
5.2.2 BBP formulas and algorithms 58-62
5.3 BBP algorithm parallelization 62-67
5.3.1 of the overall structure of 62-63
5.3.2 Control and Communication 63-65
5.3.3 Data structure and flow 65-67
5.4 test results 67-70
5.5 Summary 70-72
The sixth chapter summarizes 72-73
thank 73-74
References 74-77
research results achieved during the attack master 77-78
Related dissertations
- The Implement Research of FCV Information Platform in Vehicle Base on ARM7 & μClinux
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Research and Implementation of Intelligent Regulator Based on ARM
- Research on Shared L2Cache Management Mechanism Based on CMP
- Novel Polishing Pad Application in CMP Process
- Power Quality Analysis System Based on ARM and LabVIEW
- Optical Surface Error Evaluation Method Based on Fractal Theory
- The Research on Rare Earth Polishing Powder's Polishing Efficiency and Polishing Mechanism
- Study on the Chemical Modification of Liaoning Poplar's CMP
- The Design and Research of a Smart Mold Based on Shape Memory Polymers
- Research on Wireless Communication System of Micro Wall-climbing Robot Motion Control
- Design and Implementation of Optical Transceiver Network Agent System Based on SNMP
- Embedded Video Surveillance and Tracking System Based on SOPC
- Research on μ Clinux Porting Based on NIOS Soft-core Processor
- The Research and Development of Embedded System Based on ARM for Teaching
- Research on Core Technology of Real-Time Embedded Operating Systems for Multiple FPGAs
- Design and Implementation of Unified Payment Platform the Store on the Net
- ARM-Based Embedded Control Platform Design
- Research on the Method of SATA Hard Disk Controller SIL3114Driver Transplantation Based on μclinux Platform
- Research of thread scheduling strategy of multi processor system