From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UPICx-0005aI-2J for mharc-grub-devel@gnu.org; Mon, 08 Apr 2013 15:58:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPICq-0005Zv-TZ for grub-devel@gnu.org; Mon, 08 Apr 2013 15:58:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPICm-000448-67 for grub-devel@gnu.org; Mon, 08 Apr 2013 15:58:20 -0400 Received: from mail-ea0-x229.google.com ([2a00:1450:4013:c01::229]:65412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPICl-000442-VH for grub-devel@gnu.org; Mon, 08 Apr 2013 15:58:16 -0400 Received: by mail-ea0-f169.google.com with SMTP id n15so2450876ead.14 for ; Mon, 08 Apr 2013 12:58:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type; bh=aubmQbD7+tMuGnjldCCeMILSrUk2XPPa9iwWz5WB7GM=; b=o+IcZ5gBfjmLQbtHWKTUH1Nhugcf9dpnKbWlicrjHZ2RqLaqXnuSPzrGEOfzRzBnoA VKljBGW2mmfmyE2zps8YBpm1NVc5rqVYd3WkxXHNyhnE5/RH7NEI2KRSh9pksiIHky83 8HajiVvYOV3fPfZvikQ3ItOGFOx6Yn6uZZrb2sHHXheLHb+nIsiW17ArORs2KUen+4Zd Ih58XfKU1Zs1RVqbQW44LyAE2+066rgADudkDA4Fo4+K/s3tUmKBlE06dywcCWfT5kGC YJBLEwcXfS2o5uyBllmrkMXTQWuY8yjeJzdrm3Afkuf2OKMengjIuIltOjbTn+ed8GMa aZXA== X-Received: by 10.15.107.205 with SMTP id cb53mr52337678eeb.14.1365451095028; Mon, 08 Apr 2013 12:58:15 -0700 (PDT) Received: from debian.x201.phnet (245-188.1-85.cust.bluewin.ch. [85.1.188.245]) by mx.google.com with ESMTPS id q5sm33993026eeo.17.2013.04.08.12.58.13 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Apr 2013 12:58:14 -0700 (PDT) Message-ID: <51632154.2050004@gmail.com> Date: Mon, 08 Apr 2013 21:58:12 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: Leif Lindholm , The development of GRUB 2 Subject: Re: Raspberry pi support References: <5161AAE3.6050403@gmail.com> <20130408114445.GS23069@rocoto.smurfnet.nu> <5162BF4F.3090307@gmail.com> <20130408144048.GT23069@rocoto.smurfnet.nu> In-Reply-To: <20130408144048.GT23069@rocoto.smurfnet.nu> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig1EABFB1F88A9FEE678890843" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::229 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2013 19:58:25 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1EABFB1F88A9FEE678890843 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > Then I need to add a configure test for this, causing a failure if the > option is missing. A toolchain that does not support this option cannot= > be used to build a reliable bare-metal image for ARM. >=20 > FSF GCC 4.7 onwards (and some distribution-patched 4.6) support this fl= ag. >=20 Why? According to http://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommitdiff;h=3Deb04cafba3a6f1eddb= db5ec031d8a7074930d5b9 older version simply have "implicit" -mno-unaligned-access and we support only GCC. >>> And for reasons stated above, -march=3D should be set to whatever you= r >>> target architecture is. Extracted by configure, I suppose? >> >> Hence --target-cpu=3Darmv[67] proposal.g >=20 > I think it is a bit overkill, since CFLAGS can cover it. >=20 The difference is that for all other targets you can compile for the lowest supported CPU and use it for all devices with this target but if I understand correctly on armv7 you need to insert some opcodes which would cause a crash on armv6. Is only cache flushing displays such kind of backward incompatibility? Another question: I see that efi/startup.S transitions to thumb but not uboot/startup.S. Was uboot compiled as arm in your port as well or do I miss sth? > / > Leif >=20 --------------enig1EABFB1F88A9FEE678890843 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAlFjIVQACgkQNak7dOguQgnH3wEAq3pluPtIQnQPML5OQOUUrtjd aSpPikR2i96eEJRWdH4A/1W71PwS7vbMyENKGFSHMBjGvSddLyBPHTsw08VDNhFH =VUxl -----END PGP SIGNATURE----- --------------enig1EABFB1F88A9FEE678890843--