How to build qemu-system-arm in Linux

Orange Pi Development Boards

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-***:

  1. 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):
  2. Configure qemu to build ARM targets:
  3. Build and install qemu-system-arm:
  4. Verify the latest version of qemu-ssytem-arm is installed:
Support CNX Software - Donate via PayPal or become a Patron on Patreon

8
Leave a Reply

avatar
7 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
5 Comment authors
Vineel Kumar Reddy KovvuriEscholTimInstructions to Run Raspberry Pi Fedora 14 Remix in QEMU | CNXSoft – Embedded Software Development Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Nikolay Nikolaev
Guest
Nikolay Nikolaev

For ARM, I’d always prefer the Linaro’s qemu:
http://git.linaro.org/gitweb?p=qemu/qemu-linaro.git

trackback

[…] ” error for me  (Cf Note 1 at the bottom of this post). Following the instructions at http://www.cnx-software.com/2012/03/08/how-to-build-qemu-system-arm-in-linux/:git clone git://git.linaro.org/qemu/qemu-linaro.git cd qemu-linaro ./configure […]

Tim
Guest
Tim

I followed the steps here but did not end up seeing a change in version when running qemu-system-arm –version

I was unable to get the “make install” to work without sudo. Maybe that is a clue as to what I did wrong?

TIA for help!

Eschol
Guest
Eschol

@cnxsoft
Do you know if the QEMU supports Qualcomm MSM ARM board series? How can one enable the support for the MSM board series?

Thanks.

Vineel Kumar Reddy Kovvuri
Guest

Seems

sudo apt-get install qemu qemu-system

does the above job. Thanks for the above article