From owner-freebsd-arm@FreeBSD.ORG Mon Jul 11 22:47:42 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 CF67E106564A for ; Mon, 11 Jul 2011 22:47:42 +0000 (UTC) (envelope-from mcgovern@beta.com) Received: from spoon.beta.com (spoon.beta.com [199.165.180.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4FEC28FC0A for ; Mon, 11 Jul 2011 22:47:41 +0000 (UTC) Received: from [199.165.180.39] (dhcp9.beta.com [199.165.180.39]) by spoon.beta.com (8.14.4/8.14.4) with ESMTP id p6CIlX3s001473; Tue, 12 Jul 2011 14:47:33 -0400 (EDT) (envelope-from mcgovern@beta.com) From: "Brian J. McGovern" To: Mark Tinguely In-Reply-To: <4E1A4F18.5000802@gmail.com> 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> <4E1A4F18.5000802@gmail.com> Content-Type: text/plain; charset="us-ascii" Date: Mon, 11 Jul 2011 15:25:31 -0400 Message-ID: <1310412331.1466.41.camel@bmcgover-laptop.beta.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.3 required=5.0 tests=DATE_IN_PAST_12_24,S25R_6, T_RP_MATCHES_RCVD autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on spoon.beta.com 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 22:47:42 -0000 [trimmed] > 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 > I saw that, but when you commented about hand-editing additional changes in to the file, I figured there was "more" that I hadn't picked up yet. As to ARM_CACHE_LOCK_ENABLE, I commented it in /usr/src/sys/arm/xscale/std.xscale, and that seems to removing it from the kernel. At this point, I'm still running in to a: "qemu: fatal: Trying to execute code outside of RAM or ROM at 0x300080e0" after having used an example at http://wiki.openmoko.org/wiki/FreeBSD for mkimage with QEMU 0.14.1 (qemu-devel). I remember there being a patch to allow for compressed kernels, so I need to dig that out when I get back to trying this again.