summaryrefslogtreecommitdiff
path: root/scripts/poky-qemu-internal
Commit message (Collapse)AuthorAgeFilesLines
* poky-qemu-internal: fix the echo of KERNCMDLINEDexuan Cui2010-08-201-1/+1
| | | | | | | | | 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>
* poky-qemu-internal: fix broken call to poky-qemu-ifupScott Garman2010-08-201-2/+7
| | | | | | | | | | 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>
* poky-qemu-internal: fixes for userspace NFS bootingScott Garman2010-08-201-14/+27
| | | | | | | 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>
* poky-qemu-internal: Support use of a preconfigured tap deviceJeff Dike2010-08-201-4/+28
| | | | | | | | | | | | | 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>
* poky-qemu-internal: Support NFS boots betterJeff Dike2010-08-201-10/+14
| | | | | | | | | 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>
* qemu: Use a TAP device instead of slirp for networkingJeff Dike2010-08-201-3/+12
| | | | | | | | | | | | | | | | 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>
* scripts: add qemux86-64 support to the qemu scriptsJoshua Lock2010-08-021-3/+32
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* poky-qemu-internal: Use 128MB memory for qemumips/qemuppcRichard Purdie2010-07-151-1/+7
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu-scripts: Add support for mips and powerpc machines, update qemuarmBruce Ashfield2010-07-151-1/+28
| | | | | | | | | | | | 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>
* Fixes for Qemu to use VGA and Touch ScreenSaul Wold2010-06-071-4/+7
| | | | | | | 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>
* Drop vm_mmap_min_addr checks from scripts and sanity classJoshua Lock2010-05-281-7/+0
| | | | | | | 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>
* poky-qemu-internal Add -show-cursor to qemux86Nitin A Kamble2010-05-141-2/+2
| | | | | | | 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>
* scripts/poky-qemu-internal: Make sure qemuarm cursor is visibleRichard Purdie2009-11-261-3/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts: Update qemux86 to use the vmmouse driver, not wacom and find moblin ↵Richard Purdie2009-06-101-2/+2
| | | | | | images Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts/poky-qemu-internal: Add support for GL passthrough in qemux86 imagesRichard Purdie2009-01-211-2/+2
|
* scripts: Update qemu scripts with changes in recent qemu calling conventions ↵Richard Purdie2009-01-051-4/+4
| | | | and the switch to ext3 images
* scripts/poky-qemu-internal: Add usb commandline to nfs mounted imagesRichard Purdie2008-12-151-2/+2
|
* scripts/poky-qemu-internal: Fix networking on qemuarm ext2 imagesRichard Purdie2008-07-241-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4940 311d38ba-8fff-0310-9ca6-ca027cbcb966
* poky-qemu-internal: added support for qemuarmv6/7Marcin Juszkiewicz2008-07-221-1/+9
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4927 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts/poky-qemu-internal: Check /proc/sys/vm/mmap_min_addr value and error ↵Richard Purdie2008-05-061-0/+7
| | | | | | if its potentially problematic git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4437 311d38ba-8fff-0310-9ca6-ca027cbcb966
* poky-qemu-internal: give 128M for qemux86 - otherwise generating of locales ↵Marcin Juszkiewicz2008-05-051-1/+9
| | | | | | fails git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4412 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts/poky-qemu-internal: Enable n800 networkingRichard Purdie2008-04-241-3/+6
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4333 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Allow user-specified options to be passed to qemu via poky-qemuRoss Burton2008-04-241-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4327 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts/poky-qemu: Add support for the nokia800-maemo machineRichard Purdie2008-04-231-12/+26
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4315 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Add support for nokia800 to runqemuRichard Purdie2008-04-101-5/+32
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4226 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Mark qemu scripts as bash specific to avoid dash problems and error ↵Richard Purdie2008-02-221-11/+22
| | | | | | 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
* scripts/poky-qemu-internal: Fix no-reboot option handling for qemuarmRichard Purdie2008-02-061-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3674 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts/poky-qemu-internal: Fix PATH usage to find qemu binaryRichard Purdie2008-02-041-6/+8
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3667 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Fix sdk compiler location handlingRichard Purdie2008-01-311-3/+14
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3652 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Always try to start distccd, improve distccd cleanup, add SDK ↵Richard Purdie2008-01-311-2/+27
| | | | | | 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
* poky-qemu-internal: Add -no-reboot option for poky-qemu-internal since can't ↵Richard Purdie2008-01-221-2/+2
| | | | | | halt git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3571 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Further quoting fixesRichard Purdie2008-01-091-6/+11
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3443 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Various tweaks/fixes for the qemu scriptsRichard Purdie2008-01-091-7/+5
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3440 311d38ba-8fff-0310-9ca6-ca027cbcb966
* poky-qemu-internal: Don't exit from sourced scripts, returnRichard Purdie2007-07-251-6/+6
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2226 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Update copyrightRichard Purdie2007-05-161-3/+5
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1734 311d38ba-8fff-0310-9ca6-ca027cbcb966
* poky-qemu-internal: Catch up with rotation option changesRichard Purdie2007-04-181-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1519 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Add support to scripts for spitz imagesRichard Purdie2007-01-301-13/+12
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1216 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Add framework for supporting akita images under qemuRichard Purdie2007-01-291-9/+8
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1214 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Remove newlines in echosRoss Burton2007-01-171-7/+7
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1160 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Rename scripts, update READMERichard Purdie2007-01-161-0/+129
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1146 311d38ba-8fff-0310-9ca6-ca027cbcb966