summaryrefslogtreecommitdiffstats
path: root/scripts/poky-qemu
Commit message (Collapse)AuthorAgeFilesLines
* Rename poky-qemu to runqemuRichard Purdie2011-04-211-399/+0
| | | | | | (From OE-Core rev: 7687d91f73f4a116593315b3b1488ac3f0904905) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-qemu: handle cases where an nfs directory contains -image-Scott Garman2011-02-251-0/+6
| | | | | | | | | | Previously we mistakenly assumed that any argument which contained *-image-* was the name of a rootfs image file. This allows nfs directory paths to work correctly when they contain this substring. This fixes [BUGID #743] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-qemu: Update -sdk image name due to recent change to sato-sdkSaul Wold2011-02-241-5/+5
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* qemu: enable audio supportZhai Edwin2011-02-221-0/+7
| | | | | | | | | | On qemux86, export ac97 & es1370 emulated device to guest, and enable host oss&alsa driver. So end user can get sound from qemux86 guest if the sound card driver installed. [BUGID #488] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* qemu: Add some checks before enabling KVMZhai Edwin2010-12-231-3/+22
| | | | | | | | Check the missing modules and permission with informative output. [BUGID #599] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* Add extra parameters options for poky-qemu scriptsLiping Ke2010-12-161-0/+14
| | | | | | | | In order to support qemu user's flexibility requirement, we add extra parameter options, user can add extra params such as "<-m 256>" in poky-qemu script command. Signed-off-by: Liping ke <liping.ke@intel.com>
* scripts/poky-qemu: Improve tmp layout assumptionRichard Purdie2010-12-151-1/+1
| | | | | | | | | | | If someone has changed TMPDIR in local.conf to a non-standard location, the poky-qemu script currently doesn't handle this and assumes if BUILDDIR is set, $BUILDDIR/tmp will exist. Its simple to check if this exists and if not, to ask bitbake where the directory is so this patch changes the code to do that. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu: Enable KVM support on x86/x86-64 hostZhai Edwin2010-12-091-0/+12
| | | | | | | User need build kvm module for native kernel and install them by "modprobe kvm_intel". Then add "kvm" option to poky-qemu to enable it. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* Make poky-qemu and related scripts work with arbitrary SDK locationsScott Garman2010-12-091-16/+22
| | | | | | | | | | * No longer assume SDK toolchains are installed in /opt/poky * [BUGFIX #568] where specifying paths to both the kernel and fs image caused an error due to POKY_NATIVE_SYSROOT never being set, triggering failure of poky-qemu-ifup/ifdown * Cosmetic improvements to usage() functions by using basename Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-qemu: Fix issues when running Yocto 0.9 release imagesScott Garman2010-11-141-28/+36
| | | | | | | | | This fixes two bugs with poky-qemu when it is run from a standalone meta-toolchain setup. [BUGFIX #535] and [BUGFIX #536] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-qemu: miscellaneous bugfixesScott Garman2010-10-141-13/+15
| | | | | | | | | | | In scenarios where the POKY_NATIVE_SYSROOT env variable hasn't been set up, bug #427 can still be triggered. This fixes it by running setup_tmpdir(). This fixes [BUGID #427]. Also, the qemu tap dev lock directory needs to be chmod 777 so that multiple users can create and delete lock files. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-qemu: add nographic option for disabling video consoleScott Garman2010-10-141-4/+6
| | | | | | This fixes [BUGID #408] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-qemu: fix for handling full path to rootfsScott Garman2010-10-111-2/+19
| | | | | | This fixes [BUGID #427] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-qemu: fix handling of some rootfs typesScott Garman2010-10-081-0/+10
| | | | | | | | | | This allows the user to specify a rootfs type (e.g, poky-image-sato) without typing out the full filename and path (assuming we can infer a valid MACHINE and FSTYPE). This fixes [BUGID #415] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* Merge runqemu features into poky-qemuScott Garman2010-10-071-30/+250
| | | | | | | | | | | | 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>
* poky-qemu: integrate userspace nfsroot supportScott Garman2010-10-071-21/+23
| | | | | | | | | | 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>
* poky-qemu: check for existence of required librariesJoshua Lock2010-08-251-0/+12
| | | | | | | We need some libraries installed to run the built qemu, check for their existence before trying to run the program. Fixes [BUGID #201] Signed-off-by: Joshua Lock <josh@linux.intel.com>
* scripts: Update qemu scripts with changes in recent qemu calling conventions ↵Richard Purdie2009-01-051-1/+1
| | | | and the switch to ext3 images
* Allow user-specified options to be passed to qemu via poky-qemuRoss Burton2008-04-241-3/+6
| | | | 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-0/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4315 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts/poky-qemu: Add nokia800 supportRichard Purdie2008-04-101-0/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4227 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Mark qemu scripts as bash specific to avoid dash problems and error ↵Richard Purdie2008-02-221-1/+1
| | | | | | 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: Fix sdk compiler location handlingRichard Purdie2008-01-311-3/+0
| | | | 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-0/+4
| | | | | | 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
* Update copyrightRichard Purdie2007-05-161-2/+4
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1734 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Add support to scripts for spitz imagesRichard Purdie2007-01-301-0/+3
| | | | 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-4/+7
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1214 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Fix regexp to work with qemux86Ross Burton2007-01-181-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1163 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Remove newlines in echosRoss Burton2007-01-171-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1160 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Fix machine guessing sedRoss Burton2007-01-171-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1159 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Remove bashismRoss Burton2007-01-171-2/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1157 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Rename scripts, update READMERichard Purdie2007-01-161-0/+45
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1146 311d38ba-8fff-0310-9ca6-ca027cbcb966