Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VnTaO-0001OL-IN for mharc-grub-devel@gnu.org; Mon, 02 Dec 2013 08:30:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnTaG-0001I4-Qq for grub-devel@gnu.org; Mon, 02 Dec 2013 08:30:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnTaA-0007hR-6i for grub-devel@gnu.org; Mon, 02 Dec 2013 08:30:44 -0500 Received: from mail-we0-f170.google.com ([74.125.82.170]:50916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnTa9-0007hN-VZ for grub-devel@gnu.org; Mon, 02 Dec 2013 08:30:38 -0500 Received: by mail-we0-f170.google.com with SMTP id w61so12065149wes.15 for ; Mon, 02 Dec 2013 05:30:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=XRAi9NaxTCDXjyPtgTN5TgTzTikDPnXjhVbxU/iz6ZI=; b=No7SV9GDlSTCPIelXNznrjX867gVJhch+/kEysU6eWWydAirfFOGZ6w5fjhmN0b0/r FcQBvdbfmKZQZGb4IJqRncutjoRCvNcPNUfUHRKW6ofmhZLoGhGQvP7+CQO6/ZP06t8M 3WNVkaxZpaFGn6fq38IwWnZbMqOFlG6vu0/ocxotPiz0u4PdZWLc1dR98Xz91fECl4at gO8+enz3f21LUJBZQXja08jfQny9Z1UvYv4xCMNCy2Ri1iuSilRHQIXs8WQjKV8Lbxi5 bqlAR4m2zBpKQxlwDaUS5uYKQHCwnBHTxQLvD8hWtYQs2+5azG1mZcMz7vA3660UJ5t7 VjQw== X-Gm-Message-State: ALoCoQlF2Bch0f3+Zcx36DN4wLUxpnFpnI3AG9pSA89XKwSg4cfH0FJidSvvnxRPXq4tU6Zx7yoF X-Received: by 10.180.19.201 with SMTP id h9mr18038098wie.36.1385991036896; Mon, 02 Dec 2013 05:30:36 -0800 (PST) Received: from rocoto.smurfnet.nu ([2001:4b98:dc0:41:216:3eff:fea7:75f3]) by mx.google.com with ESMTPSA id dj8sm122817304wid.2.2013.12.02.05.30.35 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 02 Dec 2013 05:30:36 -0800 (PST) Date: Mon, 2 Dec 2013 14:30:51 +0100 From: Leif Lindholm To: The development of GNU GRUB Subject: Re: [PATCH, RFC, RFT] ARM relocation fixes Message-ID: <20131202133051.GE24997@rocoto.smurfnet.nu> References: <529AD1E8.8010305@gmail.com> <20131202105330.GA24997@rocoto.smurfnet.nu> <529C6820.9090902@gmail.com> <20131202112846.GC24997@rocoto.smurfnet.nu> <529C7305.5070002@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <529C7305.5070002@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.125.82.170 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, 02 Dec 2013 13:30:50 -0000 On Mon, Dec 02, 2013 at 12:46:13PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > >>> Amusingly, I wrote the attached > >> Nothing is attached to your mail. Right now could you pause work on > >> */dl.c: I'm reorganising them to declare more of it as platform > >> independent and unify handling (ARM dl.c is unnecessarily different from > >> other versions and forget some of ELF handling) > > > > Ok, I'll hold off. > > > I've uploaded current work to phcoder/reloc Ok, so I've tested this on arm64, and it works on the commercial FVP Base model (which does not trigger veneer generation due to its runtime memory map), but crashes on the Foundation model (which does). So the generic dl refactoring seems correct, but somehing about the veneers is fishy. My default ARMv7 UEFI build fails to grub-install with /work/local/grub/uefi/sbin/grub-install: error: bl/b.w targettting ARM. I am investigating these issues. / Leif