From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Chris Co <Christopher.Co@microsoft.com>
Cc: "Gao, Liming" <liming.gao@intel.com>,
Leif Lindholm <leif.lindholm@linaro.org>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
Charles Garcia-Tobin <Charles.Garcia-Tobin@arm.com>
Subject: Re: [PATCH v2 1/1] BaseTools/tools_def: Add GCC49xASL Toolchain support
Date: Tue, 26 Jun 2018 20:51:54 +0200 [thread overview]
Message-ID: <CAKv+Gu_ePt40JST+oFQ2+Ds9Uo88=bUiL4E3Xqo6kH3Rz0d5CQ@mail.gmail.com> (raw)
In-Reply-To: <DM5PR2101MB11286E553DD81A9AB8E626CC94490@DM5PR2101MB1128.namprd21.prod.outlook.com>
On 26 June 2018 at 20:42, Chris Co <Christopher.Co@microsoft.com> wrote:
>
>
>> -----Original Message-----
>> From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>> Sent: Tuesday, June 26, 2018 1:22 AM
>> To: Gao, Liming <liming.gao@intel.com>
>> Cc: Chris Co <Christopher.Co@microsoft.com>; edk2-devel@lists.01.org; Leif
>> Lindholm <leif.lindholm@linaro.org>; Charles Garcia-Tobin <Charles.Garcia-
>> Tobin@arm.com>
>> Subject: Re: [edk2] [PATCH v2 1/1] BaseTools/tools_def: Add GCC49xASL
>> Toolchain support
>>
>> On 26 June 2018 at 06:40, Gao, Liming <liming.gao@intel.com> wrote:
>> > Chris:
>> > Here is the example usage. You can add below [BuildOptions] in your
>> platform DSC. Then, it will use override ASL path and flag.
>> >
>> > [BuildOptions]
>> > *_*_*_ASL_PATH == C:\Asl\asl.exe
>> > *_*_*_ASL_FLAGS == /MsftInternal
>> > *_*_*_ASL_OUTFLAGS == /Fo=
>> >
>>
>> I strongly prefer this over adding a new MS specific toolchain definition.
>>
>
> Thanks Liming! I added these overrides and they works great. Since we can do platform dsc overrides, I also used it to override the objcopy_path and symrename_path which was the other change we needed for building on Windows.
> GCC:*_*_*_OBJCOPY_PATH = noop
> GCC:*_*_*_SYMRENAME_PATH = noop
>
> Ard, I agree this is the better method. We can drop this patch in favor of the platform dsc overrides.
>
> Leif, I tested GCC7.3 arm-eabi and ran into build errors. Found out this was an issue encountered before: https://bugs.linaro.org/show_bug.cgi?id=2909
> I made a couple modifications to Trim.py to fix the errors and was able to successfully build and test. Will submit the fix for review and update our toolchain to use GCC7.3 with GCC5 profile.
>
That is good news.
So I guess we're all set to start incorporating this platform.
Any clue whether there is also a device tree available for this
platform? I would prefer it if we could make the firmware OS agnostic,
rather than have Windows-only and Linux-only platforms in the
edk2-platforms tree.
next prev parent reply other threads:[~2018-06-26 18:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-23 0:57 [PATCH v2 0/1] BaseTools/tools_def: Add GCC49xASL Toolchain support Chris Co
2018-06-23 0:57 ` [PATCH v2 1/1] " Chris Co
2018-06-25 1:38 ` Gao, Liming
2018-06-25 7:33 ` Ard Biesheuvel
2018-06-25 8:15 ` Gao, Liming
2018-06-25 18:21 ` Chris Co
2018-06-25 19:10 ` Leif Lindholm
2018-06-25 19:50 ` Chris Co
2018-06-26 4:40 ` Gao, Liming
2018-06-26 8:22 ` Ard Biesheuvel
2018-06-26 18:42 ` Chris Co
2018-06-26 18:51 ` Ard Biesheuvel [this message]
2018-06-27 4:14 ` Chris Co
2018-06-27 5:07 ` Ard Biesheuvel
2018-06-29 3:49 ` Chris Co
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKv+Gu_ePt40JST+oFQ2+Ds9Uo88=bUiL4E3Xqo6kH3Rz0d5CQ@mail.gmail.com' \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox