Zack's Kernel News

Total Page:16

File Type:pdf, Size:1020Kb

Load more

KERNEL NEWS ZACK’S KERNEL NEWS New PowerTOP Tool for Some Removal Tracking Battery Usage of Old Code Arjan van de Ven from Intel announced Adrian Bunk and the new PowerTOP tool. PowerTOP ana- Wim Van Sebroeck lyzes everything running on a system have posted a patch and reports on how power is being con- to remove the i8xx_ sumed. With this tool, it’s possible to tco watchdog driver. identify a lot of ways to save power on The driver had been a laptop. Intel’s testing showed ways of scheduled to be taken improving a “typical” laptop’s battery out in 2.6.22, and its life by more than an hour. Regardless of functionality had al- those particular tests, it does seem clear ready been replaced that a tool like this will be extremely by the iTCO_wdt useful, both for regular users and for the watchdog driver. maintainers of tools that might inadver- tently use too much power. Open Source New 965GM software everywhere can now look Express forward to receiving patches to lower Chipset Driver power consumption. I imagine that Keith Packard of Intel whether you run PowerTOP or not, your announced a new laptop will start to run longer as soft- 965GM Express Chip- Figure 1: Save power on a laptop with PowerTOP. ware is updated based on this new data. set driver produced by http:// www. linuxpowertop. org that company. As he put it, this chipset it seems like it would be good to avoid “represents the first mobile product that doing all that work in the first place. implements fourth-generation Intel Which leads back to the idea of updating The Linux kernel graphics architecture. Designed to sup- the feature-removal-schedule.txt file. mailing list com- port advanced rendering features in It’s not clear whether much will come prises the core of modern graphics APIs, this chipset in- of Robert’s information-gathering expe- Linux development cludes support for programmable vertex, dition. Typically, the folks who would geometry, and fragment shaders.” A be affected by a particular code removal activities. Traffic vol- bunch of folks were happy to hear this won’t notice the debate until someone umes are immense, news, and Jeff Garzik said, “Here’s hop- actually tries to remove it, at which often reaching ten ing that Intel produces a standalone point they’d squawk loudly. It may be thousand messages video card eventually, to further take that Robert’s attempt to find a consensus in a given week, and away market share from closed source beforehand is just not workable. keeping up to date competitors.” with the entire scope of development The Raw Driver Remains is a virtually impossible task for one When to Remove Old Code The raw driver has been taken off the list person. One of the few brave souls to Robert P. J. Day started an effort to up- of deprecated kernel features to be re- take on this task is Zack Brown. date the Documentation/ feature-removal- moved from the code at some future Our regular monthly column keeps schedule.txt file, so the features sched- date. Dave Jones has noted that after re- you abreast of the latest discussions uled for removal would correspond with peated attempts to get rid of this driver, and decisions, selected and summa- the features that should be scheduled for it still had a significant user base that rized by Zack. Zack has been publish- removal. Everyone agrees the file is didn’t seem to be going away any time ing a weekly online digest, the Kernel woefully out of date, but the best way soon. He posted a patch to take the raw Traffic newsletter, for more than five to update it is not clear. One way, as sug- driver off the to-be-removed list and also years now. Even reading Kernel Traffic gested by Stefan Richter, is just to try to to change its status in the configuration alone can be a time-consuming task. remove the scheduled code and then see system to no longer be deprecated. Linux Magazine now provides you if anyone complains. The problem with This last change drew some criticism. with the quintessence of Linux Kernel this approach is that it’s a bit of work to Some folks pointed out that the feature activities, straight from the horse’s remove code, and if the only result is should still be listed as deprecated, to mouth. that the date of removal is rescheduled, prevent it from getting any new users. 14 ISSUE 81 AUGUST 2007 KERNEL NEWS The problem with this, as Dave pointed ing boards, and he (Khasim) would add Linux sometime in 2007. But Christoph out, is that leaving it deprecated would support for new boards. Russell King also pointed out that hardware becomes only prompt other kernel folks to think volunteered to maintain the mmci.c file a significant limiting factor with such that it had been inadvertently left out of as well. high CPU counts, and a good filesystem the to-be-removed list. (he recommended XFS) would also be Those folks would then submit Subsystem and Intel I/ OAT essential. patches to add it back in, and we’d have DMA Maintainership a circle. Chris Leech has posted some patches Purging the Kernel of listing himself as the official maintainer UMSDOS Status of MMC Drivers of the DMA Generic Memcopy Subsys- Once a valiant entryway into the Linux Pierre Ossman said he was going to post tem and the Intel I/ OAT DMA Driver. world, UMSDOS has been gone since a patch listing some MMC drivers as or- There doesn’t seem to be any problem 2.6.11. Or, UMSDOS has been almost phaned unless maintainers stepped for- with this, except David S. Miller wants gone. Jesper Juhl has recently posted ward to take responsibility for them. Chris to submit his patches to the netdev patches to remove a few remaining con- These drivers included the AMD mailing list, since a lot of his work fig options and file references. The only AU1XX0 MMC, the ARM Primecell touches the TCP code. things now remaining of UMSDOS are MMCI PL180/ 1, the ATMEL AT91 MCI, the entries in the CREDITS file and the the Motorola I.MX MMCI, the PXA DMA Generic Memcopy ioctl numbers UMSDOS used. MMCI, and the TI OMAP MMC Interface Linux Kernel Scalability? Originally, Jesper’s patch removed drivers. Pavel Pisa volunteered to main- Rajib Majumder recently asked whether the ioctls as well, but this raised some tain the Motorola I.MX MMCI driver and Linux was able to scale up to 8 CPUs alarms with H. Peter Anvin, because submitted a patch listing himself as the nowadays. Tony luck pointed out that ioctls should not be reused by other official maintainer. systems with 512 and 1024 CPUs were code, even if they go defunct. Khasim Syed Mohammed said that already in production use, and a 4096- Jesper’s later version of the patch Carlos Aguiar and Anderson Briglia CPU system had been built as a proto- documented all of UMSDOS’s removed would be interested in maintaining the type. Christoph Lameter predicted we’d ioctls so no one would mistakenly use TI OMAP MMC Interface driver for exist- be seeing a 16384-CPU system running the same numbers. Advertisement.
Recommended publications
  • R&S®BBA100 Broadband Amplifier Open

    R&S®BBA100 Broadband Amplifier Open

    R&S®BBA100 Broadband Amplifier Open Source Acknowledgment 5353.8300.00 – 01 /RL/1/EN 01.00 / Broadcasting 3575.4620.02 M: - T - PAD Open Source Acknowledgment R&S BBA100 Introduction Contents 1 Introduction ......................................................................................... 3 1.1 Disclaimer ..................................................................................................................... 3 1.2 How to obtain the source code .................................................................................. 3 2 Software packages ............................................................................. 4 3 Verbatim license texts ........................................................................ 7 3.1 Apache License 2.0 ..................................................................................................... 7 3.2 GNU Library General Public License, Version 2.0 (LGPL 2.0) ..............................10 3.3 Boost Software License ............................................................................................18 3.4 GNU General Public License, Version 2.0 (GPL 2.0) ..............................................18 3.5 GNU Lesser General Public License, Version 2.1 (LGPL 2.1) ...............................24 3.6 Mozilla Public License, Version 1.1 (MPL 1.1) ........................................................32 3.7 MIT ...............................................................................................................................40 3.8 JDOM License
  • A Political History of X Or How I Stopped Worrying and Learned to Love the GPL

    A Political History of X Or How I Stopped Worrying and Learned to Love the GPL

    A Political History of X or How I Stopped Worrying and Learned to Love the GPL Keith Packard SiFive [email protected] Unix in !"# ● $SD Everywhere – $'t not actually BS% ● )*+* want, to make Sy,tem V real – S'rely they still matter ● .o Free So/tware Anywhere The 0rigins of 1 ● $rian Reid and Pa'l Asente at Stan/ord – - kernel → VGTS → W window system – Ported to VS100 at Stan/ord ● $o4 Scheifler started hacking W→ X – Working on Argus with Barbara Liskov at LCS – 7ade it more Unix friendly (async9, renamed X -AXstation 00 (aka v, 339 Unix Workstation Market ● Unix wa, closed source ● Most vendors ,hipped a proprietary 0S 4ased on $SD #.x ● S'n: HP: Digita(: )po((o: *ektronix: I$7 ● ;congratu(ation,: yo'<re not running &'nice=. – Stil(: so many gratuito', di/ference, -AXstation II S'n >?@3 Early Unix Window Systems ● S'n-iew dominated (act'al commercial app,A De,ktop widget,A9 ● %igital had -WS/UIS (V7S on(y9 ● )pollo had %omain ● *ektronix demon,trating Sma((*alk 1 B1@ ● .onB/ree so/tware ● U,ed internally at MIT ● Shared with friend, in/ormally 1 3 ● )(mo,t u,able ● %elivered by Digital on V)1,tation, ● %i,trib'tion was not all free ,o/tware – Sun port relied on Sun-iew kernel API – %igital provided binary rendering code – IB7 PC?2T support act'ally complete (C9 Why 1 C ● 1 0 had wart, – rendering model was pretty terrible ● ,adly, X1 wa,n't m'ch better... – External window management witho't borders ● Get everyone involved – Well, at lea,t every workstation vendor willing to write big checks X as Corporate *ool ● Dim Gettys and Smokey
  • The Linux Kernel Module Programming Guide

    The Linux Kernel Module Programming Guide

    The Linux Kernel Module Programming Guide Peter Jay Salzman Michael Burian Ori Pomerantz Copyright © 2001 Peter Jay Salzman 2007−05−18 ver 2.6.4 The Linux Kernel Module Programming Guide is a free book; you may reproduce and/or modify it under the terms of the Open Software License, version 1.1. You can obtain a copy of this license at http://opensource.org/licenses/osl.php. This book is distributed in the hope it will be useful, but without any warranty, without even the implied warranty of merchantability or fitness for a particular purpose. The author encourages wide distribution of this book for personal or commercial use, provided the above copyright notice remains intact and the method adheres to the provisions of the Open Software License. In summary, you may copy and distribute this book free of charge or for a profit. No explicit permission is required from the author for reproduction of this book in any medium, physical or electronic. Derivative works and translations of this document must be placed under the Open Software License, and the original copyright notice must remain intact. If you have contributed new material to this book, you must make the material and source code available for your revisions. Please make revisions and updates available directly to the document maintainer, Peter Jay Salzman <[email protected]>. This will allow for the merging of updates and provide consistent revisions to the Linux community. If you publish or distribute this book commercially, donations, royalties, and/or printed copies are greatly appreciated by the author and the Linux Documentation Project (LDP).
  • Studying the Real World Today's Topics

    Studying the Real World Today's Topics

    Studying the real world Today's topics Free and open source software (FOSS) What is it, who uses it, history Making the most of other people's software Learning from, using, and contributing Learning about your own system Using tools to understand software without source Free and open source software Access to source code Free = freedom to use, modify, copy Some potential benefits Can build for different platforms and needs Development driven by community Different perspectives and ideas More people looking at the code for bugs/security issues Structure Volunteers, sponsored by companies Generally anyone can propose ideas and submit code Different structures in charge of what features/code gets in Free and open source software Tons of FOSS out there Nearly everything on myth Desktop applications (Firefox, Chromium, LibreOffice) Programming tools (compilers, libraries, IDEs) Servers (Apache web server, MySQL) Many companies contribute to FOSS Android core Apple Darwin Microsoft .NET A brief history of FOSS 1960s: Software distributed with hardware Source included, users could fix bugs 1970s: Start of software licensing 1974: Software is copyrightable 1975: First license for UNIX sold 1980s: Popularity of closed-source software Software valued independent of hardware Richard Stallman Started the free software movement (1983) The GNU project GNU = GNU's Not Unix An operating system with unix-like interface GNU General Public License Free software: users have access to source, can modify and redistribute Must share modifications under same
  • Android (Operating System) 1 Android (Operating System)

    Android (Operating System) 1 Android (Operating System)

    Android (operating system) 1 Android (operating system) Android Home screen displayed by Samsung Nexus S with Google running Android 2.3 "Gingerbread" Company / developer Google Inc., Open Handset Alliance [1] Programmed in C (core), C++ (some third-party libraries), Java (UI) Working state Current [2] Source model Free and open source software (3.0 is currently in closed development) Initial release 21 October 2008 Latest stable release Tablets: [3] 3.0.1 (Honeycomb) Phones: [3] 2.3.3 (Gingerbread) / 24 February 2011 [4] Supported platforms ARM, MIPS, Power, x86 Kernel type Monolithic, modified Linux kernel Default user interface Graphical [5] License Apache 2.0, Linux kernel patches are under GPL v2 Official website [www.android.com www.android.com] Android is a software stack for mobile devices that includes an operating system, middleware and key applications.[6] [7] Google Inc. purchased the initial developer of the software, Android Inc., in 2005.[8] Android's mobile operating system is based on a modified version of the Linux kernel. Google and other members of the Open Handset Alliance collaborated on Android's development and release.[9] [10] The Android Open Source Project (AOSP) is tasked with the maintenance and further development of Android.[11] The Android operating system is the world's best-selling Smartphone platform.[12] [13] Android has a large community of developers writing applications ("apps") that extend the functionality of the devices. There are currently over 150,000 apps available for Android.[14] [15] Android Market is the online app store run by Google, though apps can also be downloaded from third-party sites.
  • Android Operating System

    Android Operating System

    Software Engineering ISSN: 2229-4007 & ISSN: 2229-4015, Volume 3, Issue 1, 2012, pp.-10-13. Available online at http://www.bioinfo.in/contents.php?id=76 ANDROID OPERATING SYSTEM NIMODIA C. AND DESHMUKH H.R. Babasaheb Naik College of Engineering, Pusad, MS, India. *Corresponding Author: Email- [email protected], [email protected] Received: February 21, 2012; Accepted: March 15, 2012 Abstract- Android is a software stack for mobile devices that includes an operating system, middleware and key applications. Android, an open source mobile device platform based on the Linux operating system. It has application Framework,enhanced graphics, integrated web browser, relational database, media support, LibWebCore web browser, wide variety of connectivity and much more applications. Android relies on Linux version 2.6 for core system services such as security, memory management, process management, network stack, and driver model. Architecture of Android consist of Applications. Linux kernel, libraries, application framework, Android Runtime. All applications are written using the Java programming language. Android mobile phone platform is going to be more secure than Apple’s iPhone or any other device in the long run. Keywords- 3G, Dalvik Virtual Machine, EGPRS, LiMo, Open Handset Alliance, SQLite, WCDMA/HSUPA Citation: Nimodia C. and Deshmukh H.R. (2012) Android Operating System. Software Engineering, ISSN: 2229-4007 & ISSN: 2229-4015, Volume 3, Issue 1, pp.-10-13. Copyright: Copyright©2012 Nimodia C. and Deshmukh H.R. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
  • Introduction to Linux Kernel Driver Programming

    Introduction to Linux Kernel Driver Programming

    IntroductionIntroduction toto LinuxLinux kernelkernel driverdriver programmingprogramming Introduction to Linux kernel driver programming The Linux kernel device model Authors and license ● Authors – Michael Opdenacker ([email protected]) Founder of Bootlin, kernel and embedded Linux engineering company https://bootlin.com/company/staff/michael-opdenacker ● License – Creative Commons Attribution – Share Alike 4.0 https://creativecommons.org/licenses/by-sa/4.0/ – Document sources: https://github.com/e-ale/Slides Need for a device model ● For the same device, need to use the same device driver on multiple CPU architectures (x86, ARM…), even though the hardware controllers are different. ● Need for a single driver to support multiple devices of the same kind. ● This requires a clean organization of the code, with the device drivers separated from the controller drivers, the hardware description separated from the drivers themselves, etc. Driver: between bus infrastructure and framework In Linux, a driver is always interfacing with: ● a framework that allows the driver to expose the hardware features in a generic way. ● a bus infrastructure, part of the device model, to detect/communicate with the hardware. Let’s focus on the bus infrastructure for now Device model data structures The device model is organized around three main data structures: ● The struct bus_type structure, which represent one type of bus (USB, PCI, I2C, etc.) ● The struct device_driver structure, which represents one driver capable of handling certain devices on a certain bus. ● The struct device structure, which represents one device connected to a bus The kernel uses inheritance to create more specialized versions of struct device_driver and struct device for each bus subsystem.
  • Draft: 1.028, 31/01/2011 Words: 38326, Pages: 129 2

    Draft: 1.028, 31/01/2011 Words: 38326, Pages: 129 2

    Draft: 1.028, 31/01/2011 Words: 38326, Pages: 129 2 Copyright © 2009 by Keith Curtis I am making this book available as a free digital download. In general, I tried to get permission for the use of other's information. However, I have over 100 images and it was hard to figure out where to get permission for some of them. For those, I will claim permission under fair use ;-) I am happy to remove any content if its owner objects. Every movement grows one person at a time. Keith Curtis [email protected] twitter: @keithccurtis ISBN 978-0-578-01189-9 3 TABLE OF CONTENTS Batalla del Software Libre.................................................................1 Ejército del Software Libre............................................................3 iBio.................................................................................................6 Glosario............................................................................................10 Wikipedia.........................................................................................11 Linux................................................................................................18 Desarrollo Distribuido.................................................................22 Superioridad del Núcleo de Linux...............................................26 La Carrera de las Funcionalidades..............................................40 Linux está Inexorablemente Ganando.........................................43 El cobro por un Sistema Operativo..............................................44
  • History and Evolution of the Android OS

    History and Evolution of the Android OS

    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Springer - Publisher Connector CHAPTER 1 History and Evolution of the Android OS I’m going to destroy Android, because it’s a stolen product. I’m willing to go thermonuclear war on this. —Steve Jobs, Apple Inc. Android, Inc. started with a clear mission by its creators. According to Andy Rubin, one of Android’s founders, Android Inc. was to develop “smarter mobile devices that are more aware of its owner’s location and preferences.” Rubin further stated, “If people are smart, that information starts getting aggregated into consumer products.” The year was 2003 and the location was Palo Alto, California. This was the year Android was born. While Android, Inc. started operations secretly, today the entire world knows about Android. It is no secret that Android is an operating system (OS) for modern day smartphones, tablets, and soon-to-be laptops, but what exactly does that mean? What did Android used to look like? How has it gotten where it is today? All of these questions and more will be answered in this brief chapter. Origins Android first appeared on the technology radar in 2005 when Google, the multibillion- dollar technology company, purchased Android, Inc. At the time, not much was known about Android and what Google intended on doing with it. Information was sparse until 2007, when Google announced the world’s first truly open platform for mobile devices. The First Distribution of Android On November 5, 2007, a press release from the Open Handset Alliance set the stage for the future of the Android platform.
  • License Agreement

    License Agreement

    TAGARNO MOVE, FHD PRESTIGE/TREND/UNO License Agreement Version 2021.08.19 Table of Contents Table of Contents License Agreement ................................................................................................................................................ 4 Open Source & 3rd-party Licenses, MOVE ............................................................................................................ 4 Open Source & 3rd-party Licenses, PRESTIGE/TREND/UNO ................................................................................. 4 atk ...................................................................................................................................................................... 5 base-files ............................................................................................................................................................ 5 base-passwd ...................................................................................................................................................... 5 BSP (Board Support Package) ............................................................................................................................ 5 busybox.............................................................................................................................................................. 5 bzip2 .................................................................................................................................................................
  • Linux Kernel and Driver Development Training Slides

    Linux Kernel and Driver Development Training Slides

    Linux Kernel and Driver Development Training Linux Kernel and Driver Development Training © Copyright 2004-2021, Bootlin. Creative Commons BY-SA 3.0 license. Latest update: October 9, 2021. Document updates and sources: https://bootlin.com/doc/training/linux-kernel Corrections, suggestions, contributions and translations are welcome! embedded Linux and kernel engineering Send them to [email protected] - Kernel, drivers and embedded Linux - Development, consulting, training and support - https://bootlin.com 1/470 Rights to copy © Copyright 2004-2021, Bootlin License: Creative Commons Attribution - Share Alike 3.0 https://creativecommons.org/licenses/by-sa/3.0/legalcode You are free: I to copy, distribute, display, and perform the work I to make derivative works I to make commercial use of the work Under the following conditions: I Attribution. You must give the original author credit. I Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under a license identical to this one. I For any reuse or distribution, you must make clear to others the license terms of this work. I Any of these conditions can be waived if you get permission from the copyright holder. Your fair use and other rights are in no way affected by the above. Document sources: https://github.com/bootlin/training-materials/ - Kernel, drivers and embedded Linux - Development, consulting, training and support - https://bootlin.com 2/470 Hyperlinks in the document There are many hyperlinks in the document I Regular hyperlinks: https://kernel.org/ I Kernel documentation links: dev-tools/kasan I Links to kernel source files and directories: drivers/input/ include/linux/fb.h I Links to the declarations, definitions and instances of kernel symbols (functions, types, data, structures): platform_get_irq() GFP_KERNEL struct file_operations - Kernel, drivers and embedded Linux - Development, consulting, training and support - https://bootlin.com 3/470 Company at a glance I Engineering company created in 2004, named ”Free Electrons” until Feb.
  • Filesystem Considerations for Embedded Devices ELC2015 03/25/15

    Filesystem Considerations for Embedded Devices ELC2015 03/25/15

    Filesystem considerations for embedded devices ELC2015 03/25/15 Tristan Lelong Senior embedded software engineer Filesystem considerations ABSTRACT The goal of this presentation is to answer a question asked by several customers: which filesystem should you use within your embedded design’s eMMC/SDCard? These storage devices use a standard block interface, compatible with traditional filesystems, but constraints are not those of desktop PC environments. EXT2/3/4, BTRFS, F2FS are the first of many solutions which come to mind, but how do they all compare? Typical queries include performance, longevity, tools availability, support, and power loss robustness. This presentation will not dive into implementation details but will instead summarize provided answers with the help of various figures and meaningful test results. 2 TABLE OF CONTENTS 1. Introduction 2. Block devices 3. Available filesystems 4. Performances 5. Tools 6. Reliability 7. Conclusion Filesystem considerations ABOUT THE AUTHOR • Tristan Lelong • Embedded software engineer @ Adeneo Embedded • French, living in the Pacific northwest • Embedded software, free software, and Linux kernel enthusiast. 4 Introduction Filesystem considerations Introduction INTRODUCTION More and more embedded designs rely on smart memory chips rather than bare NAND or NOR. This presentation will start by describing: • Some context to help understand the differences between NAND and MMC • Some typical requirements found in embedded devices designs • Potential filesystems to use on MMC devices 6 Filesystem considerations Introduction INTRODUCTION Focus will then move to block filesystems. How they are supported, what feature do they advertise. To help understand how they compare, we will present some benchmarks and comparisons regarding: • Tools • Reliability • Performances 7 Block devices Filesystem considerations Block devices MMC, EMMC, SD CARD Vocabulary: • MMC: MultiMediaCard is a memory card unveiled in 1997 by SanDisk and Siemens based on NAND flash memory.