A Linux Driver Template (LDT) has been published to help new Linux kernel developers writing hardware device drivers. Constantine Shulyupin posted the Linux Driver Template (LDT) on the Linux mailing list in order to merge it into the mainline Linux kernel. The code can be used as as a starting point for new drivers, and shows how to use several Linux facilities such as module, platform driver, file operations (read/write, mmap, ioctl, blocking and nonblocking mode, polling), kfifo, completion, interrupt, tasklet, work, kthread, timer, simple misc device, multiple char devices, Device Model, configfs, UART, hardware loopback, software loopback and ftracer. This sample has been added to other device drivers samples in eLinux.org. And if you want to learn further there’s always the Linux driver bible: “Linux Device Drivers, Third Edition” which can be downloaded for free as PDF, although it’s for 2.6.10 kernel and many parts may not be up-to […]
Designing An Android Sensor Subsystem: Pitfalls and Considerations – Android Builder Summit 2012
Jen Costillo of Lab 126 discusses the Android sensor subsystem at the Android Builder Summit in February 2012. Abstract: This lecture will arm Android device architects with the tactical knowledge they need to navigate the Android Sensor subsystem and make knowledgeable design choices to improve user experience and improve battery performance. The talk will address: Hardware architecture and trade-offs including latency, power, and software architecture implications: Wake up events and power considerations Gesture Detection Algorithm processing location and considerations Testing methodologies (Creating tools to aid develop and collect data. This talk targets the kernel/firmware developer responsible for the sensor architecture. They should be familiar with kernel drivers, embedded systems, hardware bring up, Android services, and the C language. You can also download the presentation slides on linuxfoundation.org website. Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and […]
Free Electrons Releases Embedded Linux Training Materials
Free Electrons, a technology company offering embedded Linux consulting services as well as embedded Linux training, has released their training materials for Linux and system development for embedded systems including their Lab sessions. The training materials are available in their git repository in LaTeX format. If you want the latest documentation in PDF, you’ll need to build it by following those steps: Install the required packages:
1 |
sudo apt-get install git dia inkscape texlive-full python-pygments |
Get the embedded Linux slides source:
1 |
git clone <a href="git://git.free-electrons.com/training-materials.git">git://git.free-electrons.com/training-materials.git</a> |
Build the training materials:
1 2 3 4 |
cd training-materials make full-sysdev-labs.pdf make full-kernel-labs.pdf make full-sysdev-slides.pdf |
The last three commands will generate the PDF files respectively: full-sysdev-labs.pdf – Embedded Linux Training Lab Book (58 pages) with instructions for the IGEPv2 board based on on TI DM3730 or OMAP3530. full-kernel-labs.pdf – Linux kernel and driver development training Lab Book (37 pages) full-sysdev-slides.pdf – Embedded Linux system development presentation slides (506 pages) Free Electrons also have slightly older version of full-kernel-labs.pdf and full-sysdev-slides.pdf available for download as PDF so […]
ARM Mali-200 and Mali-400 GPU Open Source Driver Released
There has been a lot of controversy around GPU drivers and open source, as GPU drivers usually come with a blob (a binary file). If you have been lurking in Raspberry Pi forums you’ll know what I mean. But this will change thanks to Lima. No, not the capital of Peru but the open source graphics driver for ARM Mali GPUs (Mali-200 and Mali-400) also called Lima whose goal is stated as follows: The aim of this driver is to finally bring all the advantages of open source software to ARM SoC graphics drivers. Currently, the sole availability of binary drivers is increasing development and maintenance overhead, while also reducing portability, compatibility and limiting choice. Anyone who has dealt with GPU support on ARM, be it for a Linux with a GNU stack, or for an Android, knows the pain of dealing with these binaries. Lima is going to solve […]