FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 12-02-2009, 01:00 PM
Oliver Grawert
 
Default switch newly enabled versatile architecture in lucid to default to a v7 CPU

hi,

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.

ciao
oli

From 138a258a3df4f4e22422e8a24d282cefe124970c Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Lo=C3=AFc=20Minier?= <lool@dooz.org>
Date: Thu, 4 Jun 2009 15:53:41 +0200
Subject: [PATCH 02/22] Select a v7 CPU for versatile

---
arch/arm/mach-versatile/Kconfig | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-versatile/Kconfig
b/arch/arm/mach-versatile/Kconfig
index c781f30..00b59ae 100644
--- a/arch/arm/mach-versatile/Kconfig
+++ b/arch/arm/mach-versatile/Kconfig
@@ -3,14 +3,14 @@ menu "Versatile platform type"

config ARCH_VERSATILE_PB
bool "Support Versatile/PB platform"
- select CPU_ARM926T
+ select CPU_V7
default y
help
Include support for the ARM(R) Versatile/PB platform.

config MACH_VERSATILE_AB
bool "Support Versatile/AB platform"
- select CPU_ARM926T
+ select CPU_V7
help
Include support for the ARM(R) Versatile/AP platform.

--
1.6.3.1

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 06:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org