El 04/04/13 10:56, Peter Robinson
escribió:
The full script I use is below. Every time I test a new kernel, I copy vmlinuz, initrd, and the dtb directory. All of my tests were done with vexpress-v2p-ca9.dtb for each kernel. #!/bin/sh BASEDIR=`dirname $0` #QEMU_BIN=/home/palosanto/programa/qemu-build/arm-softmmu/qemu-system-arm #QEMU_BIN=/opt/qemu-1.4.0/bin/qemu-system-arm #QEMU_BIN=/opt/qemu-1.1-custom/bin/qemu-system-arm #QEMU_BIN=/opt/qemu-1.3.1/bin/qemu-system-arm QEMU_BIN=/opt/qemu-1.2.2/bin/qemu-system-arm QEMU_MACH=vexpress-a9 #QEMU_MACH=vexpress-a15 #KERNELVER=3.3.6-3.fc17.armv5tel # 3.4.2-3.fc17.armv5tel requiere physmap.enabled=0 #KERNELVER=3.4.2-3.fc17.armv5tel #KERNELVER=3.5.3-1.fc17.armv5tel #KERNELVER=3.5.6-1.fc17.armv5tel KERNELVER=3.7.6-102.fc17.armv7l #KERNELVER=3.8.3-102.fc17.armv7l DTB=vexpress-v2p-ca9.dtb #DTB=vexpress-v2p-ca15_a7.dtb rm -f $BASEDIR/*.sock /usr/bin/nohup $QEMU_BIN -display vnc=:0 -m 1024 -M $QEMU_MACH -kernel $BASEDIR/boot/vmlinuz-$KERNELVER -initrd $BASEDIR/boot/initramfs-$KERNELVER.img -dtb $BASEDIR/boot/dtb-$KERNELVER/$DTB -append "root=LABEL=rootfs console=ttyAMA0 raid=noautodetect physmap.enabled=0" -drive if=sd,cache=writeback,file=$BASEDIR/fedora-17-arm.vmdk -net nic,vlan=0 -net bridge,vlan=0 -monitor unix:$BASEDIR/qemu-arm-monitor.sock,server,nowait -serial unix:$BASEDIR/qemu-arm-serial.sock,server,nowait -daemonize |
_______________________________________________ arm mailing list arm@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/arm