Design and Implementation of FLASH File System in Set-top-box
- Author
- WangXue
- Advisor
- HaoJiuYu
- School
- Tianjin University
- Major
- Communication and Information System
- Classification
- TN948.55 The receiving device
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 49
- Citations
- 1
Abstract
With the spread of digital TV set-top-box (STB) technology and the increase of related projects, the data storage and management becomes a crucial section in STB systems. With its nonvolatile character as well as its advantage of high density, low power consumption and shock-resistance, FLASH memory is a prevailing medium served for saving programs and user data in STB system, The concept of Log-structured file system has been brought up to accommodate the out-of-place update feature of flash memory, which solves the problem of garbage collection, bad-block management and wear leveling efficiently. The Log-structured file system accelerates file accessing, prolongs the service life of FLASH and realizes the efficient management of data and program in FLASH memory.This paper firstly introduces the physical character and classification of FLASH memory, followed by the terms regarding file system and the specific requirement for FLASH file system in STB. Based on the intensive study of the prevailing JFFS2 file system, its data structure and node organization is redefined. JFFS2 is transplanted onto OS20 operating system employed in STB and the Log-structured file system is implemented as the FLASH file system, which improves the data accessing speed and security performance. Moreover, the“Image Parser”utility is developed to scan the linked list containing index information of the multi-session image and extract its content by multiple writing. This module is designed to restore files in images and print related information on PC. It was developed in Linux and debugged using gdb tools.The improvement and transplantation of JFFS2 diminishes the shortcomings of the original file system. It satisfies the need of mass data storage, enables more extendable functions in STB and provides solutions for data management. The“Image Parser”utility is designed to extract files in STB multi-session images on PC, which facilitates the process of program debugging.
Table of contents
Chinese Abstract 3-4
ABSTRACT 4-8
first chapter 8-12
1.1 digital TV set-top boxes 8 - 10
1.1.1 broadcasting digitization process 8-9
1.1.2 STB Overview 9
1.1.3 STB development and application prospects 9-10
1.2 file system Overview 10
1.3 the main work 10-12
Chapter FLASH file system 12-33
2.1 FLASH memory 12-14
2.1.1 flash physical characteristics 12-13
2.1.2 Flash classification 13-14 < br /> 2.1.3 the system FLASH choice 14
2.2 embedded FLASH file system 14-16
2.3 flash management 16-20 <br / > 2.3.1 Flash memory management problems to be solved 16-17
2.3.2 traditional flash file system 17
2.3.3 for a flash file system 17-20
2.4 several typical flash file system 20-24
2.4.1 JFFS file system 20
2.4.2 JFFS2 file system 20-21
2.4.3 YAFFS file system 21-23
2.4.4 UBIFS file system 23
2.4.5 Cramfs file system 23-24
2.5 JFFS2 file system research 24-33
2.5.1 JFFS2 node storage format 25
2.5.2 JFFS2 node type 25 -27
2.5.3 JFFS2 mount 27-29
2.5.4 garbage collection 29-31
2.5.5 balanced wear 31 - 33
Chapter OS20 operating system and file system migration 33-47
3.1 embedded operating system 33-37
3.1.1 embedded operating system development 33-34
3.1.2 embedded operating system features 34-35
3.1.3 real-time operating system 35-37
3.2 OS20 operating system 37-43
3.2.1 OS20 features 37-38
3.2.2 OS20 kernel scheduling 38-39
3.2.3 OS20 task 39-40
3.2.4 OS20 memory and partition 40-41
3.2.5 semaphores and message queues 41 - 43
3.2.6 clock and interrupt 43
3.3 file system migration 43-47
Chapter file system application tools development 47 -69
4.1 image file 47-48
4.2 important data structure 48-53
4.2.1 file header structure 49-50 < br /> 4.2.2 file structure body 50-51
4.2.3 unknown node structure 51-52
4.2.4 erase block structure 52-53
4.3 print image file information module 53-57
4.4 restore image file module 57-67
4.4.1 the data structure of the module 58-59
4.4.2 overall Flow 59-61
4.4.3 restore the image module overall design philosophy 61-62
4.4.4 core module implementations 62-67
4.5 module test 67-69
4.5.1 print image file information module test 67-68
4.5 .2 restore the image file module test 68-69
chapter summarizes 69-70
References 70-72
Thanks 72
Related dissertations
- Research on the Tourism Destination Image Cognition
- Remote Sensing Image Using in the Land Change Survey and Monitoring Applications
- Identity and Image of Mainlanders in English Newspaper of Hong Kong
- The Analysis of the Filtering Model of Campus Network Security and Its Key Algorithm
- Design and Implementation of Classification on Content-based Image Retrieval
- A Research of Audio and Image Resource Management Mechanism on Virtual Desktop
- Research on Image Resources Intelligent Identify in Cloud Manufacturing System Based on BP ANN
- Design and Implementation of Vehicle Drivers Imaging System
- Enjoy the visual point - regression art junior high school art teaching exploration
- Research on Students, Ability of Reading Map in Geography Teaching of Junior High School
- On the Image of Confucian Teachers in the Song Dynasty
- The Study of the Image Creation of Chinese Local Governments Spokesperson
- The Effect of Illustration on High School Students' Eye Movements in Reading Newspapers
- On Sartre's Theory of Imagination
- Research on Zhong Kui
- The formation of image - Moscow Russian eyes from the perspective of historical and cultural analysis of the image of the Moscow
- Aesthetical Perspective of Han Nationality Wedding Ceremony
- A Study on Historical Data of Han Dynasties' Design
- Analysis of the Cultural Charm of Chinese Zodiac Image in Modern Design
- Designed to Promote the Image of Jinan BRT