Busybox run on Qemu

Preparation

  1. Install developer ncurses library. It will be used during linux kernel configuration.
  2. Install latest Qemu from Linaro repository. You can refer to my previous posting, Install Qemu on Ubuntu.
  3. Download arm cross compiler from CodeSourcery. Make sure you already become member of mentor.com website. Currently latest version of compiler is 2012.09-64. But I already tried that version and when always be fail. I also tried previous version, it is 2012.03-57, and the result is same. And I have been successfully compile linux kernel and install busybox using version 2011.09-70.
  4. Download latest linux source code from kernel.org. Currently I am using linux version 3.9. File name should be linux-3.9.tar.xz.
  5. Download latest busybox from busybox.net. Currently, latest version of busybox is busybox-1.21.0.

Read more of this post

Show “Hello World” on Qemu

Before we continue, make sure your Linux already has Qemu inside. If you want to install, you can refer to my previous posting, Install Qemu on Ubuntu. You also need to check whether your Linux already has GCC cross compiler or not. To check whether the compiler already installed on your linux, you can check by using:

$ arm-linux-gnueabi-gcc --version

Read more of this post

Install Qemu on Ubuntu

Based on wikipedia, “QEMU (short for “Quick EMUlator”) is a free and open source software product that performs hardware virtualization“. We can use Qemu to emulate our software before we put in our actual hardware.

Before we install Qemu, make sure there is no Qemu installed on Ubuntu. To check whether Qemu is already installed or not, we can type:

$ qemu --version

Read more of this post

Design a site like this with WordPress.com
Get started