diff options
author | Phil Wise <phil@advancedtelematic.com> | 2017-02-16 17:07:03 +0100 |
---|---|---|
committer | Phil Wise <phil@advancedtelematic.com> | 2017-02-16 17:07:03 +0100 |
commit | 94d3f04ee1f2e3761d663a89e708977bfbfdc480 (patch) | |
tree | 11541ed6a1d322465eddc8695cf0ee679a20329d /meta-sota-qemux86-64/scripts/run-qemu | |
parent | 92054662b99454bcb4e65f9869f6a3b6db55d935 (diff) | |
download | meta-updater-94d3f04ee1f2e3761d663a89e708977bfbfdc480.tar.gz |
Add example run-qemu script
Diffstat (limited to 'meta-sota-qemux86-64/scripts/run-qemu')
-rwxr-xr-x | meta-sota-qemux86-64/scripts/run-qemu | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-sota-qemux86-64/scripts/run-qemu b/meta-sota-qemux86-64/scripts/run-qemu new file mode 100755 index 0000000..d4c0240 --- /dev/null +++ b/meta-sota-qemux86-64/scripts/run-qemu | |||
@@ -0,0 +1,17 @@ | |||
1 | DIR=tmp/deploy/images/qemux86-64 | ||
2 | IMAGE=$DIR/core-image-minimal-qemux86-64.otaimg | ||
3 | |||
4 | qemu-system-x86_64 \ | ||
5 | -bios $DIR/u-boot-qemux86-64.rom \ | ||
6 | -drive file=$IMAGE,format=raw \ | ||
7 | -vga std -m 512 \ | ||
8 | -serial stdio \ | ||
9 | -serial tcp:127.0.0.1:8990,server,nowait \ | ||
10 | -net user,hostfwd=tcp:0.0.0.0:2222-:22,restrict=off \ | ||
11 | -net nic \ | ||
12 | -usb \ | ||
13 | -cpu core2duo \ | ||
14 | -nographic \ | ||
15 | -display none | ||
16 | |||
17 | # -enable-kvm \ | ||