Qemu emulation platform for Versatile/PB.
CPU Information Processor : ARM926EJ-S rev 5 (v5l) BogoMIPS : 157.28 Features : swp half thumb fastmult edsp java CPU implementer : 0x41 CPU architecture: 5TEJ CPU variant : 0x0 CPU part : 0x926 CPU revision : 5 Hardware : ARM-Versatile PB Revision : 0000 Serial : 0000000000000000 boot.log |
$ qemu-img create hd.img 1G $ mkfs.ext2 -F -m 0 -b 1024 hd.img
$ sudo mount -o loop -t ext2 hd.img /mnt $ sudo rm -rf /mnt/lost+found $ sudo tar -C /mnt -pxvf crux-arm-rootfs-2.8.tar.xz $ sudo tar -C /mnt -pxvf modules-3.5.4.tar.xz
configure certain files.
$ qemu-system-arm -M versatilepb -kernel zImage-3.5.4 -hda hd.img -append "root=/dev/sda"
$ qemu-system-arm -nographic -M versatilepb -kernel zImage-3.5.4 -hda hd.img -append "root=/dev/sda console=ttyAMA0"
T0:23:respawn:/sbin/agetty -L ttyAMA0 9600 vt100
ttyAMA0
# dd if=/dev/zero of=/var/swap bs=128K count=1024 1024+0 records in 1024+0 records out 134217728 bytes (134 MB) copied, 22.2331 s, 6.0 MB/s # mkswap /var/swap Setting up swapspace version 1, size = 131068 KiB no label, UUID=882f6a5c-12a8-4cbd-9e45-d0cdaac2c2f7 # swapon /var/swap
$ qemu-system-arm -M versatilepb -kernel zImage-3.5.4 -initrd initrd.gz
$ qemu-system-arm -nographic -M versatilepb -kernel zImage-3.5.4 -initrd initrd.gz -append "root=/dev/sda console=ttyAMA0"