switch newly enabled versatile architecture in lucid to default to a v7 CPU
thanks for re-enabling the versatile flavour in the mainline builds,
this helps to run qemu-system-arm again.
as you might know all lucid binaries are now built for the ARMv7
architecture with thumb2 support. By default the versatile kernel
flavour only supports the ARMv5 architecture, so even if we have the new
binary and can fire off a qemu VM, the userspace binaries will not run.
Below is a patch that tricks the versatile flavor into being run on a v7
CPU and thus makes the lucid binaries work.
This patch is not suitable for upstream as is (since it will not allow
qemu to emulate ARMv5 which is the used default armel architecture in
many distros but is essential for lucid)
please apply this two liner to our versatile build so we can make use of
qemu under armel in lucid.
From 138a258a3df4f4e22422e8a24d282cefe124970c Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Lo=C3=AFc=20Minier?= <email@example.com>
Date: Thu, 4 Jun 2009 15:53:41 +0200
Subject: [PATCH 02/22] Select a v7 CPU for versatile