Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: "Frager, Neal" <neal.frager@amd.com>
Cc: "Simek, Michal" <michal.simek@amd.com>,
	"buildroot@buildroot.org" <buildroot@buildroot.org>,
	Luca Ceresoli <luca.ceresoli@bootlin.com>,
	"thomas.petazzoni@bootlin.com" <thomas.petazzoni@bootlin.com>,
	"Erkiaga Elorza, Ibai" <ibai.erkiaga-elorza@amd.com>
Subject: Re: [Buildroot] [PATCH v3 1/6] package/binutils-bare-metal: new package
Date: Sun, 01 Oct 2023 13:24:28 +0200	[thread overview]
Message-ID: <877co67fgz.fsf@48ers.dk> (raw)
In-Reply-To: <7AD8C3E2-4A82-434F-8C3D-6B9B5E53E798@amd.com> (Neal Frager's message of "Mon, 25 Sep 2023 03:43:21 +0000")

>>>>> "Frager," == Frager, Neal <neal.frager@amd.com> writes:

Hello,

 >>> Is this ok for both of you?
 >> 
 >> I'm OK with the whole approach, except for the sentence "I do not
 >> believe there is currently any organized effort to upstream any of
 >> these patches"... which is probably already clear to the recipients
 >> of this message, and thus is not going to be solved in this thread,
 >> however I just want to be sure my position is clear. I'd also like to
 >> stress that I appreciate a lot the work you are doing to properly
 >> support the pmufw in Buildroot. Thanks!
 >> 
 >> Luca

 > Your position is very clear.  And I can assure you that both Ibai and I agree with it.

 > It would be much better if all of these binutils and gcc patches for
 > microblaze go upstream, and both Ibai and I have pushed for it
 > internally at AMD / Xilinx.

 > The only thing I can say is that change is always possible.
 > Yesterday, we could not build a zynqmp pmufw, versal plm or versal
 > psmfw in buildroot.  Today, we have submitted a solution to change
 > that.

 > Tomorrow (figurative meaning the future), we hope to get all these
 > binutils and gcc patches upstream, so the upstream toolchain matches
 > the AMD Xilinx distributed toolchain.

 > One step at a time.

Sure! Sorry, I am somewhat late to the review game here. I wonder how
this fits with Luca's zynqmp-pmufw-builder?

E.G. today the setup is that the pmufw is built outside Buildroot and we
just point the u-boot package to where it can fetch the prebuilt
firmware binary - This is nice in the sense that it is fast and simple,
but makes is somewhat annoying to make modifications to the firmware.

This series instead goes to the other extreme, E.G. we build the entire
microblaze toolchain from scratch and then use it to build the firmware
and use it in the u-boot package - This is nice because it is all in
Buildroot and we have it all under control, but also brings quite some
build time overhead for building the toolchain before building the
(small) toolchain. You can naturally "solve" it by using two defconfigs,
E.G. one that builds the pmufw and another that uses the prebuilt one,
but it isn't very handy either.

Would an in between option not be more interesting, E.G. use (or
download) a prebuilt microblaze toolchain and use that to build the
firmware? That would still give the flexibility to easily tweak the
firmware, but not the overhead of building the toolchain every time?

I guess the problems with that are what to do about the meta-xilinx
patches and where/who wants to host a prebuilt one?

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2023-10-01 11:24 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
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 [this message]
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=877co67fgz.fsf@48ers.dk \
    --to=peter@korsgaard.com \
    --cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox