summaryrefslogtreecommitdiff
path: root/scripts/runqemu
Commit message (Collapse)AuthorAgeFilesLines
* scripts/runqemu: Make it run on ubuntu 11.10Khem Raj2011-08-111-0/+1
| | | | | | | location of libGL has moved in ubuntu 11.10 so we look for it in the new locations Signed-off-by: Khem Raj <raj.khem@gmail.com>
* scripts/runqemu: grep for line beginning with TMPDIRKhem Raj2011-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Currently the grep regexp matches any occurance of 'TMPDIR=' but if you have another variable defined e.g. OE_BUILD_TMPDIR=xxx then that gets picked up too. $ bitbake -e | grep TMPDIR=\" TMPDIR="/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc" OE_BUILD_TMPDIR="/home/kraj/work/angstrom/build/tmp-angstrom_2010_x" So we become a bit more stringent and look for line starting with TMPDIR $ bitbake -e | grep ^TMPDIR=\" TMPDIR="/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc" make sure that it greps only TMPDIR=xxx occurance and not values of other variables whose names happens to end with TMPDIR Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: report error if TMPDIR cannot be determinedScott Garman2011-07-251-12/+17
| | | | | | | | | | | | | | | | | Invoking runqemu outside of the build directory for an in-tree setup results in an empty TMPDIR because bitbake -e cannot be run to find it. A symptom of this problem is running runqemu and getting the following error: Error: Unable to find tunctl binary in <directory> Catch this case and report the error to the user. This fixes [YOCTO #1278] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* scripts/runqemu: enable btrfsNitin A Kamble2011-06-301-3/+3
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* runqemu: take TMPDIR from bitbakeAnders Darander2011-06-141-14/+10
| | | | | | | | The old standard of using /home/anders/openembedded-core/build/tmp as TMPDIR do not work any longer, as - is appended to the real TMPDIR. Thus, always take TMPDIR from bitbake, unless TMPDIR is set in the environment. Signed-off-by: Anders Darander <anders@chargestorm.se>
* Further cleanup of various poky referencesRichard Purdie2011-04-211-3/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace POKY_KVM_WIKI -> YOCTO_KVM_WIKIRichard Purdie2011-04-201-4/+4
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* POKY_NATIVE_SYSROOT -> OECORE_NATIVE_SYSROOTRichard Purdie2011-04-201-4/+4
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rename poky-image-* -> core-image-* and task-poky-* -> task-core-*Richard Purdie2011-04-201-9/+9
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rename poky-qemu to runqemuRichard Purdie2011-04-201-0/+399
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Merge runqemu features into poky-qemuScott Garman2010-10-071-218/+0
| | | | | | | | | | | | 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>
* scripts/runqemu: Drop broken toolchain symlink codeRichard Purdie2010-09-101-8/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* runqemu: add poky-image-basic and poky-image-lsb to recognized imagesSaul Wold2010-09-021-5/+5
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* poky-qemu-internal: fix broken call to poky-qemu-ifupScott Garman2010-08-201-0/+8
| | | | | | | | | | 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>
* scripts: add qemux86-64 support to the qemu scriptsJoshua Lock2010-08-021-6/+21
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* poky-env-internal/runqemu: Move BUILD_SYS handling which is runqemu specific ↵Richard Purdie2010-07-221-1/+5
| | | | | | into runqemu Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts/runqemu: Path fixesSaul Wold2010-07-211-14/+14
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Enable build dir outside of the poky directoryJoshua Lock2010-07-211-19/+31
| | | | | | | | | | | | | | | | | | You need to first set up the build directory by sourcing the poky build script, after that builds can be run in that directory so long as bitbake is in $PATH removing the need to source the init script for each build. i.e: $ . poky-init-build-env ~/my-build $ bitbake some-image <<later, in a different shell>> $ cd ~/my-build $ export PATH=/path/to/bitbake/bin:$PATH $ bitbake an-image This patch also removes use of OEROOT in recipes, etc. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* qemu/mips: arrange for vmlinux to be bootableBruce Ashfield2010-07-191-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* qemu-scripts: Add support for mips and powerpc machines, update qemuarmBruce Ashfield2010-07-151-0/+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>
* scripts: Fix setting up links to cc and gcc in runqemuJoshua Lock2010-06-091-3/+13
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* Fix references to CROSS_DIR now that it has been removedJoshua Lock2010-04-281-2/+2
| | | | | | | CROSS_DIR is no longer removed so fix up classes, packages and documentation which refer to it. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* scripts/runqemu: Fix some typosJoshua Lock2010-01-141-2/+2
| | | | | | | Fix typo in help message (we default to ext3 not ext2 now) and a typo whereby moblin-image-sdk wouldn't be autofound. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* runqemu: staging -> sysrootsRichard Purdie2009-11-251-1/+1
| | | | 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-1/+1
| | | | | | images Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* scripts/runqemu: Factor image location code into a shell functionRichard Purdie2009-01-211-16/+25
|
* scripts: Update qemu scripts with changes in recent qemu calling conventions ↵Richard Purdie2009-01-051-15/+15
| | | | and the switch to ext3 images
* Fix runqemu to handle clearing argsRoss Burton2008-04-241-6/+10
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4328 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Add support for nokia800 to runqemuRichard Purdie2008-04-101-1/+13
| | | | 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-2/+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/runqemu: Append to CROSSPATH after creating symlinksRichard Purdie2008-02-041-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3668 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts: Fix sdk compiler location handlingRichard Purdie2008-01-311-4/+1
| | | | 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-13/+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
* scripts: Further quoting fixesRichard Purdie2008-01-091-1/+1
| | | | 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-2/+6
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3440 311d38ba-8fff-0310-9ca6-ca027cbcb966
* runqemu: Fix path after staging layout changesRichard Purdie2007-11-221-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3204 311d38ba-8fff-0310-9ca6-ca027cbcb966
* runqemu: Fix image namesRichard Purdie2007-07-171-9/+9
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2193 311d38ba-8fff-0310-9ca6-ca027cbcb966
* runqemu: Use pda image if sdk image not available for qemu machinesRichard Purdie2007-07-051-5/+5
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2121 311d38ba-8fff-0310-9ca6-ca027cbcb966
* runqemu: Use pda image if sdk image not available for qemu machinesRichard Purdie2007-07-051-2/+12
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2120 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Rename oh-image -> poky-imageRichard Purdie2007-06-271-4/+4
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2020 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/+11
| | | | 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-1/+11
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1214 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-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1146 311d38ba-8fff-0310-9ca6-ca027cbcb966
* runqemu: Tweak scriptsRichard Purdie2007-01-161-5/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1145 311d38ba-8fff-0310-9ca6-ca027cbcb966
* runqemu: Revamp scripts, splitting into a core internal script and two ↵Richard Purdie2007-01-161-48/+41
| | | | | | helpers, one for use within poky, one outside poky git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1144 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Remove bashismRoss Burton2006-12-051-14/+14
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1003 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts/runqemu: Remove some duplicationRichard Purdie2006-12-041-10/+18
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@996 311d38ba-8fff-0310-9ca6-ca027cbcb966
* scripts/runqemu: Add distcc supportRichard Purdie2006-12-041-11/+34
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@995 311d38ba-8fff-0310-9ca6-ca027cbcb966