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 Fedora 14 Remix Available for Download

Seneca has officially released Raspberry Pi Fedora 14 Remix, the main distributions for the Raspberry Pi low cost ARM11 board based on Broadcom BCM2835. There are two methods to install Fedora 14 for the Raspberry Pi on the SD Card: Using the Installer This method is available for: Fedora 16 – http://files.velocix.com/c1410/fedora/installer/fedora/fedora-arm-installer-1.0.0-1.fc16.noarch.rpm Windows Vista or Windows 7 – http://files.velocix.com/c1410/fedora/installer/windows/fedora-arm-installer-1.0.0.zip Other Linux (Python) – http://files.velocix.com/c1410/fedora/installer/source/faii-1.0.0.tar.gz For details on the installation procedure, go to http://zenit.senecac.on.ca/wiki/index.php/Raspberry_Pi_Fedora_Remix_Installation Using dd This is the method used for the previous Linux images released for the Raspberry Pi. You can download it via Bittorrent. The HTTP download links are not yet available but will be soon on Raspberry Pi Download page. The Raspberry Pi Fedora Remix 14 is based on the following: Fedora package collection version: 14 Kernel version: 3.1.9 Architecture: armv5tel The Raspberry Pi Fedora Remix 17 will be the second version of the Remix released: Release […]

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

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

B2G (Boot to Gecko) Video Demo at MWC 2012

B2G (Boot to Gecko) is an open source HTML5-based operating system targeting mobile devices by the Mozilla Foundation. This OS runs on top of Linux and uses Firefox as the web browser. You can get further details on my previous post “Mozilla Boot to Gecko (B2G) OS Is Coming to Your Smartphone“. As previously announced, Mozilla showcased B2G on a Samsung Galaxy S2 at Mobile World Congress 2012. Every apps are written in HTML5 including the camera application that uses HTML5 Media Capture and Canvas for real-time effects. Engadget was there and shot the video demo below. If you have a Samsung Galaxy S2, you can build and try it on your device. This is experimental, so there is always the risk of bricking your phone. 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 […]

Boundary Devices Unveils Nitrogen6X Freescale i.MX6 Development Kit (aka i.MX6q Sabre Lite)

Arrow Electronics and Boundary Devices have launched the Nitrogen6X, a low cost development kit based on Freescale i.MX6 quad-core cortex A9 processor. Here are the technical specifications of the Nitrogen6X board: Quad-Core ARM Cortex A9 processor at 1GHz (i.mx6Quad) 1 GB of 64-bit wide DDR3 @ 532MHz Board Dimensions: 4.5″ x 3″ 2MB Serial Flash Three display ports (PRGB, LVDS, HDMI) Parallel camera port with OV5642 Interface Multi-stream-capable HD video engine delivering 1080p60 decode, 1080p30 encode and 3-D video playback in HD Superior 3-D graphics performance with quad shaders for up to 200 Mt/s Separate 2-D and/or Vertex acceleration engines for an optimal user interface experience Serial ATA (SATA) Dual SDHC card slots PCI express port Analog (headphone/mic) Audio 10/100/1G Ethernet with Power over Ethernet support 2 RS-232 Serial ports 10-pin JTAG interface I2C/GPIO/SPI 3 High speed USB ports (2xHost, 1xOTG) CAN port TiWi 802.11 b/g/n WiFi+BT optional Supports Android […]

UP 7000 x86 SBC