How to build qemu-system-arm in Linux

Most (all?) Linux distributions have a binary package for qemu-system (including qemu-system-arm) in order to emulate non-x86 targets such as ARM, MIPS, PPC, Alpha and more. However, in some case you may need to very latest version of qemu-system and it may not be able yet for your distribution. Here’s how to do to build qemu-system-arm without building all qemu-system-***: Download the latest stable version of qemu (qemu 1.0.1 at the time this post was written):

or get the latest source code (development tree) which has the very latest features and bug fixes, but may not work or compile:

or get the latest source code from linaro (which may be more up-to-date for ARM targets):

Configure qemu to build ARM targets:

Build and install qemu-system-arm:

Verify the latest version of qemu-ssytem-arm is installed:

Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time […]

LAVA Project Update – ELC 2012

Paul Larson of Linaro gives a LAVA Project update at Embedded Linux Conference 2012. Abstract: The Linaro Automated Validation Architecture (LAVA) is an open source framework used at Linaro for running automated tests on Ubuntu and Android based images, kernels, and more. I introduced LAVA at ELC a year ago. Since that time, considerable progress has been made on the project, and many new components have been added to it. This talk will briefly re-introduce the project to those who may not have heard about it, as well as introduce the new developments. You can download the presentation slides at elinux.org. 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

Linaro 12.02 Release with Kernel 3.3-rc

Linaro has just released version 12.02 based on Linux Kernel 3.3-rc and Android 4.0.3. Among the key points, they have started to work on Freescale i.MX6 SabreLite board, included libav 0.8 to Ubuntu images which provides up to 160% performance improvement while playing real-media videos and XBMC is available via PPA. Here are the highlights of the release: Android Linaro Android can now be built with current GCC 4.7 snapshots. A 4.7 based toolchain build preview is also available. Linaro Android can boot on iMX6 Sabrelite boards. All test result spreadsheets have been streamlined and are now easier to use. Bluetooth enablement have been completed for the Origen board. A Prototype of using camera on Snowball was made. Presentations Given by Linaro Android Team this cycle “Binary Blobs Attack!!!” – Embedded Linux Conference. “What Android and Embedded Linux can learn from each other” – Embedded Linux Conference. “Integrating Projects Using […]

Android Builder Summit and Embedded Linux Conference 2012 Videos

The Android Builders Summit and the Embedded Linux Conference took place on February 13-17 2012, in San Francisco. The Linux Foundation has now posted videos of the talks as well as presentation slides on their website. Android Builder Summit 2012 Buildbot and Gerrit Integration, Improved CI Automation Using Android Outside the Mobile Phone Space The Android Ecosystem Case Study of Android Ice Cream Sandwich Rapid Bringup Towards a Standard Audio HAL for Android Topics in Designing An Android Sensor Subsystem: Pitfalls and Considerations A Novel Approach to In-Vehicle Infotainment (IVI) Based on Android Android Services Black Magic The Case For Security Enhanced (SE) Android Hardware and Android App Testing & Tuning Exposing the Android Camera Stack Usable Hardware Security for Android on ARM devices Using OpenOCD JTAG in Android Kernel Debugging The AllJoyn Open Source Project ADB: (Android Debug Bridge) : How It Works Android OTA Software Updates USB Device […]

Cross-compiling VMWare View for ARM Linux (in Debian/Ubuntu)

Earlier this month, I wrote an article about PCoIP Technology which shows an Android application (VMWare View) running on an OMAP4 Tablet displaying a Windows 7 desktop. This remote desktop technology relies on a powerful server to do the processing and thin clients (in that case Tablets) to display the desktop. Since only pixels are transferred any OS (supported by the server) could be displayed in the thin client. That made me wonder if there was an open source PCoIP client that could run on low end Linux client such as the Raspberry Pi. VMWare View Open Client provides just what we need, but is only available in source code so we need to cross-compile it for ARM or build it in an ARM machine. Today, I’ll show the instructions I followed to cross-compile it for ARM in Debian using Emdebian Toolchain. First download and extract VMware View Open Client […]

Embedded World Conference 2012 Schedule

The Embedded World Conference 2012 will taken place on the February 28 – March 1 in Nuremberg, Germany. There will be over 1,000 exhibitors for the tenth conference (it started in 2003) showcasing their new products and solutions for the embedded markets. Beyond the exhibition, there will also be 13 classes and 22 sessions during those 3 days. February 28th 2012 Classes: 09:30 – 15:30 – Modeling Behavior with UML: Interactions and Statecharts by Dr. Bruce Douglass, IBM 16:00 – 17:00 – Agile Systems Engineering by Dr. Bruce Douglass, IBM 09:30 – 18:00 – Introduction to Real-Time Operating Systems by Dr. David Kalinsky, D. Kalinsky Associates 09:30 – 18:00 – Hands-on-Workshop Safety Critical Linux – Automated debugging and code screening with formal methods by Prof. Nicholas Mc Guire, OSADL Safety Critical Linux Working Group and Andreas Platschek, OpenTech. 09:30 – 16:30 – Cryptography and embedded Security – The Workshop chaired […]

Microsoft Provides Windows 8 On ARM Technical Details

Steven Sinofsky, President of the Windows Division at Microsoft, has written a long blog post entitled “Building Windows for the ARM processor architecture” where he explains how Windows On ARM (WOA) will be deployed, the steps they took to develop it and what developers can do to program or port existing apps to Windows 8. Here are some keys and interesting points I noted: WOA and Windows 8 for x86/64 PCs will ship at the same time and the user experience should be the same for consumers on both platform. WOA PCs will be powered by Texas Instruments, Nvidia and Qualcomm processors. Microsoft will release an Unified OS Binary for WOA – That means one binary will run on all platforms (be it TI, Nvidia or Qualcomm). That seems impressive, and something Linux is not capable of, although much work is done on that and a unified linux kernel should […]

Debugging Embedded Linux with GDBserver and Insight (gdb GUI)

Although it it sometimes possible to debug applications using GDB (The GNU Debugger) on the target boards, there is often not enough memory available to run GDB on embedded systems running Linux. To work around this issue, you can use gdbserver to perform remote debugging. Installing and running gdbserver on the target board First of all you need to install gdbserver on the target board. Assuming you use a Debian based distribution:

If you distribution, does not have binary repository, you can download gdb source code and cross-compile gdbserver. Once gdbserver is installed, (cross-)compile your application in debug mode and start gdbserver as follows:

Where target_ip and target_port are respectively the IP address of the board and the chosen TCP port, and prog_dbg, the program under test compile in debug mode (CFLAGS=-g). Remote Debugging with GDB If you are familiar with gdb and prefer to use the command […]

EmbeddedTS embedded systems design