Linux Bootup Time Reduction for Digital Still Camera

Total Page:16

File Type:pdf, Size:1020Kb

Linux Bootup Time Reduction for Digital Still Camera Linux Bootup Time Reduction for Digital Still Camera Chanju Park Kyuhyung Kim Samsung Electronics, Co. Samsung Electronics, Co. [email protected] [email protected] Youngjun Jang Kyungju Hyun Samsung Electronics, Co. Samsung Electronics, Co. [email protected] [email protected] Abstract OS [2], VxWorks [3], etc., have been widely used for the operating system of DSC. How- ever, some of RTOSes does not support the ex- Bootup time is a very important issue in the tensibility, adaptability, and flexibility [4]. In DSC System because customers want to cap- order to support these properties, we adopt the ture immediately specific image. In this paper, embedded Linux as an OS in our DSC which we present the experience of the implementa- kernel features can be modified freely because tion methods and the performance evaluation its source codes are opened. results for reduction of bootup time which was used in SAMSUNG DSC platform. At first Linux uses standard device driver interfaces we introduce the DSC platform and develop- and it supports the POSIX APIs, so it pro- ment environments and next we explain the op- vides diverse extensibility. Using the Linux timization method for the bootloader and the can considerably reduce the long-term develop- kernel bootup time. We also describe root file ment cost so that the DSC can strengthen the system, device driver module configuration and one of the most important competitive powers- DSC applications initialization for bootup time. “Time to Market”. There are many CE prod- There are various techniques for linux bootup ucts adopting embedded Linux [5]. However, time reduction and we explain the most impor- in DSC, only a few companies use it, such tant differences. as Ricoh Company that made prototype Linux DSC [6]. 1 Introduction There would be various important requirements to load embedded Linux in the DSC. Among them, the major requirement would be the real- Recent digital convergence trends drive CE time performance, and the bootup time. Re- products to have many functions in single de- cently, embedded Linux provides many fea- vice. The DSC also follows it that provides tures for real time and the DSC hardware also many functions such as MP3, PMP, and net- does many works for image processing to re- work function. Various real time operating duce S/W computation overhead. By H/W and system (RTOS), such as ITRON [1], ZORAN S/W supporting, we can achieve real-time re- 232 • Linux Bootup Time Reduction for Digital Still Camera quirement of DSC. However, we still have a important requirement, the bootup time. In this paper, we will describe “bootup time reduction” which is one of the major require- ments in the Linux DSC. This paper organized as follows. In the next session, we describe the boot procedure of the DSC, and then present the technologies relevant to improving bootup time for Linux. The last section presents the results of implementation and future research direction. 2 Bootup time reduction methods 2.1 Environments We used the Samsung DSC reference platform for implementing Linux DSC. It has a 16/32- bit RISC microprocessor, designed to provide DSC features—6 mega pixel CCD, powerful JPEG encoder/decoder, Divx decoder, audio DSP, 64MB DDR memory controller, Camera Figure 1: Initial Samsung FPGA DSC Platform interface, SD Host & Multi-Media Card inter- using S5C7380x face, etc. Especially, it includes an OneNAND flash memory and no NOR flash memory. • Memory: 64MB SDRAM , 64MB One- The initial Samsung FPGA DSC platform is NAND flash shown in Figure 1. • DSC Module: CCD censor, Image Pro- S5C7380x is the high spec digital camera plat- cessing Unit, AF/Zoom/Shutter/Iris mo- form of Samsung, which integrates many pe- tor, Digital LCD, JPEG encoder/decoder, ripherals for fast Image processing. OSD, 3A(AE, AWB, AF) module, etc. The major features of the platform are: • OS: Linux kernel 2.4.20 • Kernel Size: about 1MB (uncompressed • Core: Arm926EJS (16K I/D cache) Image) • Image processor: Samsung S5C7380x • File System: Cramfs for root file system, • System clock: 216Mhz Fclock, 108Mhz Robust File system for OneNAND Hclock 2006 Linux Symposium, Volume Two • 233 2.2 DSC Bootup Procedure flash for two reasons. Samsung’s OneNAND is a single chip flash that offers the ultra-high den- sity of NAND and has the interface to NOR at The booting of the DSC system is a pro- very attractive price. The OneNAND is based cess from power-up to ready-to-shoot. (Af- on NAND architecture integrating buffer mem- ter Ready- to-shoot state, we can capture any ory and logic interface. It takes both advantages images). It consists of three main operations, from high-speed data read function of NOR “Boot loader”, “Kernel initialization,” and “Ap- flash and the advanced data storage function of plication Initialization”. After power up, the NAND flash. It is mandatory to make addi- boot loader initializes the system and starts the tional small boot loader for copying the kernel system process. Then it copies the kernel im- image to memory. age into memory. Once the kernel is loaded, the kernel initializes many resources and loads After loading the kernel image, bootloader con- H/W module into memory, then it mounts sev- tinues loading a RFS(Root File System) image eral file systems to the several mount points. into RAM. Typically the RFS image is stored in compressed form (gz), therefore, it must be We summarize three steps of the bootup proce- loaded from storage and decompressed. But by dure as follows: making RFS on a cramfs File System, it allows fast boot time since only used files are loaded • Boot Loader and uncompressed. In addition, we can con- sider the initializing device drivers. In order 1. System initialization to shorten bootup time, the bootloader loads 2. Kernel image copy to RAM driver concurrently as many as it can. • Kernel Initialization 2.4 File system 1. Init kernel 2. Init device drivers Root file system (RFS) is essential element for • Application Initialization running kernel on embedded system. There are 1. Run RC script many file systems, and these can be used as Linux root file system. Each file system has 2. Run Applications its own functionality, various bootup methods 3. Preview Mode (ready-to-shoot) with different bootup time. There are many sub works to do for mounting file system. For example, decompressing the compressed file 2.3 Boot loader system, copying itself from storage device to memory, searching the file system contents, Bootloader is a program that runs just before an searching inodes, journaling, and so on. There- OS really starts its work. It initializes a system fore, the reduction of RFS mounting time is and loads a kernel image into RAM. If we use very important. NOR flash as a boot device, we can shorten the bootup time using kernel XIP [7]. To minimize mounting time, we adopt the CRAMFS as root file system. The CRAMFS However, in our work, we should use the One- is designed for simple and small file system, so NAND flash memory instead of using NOR it has smaller bootup time comparing to other 234 • Linux Bootup Time Reduction for Digital Still Camera file systems. The CRAMFS reads only super input. So user can capture image when- block among entire file system element while it ever user wants after DSC init. On pre- mounting root file system. We can have rel- view mode, system displays some infor- atively short boot time using the CRAMFS. mation about system information, storage While the CRAMFS has a shorter boot time, it information, image quality, date, etc. has some demerits. It can be used only with This information is represented as icon, read-only attribute, so it’s recommended that font, menu images on the LCD display use the CRAMFS only on boot area, and use unit. Because the OSD hardware unit in another file system on other area that needs to DSC use these resources, we call it as read and write operation. But if we use special OSD data. All OSD data must be loaded options for cramfs, specific directories would from permanent storage media to mem- not be compressed, so we can save the mount ory. But it is time wasting job to load all time. OSD data during bootup time. We can re- duce the loading time by selective loading only necessary resources for booting. If 2.5 Application Optimization Issues we need more OSD data, we can load them later dynamically. Loading DSC application module is final se- 3. Lazy process creation – During DSC sys- quence of bootup procedure In DSC system. tem operates, many subtasks—like event After loading applications, bootup sequence processing, resource management, image is finished and the system becomes ready-to- processing, power management—are ex- shoot mode. This section describes about time ecuted. Many processes are invoked for consuming part while loading and running ap- executing these tasks. When creating a plication on bootup sequence, and time reduc- process, system runs system call named tion techniques of application. fork(). But invoking fork() wastes time about tens of ms. It is an overhead when used on bootup time. So it is recom- 1. Init script – After kernel bootup, ker- mended to create processes when they are nel executes init program which is located needed, not to create them when booting at /sbin/init. This program does the system. some tasks according to /etc/inittab script. For optimizing bootup time, it’s necessary to remove unused service on init 2.6 Other Optimization Methods script and to run only necessary applica- tions. As we mentioned on before, this Until now, many DSC specific methods for re- init script and applications are included in ducing bootup time are introduced.
Recommended publications
  • Study of File System Evolution
    Study of File System Evolution Swaminathan Sundararaman, Sriram Subramanian Department of Computer Science University of Wisconsin {swami, srirams} @cs.wisc.edu Abstract File systems have traditionally been a major area of file systems are typically developed and maintained by research and development. This is evident from the several programmer across the globe. At any point in existence of over 50 file systems of varying popularity time, for a file system, there are three to six active in the current version of the Linux kernel. They developers, ten to fifteen patch contributors but a single represent a complex subsystem of the kernel, with each maintainer. These people communicate through file system employing different strategies for tackling individual file system mailing lists [14, 16, 18] various issues. Although there are many file systems in submitting proposals for new features, enhancements, Linux, there has been no prior work (to the best of our reporting bugs, submitting and reviewing patches for knowledge) on understanding how file systems evolve. known bugs. The problems with the open source We believe that such information would be useful to the development approach is that all communication is file system community allowing developers to learn buried in the mailing list archives and aren’t easily from previous experiences. accessible to others. As a result when new file systems are developed they do not leverage past experience and This paper looks at six file systems (Ext2, Ext3, Ext4, could end up re-inventing the wheel. To make things JFS, ReiserFS, and XFS) from a historical perspective worse, people could typically end up doing the same (between kernel versions 1.0 to 2.6) to get an insight on mistakes as done in other file systems.
    [Show full text]
  • ECE 598 – Advanced Operating Systems Lecture 19
    ECE 598 { Advanced Operating Systems Lecture 19 Vince Weaver http://web.eece.maine.edu/~vweaver [email protected] 7 April 2016 Announcements • Homework #7 was due • Homework #8 will be posted 1 Why use FAT over ext2? • FAT simpler, easy to code • FAT supported on all major OSes • ext2 faster, more robust filename and permissions 2 btrfs • B-tree fs (similar to a binary tree, but with pages full of leaves) • overwrite filesystem (overwite on modify) vs CoW • Copy on write. When write to a file, old data not overwritten. Since old data not over-written, crash recovery better Eventually old data garbage collected • Data in extents 3 • Copy-on-write • Forest of trees: { sub-volumes { extent-allocation { checksum tree { chunk device { reloc • On-line defragmentation • On-line volume growth 4 • Built-in RAID • Transparent compression • Snapshots • Checksums on data and meta-data • De-duplication • Cloning { can make an exact snapshot of file, copy-on- write different than link, different inodles but same blocks 5 Embedded • Designed to be small, simple, read-only? • romfs { 32 byte header (magic, size, checksum,name) { Repeating files (pointer to next [0 if none]), info, size, checksum, file name, file data • cramfs 6 ZFS Advanced OS from Sun/Oracle. Similar in idea to btrfs indirect still, not extent based? 7 ReFS Resilient FS, Microsoft's answer to brtfs and zfs 8 Networked File Systems • Allow a centralized file server to export a filesystem to multiple clients. • Provide file level access, not just raw blocks (NBD) • Clustered filesystems also exist, where multiple servers work in conjunction.
    [Show full text]
  • Hardware-Driven Evolution in Storage Software by Zev Weiss A
    Hardware-Driven Evolution in Storage Software by Zev Weiss A dissertation submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy (Computer Sciences) at the UNIVERSITY OF WISCONSIN–MADISON 2018 Date of final oral examination: June 8, 2018 ii The dissertation is approved by the following members of the Final Oral Committee: Andrea C. Arpaci-Dusseau, Professor, Computer Sciences Remzi H. Arpaci-Dusseau, Professor, Computer Sciences Michael M. Swift, Professor, Computer Sciences Karthikeyan Sankaralingam, Professor, Computer Sciences Johannes Wallmann, Associate Professor, Mead Witter School of Music i © Copyright by Zev Weiss 2018 All Rights Reserved ii To my parents, for their endless support, and my cousin Charlie, one of the kindest people I’ve ever known. iii Acknowledgments I have taken what might be politely called a “scenic route” of sorts through grad school. While Ph.D. students more focused on a rapid graduation turnaround time might find this regrettable, I am glad to have done so, in part because it has afforded me the opportunities to meet and work with so many excellent people along the way. I owe debts of gratitude to a large cast of characters: To my advisors, Andrea and Remzi Arpaci-Dusseau. It is one of the most common pieces of wisdom imparted on incoming grad students that one’s relationship with one’s advisor (or advisors) is perhaps the single most important factor in whether these years of your life will be pleasant or unpleasant, and I feel exceptionally fortunate to have ended up iv with the advisors that I’ve had.
    [Show full text]
  • Enterprise Filesystems
    Enterprise Filesystems Eric Sandeen Principal Software Engineer, Red Hat Feb 21, 2013 1 ERIC SANDEEN What We'll Cover ● Local “Enterprise-ready” Linux filesystems ● Ext3 ● Ext4 ● XFS ● BTRFS ● Use cases, features, pros & cons of each ● Recent & future work ● Features ● Scalability ● Benchmarks 2 ERIC SANDEEN Local Filesystems in RHEL6 ● We ship what customers need and can rely on ● We ship what we test and support ● Major on-disk local filesystems ● Ext3, Ext4, XFS, BTRFS* ● Others are available for special purposes ● fat, vfat, msdos, udf, cramfs, squashfs... ● We'll cover the “big four” today 3 ERIC SANDEEN The Ext3 filesystem ● Ext3 is was the most common file system in Linux ● Most distributions historically used it as their default ● Applications tuned to its specific behaviors (fsync...) ● Familiar to most system administrators ● Ext3 challenges ● File system repair (fsck) time can be extremely long ● Limited scalability - maximum file system size of 16TB ● Can be significantly slower than other local file systems ● direct/indirect, bitmaps, no delalloc ... 4 ERIC SANDEEN The Ext4 filesystem ● Ext4 has many compelling new features ● Extent based allocation ● Faster fsck time (up to 10x over ext3) ● Delayed allocation, preallocation ● Higher bandwidth ● Should be relatively familiar for existing ext3 users ● Ext4 challenges ● Large device support not polished in its user space tools ● Limits supported maximum file system size to 16TB* ● Has different behavior over system failure 5 ERIC SANDEEN The XFS filesystem ● XFS is very robust
    [Show full text]
  • CIS Ubuntu Linux 18.04 LTS Benchmark
    CIS Ubuntu Linux 18.04 LTS Benchmark v1.0.0 - 08-13-2018 Terms of Use Please see the below link for our current terms of use: https://www.cisecurity.org/cis-securesuite/cis-securesuite-membership-terms-of-use/ 1 | P a g e Table of Contents Terms of Use ........................................................................................................................................................... 1 Overview ............................................................................................................................................................... 12 Intended Audience ........................................................................................................................................ 12 Consensus Guidance ..................................................................................................................................... 13 Typographical Conventions ...................................................................................................................... 14 Scoring Information ..................................................................................................................................... 14 Profile Definitions ......................................................................................................................................... 15 Acknowledgements ...................................................................................................................................... 17 Recommendations ............................................................................................................................................
    [Show full text]
  • Proceedings of the Linux Symposium Volume
    Proceedings of the Linux Symposium Volume Two July 19th–22nd, 2006 Ottawa, Ontario Canada Contents Evolution in Kernel Debugging using Hardware Virtualization With Xen 1 Nitin A. Kamble Improving Linux Startup Time Using Software Resume (and other techniques) 17 Hiroki Kaminaga Automated Regression Hunting 27 A. Bowen, P. Fox, J. Kenefick, A. Romney, J. Ruesch, J. Wilde, & J. Wilson Hacking the Linux Automounter—Current Limitations and Future Directions 37 Ian Maxwell Kent & Jeff Moyer Why NFS Sucks 51 Olaf Kirch Efficient Use of the Page Cache with 64 KB Pages 65 Dave Kleikamp and Badari Pulavarty Startup Time in the 21st Century: Filesystem Hacks and Assorted Tweaks 71 Benjamin C.R. LaHaise Using Hugetlbfs for Mapping Application Text Regions 75 H.J. Lu, K. Doshi, R. Seth, & J. Tran Towards a Better SCM: Revlog and Mercurial 83 Matt Mackall Roadmap to a GL-based composited desktop for Linux 91 K.E. Martin and K. Packard Probing the Guts of Kprobes 101 A. Mavinakayanahalli, P. Panchamukhi, J. Keniston, A. Keshavamurthy, & M. Hiramatsu Shared Page Tables Redux 117 Dave McCracken Extending RCU for Realtime and Embedded Workloads 123 Paul E. McKenney OSTRA: Experiments With on-the-fly Source Patching 139 Arnaldo Carvalho de Melo Design and Implementation to Support Multiple Key Exchange Protocols for IPsec 143 K. Miyazawa, S. Sakane, K. Kamada, M. Kanda, & A. Fukumoto The State of Linux Power Management 2006 151 Patrick Mochel I/O Workload Fingerprinting in the Genetic-Library 165 Jake Moilanen X86-64 XenLinux: Architecture, Implementation, and Optimizations 173 Jun Nakajima, Asit Mallick GCC—An Architectural Overview, Current Status, and Future Directions 185 Diego Novillo Shared-Subtree Concept, Implementation, and Applications in Linux 201 Al Viro & Ram Pai The Ondemand Governor 215 Venkatesh Pallipadi & Alexey Starikovskiy Linux Bootup Time Reduction for Digital Still Camera 231 Chan-Ju Park A Lockless Pagecache in Linux—Introduction, Progress, Performance 241 Nick Piggin The Ongoing Evolution of Xen 255 I.
    [Show full text]
  • Ted Ts'o on Linux File Systems
    Ted Ts’o on Linux File Systems An Interview RIK FARROW Rik Farrow is the Editor of ;login:. ran into Ted Ts’o during a tutorial luncheon at LISA ’12, and that later [email protected] sparked an email discussion. I started by asking Ted questions that had I puzzled me about the early history of ext2 having to do with the perfor- mance of ext2 compared to the BSD Fast File System (FFS). I had met Rob Kolstad, then president of BSDi, because of my interest in the AT&T lawsuit against the University of California and BSDi. BSDi was being sued for, among other things, Theodore Ts’o is the first having a phone number that could be spelled 800-ITS-UNIX. I thought that it was important North American Linux for the future of open source operating systems that AT&T lose that lawsuit. Kernel Developer, having That said, when I compared the performance of early versions of Linux to the current version started working with Linux of BSDi, I found that they were closely matched, with one glaring exception. Unpacking tar in September 1991. He also archives using Linux (likely .9) was blazingly fast compared to BSDi. I asked Rob, and he served as the tech lead for the MIT Kerberos explained that the issue had to do with synchronous writes, finally clearing up a mystery for me. V5 development team, and was the architect at IBM in charge of bringing real-time Linux Now I had a chance to ask Ted about the story from the Linux side, as well as other questions in support of real-time Java to the US Navy.
    [Show full text]
  • Bull System Backup / Restore N O V a SC a LE
    Bull System Backup / Restore NOVASCALE User's Guide for NovaScale Universal & Intensive REFERENCE 86 A2 73EV 04 NOVASCALE Bull System Backup / Restore User's Guide for NovaScale Universal & Intensive Software November 2008 BULL CEDOC 357 AVENUE PATTON B.P.20845 49008 ANGERS CEDEX 01 FRANCE REFERENCE 86 A2 73EV 04 The following copyright notice protects this book under Copyright laws which prohibit such actions as, but not limited to, copying, distributing, modifying, and making derivative works. Copyright Bull SAS 2008 Printed in France Suggestions and criticisms concerning the form, content, and presentation of this book are invited. A form is provided at the end of this book for this purpose. To order additional copies of this book or other Bull Technical Publications, you are invited to use the Ordering Form also provided at the end of this book. Trademarks and Acknowledgements We acknowledge the right of proprietors of trademarks mentioned in this book. Intel ® and Itanium ® are registered trademarks of Intel Corporation. Windows ® and Microsoft ® software are registered trademarks of Microsoft Corporation. UNIX ® is a registered trademark in the United States of America and other countries licensed exclusively through the Open Group. Linux ® is a registered trademark of Linus Torvalds. NovaScale ® is a registered trademark of Bull The information in this document is subject to change without notice. Bull will not be liable for errors contained herein, or for incidental or consequential damages in connection with the use of this material.
    [Show full text]
  • CIS Red Hat Enterprise Linux 7 Benchmark
    CIS Red Hat Enterprise Linux 7 Benchmark v2.1.1 - 01-31-2017 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License. The link to the license terms can be found at https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode To further clarify the Creative Commons license related to CIS Benchmark content, you are authorized to copy and redistribute the content for use by you, within your organization and outside your organization for non-commercial purposes only, provided that (i) appropriate credit is given to CIS, (ii) a link to the license is provided. Additionally, if you remix, transform or build upon the CIS Benchmark(s), you may only distribute the modified materials if they are subject to the same license terms as the original Benchmark license and your derivative will no longer be a CIS Benchmark. Commercial use of CIS Benchmarks is subject to the prior approval of the Center for Internet Security. 1 | P a g e Table of Contents Overview ............................................................................................................................................................... 12 Intended Audience ........................................................................................................................................ 12 Consensus Guidance ..................................................................................................................................... 12 Typographical Conventions .....................................................................................................................
    [Show full text]
  • Embedded Linux Optimizations
    Embedded Linux optimizations Embedded Linux optimizations Size, RAM, speed, power, cost Michael Opdenacker Thomas Petazzoni Free Electrons © Copyright 2004-2009, Free Electrons. Creative Commons BY-SA 3.0 license Latest update: Dec 20, 2010, Document sources, updates and translations: http://free-electrons.com/docs/optimizations Corrections, suggestions, contributions and translations are welcome! 1 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com Penguin weight watchers Make your penguin slimmer, faster, and reduce its consumption of fish! Before 2 weeks after 2 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com CE Linux Forum http://celinuxforum.org/ Non profit organization, whose members are embedded Linux companies and Consumer Electronics (CE) devices makers. Mission: develop the use of Linux in CE devices Hosts many projects to improve the suitability of Linux for CE devices and embedded systems. All patches are meant to be included in the mainline Linux kernel. Most of the ideas introduced in this presentation have been gathered or even implemented by CE Linux Forum projects! 3 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com Contents Ideas for optimizing the Linux kernel and executables Increasing speed Reducing size: disk footprint and RAM Reducing power consumption Global perspective: cost and combined optimization effects The ultimate optimization tool! 4 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com Embedded Linux Optimizations Increasing speed Reducing kernel boot time 5 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support.
    [Show full text]
  • Linux Professional Institute Tutorials LPI Exam 101 Prep: Hardware and Architecture Junior Level Administration (LPIC-1) Topic 101
    Linux Professional Institute Tutorials LPI exam 101 prep: Hardware and architecture Junior Level Administration (LPIC-1) topic 101 Skill Level: Introductory Ian Shields ([email protected]) Senior Programmer IBM 08 Aug 2005 In this tutorial, Ian Shields begins preparing you to take the Linux Professional Institute® Junior Level Administration (LPIC-1) Exam 101. In this first of five tutorials, Ian introduces you to configuring your system hardware with Linux™. By the end of this tutorial, you will know how Linux configures the hardware found on a modern PC and where to look if you have problems. Section 1. Before you start Learn what these tutorials can teach you and how you can get the most from them. About this series The Linux Professional Institute (LPI) certifies Linux system administrators at two levels: junior level (also called "certification level 1") and intermediate level (also called "certification level 2"). To attain certification level 1, you must pass exams 101 and 102; to attain certification level 2, you must pass exams 201 and 202. developerWorks offers tutorials to help you prepare for each of the four exams. Each exam covers several topics, and each topic has a corresponding self-study tutorial on developerWorks. For LPI exam 101, the five topics and corresponding developerWorks tutorials are: Hardware and architecture © Copyright IBM Corporation 1994, 2008. All rights reserved. Page 1 of 43 developerWorks® ibm.com/developerWorks Table 1. LPI exam 101: Tutorials and topics LPI exam 101 topic developerWorks tutorial Tutorial summary Topic 101 LPI exam 101 prep (topic (This tutorial). Learn to 101): configure your system Hardware and architecture hardware with Linux.
    [Show full text]
  • Filesystems for Embedded Linux
    Survey of Filesystems for Embedded Linux Presented by Gene Sally CELF Presentation °Filesystems In Summary ° What is a filesystem ° Kernel and User space filesystems ° Picking a root filesystem °Filesystem Round-up ° Slide-by-slide description of filesystems frequently used by embedded Linux engineers ° NFS and initramfs filesystems Drop by www.timesys.com 2 Diversion for Those New to Linux/Embedded: The Kernel and Filesystem ° The RFS and Kernel are separate entities. ° Related? Yes, but not so tightly bound that they can’t change independently. ° A filesystem must be present for the kernel to start successfully. ° Can be an in memory filesystem, network filesystem ° Can be “attached” to the kernel image loaded into memory ° This filesystem mounted at /, aptly called the root filesystem (RFS) ° Can have a system with several filesystem types For those new to using Linux for an embedded ° The Linux kernel, after startipnrgoje, cwt, ihlalv mingo au snepta trahte kfeirlneesl aynsdt uesmer- and execute some program.space takes some explaining, even for those ° While they may be packaged togewthhoe urs,e t Lhienu rxo oon tt hfeilire dseysskttoepm. is a separate entity from the kernel. Drop by www.timesys.com 3 Filesystems in Linux: General Features ° Linux (like Unix) is designed to use any number of arbitrary filesystems ° Provides uniform interface to filesystems through the VFS (Virtual FileSystem) ° Provides shared routines (like caching) ° Physical storage not necessary (think proc filesystem) ° Filesystems implemented as kernel modules
    [Show full text]