This is a tutorial to: 1. Get Linux kernel 3.2 source code 3. Configure and compile for Versatile Express ARM Cortex-A9 platform 4. Prepare and create a ramdisk using initramfs schema 5. Emulate kernel boot and ramdisk execution using QEMU
October 8, 2011
This completely slipped under my radar: Mentor Graphics acquired CodeSourcery’s toolchain products some time ago. I found out when I got to their site and it redirected me to Mentor. In my tutorials I often make use of the Lite editions of the Codesourcery toolchains, so this is the new site for reference: Sourcery CodeBench […]
September 3, 2011
Using the CodeSourcery arm-none-eabi toolchain to compile a minimal "Hello World" example for Stellaris lm3s6965 microcontroller. The microcontroller is emulated through QEMU and the output is written to a serial port.
May 17, 2011
In embedded software programming there’s often the need to use assembly-level instructions to reach all the functionalities of the processing core. But when the developing is done almost exclusively in C, it is sometimes a burden, often an added complexity and possibly a nuisance to code separate assembly files containing the needed functions. Other than […]
December 16, 2010
Implementing a minimal standard C library for embedded ARM target using Newlib and the CodeSourcery toolchain, and emulating the execution with QEMU.
November 4, 2010
QEMU is able to emulate ARM architectures with many details. One thing that the qemu-system-arm program implements is the Angel interface, that enables semihosting. Semihosting involves two machines: a target (the embedded device), and a host (such as a PC) that is connected to the target through a debug interface. An embedded program running in […]
September 27, 2010
Atmel AT91 is a series of common microcontrollers that contain ARM cores. The AT91SAM7 series in particular runs the ubiquitous ARM7TDMI. I found out that there is an open source program that emulates these microcontrollers (among many others): it is Skyeye. Skyeye is a project that emulates big and small microcontrollers, and for this reason […]
August 17, 2010
A tutorial that shows how to debug an ARM Linux program inside a platform emulated with QEMU. The tutorial uses gdbserver to connect the program executing in the guest system to the debugger running on the host system.
April 12, 2010
Using QEMU to emulate the complete boot procedure of an ARM system using U-Boot, the Linux kernel and Busybox.
March 22, 2010
How to compile a vanilla Linux kernel for the Versatile ARM platform, and run it using QEMU.

March 31, 2012
84