aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/poky-qemu-internal
AgeCommit message (Collapse)Author
2010-10-07Merge runqemu features into poky-qemuScott Garman
This merges the functionality of the runqemu script into poky-qemu. It also removes the requirement to order command line args to poky-qemu in any particular order. This fixes a slew of runqemu-related bugs by making the runqemu script obsolete (and fixing the issues in the new poky-qemu), including [BUGID #294] [BUGID #295] [BUGID #371] and [BUGID #324]. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2010-10-07Allow running of multiple QEMU nfs instancesScott Garman
These changes allow multiple instances of the userspace NFS server to run, when brought up by consecutive instances of the poky-qemu control script. This fixes [BUGID #393] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2010-10-07poky-gen-tapdevs: script to create a 'bank' of tap interfacesScott Garman
This script can be used to create and configure a 'bank' of tap interfaces that can be used by the poky-qemu script. It is useful in locked-down enterprise environments where developers do not have sudo access, but need to be able to run QEMU with networking. A sysadmin would then use this script to bring up a number of tap interfaces for the user to make use of. This fixes [BUGID #391] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2010-10-07poky-qemu-internal: use lockfile-progs for network interface lockingScott Garman
The 'lockfile' utility originally used comes from the procmail package, which users shouldn't have to install. This uses the more general lockfile-progs utilities to acheive the same end. This fixes [BUGID #389] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2010-10-07poky-qemu: integrate userspace nfsroot supportScott Garman
This is the first phase of some refactoring the poky-qemu control scripts are getting. This integrates userspace nfsroot support into poky-qemu, making runqemu-nfs obsolete. This fixes [BUGID #295] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2010-10-04qemumips: override default UI options.Richard Griffiths
Fixes [BUGID #99] The mouse, usb and cursor devices don't work for the qemumips machine. There's no easy way to 'undo' the defaults, or dynamically remove them, so we simply don't use the default UI options for this machine type. Mouse and pointer are provided via ps/2 and not via the usb and wacom tablet driver. Signed-off-by: Richard Griffiths <rgriffit@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-10-01poky-qemu-internal: only check mmap_min_addr when running arm imagesJoshua Lock
No need to force users to poke /proc/sys when they don't need to. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-29Revert "Drop vm_mmap_min_addr checks from scripts and sanity class"Joshua Lock
This reverts commit 138df217efe850528f88d340acf864c38780c2b0. We still need the vm_mmap_min_addr set to 0 to run locale generation for qemu-arm Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-09-27poky-qemu-internal: Add userspace nfs support for mips and ppcDongxiao Xu
Add userspace nfs support for mips and ppc architecture. This fixes [BUGID #343] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-09-17poky-qemu-internal: fix locking of tap lockfileSaul Wold
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-09-10scrtips/poky-qemu: Fix network interface device numberingRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-10poky-qemu-internal: Fix ifdown script to use the correct variableRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-07scripts: use the exported POKY_NATIVE_SYSROOT variableJoshua Lock
Rather than trying to determine things through guess-work use the newly exported variables to determine where the native binaries reside and whether we are running in a build directory or not. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-20poky-qemu-internal: fix the echo of KERNCMDLINEDexuan Cui
Without the fix, when the commandline is printed with the "echo" command, it loses the quotes and this confuses people. Thanks Richard for pointing this out. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2010-08-20poky-qemu-internal: fix broken call to poky-qemu-ifupScott Garman
The poky-qemu-ifup script now requires a path to the native sysroot as an argument. This fixes a case where the argument was missing. Also, set up NATIVE_SYSROOT_DIR when running runqemu. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2010-08-20poky-qemu-internal: fixes for userspace NFS bootingScott Garman
Including a number of cases where the script could exit before releasing a tun/tap lockfile. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2010-08-20poky-qemu-internal: Support use of a preconfigured tap deviceJeff Dike
This patch makes poky-qemu-internal check for the existence of an available preconfigured tap device before running poky-qemu-ifup to make a new one. Locking is handled with a lockfile in /tmp/qemu-tap-locks/. This uses the lockfile utility, so that needs to be present on the host. On exit, this script removes the lock file so that the tap device may be reused. Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-08-20poky-qemu-internal: Support NFS boots betterJeff Dike
The image specification can now be in the form nfs-server:directory. This makes it possible to nfs-boot from servers other than the host. poky-qemu-internal will properly construct the kernel command line given such a specification. Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-08-20qemu: Use a TAP device instead of slirp for networkingJeff Dike
With this patch, a persistent TAP device is set up by poky-qemu-ifup, which is now run before qemu. The qemu command line now uses the device that was constructed (rather than the hard-coded tap0) and it is told not to run any networking scripts. When qemu shuts down, poky-qemu-ifdown removes the TAP device. sudo use - sudo is used to run poky-qemu-ifup. sudo is no longer used to run qemu, as qemu no longer needs privileges to set up networking. poky-qemu-ifdown is run without privileges, as you can remove a TAP device which you own. Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-08-02scripts: add qemux86-64 support to the qemu scriptsJoshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-07-15poky-qemu-internal: Use 128MB memory for qemumips/qemuppcRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-15qemu-scripts: Add support for mips and powerpc machines, update qemuarmBruce Ashfield
For mips, the malta platform emulates a cirrus chipset. With the udpated 2.6.34 kernel options, we can now enable framebuffer boot for the qemumips platform. We need to pass a valid cpu (603e) and do a -nographic boot to make it all the way to a prompt so graphics is disabled for now for ppc. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-06-07Fixes for Qemu to use VGA and Touch ScreenSaul Wold
Added usb tablet options to poky-qemu-internal script, and adjusted the xorg.conf script for x86 to use VGA screen and tablet input device Signed-off-by: Saul Wold <saul.wold@intel.com>
2010-05-28Drop vm_mmap_min_addr checks from scripts and sanity classJoshua Lock
QEMU 0.12.x is relocatable so we no longer need these tests, which is good because it doesn't work reliably with modern kernels. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-14poky-qemu-internal Add -show-cursor to qemux86Nitin A Kamble
Without this option the need to do the blind guesswork about the position of the pointer. Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
2009-11-26scripts/poky-qemu-internal: Make sure qemuarm cursor is visibleRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-10scripts: Update qemux86 to use the vmmouse driver, not wacom and find moblin ↵Richard Purdie
images Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-01-21scripts/poky-qemu-internal: Add support for GL passthrough in qemux86 imagesRichard Purdie
2009-01-05scripts: Update qemu scripts with changes in recent qemu calling conventions ↵Richard Purdie
and the switch to ext3 images
2008-12-15scripts/poky-qemu-internal: Add usb commandline to nfs mounted imagesRichard Purdie
2008-07-24scripts/poky-qemu-internal: Fix networking on qemuarm ext2 imagesRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4940 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-22poky-qemu-internal: added support for qemuarmv6/7Marcin Juszkiewicz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4927 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-06scripts/poky-qemu-internal: Check /proc/sys/vm/mmap_min_addr value and error ↵Richard Purdie
if its potentially problematic git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4437 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-05poky-qemu-internal: give 128M for qemux86 - otherwise generating of locales ↵Marcin Juszkiewicz
fails git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4412 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-24scripts/poky-qemu-internal: Enable n800 networkingRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4333 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-24Allow user-specified options to be passed to qemu via poky-qemuRoss Burton
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4327 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-23scripts/poky-qemu: Add support for the nokia800-maemo machineRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4315 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-10scripts: Add support for nokia800 to runqemuRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4226 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-22scripts: Mark qemu scripts as bash specific to avoid dash problems and error ↵Richard Purdie
if a suitable qemu binary can't be found git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3859 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-06scripts/poky-qemu-internal: Fix no-reboot option handling for qemuarmRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3674 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-04scripts/poky-qemu-internal: Fix PATH usage to find qemu binaryRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3667 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-31scripts: Fix sdk compiler location handlingRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3652 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-31scripts: Always try to start distccd, improve distccd cleanup, add SDK ↵Richard Purdie
directory to the search path so any cross compiler installed in /usr/local/poky is found and used, add ifdown script to avoid warning messages git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3649 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-22poky-qemu-internal: Add -no-reboot option for poky-qemu-internal since can't ↵Richard Purdie
halt git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3571 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-09scripts: Further quoting fixesRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3443 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-09scripts: Various tweaks/fixes for the qemu scriptsRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3440 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-25 poky-qemu-internal: Don't exit from sourced scripts, returnRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2226 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-16Update copyrightRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1734 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-18poky-qemu-internal: Catch up with rotation option changesRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1519 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-01-30scripts: Add support to scripts for spitz imagesRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1216 311d38ba-8fff-0310-9ca6-ca027cbcb966