failing arm attempt

This commit is contained in:
Ciro Santilli
2017-05-21 13:32:43 +01:00
parent 8f3f07e314
commit 0d960ea031
3 changed files with 36 additions and 13 deletions

37
runqemu
View File

@@ -23,18 +23,33 @@ done
# If we turn on buildroot host QEMU some day.
#cmd="./buildroot/output/host/usr/bin/qemu-system-x86_64 \
cmd="qemu-system-x86_64 \
-M pc \
-append 'root=/dev/vda $extra_append' \
-drive file=buildroot/output/images/rootfs.ext2,if=virtio,format=raw \
-kernel buildroot/output/images/bzImage \
-m 128M \
-net nic,model=virtio \
-net user \
-smp 1 \
$extra_flags \
#cmd="qemu-system-x86_64 \
#-M pc \
#-net nic,model=virtio \
#-kernel buildroot/output/images/bzImage \
#cmd="qemu-system-arm \
#-M vexpress-a9 \
#-append 'root=/dev/vda $extra_append' \
#-drive file=buildroot/output/images/rootfs.ext2,if=virtio,format=raw \
#-kernel buildroot/output/images/zImage \
#-m 128M \
#-net user \
#-smp 1 \
#$extra_flags \
#;
#"
# TODO window opens, but hangs.
qemu-system-arm \
-M vexpress-a9 \
-kernel buildroot/output/images/zImage \
-dtb buildroot/output/images/vexpress-v2p-ca9.dtb \
-drive file=buildroot/output/images/rootfs.ext2,if=scsi,format=raw \
-append "root=/dev/sda console=ttyAMA0,115200" \
-serial stdio \
;
"
#-net nic,model=rtl8139 \
#-net user \
if $debug && ! $nographic; then
eval nohup "$cmd" &>/dev/null &