From owner-freebsd-arm@FreeBSD.ORG Sat Dec 21 06:10:50 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BE6F4F56; Sat, 21 Dec 2013 06:10:50 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7AB281B33; Sat, 21 Dec 2013 06:10:50 +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 rBL6AncA074067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Dec 2013 22:10:49 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id rBL6AnrL074066; Fri, 20 Dec 2013 22:10:49 -0800 (PST) (envelope-from jmg) Date: Fri, 20 Dec 2013 22:10:48 -0800 From: John-Mark Gurney To: Ian Lepore , freebsd-arm@FreeBSD.org Subject: Re: svn commit: r258412 - in head/sys/arm: at91 econa s3c2xx0 sa11x0 xscale/i80321 xscale/i8134x xscale/ixp425 xscale/pxa Message-ID: <20131221061048.GC99167@funkthat.com> Mail-Followup-To: Ian Lepore , freebsd-arm@FreeBSD.org References: <201311210108.rAL18AoQ051365@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201311210108.rAL18AoQ051365@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 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-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Fri, 20 Dec 2013 22:10:49 -0800 (PST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Dec 2013 06:10:50 -0000 Ian Lepore wrote this message on Thu, Nov 21, 2013 at 01:08 +0000: > Author: ian > Date: Thu Nov 21 01:08:10 2013 > New Revision: 258412 > URL: http://svnweb.freebsd.org/changeset/base/258412 > > Log: > Call cpu_setup() from the initarm() routine on platforms that don't use > the common FDT-aware initarm() in arm/machdep.c. > > Pointed out by: cognet > Pointy hat to: ian [...] > Modified: head/sys/arm/xscale/ixp425/avila_machdep.c > ============================================================================== > --- head/sys/arm/xscale/ixp425/avila_machdep.c Thu Nov 21 00:54:26 2013 (r258411) > +++ head/sys/arm/xscale/ixp425/avila_machdep.c Thu Nov 21 01:08:10 2013 (r258412) > @@ -405,6 +405,8 @@ initarm(struct arm_boot_params *abp) > * this problem will not occur after initarm(). > */ > cpu_idcache_wbinv_all(); > + cpu_setup(""); > + > /* ready to setup the console (XXX move earlier if possible) */ > cninit(); > /* > So, I finally got an AVILA board (thanks Jim@netgate) to do some testing on what stopped working... Turns out this commit break early output on the AVILA board... With this commit, I get no output when booting the kernel: RedBoot> load -b 0x200000 kernel.avila.avila Using default protocol (TFTP) Address offset = 0x40000000 Entry point: 0x00200100, address range: 0x00200000-0x006aedc8 RedBoot> go some previous pmap changes made the AVILA board panic... The pmap changes were made some time between July 1st and Aug 1st, and on kernels since then, I get: RedBoot> go panic: mtx_lock() of spin mutex pmap @ /usr/src.avila/sys/arm/arm/pmap.c:3677 Uptime: 1s Help! -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."