Using OpenOCD JTAG in Android Kernel Debugging – Android Builder Summit 2012

Mike Anderson, CTO and Chief Scientist for The PTR Group, gives a tutorial about Linux kernel debugging in Android with OpenOCD JTAG at the Android Builder Summit in February 2012. Abstract: Owing to the use of the Linux kernel, Android device drivers can be debugged using many of the same techniques as Linux. Still, much of the user-space interface code typically found in Linux is missing in Android. This complicates the debugging of kernel driver code. This presentation will demonstrate the use of the open on-chip debug (OpenOCD) software and an inexpensive JTAG to debug Android kernel code. The target audience for this presentation are platform developers looking to debug their kernel code such as device drivers. This presentation is targeted at intermediate-level developers with some understanding of kernel code development. You can also download the presentation slides on linuxfoundation.org website. Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as […]

Android Device Porting Tutorial – Android Builder Summit 2012

Benjamin Zores, Open Source Software and Multimedia Architect at Alcatel-Lucent, gives step-by-step to port Android to your own device at Android Builder Summit in February 2012. Abstract: This talk is presented as a step by step tutorial meant for Android platform rookies, as to discover all Androidisms one has to tackle down to bring his own custom device to life. Based on a real-life Android 4.0 ICS device porting experience, the talk will cover early board bringup (from U-Boot and Fastboot to Linux kernel and drivers), AOSP device integration, Android-specific device init customization, touchscreen input layer adaptations and Hardware Abstraction Layer (HAL) driver interfaces development. 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 starting to write daily news, and reviews full time later in 2011. www.cnx-software.com

How to Install Windows 8 in Linux with QEMU

Microsoft has just released Windows 8 Consumer Preview. Here’s a method to install Windows 8 in Linux using KVM and Qemu. You can use this beta version of Windows 8 until the 15th of January 2013, after which it will be unusable. Here are the requirements to install Windows 8: 1 GHz Processor or greater 1 GB RAM 20 GB free storage for the 64-bit version Before you start, make sure your processor supports Intel Virtualization Technology (VT) or AMD’s AMD V CPU virtualization extensions. Type this command to check vmx or svm flags:

If this is the case, you can install KVM. Type the following command for RPM-based distributions such as Fedora:

or the following command for Debian or Ubuntu:

Then download the ISO image of Windows 8 on Microsoft website (64-bit version) :

Create a 20 GB virtual hard drive to install Windows 8: […]

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:

Get the embedded Linux slides source:

Build the training materials:

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 […]

Yocto Project Quick Start Guide for Ubuntu

Yocto is an embedded Linux build system used to create a Linux distribution for a specific application/board combination. I’ll describe 2 methods to get started: Building and running  a qemu image for x86 from scratch Using pre-built binaries to run the x86 image in qemu This is a shorter version of the longish Yocto Project’s Quick Start Guide. The official guide is more complete (explains all details) and give instructions for several distributions, whereas this guide simply lists each step and is focused on Ubuntu. So you could use this guide to start the build, and during the build (which will last a while), read the official guide to actually understand how it all works.   Prerequisites First, you need to use bash instead of dash in Ubuntu:

and select “No” to use bash. Then install the required packages with apt-get:

Building and running a qemu image for […]

Opersys Releases Their Android and Linux Training Materials

Opersys has decided to release their courseware under a Creative Common license (CC-BY-SA 3.0). The materials are available in PDF and ODP format for the following classes: Embedded Android – 5-days hands-on class covering Android (AOSP) for Embedded Systems (not only smartphones and tablets) Presentation Slides: PDF | ODP Exercises: PDF | ODT Android App Development – 5-day class to learn how to build your own Android Apps using Google’s SDK Presentation Slides: PDF | Tarball with Beamer files Exercises: PDF | ODT Embedded Linux– 4-days hands-On class learning about cross development, the kernel, the rootFS and the bootloader Presentation Slides: PDF | ODP Exercises: PDF | ODT Linux Device Drivers– 3-days hands-on class about modules, locking, interrupts and memory management, as well as  char, block, network and USB drivers training. Presentation Slides:PDF | ODP Exercises: PDF | ODT You can freely use this material to learn more about Android and […]

Android Developers Conference 2012 (AnDevCon III) Schedule

The full schedule for AnDevCon III (14-17 May 2012)  has finally been released with 42 different classes and several workshops. The sessions will be organized into five subject area: Developer Essentials: These technical classes and workshops are for all Android developers and cover all programming topics. Android Enterprise: These technical sessions cover topics specific to building and managing apps for employees, business customers and partners, such as back-end integration corporate data center communications, ERP or CRM systems. Android Business: These classes and workshops are for entrepreneurial developers who want to learn the most effective ways of distributing and selling Android apps, including how to maximize profit through the Android Market. Android Tablets and beyond: These classes and workshops are specific to commercial devices beyond smartphones, including tablets, Google TV, and other platforms. Embedded Android: These classes and workshops are for developers working close to the hardware, such as on custom […]

Android Training & Tutorials

The Android team just announced the launch of Android Training a collection of classes aimed at helping developers to build better Android applications. Each class explains the steps required to solve a problem, or implement a feature, with code snippets and sample code. They’ll add more materials over time, but right now developers can already learn (more) about the following topics: Designing for Multiple Screens Improving Layout Performance Managing Audio Playback Optimizing Battery Life Remembering Users Sharing Content Capturing Photos Maintaining Multiple APKs Developing for Enterprise Monetizing Your App Designing Effective Navigation There are currently 34 lessons on all those topics, and most include code samples such as the News Reader  (Designing for Multiple Screens). You can get started immediately by visiting Android Training page. 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 starting to write […]

Exit mobile version