Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vno4W-0004El-4B for mharc-grub-devel@gnu.org; Tue, 03 Dec 2013 06:23:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vno4O-0004Cg-3x for grub-devel@gnu.org; Tue, 03 Dec 2013 06:23:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vno4I-00072b-4w for grub-devel@gnu.org; Tue, 03 Dec 2013 06:23:12 -0500 Received: from mail-wi0-f172.google.com ([209.85.212.172]:59833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vno4H-00072T-VT for grub-devel@gnu.org; Tue, 03 Dec 2013 06:23:06 -0500 Received: by mail-wi0-f172.google.com with SMTP id en1so6335649wid.5 for ; Tue, 03 Dec 2013 03:23:05 -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=IALQGEMBiZX+pGbcNDpM8pJQVFtWyiQkpK5xYH1L8IQ=; b=MntpNKHo0M+JD0mEFrO1y2PS3P6TjQWR4/HdDWyg7NwX4j+AM7PlWQumlLskWsoROB PBhAAaGcZ6DmV3KJp8qnRdgWJbJDxGDTKrC6blPXoB3CEAkRVtFI2Yv6ueg6Cphfs15W rUB71ewLjTx0mcP/udcbVYH4JVUPogoPUyMuvFzaizoA+gsAgrEVkxPxVMnW2rnJf/xc +lpsW/lTHpZmda+mUfSM/Z5fmc/07uAoqoMBECG5AnmZk87rZlsLeRaLZ4O/kvqzrbnO E7EqphVpGWTSyldbk1yQBB69sjmallDBkhhKYqwBg9udHUtd/RX91VDYf+Uoc8yFUbeS NUAA== X-Gm-Message-State: ALoCoQl8ZP1PV5eniRg+SP8QBVYuP0LiMFhFGTRMGYq4EFA2c2DUg3dEhzvXaJfZs4+hPiLNlRU6 X-Received: by 10.194.94.167 with SMTP id dd7mr6666457wjb.43.1386069785128; Tue, 03 Dec 2013 03:23:05 -0800 (PST) Received: from rocoto.smurfnet.nu ([2001:4b98:dc0:41:216:3eff:fea7:75f3]) by mx.google.com with ESMTPSA id bk7sm4517683wib.10.2013.12.03.03.23.03 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 03 Dec 2013 03:23:04 -0800 (PST) Date: Tue, 3 Dec 2013 12:23:19 +0100 From: Leif Lindholm To: The development of GNU GRUB Subject: Re: [PATCH, RFC, RFT] ARM relocation fixes Message-ID: <20131203112319.GU24997@rocoto.smurfnet.nu> References: <20131202105330.GA24997@rocoto.smurfnet.nu> <529C6820.9090902@gmail.com> <20131202112846.GC24997@rocoto.smurfnet.nu> <529C7305.5070002@gmail.com> <20131202133051.GE24997@rocoto.smurfnet.nu> <529CC74C.2060903@gmail.com> <20131202194020.GN24997@rocoto.smurfnet.nu> <529CE7DF.6000906@gmail.com> <20131202204622.GO24997@rocoto.smurfnet.nu> <529D91C0.8040109@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <529D91C0.8040109@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: 209.85.212.172 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: Tue, 03 Dec 2013 11:23:18 -0000 On Tue, Dec 03, 2013 at 09:09:36AM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > >>> Ah. When linking with a standalone linker, it rewrites BL to BLX where > >>> this is required for state change > >> > >> Doesn't this require Thumb2 ? > > > > No, BLX immediate has been supported since ARMv5T. > > (Yes, that is effectively a 32-bit encoding in what is a 16-bit > > instruction set - but so is the basic BL.) > > > In my branch I added veneers to mkimage. Do you have a tutorial on > setting up arm-efi VM? It is slightly trickier for 32-bit ARM, in that we don't have a costless model available. There is a port to Qemu underway, but it is not entirely complete, and requires a patch or two in Qemu. I can however verify that 559c2fe runs correctly on my TC2 hardware platform. / Leif