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

Instructions to Run Raspberry Pi Fedora 14 Remix in QEMU

As mentioned in my previous post, the Raspberry Pi Foundation has just released the Fedora 14 Remix SD card image that can be installed either via  installer (easiest method) or using dd / windd as with the previous image. In this blog post, I’ll give the instructions how to run Raspberry Pi Fedora 14 Remix in QEMU using a similar method than the one I used for Debian Squeeze. I tested since in machines with Ubuntu 10.04 LTS and Debian 6.0.4. Download the image using BitTorrent raspberrypi-fedora-remix-14-r1.img.gz.torrent or via the HTTP link available on Raspberry Pi Download page. Decompress the image:

Download kernel 3.0.4 image for qemu, if you don’t have it yet.

Since the rootfs is full (in the real board it will be resized to the size of the SD Card), we need to increase the size of the rootfs partition. First create and empty 3G […]

Raspberry Pi Releases Arch Linux SD Card Image

The Raspberry Pi Foundation has just announced the release of Arch Linux for the Raspberry Pi. This image is based on a minimal image of Arch Linux and does not come with a graphical interface. This distribution may not be suitable for beginners and you may be better off using the Debian SD Card image or even the upcoming Fedora 14 Raspberry Pi Remix image. You can always install extra packages with Pacman,  the Arch Linux package manager. To update the package list:

To Install LXDE Graphical Interface:

To run LXDE:

You can download it using BitTorrent: archlinuxarm-01-03-2012.zip.torrent (preferred method) or via one of the HTTP mirrors: archlinuxarm-01-03-2012.zip. (This link will redirect your download to the closest available HTTP server). The default login credentials are: root/root I haven’t tried it, but you should be able to use this release in qemu, by following instructions similar to the one […]

The Yocto Project Overview and Update – ELC 2012

Saul Wold, User Space Architect at Intel Open Source Technology Center, discusses the latest on the Yocto Project at the Embedded Linux Conference 2012. Abstract: The Yocto Project is a joint project to unify the world’s efforts around embedded Linux and to make Linux the best choice for embedded designs. The Yocto Project is an open source starting point for embedded Linux development which contains tools, templates, methods and actual working code to get started with an embedded device project. In addition, the Yocto Project includes Eclipse plug-ins to assist the developer. This talk gives a walk-through of the key parts of the Yocto Project for developing embedded Linux projects. In addition, features will be described from the latest release of Yocto. At the end of the talk, developers should be able to start their own embedded project using the Yocto Project and use it for developing the next great […]

Status of Embedded Linux – ELC 2012

Tim Bird, software engineer at Sony, discusses recent development in embedded Linux at the Embedded Linux Conference 2012. Abstract:  Tim discusses changes to the kernel, improvements to embedded-related sub-systems, and new industry initiatives likely to affect embedded Linux developers in the future. Also, Tim discusses the direction of the Linux Foundation CE Workgroup, and their contract work and projects for this year. Last year highlights are also discussed, as well as ways to continue to improve Linux going forward. Here are the key points of this presentation: Linux Kernel Version changes: 2.6.38 to 3.3-rc3 Technology Areas: Bootup Time  – With improvement in the kernel, bootloader and user-space Graphics – 2D/3D implementation. New /dev/ion and CMA graphics stuffs Accelerated Rendering – e.g. Renderscript Graphics Drivers – e.g. PowerVR Multimedia – Gstreamer, Android Media Layer (stagefright) and codec wars (e.g. patent issues with WebM/VP8 that interferes open source licenses). File systems – […]

Raspberry Pi Releases 1st SD Card Image (Debian) – How-to use it in QEMU

The Raspberry Pi Foundation has just released the first SD Card Image that you will be able to use with your Raspberry Pi board. This image is based on Debian Squeeze (6.0) and comes with  LXDE user interface and Midori browser, development tools, and sample code for accessing the multimedia functionality on the device. You can download it using BitTorrent: debian6-17-02-2012.zip.torrent (preferred method) or via one of the many http mirrors available on RPi Community page. This image contains all necessary files including the binary blob and closed source libraries, the kernel and the root file systems. If you want to to prepare an SD Card with this image simply use dd in Linux: unzip debian6-17-02-2012.zip sudo dd if=debian6-17-02-2012/debian6-17-02-2012.img of={sd_card_path} where sd_card_path is the device pointing to you SD Card (e.g. /dev/sdc). Make sure you use the correct device (e.g. with fdisk -l) or you may wipeout your hard drive […]

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

Xibo Digital Signage in Raspberry Pi Emulator (Step 1)

Xibo (pronounced eX-E-bO) is an open source, multi-display, multi-zone, fully scheduled digital signage client/server solution written in Python and dotNET. If you are not familiar with Xibo you can visit http://xibo.org.uk/ or/and read my introduction XIBO: An Open Source Digital Signage Server/Client. The Raspberry Pi is a low cost board based on Broadcom BCM2835 (ARM1176 Core) that should be available for sale at the end of January / beginning of February at http://www.raspberrypi.com. There are two versions of the board: Model A: 128 MB RAM and no Ethernet Model B: 256 MB RAM with 10/100 Mbit Ethernet BCM 2835 also features a Videocore GPU supporting OpenGL and 1080p30 video decoding that makes it ideal for multimedia applications such as digital signage players. The board support both HDMI and composite video output. You should also be able to connect a LCD via the DSI interface. If we can make Xibo run […]

UP 7000 x86 SBC