From owner-freebsd-arm@FreeBSD.ORG Sun Nov 24 20:49:31 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D28F4DC4 for ; Sun, 24 Nov 2013 20:49:31 +0000 (UTC) Received: from nibbler.fubar.geek.nz (nibbler.fubar.geek.nz [199.48.134.198]) by mx1.freebsd.org (Postfix) with ESMTP id B82BE24DF for ; Sun, 24 Nov 2013 20:49:31 +0000 (UTC) Received: from bender.Home (97e5e46b.skybroadband.com [151.229.228.107]) by nibbler.fubar.geek.nz (Postfix) with ESMTPSA id 3E83D5DFFE; Sun, 24 Nov 2013 20:40:18 +0000 (UTC) Date: Sun, 24 Nov 2013 20:40:11 +0000 From: Andrew Turner To: Leif Lindholm Subject: Re: change in ARM uboot API Message-ID: <20131124204011.3baead38@bender.Home> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Nov 2013 20:49:31 -0000 On Sat, 16 Nov 2013 17:53:45 +0000 Leif Lindholm wrote: > Hi, > > (not subscribed from this address, so please cc on any response) > > I came across a bit of an issue with the ARM uboot GRUB port today, > which I believe will also affect the FreeBSD loader: > http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=commit;h=fe1378a961e508b31b1f29a2bb08ba1dac063155 > > In short, the global data pointer has now moved from r8 to r9, and > since no API bump was made as a result of this, software now needs to > preserve both of these registers across calls into u-boot. > > If > http://svnweb.freebsd.org/base/head/sys/boot/arm/uboot/start.S?view=markup > is the correct version to inspect, the current loader is affected. This should be fixed by r258527 [1]. Andrew [1] http://svnweb.freebsd.org/changeset/base/258527