summaryrefslogtreecommitdiff
path: root/meta/packages/qemu
AgeCommit message (Collapse)AuthorFiles
2010-08-27Major layout change to the packages directoryRichard Purdie19
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>
2010-08-26qemu: On some older machines SDL is availableMark Hatle1
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>
2010-08-20runqemu-nfs: boot QEMU using nfsroot and local unfs exportScott Garman1
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>
2010-08-20poky-export-rootfs: script for exporting userspace nfsrootsScott Garman1
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>
2010-08-20poky-extract-sdk: script for extracting sdk images using pseudoScott Garman1
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>
2010-08-20poky-find-native-sysroot: helper script for locating the native sysroot pathScott Garman1
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>
2010-08-20tunctl: Added an tunctl which supports TUNSETGROUPJeff Dike3
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>
2010-07-21Enable build dir outside of the poky directoryJoshua Lock1
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>
2010-07-15qemu-native/powerpc: add qemu 0.12.4 powerpc supportBruce Ashfield3
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>
2010-06-29qemu: fix VMware VGA depth calculation errorKevin Tian3
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>
2010-06-24qemu: Enable ppc system emulation and fix ppc buildRichard Purdie3
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-23qemu: fix sloppy mergeJoshua Lock1
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-23qemu: Work around the crash seen on Ubuntu.Jeff Dike2
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>
2010-06-15qemu: Fix linking of the native package on Fedora 13Joshua Lock4
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>
2010-06-10qemu-nativesdk: Make sure the compiler prefix is set fixing cross sdk buildsRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-10qemu-helper-nativesdk: Fix after file:// url handling changesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-07qemu: Update to 0.12.4Jeff Dike10
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>
2010-05-28qemu: add some extra ldflags to make it link succesfullyJoshua Lock1
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>
2010-05-28qemu: reduce duplication, use an inc file and share common patchesJoshua Lock17
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
2010-05-27qemu: Update the static recipe to 0.12.0Jeff Dike35
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-05-27qemu: updated the glflags patch, which is needed by qemusdk.Jeff Dike2
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-05-26qemu: Updated to 0.12.0Jeff Dike9
Updated the metadata in the recipe, changed the git revision in poky-default-revisions.inc, and pulled the qemu patches forward.
2010-04-15qemu_git: Ensure we have the required dependencies for a native buildJoshua Lock1
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>
2010-01-15qemu: build mips system support in qemuJoshua Lock2
Add mips to the target-list configuration option and add a dummygl for mips. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-01-14qemu: Add small fix to gl patchRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-25qemu: Update to 0.10.6 and add fix wacom emulation issuesRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13qemu: Convert to BBCLASSEXTEND (git version only, drop 0.9.1 ↵Richard Purdie8
native/nativesdk versions) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-18qemu-nativesdk: Use HOST_CC to build parse_gl_hRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17qemu-nativesdk: Add patch to fix linkageRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17qemu-nativesdk: Add qemugl-nativesdk to DEPENDSRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17qemu-nativesdk: Use a specific gcc as otherwise configure tests breakRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17sdk.bbclass: Rename to nativesdk.bbclassRichard Purdie5
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-16qemu: Fix a GL passthrough bugRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-06-09qemu: Drop a ton of old now mostly inappropriate patches and update the ↵Richard Purdie13
qemugl passthrough patch Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-24qemu: Fix for machines without zlib headers/library installedRichard Purdie3
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-23qemu: Switch to git and version 0.10.5Richard Purdie18
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-21qemu-sdk/qemu-native: No longer need to depend on gcc 3.xRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-02-05qemu: Update 6374 -> 6477 to fix absolute position device issuesRichard Purdie15
2009-01-21qemu: Upgrade to svn revision 6374 for working passthroughRichard Purdie16
2009-01-21qemu: Add x86_64-softmmu targetRichard Purdie1
2009-01-20qemu-sdl: Remove i386-linux-user target for nowRichard Purdie2
2009-01-19qemu: Add host gl support for qemu x86Richard Purdie2
2009-01-05qemu: Upgrade to latest svn removing a ton of merged patches (yay)Richard Purdie62
2008-11-11Fix qemu build on 2.6.27Ross Burton2
Linux 2.6.27 removed linux/dirent.h, which qemu was included. Change this to include dirent.h.
2008-10-17qemu-sdk: Pass the disable-vnc-tls option since we don't have gnutls-sdkRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5531 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-24qemu-sdk: Build i386 QEMU for inclusion in the sdk.Robert Bradford2
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5264 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-29qemu: Fix SRC_URIRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4565 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-26qemu: Fix arm exception handling missing symbolRichard Purdie2
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4350 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-25qemu: List and refresh the revert_arm_tcg patchRichard Purdie2
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4347 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-25qemu: Add revert_arm_tcg patch, drop gcc3 check patchRichard Purdie2
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4343 311d38ba-8fff-0310-9ca6-ca027cbcb966