From owner-freebsd-arm@FreeBSD.ORG Sun Nov 17 04:29:44 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 D87227E7 for ; Sun, 17 Nov 2013 04:29:44 +0000 (UTC) Received: from mail-pb0-f46.google.com (mail-pb0-f46.google.com [209.85.160.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A171D2733 for ; Sun, 17 Nov 2013 04:29:44 +0000 (UTC) Received: by mail-pb0-f46.google.com with SMTP id wz17so173848pbc.33 for ; Sat, 16 Nov 2013 20:29:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=pctDjK1K2JBhy86bgAg7Bjhl7nrxngcYHLKwEGScQv4=; b=nICXHYPk24LPnItzW71fqIF2yIn9ntT6p0/3VYHX9swkaoIj7CSbu6YWXj/oPHCyx4 kbu9T6cZwrvC6JS2b9OYo/e75BDlisD4UTz13SX5aod0WokMV66VshyFtPONchhHkr9T ADQ5JKthblgd2gwHmMrPirzd+cWPEPJ+e7LSRp9qB49DdsbTZNNSjHXQ2WyBSHKQ7x4C yc7pKS7g4mlZT0K/PXyxQqFYqP1vMZAVBZkFdHF1a9MpwRCIzFP0Fam+WNYKniroJIJB xHXdJd89aJOewWZ/O54+AJ78LX0ov+woSN/UbejABL3POfXJZ+EwRiCemyDdmPWvLort rK/g== X-Gm-Message-State: ALoCoQlwmD49TxU778SeFGqfUXwDYPyZ7qwoEvMYvq7qI5JfCAz+9Jz+I6JoWRv7PMUrXwRmuJfX X-Received: by 10.66.119.136 with SMTP id ku8mr14694112pab.121.1384662578748; Sat, 16 Nov 2013 20:29:38 -0800 (PST) Received: from [192.168.2.126] (99-74-169-43.lightspeed.sntcca.sbcglobal.net. [99.74.169.43]) by mx.google.com with ESMTPSA id zq10sm16465786pab.6.2013.11.16.20.29.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 16 Nov 2013 20:29:38 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: change in ARM uboot API From: Tim Kientzle In-Reply-To: Date: Sat, 16 Nov 2013 20:27:21 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Leif Lindholm X-Mailer: Apple Mail (2.1822) 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, 17 Nov 2013 04:29:44 -0000 On Nov 16, 2013, at 9:53 AM, Leif Lindholm = wrote: > Hi, >=20 > (not subscribed from this address, so please cc on any response) >=20 > 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=3Du-boot.git;a=3Dcommit;h=3Dfe1378= a961e508b31b1f29a2bb08ba1dac063155 >=20 > 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. >=20 > If = http://svnweb.freebsd.org/base/head/sys/boot/arm/uboot/start.S?view=3Dmark= up > is the correct version to inspect, the current loader is affected. Thank you. I=92ll update that code to preserve both registers. Cheers, Tim Kientzle