Official website: QEMU,
http://www.nongnu.org/qemu/QEMU is Installed by yum.
[leeraphael@Shih-Shen ~]# yum install qemuOr you can install by source code from
http://www.nongnu.org/qemu/download.htmlDownload the test image file from QEMU website
arm-test-0.2.tar.gz[leeraphael@Shih-Shen ~]$ ls -l
總計 11428
drwxr-xr-x 2 leeraphael leeraphael 4096 2006-05-05 01:38 arm-test
-rw-rw-r-- 1 leeraphael leeraphael 3310162 2009-11-11 20:55 arm-test-0.2.tar.gz
drwxrwxr-x 13 leeraphael leeraphael 4096 2009-11-11 20:22 buildroot
-rw-rw-r-- 1 leeraphael leeraphael 22717 2009-11-11 20:00 curt-src-v1.tar.bz2
drwxr-xr-x 8 leeraphael leeraphael 4096 2009-11-11 20:11 CuRT_v1
-rw-rw-r-- 1 leeraphael leeraphael 8334927 2009-11-11 20:56 linux-0.2.img.bz2
[leeraphael@Shih-Shen ~]$ cd arm-test
[leeraphael@Shih-Shen arm-test]$ ls -l
總計 3264
-rw-r--r-- 1 leeraphael leeraphael 2180206 2006-05-05 01:38 arm_root.img
-rw-r--r-- 1 leeraphael leeraphael 475 2006-05-05 01:38 README
-rwxr-xr-x 1 leeraphael leeraphael 1146376 2006-05-05 01:38 zImage.integrator
[leeraphael@Shih-Shen arm-test]$
qemu-system-arm -kernel ./zImage.integrator -initrd ./arm_root.img -nographic -append "console=ttyAMA0"Uncompressing Linux.......................................................................... done, booting the kernel.
Linux version 2.6.17-rc3 (paul@wren) (gcc version 4.1.0 (CodeSourcery ARM)) #53 Thu May 4 15:05:18 BST 2006
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
Machine: ARM-IntegratorCP
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-through cache
CPU0: I cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets
CPU0: D cache: 65536 bytes, associativity 4, 32 byte lines, 512 sets
Built 1 zonelists
Kernel command line: console=ttyAMA0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125184KB available (1928K code, 388K data, 104K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs... it is
Freeing initrd memory: 2129K
NET: Registered protocol family 16
NetWinder Floating Point Emulator V0.97 (double precision)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
CLCD: Integrator/CP hardware, VGA display
Clock CLCDCLK: setting VCO reg params: S=1 R=39 V=35
Console: switching to colour frame buffer device 80x30
Serial: AMBA PL011 UART driver
mb:16: ttyAMA0 at MMIO 0x16000000 (irq = 1) is a AMBA/PL011
mb:17: ttyAMA1 at MMIO 0x17000000 (irq = 2) is a AMBA/PL011
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org>
eth0: SMC91C11xFD (rev 1) at c8814000 IRQ 27 [nowait]
eth0: Ethernet addr: 52:54:00:12:34:56
mice: PS/2 mouse device common for all mice
mmc0: MMCI rev 0 cfg 00 at 0x1c000000 irq 23,24
Green LED off
input: AT Raw Set 2 keyboard as /class/input/input0
input: ImExPS/2 Generic Explorer Mouse as /class/input/input1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 0
eth0: link up
rdate: Unable to connect to remote host (10.0.2.2): Connection refused
This root FS contains most basic linux utilities (implemented with busybox)
and the Lynx web browser.
Kernel config is available through /proc/config.gz
Log in as root with no password.
qemu login: root
login[724]: root login on `ttyAMA0'
BusyBox v1.1.2 (2006.05.04-15:30+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
#
-----------------------------------------------------
It's too powerful.