From owner-freebsd-arm@FreeBSD.ORG Mon Jul 11 01:17:21 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5FB91065703 for ; Mon, 11 Jul 2011 01:17:21 +0000 (UTC) (envelope-from marktinguely@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6E93F8FC15 for ; Mon, 11 Jul 2011 01:17:21 +0000 (UTC) Received: by iyb11 with SMTP id 11so4180581iyb.13 for ; Sun, 10 Jul 2011 18:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=/p6o8b2kEcv43PMWaWQw+bZZxmvQfzD4P3QSBh4AOHc=; b=muf9+z4v+NyMrp9HwHd2NI6D0a2KHvxAvb5wz13cGFMEsXsm29rA15QhJRGHxekzsa N9q6KTiKM0Z6WqHfpUpnzPuSktttk4h72pzpoVsNALT6QtR7x5vr96m3RxbbGvrKieXt iwcdVnOze2vuj+0zqF8EefPM8o4lwIpzQA+QY= Received: by 10.42.132.10 with SMTP id b10mr4766305ict.76.1310347040845; Sun, 10 Jul 2011 18:17:20 -0700 (PDT) Received: from [192.168.1.111] ([206.188.254.192]) by mx.google.com with ESMTPS id q13sm4904541ibi.43.2011.07.10.18.17.19 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Jul 2011 18:17:19 -0700 (PDT) Message-ID: <4E1A4F18.5000802@gmail.com> Date: Sun, 10 Jul 2011 20:17:12 -0500 From: Mark Tinguely User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: "Brian J. McGovern" References: <20110708120025.5C94210656D9@hub.freebsd.org> <1310178351.5681.4.camel@bmcgover-laptop.beta.com> <4E18403C.8010203@gmail.com> <1310344111.1455.3.camel@bmcgover-laptop.beta.com> In-Reply-To: <1310344111.1455.3.camel@bmcgover-laptop.beta.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: Suggestions for arm build for qemu? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2011 01:17:21 -0000 On 7/10/2011 7:28 PM, Brian J. McGovern wrote: > [trimmed] >> I had a problem starting the boot with GUMSTIX kernel and qemu. I >> finally traced it to the change in arm/arm/elf_trampoline.c revision >> 194609. I kept a copy of that file with that change, but manually >> added the changes that followed it. >> >> Also you need to disable the "ARM_CACHE_LOCK_ENABLE" option in >> arm/xscale/std.h because qemu does not emulate every feature of the >> GUMSTIX. >> >> --Mark Tinguely. >> >> . > Thanks. I'm still working with the 8.2 source in CVS. It sounds like I'm > going to have to catch up to -CURRENT. > > The 194609 change is also in FreeBSD 8.2 elf_trampoline.c. When it was in the kernel, qemu would just sit there in some loop. With option ARM_CACHE_LOCK_ENABLE compiled into the kernel, qemu will give an illegal instruction error. --Mark Tinguely