From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1B2A81A1E18 for ; Mon, 8 Aug 2016 21:07:39 -0700 (PDT) Received: by mail-wm0-x22d.google.com with SMTP id o80so7326609wme.1 for ; Mon, 08 Aug 2016 21:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UGXG1Rk7fi6hYnFApm8XoYrF5ZcrL36lJRmzdD/qivo=; b=bF4/g0+GiQ2fWZCmyBykVpuGZNw59tgWt7T+0LBpy03NKuOu2X62gz3Jz5myA/CF5t 3sh79r4ZHhoBslLuGM718Vr80JtFseAuGzlWzFbH0KCFxx4GC3Vjfk0qrIEJm5zWqrZ+ iKwZPxChhJJ2ZWKy9xIeoxISwtZzFi4bwTYFLR6FEZWS8XhYkRI03uln24htvXm+AufZ UUxBUULQ8HYvkhiOj3tWm21w+kTS9Iys9shAeAioeD4EgTJGa6P1J8kRG4MTgNl/C7RO zdfJoCZD2qpaedA+qHM0SjR1MvpuEnLGsvnRb3UwehL9GZMKLtpk3Yr7zjdxtvOozXD/ og/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UGXG1Rk7fi6hYnFApm8XoYrF5ZcrL36lJRmzdD/qivo=; b=iZd0kLNfPb/C8tcg8KP3vtJY2+iEunWni68E0m74nnsuzKbQ8el3S7hnqncvZnql5d 08dNfB63koj393DcdCJYBwXT8QJTMzWCjxIF490roacTY4JjtQHNlSZbUhWB8E4ROx/j ln8DHlF3kZ8qixkfRPI6gMr+ff3KMI2QEO8r+qAv6in0jq7K8iAOTHogkw3U5uzyQUMz XurAKPtTP0Zk5PTp/Mj2ZvG/qSe+yqVAEHLo5LOn+T5OjarESvXiej1Fi5Rl/4rqNMA2 j2VgABULeM0AqWI5Zt1MbRibi+8hy496NJJr3MmSiJp6f0nohGizRt4TXofXeVVneLUK FR4Q== X-Gm-Message-State: AEkoouuuAWsmCYW+l7t5fkR/RuhGNALt3I9JPyED/l5i9H+TWu+RXHTxNk8bnqPU/xsT/i+RCpduy71cK524VA== X-Received: by 10.194.120.129 with SMTP id lc1mr87247473wjb.131.1470715656927; Mon, 08 Aug 2016 21:07:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.238.198 with HTTP; Mon, 8 Aug 2016 21:07:36 -0700 (PDT) In-Reply-To: References: From: Michael Zimmermann Date: Tue, 9 Aug 2016 06:07:36 +0200 Message-ID: To: valerij zaporogeci Cc: edk2-devel , Ard Biesheuvel , Leif Lindholm X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Re: Toolchain question X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2016 04:07:39 -0000 Content-Type: text/plain; charset=UTF-8 Hi, I assume that you are using linux because you're talking about ELF files. MinGW may be able to compile PE images in Linux but tbh there's no reason for that and the "freaking" translation is actually a pretty good implementation and works very well. As for the kind of toolchain to use: there's always (at least) two types: bare metal toolchains(arm-eabi,arm-none-eabi, aarch64-elf), and the ones with a OS ABI(androideabi, linux-gnueabi,linux-gnueabihf, ...). While unlike other bootloader/kernel projects EDK2 seems to work with all of them I can only recommend using the bare metal variants. For ARM and AArch64 I recommend using linaro's latest stable release(5.3 at the time of writing): http://www.linaro.org/downloads/ sometimes the website is out of date and you can go here directly: https://releases.linaro.org/components/toolchain/binaries/ I've also CC'ed the Arm maintainers so you'll actually get answers unlike me when I asked the same question about a year ago ;) Thanks Michael On Tue, Aug 9, 2016 at 2:29 AM, valerij zaporogeci wrote: > Sorry for the really dumb question, but I wanted to ask you. What > compilers/tools you are using for building your UEFI/PI implementation > on arm (both aarch32 (armv7) and aarch64)? And generally, is there a > toolchain (available for downloading (not necessarily free) in binary > form) for the arm architecture able to make PE/COFF images natively, > without freaking translation from elf? > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel >