The first Android Open Conference took place about 10 days ago. Karim Yaghmour of OperSys published the presentation slides he used during his Android presentations. See Embedded Android Workshop presentation slides below. Those 159 slides cover the following: Android Basics Android History Android Ecosystem Legal Framework for Android Platform and Hardware requirements Development Tools Concepts and Internals: Android Concepts Framework Intro Native Development Overall Architecture System startup Linux Kernel Hardware Support Native User-Space Dalvik JNI System Server Calling on Services Activity Manager Binder Stock AOSP Apps Android Open Source Projects Tools and location Content Building Build system Adding new applications Images Using adb System Server Services run by System Server Observing the System Server Calling on system services Inside a few system services Creating your own system service Hardware Abstraction Layer Android Framework Location and components Android Customization Custom Toolchains and Dev Kits Rationale SDK generation NDK generation Creating a […]
Online Petition Requesting to Allow Linux Installation on Windows 8 Devices
Back in September, some concerns emerged about UEFI secure boot requirement for Windows 8 and its possible consequences on Linux and other open source operating systems: it may be impossible to install such systems on computers or devices shipped with Windows 8, either by replacing Windows 8 or in a dual boot installation as the bootloader (UEFI) would prevent such installation for security reasons. Microsoft has already replied to those concerns and stated that: At the end of the day, the customer is in control of their PC. … We work with our OEM ecosystem to provide customers with this flexibility. The security that UEFI has to offer with secure boot means that most customers will have their systems protected against boot loader attacks. For the enthusiast who wants to run older operating systems, the option is there to allow you to make that decision. So there should be an […]
Raspberry Pi Emulator in Ubuntu with Qemu
The Raspberry Pi board is a low cost board based on Broadcom BCM2835 media processor SoC with an ARM1176JZF-S core clocked at 700MHz. This board is currently under development and should be ready by end of November, beginning of December and will be sold for 25 USD (128MB RAM – no Ethernet) and 35 USD (256MB RAM – Ethernet). While we are waiting for the board, we can still test software using qemu to emulate a board based on an ARM1176 core with 128MB or 256 MB memory. I’ve tried to create a rootfs based on Ubuntu with rootstock but this only support processors with ARM cortex A8 and greater, so it would not work with ARM11. I’ll be using Debian Squeeze instead. Prerequisites My host computer is running Ubuntu 10.04.3 LTS, but any recent Ubuntu or Debian installation should work with these instructions. [Update: You won’t be able to […]
Finding the package that contains a particular file in Ubuntu
It often happens that a file is missing during compilation and you get this kind of error: In file included from media/audio/linux/audio_manager_linux.cc:15:0: ./media/audio/linux/alsa_input.h:8:28: fatal error: alsa/asoundlib.h: No such file or directory compilation terminated. In file included from media/audio/linux/alsa_input.cc:5:0: ./media/audio/linux/alsa_input.h:8:28: fatal error: alsa/asoundlib.h: No such file or directory compilation terminated. That usually means a development package is missing. Sometime you can just guess the name of the package or you can use aptitude to find the file. There is also another (better) method in Ubuntu: apt-file utility allows you to find the package corresponding to a particular file. First install apt-file sudo apt-get install apt-file Them the first time, you need to download the files with the data for your system apt-file update Finally, you can use apt-file to find the package. For example with alsa/asoundlib.h apt-file search alsa/asoundlib.h libasound2-dev: /usr/include/alsa/asoundlib.h Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as […]
MontaVista adds HTML5 and Android support to its GENIVI-Compliant Automotive Technology Platform
Montavista announced secure HTML5 and Android support to its Automotive Technology Platform (ATP) which is GENIVI Compliant. HTML5 support is provided via MontaVista’s ModiiTM Digital Media Solutions Platform. Both Android and HTML5 are made independant of critical part of the software as they are executed in a MontaVista Linux Container (isolated virtualized container environment). Here’s an excerpt of the press release: SANTA CLARA, Calif. – October 10th, 2011 – MontaVista® Software LLC, today announced secure HTML5 and Android support for its Automotive Technology Platform (ATP). The addition of HTML5 support is provided via MontaVista’s ModiiTM Digital Media Solutions Platform which adds a powerful HTML5-based UI Framework to its recently released GENIVI-Compliant Platform. The Android support delivers a high performance Android runtime environment, which opens up access to a vast number of popular applications from the entire Android ecosystem. Complementing the Android and HTML5 capabilities, MontaVista has implemented a unique dual-layered […]
Finding a Missing Package in Ubuntu with Aptitude
When you configure a program before building, it will usually check for dependencies and if one is missing it will return an error such as: checking for OPENSSL… configure: error: Package requirements (openssl) were not met: No package ‘openssl’ found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. It could be a PATH issue, but usually that simply means the development version of the library is not installed. Sometimes the name is easy to guess and can be installed with apt-get: sudo apt-get install packagename-devel But sometimes it’s more difficult to guess and Google is not always very helpful. In that case you can use aptitude to search for the package. For example for nss3: sudo aptitude search nss3 i libnss3 – Network Security Service libraries i libnss3-1d – Network Security Service libraries p libnss3-dbg – Development files for the Network Security p libnss3-dev […]
Embedded Linux Conference Europe 2011
Embedded Linux Conference Europe (ELC-E 2011) will take place on October 26 – 28, 2011 at Clarion Congress Hotel in Prague, Czech Republic. The event will be co-located with LinuxCon Europe 2011 and GStreamer Conference. The day before the official opening of the conference, two tutorials will be offered on Tuesday 25th of October:b Outside the Box: An Introduction to Embedded Linux and Hardware Interfacing Using the Snowball Board – 9:00 – 17:00 – Trainer: Chris Simmonds – Cost: 350 USD. Embedded Android Workshop – 9:00 – 17:00 – Trainer: Karim Yaghmour- Cost: 300 USD. ELCE consists of 3 days of presentations, tutorials and sessions. There will be over 50 sessions during those 3 days. I’ll highlight a few sessions that I find particularly interesting. October 26 10:45 – 11:45 – Linaro’s Android Platform by Zach Pfeffer, Linaro Android Platform team leader. Linaro uses components from the Android Open Source […]
Dropbear: Lightweight SSH Server / Client
You may need to remotely access your embedded device, or your embedded systems is simply headless. You could use telnet, but this is insecure. A secure way to access a device remotly is to use SSH protocol. OpenSSH is one implementation but this is relatively too large and may use uncesary space on a device with limited storage. That’s where Dropbear comes into play. Dropbear is a lightweight implementation of an SSH client and server and is ideal for embedded systems. Dropbear ARM executable is only 200 KB. Here’s how it’s described on its website: Dropbear is a relatively small SSH 2 server and client. It runs on a variety of POSIX-based platforms. Dropbear is open source software, distributed under a MIT-style license. Dropbear is particularly useful for “embedded”-type Linux (or other Unix) systems, such as wireless routers. The main features of dropbear: A small memory footprint suitable for memory-constrained […]