From: Luca Ceresoli via buildroot <buildroot@buildroot.org>
To: Neal Frager <neal.frager@amd.com>
Cc: ibai.erkiaga-elorza@amd.com, michal.simek@amd.com,
thomas.petazzoni@bootlin.com, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v3 4/6] package/toolchain-bare-metal: new package
Date: Fri, 22 Sep 2023 14:55:59 +0200 [thread overview]
Message-ID: <20230922145559.49b4ad96@booty> (raw)
In-Reply-To: <20230904100443.1613306-4-neal.frager@amd.com>
Hello,
On Mon, 4 Sep 2023 11:04:41 +0100
Neal Frager <neal.frager@amd.com> wrote:
> This patch adds a new virtual package for adding a bare-metal toolchain to
> buildroot. By default, this package will configure a bare-metal toolchain
> for the Xilinx microblaze little endian architecture. When configured for
> the Xilinx microblaze architecture, this toolchain can be used to build the
> microblaze firmware applications for zynqmp and versal.
>
> Signed-off-by: Ibai Erkiaga-Elorza <ibai.erkiaga-elorza@amd.com>
> Signed-off-by: Neal Frager <neal.frager@amd.com>
> ---
> V1->V2:
> - adds select option to bring in all packages needed for toolchain-bare-metal
> V2->V3:
> - no changes/
> ---
> DEVELOPERS | 2 ++
> package/Config.in.host | 1 +
> package/toolchain-bare-metal/Config.in.host | 21 +++++++++++++++++++
> .../toolchain-bare-metal.mk | 7 +++++++
I wonder whether this should be in toolchain/ instead of package/.
> 4 files changed, 31 insertions(+)
> create mode 100644 package/toolchain-bare-metal/Config.in.host
> create mode 100644 package/toolchain-bare-metal/toolchain-bare-metal.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index b8daa9183a..5978d79a06 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1331,6 +1331,7 @@ N: Ibai Erkiaga-Elorza <ibai.erkiaga-elorza@amd.com>
> F: package/binutils-bare-metal/
> F: package/gcc-bare-metal/
> F: package/newlib-bare-metal/
> +F: package/toolchain-bare-metal/
>
> N: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
> F: package/angularjs/
> @@ -2200,6 +2201,7 @@ F: package/binutils-bare-metal/
> F: package/bootgen/
> F: package/gcc-bare-metal/
> F: package/newlib-bare-metal/
> +F: package/toolchain-bare-metal/
> F: package/versal-firmware/
>
> N: Nicola Di Lieto <nicola.dilieto@gmail.com>
> diff --git a/package/Config.in.host b/package/Config.in.host
> index aa1f15e3ac..103d461a7f 100644
> --- a/package/Config.in.host
> +++ b/package/Config.in.host
> @@ -106,6 +106,7 @@ menu "Host utilities"
> source "package/systemd/Config.in.host"
> source "package/tegrarcm/Config.in.host"
> source "package/ti-cgt-pru/Config.in.host"
> + source "package/toolchain-bare-metal/Config.in.host"
> source "package/uboot-tools/Config.in.host"
> source "package/util-linux/Config.in.host"
> source "package/utp_com/Config.in.host"
> diff --git a/package/toolchain-bare-metal/Config.in.host b/package/toolchain-bare-metal/Config.in.host
> new file mode 100644
> index 0000000000..629b58d9c5
> --- /dev/null
> +++ b/package/toolchain-bare-metal/Config.in.host
> @@ -0,0 +1,21 @@
> +config BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL
> + bool "host toolchain-bare-metal"
> + select BR2_PACKAGE_HOST_BINUTILS_BARE_METAL
> + select BR2_PACKAGE_HOST_GCC_BARE_METAL
> + select BR2_PACKAGE_HOST_NEWLIB_BARE_METAL
> + help
> + toolchain-bare-metal is a host utility for a bare-metal toolchain
"Build a bare-metal toolchain in addition to the main Linux toolchain"
or something similar?
> +
> +if BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL
> +
> +config BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL_ARCH
> + string
> + default "microblazeel-xilinx"
> + help
> + select architecture for bare-metal toolchain
> +
> +source "package/binutils-bare-metal/Config.in.host"
> +source "package/gcc-bare-metal/Config.in.host"
> +source "package/newlib-bare-metal/Config.in.host"
> +
> +endif #BR2_PACKAGE_HOST_TOOLCHAIN_BARE_METAL
> diff --git a/package/toolchain-bare-metal/toolchain-bare-metal.mk b/package/toolchain-bare-metal/toolchain-bare-metal.mk
> new file mode 100644
> index 0000000000..407ad4ea33
> --- /dev/null
> +++ b/package/toolchain-bare-metal/toolchain-bare-metal.mk
> @@ -0,0 +1,7 @@
> +################################################################################
> +#
> +# toolchain-bare-metal
> +#
> +################################################################################
> +
> +(eval $(host-virtual-package))
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-09-22 13:15 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-04 10:04 [Buildroot] [PATCH v3 1/6] package/binutils-bare-metal: new package Neal Frager via buildroot
2023-09-04 10:04 ` [Buildroot] [PATCH v3 2/6] package/gcc-bare-metal: " Neal Frager via buildroot
2023-09-22 12:53 ` Luca Ceresoli via buildroot
2023-09-04 10:04 ` [Buildroot] [PATCH v3 3/6] package/newlib-bare-metal: " Neal Frager via buildroot
2023-09-22 12:54 ` Luca Ceresoli via buildroot
2023-09-04 10:04 ` [Buildroot] [PATCH v3 4/6] package/toolchain-bare-metal: " Neal Frager via buildroot
2023-09-22 12:55 ` Luca Ceresoli via buildroot [this message]
2023-09-04 10:04 ` [Buildroot] [PATCH v3 5/6] boot/zynqmp-firmware: new boot firmware Neal Frager via buildroot
2023-09-22 12:57 ` Luca Ceresoli via buildroot
2023-09-04 10:04 ` [Buildroot] [PATCH v3 6/6] boot/uboot.mk: new zynqmp pmufw build option Neal Frager via buildroot
2023-09-22 12:58 ` Luca Ceresoli via buildroot
2023-09-22 12:52 ` [Buildroot] [PATCH v3 1/6] package/binutils-bare-metal: new package Luca Ceresoli via buildroot
2023-09-22 13:34 ` Frager, Neal via buildroot
2023-09-22 13:57 ` Luca Ceresoli via buildroot
2023-09-22 14:57 ` Frager, Neal via buildroot
[not found] ` <MN0PR12MB60045761B225083426E7B1A1A0FFA@MN0PR12MB6004.namprd12.prod.outlook.com>
2023-09-23 9:50 ` Frager, Neal via buildroot
2023-09-25 2:59 ` Luca Ceresoli via buildroot
2023-09-25 3:43 ` Frager, Neal via buildroot
2023-10-01 11:24 ` Peter Korsgaard
2023-10-01 16:11 ` Frager, Neal via buildroot
2023-10-03 7:15 ` Luca Ceresoli via buildroot
2023-10-04 21:57 ` Thomas Petazzoni via buildroot
2023-10-05 5:59 ` Frager, Neal via buildroot
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=20230922145559.49b4ad96@booty \
--to=buildroot@buildroot.org \
--cc=ibai.erkiaga-elorza@amd.com \
--cc=luca.ceresoli@bootlin.com \
--cc=michal.simek@amd.com \
--cc=neal.frager@amd.com \
--cc=thomas.petazzoni@bootlin.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.