From: "Jon Mason" <jdmason@kudzu.us>
To: Sumit Garg <sumit.garg@linaro.org>
Cc: meta-arm@lists.yoctoproject.org,
Paul Barker <pbarker@konsulko.com>,
Denys Dmytriyenko <denis@denix.org>,
wmills@ti.com,
Richard Purdie <richard.purdie@linuxfoundation.org>,
Daniel Thompson <daniel.thompson@linaro.org>
Subject: Re: [meta-arm] [PATCH v3 4/5] meta-arm-toolchain: Add README
Date: Thu, 18 Jun 2020 18:53:28 -0400 [thread overview]
Message-ID: <20200618225328.GE22389@kudzu.us> (raw)
In-Reply-To: <CAFA6WYMvuoK6Gh4cAw_JxV_jyMb9FRBFbeT91bwq_cVxBk87VA@mail.gmail.com>
On Thu, Jun 18, 2020 at 11:17:21AM +0530, Sumit Garg wrote:
> On Thu, 18 Jun 2020 at 00:28, Jon Mason <jdmason@kudzu.us> wrote:
> >
> > On Tue, Jun 16, 2020 at 10:58:20AM +0530, Sumit Garg wrote:
> > > On Mon, 15 Jun 2020 at 23:46, Jon Mason <jdmason@kudzu.us> wrote:
> > > >
> > > > On Fri, Jun 12, 2020 at 04:02:07PM +0530, Sumit Garg wrote:
> > > > > Document usage details for GNU Arm toolchains which could either be built
> > > > > from source or pre-built.
> > > > >
> > > > > Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
> > > > > ---
> > > > > meta-arm-toolchain/README.md | 113 +++++++++++++++++++++++++++++++++++++++++++
> > > > > 1 file changed, 113 insertions(+)
> > > > > create mode 100644 meta-arm-toolchain/README.md
> > > > >
> > > > > diff --git a/meta-arm-toolchain/README.md b/meta-arm-toolchain/README.md
> > > > > new file mode 100644
> > > > > index 0000000..e415136
> > > > > --- /dev/null
> > > > > +++ b/meta-arm-toolchain/README.md
> > > > > @@ -0,0 +1,113 @@
> > > > > +meta-arm-toolchain Yocto Layer
> > > > > +==============================
> > > > > +
> > > > > +This layer contains recipes for GNU Arm toolchains which could either be built
> > > > > +from source or pre-built toolchain binaries.
> > > > > +
> > > > > +Information regarding contributing, reporting bugs, etc can be found in the
> > > > > +top-level meta-arm readme file.
> > >
> > > This comment.
> > >
> > > > > +
> > > > > +Source Arm toolchain for Linux development
> > > > > +------------------------------------------
> > > > > +
> > > > > +Recipes for GNU Arm toolchain built from source are provided under
> > > > > +``recipes-devtools/gcc/``. In order to use Arm toolchain instead of OE core
> > > > > +toolchain, one just needs to override ``GCCVERSION`` in corresponding distro
> > > > > +conf file.
> > > > > +
> > > > > +- Eg. to use GNU Arm toolchain version ``9.2``
> > > > > + GCCVERSION = "arm-9.2"
> > > > > +
> > > > > +Pre-built Arm toolchain for Linux development
> > > > > +---------------------------------------------
> > > > > +
> > > > > +Recipes for pre-built GNU Arm toolchain for Linux development are provided under
> > > > > +``recipes-devtools/external-arm-toolchain/``.
> > > > > +
> > > > > +external-arm-toolchain.bb
> > > > > +~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > > +
> > > > > +This recipe provides support for pre-built GNU toolchains targeting processors
> > > > > +from the Arm Cortex-A family and implementing the Arm A-profile architecture.
> > > > > +
> > > > > +Usage
> > > > > +^^^^^
> > > > > +
> > > > > +In order to use any of pre-built Arm toolchain versions (8.2, 8.3, 9.2 and so
> > > > > +on), a user needs to download and untar tool-set on host machine at a particular
> > > > > +installation path eg: ``/opt/toolchain/``. Then user needs to specify following
> > > > > +in ``conf/local.conf`` in order to replace OE toolchain with pre-built GNU-A
> > > > > +toolchain:
> > > > > +
> > > > > +TCMODE = "external-arm"
> > > > > +EXTERNAL_TOOLCHAIN = "<path-to-the-toolchain>"
> > > > > +
> > > > > +- Eg. for AArch64 (eg. qemuarm64 machine in poky distro)
> > > > > + EXTERNAL_TOOLCHAIN = "\
> > > > > + <installation-path>/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu \
> > > > > + "
> > > > > +
> > > > > +- Eg. for AArch32 (eg. qemuarm machine in poky distro)
> > > > > + EXTERNAL_TOOLCHAIN = "\
> > > > > + <installation-path>/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf \
> > > > > + "
> > > > > +
> > > > > +Supported distros and machines
> > > > > +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > > > > +
> > > > > +Since this pre-built GNU-A tool-set simply replaces OE toolchain, so it is
> > > > > +meant to be distro and machine agnostic as long as one is cross-compiling for
> > > > > +Arm A-profile architecture.
> > > > > +
> > > > > +Tested distro and machines (for zeus stable release):
> > > > > +1. Distro: poky; machines: qemuarm and qemuarm64 (build and boot tested)
> > > > > +2. Distro: RPB; machines: dragonboard-410c (build and boot tested)
> > > > > +3. Distro: world; machines: qemuarm and qemuarm64. Build tested for following
> > > > > + layers:
> > > > > + - poky/meta
> > > > > + - poky/meta-poky
> > > > > + - poky/meta-yocto-bsp
> > > > > + - meta-openembedded/meta-oe
> > > > > + - meta-openembedded/meta-python
> > > > > + - meta-openembedded/meta-networking
> > > > > +
> > > > > +SDK support
> > > > > +^^^^^^^^^^^
> > > > > +
> > > > > +Pre-built toochain provides support to build OE SDK which has been tested using
> > > > > +following commands:
> > > > > +
> > > > > +$ bitbake core-image-base -c populate_sdk
> > > > > +$ bitbake core-image-base -c testsdk
> > > > > +
> > > > > +Note: Currently generated SDK only uses glibc provided by pre-built toolchain.
> > > > > + The cross compiler, binutils, gdb/gdbserver etc. are built from source.
> > > > > + This is something we would like to improve in future in order to package
> > > > > + most of the components from pre-built toolchain instead.
> > > > > +
> > > > > +Pre-built Arm toolchain for bare-metal development
> > > > > +--------------------------------------------------
> > > > > +
> > > > > +Recipes for pre-built GNU Arm toolchain for bare-metal development are provided
> > > > > +under ``recipes-devtools/external-arm-toolchain/``.
> > > > > +
> > > > > +gcc-arm-none-eabi_<version>.bb
> > > > > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > > +
> > > > > +This recipe provides support for pre-built GNU Arm Embedded toolchain for
> > > > > +bare-metal software development on devices based on 32-bit Arm Cortex-A,
> > > > > +Cortex-R and Cortex-M processors.
> > > > > +
> > > > > +Supported version: 9-2019-q4-major
> > > > > +
> > > > > +gcc-aarch64-none-elf_<version>.bb
> > > > > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > > +
> > > > > +This recipe provides support for pre-built GNU Arm toolchain for bare-metal
> > > > > +software development on devices based on 64-bit Arm Cortex-A processors.
> > > > > +
> > > > > +Supported version: 9.2-2019.12
> > > > > +
> > > > > +Layer maintainer(s)
> > > > > +-------------------
> > > > > +* Sumit Garg <sumit.garg@linaro.org>
> > > >
> > > > Linaro is the origin of this code, and I think it is important to
> > > > recognize this.
> > >
> > > Thanks.
> > >
> > > > However, I would like some clarification as to what
> > > > this role is recognized to be and how interactions with the community
> > > > will occur.
> > > >
> > > > Specifically, I want all patches on the list and no pull requests.
> > > > This is an active community, and I want to guarantee that all voices
> > > > are heard, and comments addressed. I'm fairly sure you are in
> > > > agreement with this, as this is what you've been doing already.
> > >
> > > Yes I am in agreement with this.
> > >
> > > > But
> > > > since we are formalizing this with the above entry, I want it to be
> > > > written somewhere :)
> > >
> > > Isn't the comment on top of this README above sufficient to formalize this?
> >
> > It is sufficient for me.
> >
> > For giggles, I did a quick look at the contributors since it was
> > added.
> >
> > $ git log meta-arm-toolchain/ | grep Author | sort | uniq -c
> > 14 Author: Denys Dmytriyenko <denys@ti.com>
> > 2 Author: Jon Mason <jdmason@kudzu.us>
> > 1 Author: Ralph Siemsen <ralph.siemsen@linaro.org>
> > 2 Author: Sumit Garg <sumit.garg@linaro.org>
> >
> > It looks like Denys should probably be a maintainer too. Given that
> > he has a unique use case and is testing this throughly (as he's found
> > my patches to be very lacking). I don't know if he is interested in
> > the extra burden of this, but I think you two would make a good pair
> > and help give some validity to this being a group project.
> >
>
> It's fine with me. Could you make the corresponding change while
> applying or would you like me to spin up the next version?
I took the silence on this series as an implicit ack and pushed it
this morning before seeing the new comments. Sorry about that.
Given the above, I committed a single line patch to add Denys as a
co-maintainer and pushed it to master.
So, hopefully no one is pissed off too much with both of the above.
If so, please respond to patches with
"Hold off. I want to review this before committing". Otherwise, I'll
take silence as an ack.
Thanks,
Jon
>
> -Sumit
>
> > Anyway, I'll pull this series in now.
> >
> > Thanks,
> > Jon
> >
> > >
> > > -Sumit
> > >
> > > >
> > > > Thanks,
> > > > Jon
> > > >
> > > >
> > > >
> > > > > --
> > > > > 2.7.4
> > > > >
> > > >
> > > > >
> > > >
next prev parent reply other threads:[~2020-06-18 22:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-12 10:32 [PATCH v3 0/5] external-arm-toolchain: Add support for SDK generation Sumit Garg
2020-06-12 10:32 ` [PATCH v3 1/5] external-arm-toolchain: Remove glibc locale dependency Sumit Garg
2020-06-12 10:32 ` [PATCH v3 2/5] external-arm-toolchain: Refine dev libraries/headers packaging Sumit Garg
2020-06-12 10:32 ` [PATCH v3 3/5] external-arm-toolchain: Align glibc packaging to OE TARGET_SYS Sumit Garg
2020-06-17 19:17 ` Denys Dmytriyenko
2020-06-18 5:34 ` Sumit Garg
2020-06-18 7:03 ` [meta-arm] " Denys Dmytriyenko
2020-06-18 8:12 ` Sumit Garg
2020-06-12 10:32 ` [PATCH v3 4/5] meta-arm-toolchain: Add README Sumit Garg
2020-06-15 18:16 ` [meta-arm] " Jon Mason
2020-06-16 5:28 ` Sumit Garg
2020-06-17 18:58 ` Jon Mason
2020-06-17 19:21 ` Denys Dmytriyenko
2020-06-18 5:47 ` Sumit Garg
2020-06-18 22:53 ` Jon Mason [this message]
[not found] ` <20200616100639.7gx6fzyz2m7czcs4@holly.lan>
2020-06-17 18:52 ` Jon Mason
2020-06-12 10:32 ` [PATCH v3 5/5] external-arm-toolchain: Add package specific licenses Sumit Garg
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-all 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=20200618225328.GE22389@kudzu.us \
--to=jdmason@kudzu.us \
--cc=daniel.thompson@linaro.org \
--cc=denis@denix.org \
--cc=meta-arm@lists.yoctoproject.org \
--cc=pbarker@konsulko.com \
--cc=richard.purdie@linuxfoundation.org \
--cc=sumit.garg@linaro.org \
--cc=wmills@ti.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.