summaryrefslogtreecommitdiffstats
path: root/meta/packages/qemu
Commit message (Collapse)AuthorAgeFilesLines
* Major layout change to the packages directoryRichard Purdie2010-08-2719-35577/+0
| | | | | | | | | | | | | | | | | Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu: On some older machines SDL is availableMark Hatle2010-08-261-1/+2
| | | | | | | | | | On some older machines SDL is available, even if a pkgconfig file for SDL is not there. (See RHEL5.1) Extend the check, to see if the primary SDL header is there, if the pkgconfig check fails. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* runqemu-nfs: boot QEMU using nfsroot and local unfs exportScott Garman2010-08-201-0/+2
| | | | | | | | This script automates the booting of QEMU using an nfsroot exported by our userspace NFS tools. The rootfs should be created using poky-extract-sdk. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-export-rootfs: script for exporting userspace nfsrootsScott Garman2010-08-201-0/+1
| | | | | | | | | | This script automates the exporting of a root filesystem (created with the poky-extract-sdk utility) using pseudo and the native userspace NFS server. That filesystem can then be booted using nfsroot with either QEMU or the target hardware using one of our kernels. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-extract-sdk: script for extracting sdk images using pseudoScott Garman2010-08-201-0/+1
| | | | | | | This script automates the creation of a rootfs area using pseudo so it can be used by a QEMU nfsroot boot. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* poky-find-native-sysroot: helper script for locating the native sysroot pathScott Garman2010-08-201-0/+1
| | | | | | | | | | | | Various poky scripts make use of binaries from the native sysroot. This helper script can be used to reduce code duplication, and sets up some environment variables you can use to identify and obtain the correct filesystem path to the native sysroot. It works for both in-tree Poky setups as well as toolchain installations. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* tunctl: Added an tunctl which supports TUNSETGROUPJeff Dike2010-08-203-1/+182
| | | | | | | | | | | TUNSETGROUP is needed in order to preconfigure a set of tap devices that can be used by non-root users. The requirement is that the qemu users be members of whatever group the tap devices are assigned to. Include tunctl in the qemu-helper package, and add a -native version. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* Enable build dir outside of the poky directoryJoshua Lock2010-07-211-6/+6
| | | | | | | | | | | | | | | | | | 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-native/powerpc: add qemu 0.12.4 powerpc supportBruce Ashfield2010-07-153-1/+144
| | | | | | | | | | | In order to force 0.12.4 to allow a powerpc system boot, we need a patch to qemu, and a new powerpc (not ppc) ROM. This configuration supports non-graphical booting only, since the ROM does not have support to pass a graphics device via the device tree yet. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* qemu: fix VMware VGA depth calculation errorKevin Tian2010-06-293-4/+121
| | | | | | | | | | | | | | | | | | | | | | | | VMware SVGA presents to the guest with the depth of the host surface it renders to, and rejects to work if the two sides are mismatched. One problem is that current VMware VGA may calculate a wrong host depth, and then memcpy from virtual framebuffer to host surface may trigger segmentation fault. For example, when launching Qemu in a VNC connection, VMware SVGA thinks depth as '32', however the actual depth of VNC is '16'. The fault also happens when the host depth is not 32 bit. Qemu <4b5db3749c5fdba93e1ac0e8748c9a9a1064319f> tempts to fix a similar issue, by changing from hard-coded 24bit depth to instead query the surface allocator (e.g. sdl). However it doesn't really work, because the point where query is invoked is earlier than the point where sdl is initialized. At query time, qemu uses a default surface allocator which, again, provides another hard-coded depth value - 32bit. So it happens to make VMware SVGA working on some hosts, but still fails in others. To solve this issue, this commit introduces a postcall interface to display surface, which is walked after surface allocators are actually initialized. At that point it's then safe to query host depth and present to the guest. Signed-off-by Kevin Tian <kevin.tian@intel.com>
* qemu: Enable ppc system emulation and fix ppc buildRichard Purdie2010-06-243-11/+39
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu: fix sloppy mergeJoshua Lock2010-06-231-2/+2
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* qemu: Work around the crash seen on Ubuntu.Jeff Dike2010-06-232-0/+17
| | | | | | | | | | | | | | Due to different stack contents in sdl_display_init on Ubuntu vs other distros, an uninitialized structure is causing a crash. Zeroing the structure makes the behavior uniform across distros, avoiding the Ubuntu crash, but doesn't fix the underlying bugs, notably: the return value of SDL_GetWMInfo needs to be checked, as it's currently failing silently the underlying reason for the failure of SDL_GetWMInfo needs to be found - there is a GetWMINfo method in the internal SDL structure which is NULL, and the reason for this needs to be found. Signed-off-by: Jeff Dike <jdike@linux.intel.com>
* qemu: Fix linking of the native package on Fedora 13Joshua Lock2010-06-154-15/+39
| | | | | | | | | Fedora 13 switched the default behaviour of the linker to no longer indirectly link to required libraries (i.e. dependencies of a library already linked to). Therefore we need to explicitly pass the depended on libraries into the linker for building to work on Fedora 13. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* qemu-nativesdk: Make sure the compiler prefix is set fixing cross sdk buildsRichard Purdie2010-06-101-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu-helper-nativesdk: Fix after file:// url handling changesRichard Purdie2010-06-101-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu: Update to 0.12.4Jeff Dike2010-06-0710-133/+121
| | | | | | | | | | | | | | | Renamed the recipe to 0.12.4. Moved the patches directory to qemu-0.12.4 - when it was named qemu-0.12, bitbake silently ignored the patches, and only failed when it came time to apply them. Added a FILESDIR to the git recipe and changed its PV to 0.12.4 so it can use the same patches as the normal recipe for now. Removed the series file - it wasn't needed. Signed-off-by: Jeff Dike <jdike@linux.intel.com>
* qemu: add some extra ldflags to make it link succesfullyJoshua Lock2010-05-281-1/+1
| | | | | | | | | | | | qemu-native was failing to link on my 64bit Fedora 13 machine with this error: | /usr/bin/ld: libqemu.a(helper_opengl.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5' | /usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line | /lib64/libdl.so.2: could not read symbols: Invalid operation So I did as the linker told me and added -ldl to the linker flags Signed-off-by: Joshua Lock <josh@linux.intel.com>
* qemu: reduce duplication, use an inc file and share common patchesJoshua Lock2010-05-2817-34644/+46
| | | | | | | | | | | | There's no need to carry around two copies of the same patches for qemu-git and qemu-0.12 so drop the qemu-git directory and update the git recipe to use the qemu-0.12 directory for patches. Move common code from the two recipes to an inc file. Signed-off-by: Joshua Lock <josh@linux.intel.com> fweh
* qemu: Update the static recipe to 0.12.0Jeff Dike2010-05-2735-1987/+34604
| | | | Signed-off-by: Jeff Dike <jdike@linux.intel.com>
* qemu: updated the glflags patch, which is needed by qemusdk.Jeff Dike2010-05-272-9/+9
| | | | Signed-off-by: Jeff Dike <jdike@linux.intel.com>
* qemu: Updated to 0.12.0Jeff Dike2010-05-269-513/+290
| | | | | Updated the metadata in the recipe, changed the git revision in poky-default-revisions.inc, and pulled the qemu patches forward.
* qemu_git: Ensure we have the required dependencies for a native buildJoshua Lock2010-04-151-1/+18
| | | | | | | | qemu-native requires a libGL and the SDL development headers to build with our GL "emulation". This patch adds a check before configure for the native package to ensure that the sdl.pc file and GL so files exist and bombs out otherwise. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* qemu: build mips system support in qemuJoshua Lock2010-01-152-3/+30
| | | | | | Add mips to the target-list configuration option and add a dummygl for mips. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* qemu: Add small fix to gl patchRichard Purdie2010-01-142-200/+182
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu: Update to 0.10.6 and add fix wacom emulation issuesRichard Purdie2009-11-252-3/+134
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu: Convert to BBCLASSEXTEND (git version only, drop 0.9.1 ↵Richard Purdie2009-11-138-43/+9
| | | | | | native/nativesdk versions) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu-nativesdk: Use HOST_CC to build parse_gl_hRichard Purdie2009-09-182-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu-nativesdk: Add patch to fix linkageRichard Purdie2009-09-172-1/+16
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu-nativesdk: Add qemugl-nativesdk to DEPENDSRichard Purdie2009-09-171-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu-nativesdk: Use a specific gcc as otherwise configure tests breakRichard Purdie2009-09-171-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sdk.bbclass: Rename to nativesdk.bbclassRichard Purdie2009-09-175-9/+9
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu: Fix a GL passthrough bugRichard Purdie2009-06-162-2/+66
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu: Drop a ton of old now mostly inappropriate patches and update the ↵Richard Purdie2009-06-0913-446/+849
| | | | | | qemugl passthrough patch Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu: Fix for machines without zlib headers/library installedRichard Purdie2009-05-243-3/+17
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu: Switch to git and version 0.10.5Richard Purdie2009-05-2318-164/+80
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu-sdk/qemu-native: No longer need to depend on gcc 3.xRichard Purdie2009-05-212-8/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* qemu: Update 6374 -> 6477 to fix absolute position device issuesRichard Purdie2009-02-0515-64/+65
|
* qemu: Upgrade to svn revision 6374 for working passthroughRichard Purdie2009-01-2116-79/+87
|
* qemu: Add x86_64-softmmu targetRichard Purdie2009-01-211-1/+1
|
* qemu-sdl: Remove i386-linux-user target for nowRichard Purdie2009-01-202-2/+4
|
* qemu: Add host gl support for qemu x86Richard Purdie2009-01-192-2/+33910
|
* qemu: Upgrade to latest svn removing a ton of merged patches (yay)Richard Purdie2009-01-0562-19867/+83
|
* Fix qemu build on 2.6.27Ross Burton2008-11-112-2/+23
| | | | | Linux 2.6.27 removed linux/dirent.h, which qemu was included. Change this to include dirent.h.
* qemu-sdk: Pass the disable-vnc-tls option since we don't have gnutls-sdkRichard Purdie2008-10-171-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5531 311d38ba-8fff-0310-9ca6-ca027cbcb966
* qemu-sdk: Build i386 QEMU for inclusion in the sdk.Robert Bradford2008-09-242-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5264 311d38ba-8fff-0310-9ca6-ca027cbcb966
* qemu: Fix SRC_URIRichard Purdie2008-05-291-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4565 311d38ba-8fff-0310-9ca6-ca027cbcb966
* qemu: Fix arm exception handling missing symbolRichard Purdie2008-04-262-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4350 311d38ba-8fff-0310-9ca6-ca027cbcb966
* qemu: List and refresh the revert_arm_tcg patchRichard Purdie2008-04-252-1/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4347 311d38ba-8fff-0310-9ca6-ca027cbcb966
* qemu: Add revert_arm_tcg patch, drop gcc3 check patchRichard Purdie2008-04-252-54/+0
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4343 311d38ba-8fff-0310-9ca6-ca027cbcb966