From owner-freebsd-arm@FreeBSD.ORG Sat May 5 18:10:28 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52EF7106564A; Sat, 5 May 2012 18:10:28 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) by mx1.freebsd.org (Postfix) with ESMTP id B6F188FC1E; Sat, 5 May 2012 18:10:27 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id q45IAH2i048748 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 5 May 2012 11:10:17 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id q45IAHvn048747; Sat, 5 May 2012 11:10:17 -0700 (PDT) (envelope-from jmg) Date: Sat, 5 May 2012 11:10:17 -0700 From: John-Mark Gurney To: Warner Losh Message-ID: <20120505181016.GB2253@funkthat.com> Mail-Followup-To: Warner Losh , "arm@freebsd.org" , Alan Cox References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Sat, 05 May 2012 11:10:17 -0700 (PDT) Cc: "arm@freebsd.org" , Alan Cox Subject: Re: Review needed 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: Sat, 05 May 2012 18:10:28 -0000 Warner Losh wrote this message on Sat, May 05, 2012 at 00:45 -0600: > I just tried to bring up an old Gateworks AVILA board that I'd acquired a long time ago.... Hmm... weird... Late last year I brought my AVILA board back up on 9.0-RC1 and since I decided to try to boot from CF, I did have to update sys/boot/arm/ixp425/boot2/boot2.c to support the new ada devices instead of the old ad... but that's the only major change I made... > After fighting through a few bugs in the nanobsd build, I managed to get an image. > > That image failed to boot. When it harvested entropy, it just started printing pmap_mincore() over and over again until I hit ^T enough to let the rest of the boot process continue. Sure enough, arm's pmap_mincore() returns 0 after printing this. > > So, I cobbled together the following after looking at mips and amd64's pmap_mincore() functions. > > I've just cut and pasted it here since I think that might be easier to review than a diff, but I've also uploaded that as well to http://people.freebsd.org/~imp/arm-pmap_mincore.diff > > Comments? Must be a head only thing... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."