From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brandon Maier Date: Tue, 23 Jun 2020 16:46:20 -0500 Subject: [External] Re: [PATCH] arm64: zynqmp: Support converting pm_cfg_obj.c In-Reply-To: <6c0ed1f0-e952-180d-0161-d2d0f01aba8d@lucaceresoli.net> References: <20200622204531.11301-1-brandon.maier@rockwellcollins.com> <768855ce-6ed4-8272-dc20-48003e50ad70@lucaceresoli.net> <6c0ed1f0-e952-180d-0161-d2d0f01aba8d@lucaceresoli.net> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jun 23, 2020 at 4:33 PM Luca Ceresoli wrote: > > Hi, > > On 23/06/20 23:23, Luca Ceresoli wrote: > > Hi Brandon, > > > > On 23/06/20 19:08, Brandon Maier wrote: > >> On Tue, Jun 23, 2020 at 10:18 AM Luca Ceresoli wrote: > >>> > >> I'm trying to get it to work with Buildroot. Buildroot does have a > >> package for uboot-tools, so I could use that to run it. I'd have to > >> move the config and build commands into Buildroot's uboot package. > >> Since the script belongs to U-Boot anyway, it seemed cleaner to > >> integrate it directly into U-Boot so it could be used by other build > >> systems too. > > > > I understand. But I also understand Michal's concern: the U-Boot > > makefiles are quite complex already, and this feature is a relatively > > minor improvement. > > > > Probably having the conversion in Buildroot could be even simpler as you > > can support _only_ the C format there and do the conversion > > unconditionally. Only one workflow, no ifs, simpler code. Don't forget > > to Cc: me if you send a patch for that, I'll be glad to review it. Either U-Boot or Buildroot is fine by me. If Yocto alreads does it in their U-Boot package then I can see that being a precedent for patching Buildroot. I'll drop this patch to U-Boot then. > > I almost forgot: I wrote some notes on how this could be implemented in > yocto a while back. The principles are pretty much the same so you might > be interested in reading them: > > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.yoctoproject.org_pipermail_meta-2Dxilinx_2019-2DNovember_004578.html&d=DwICaQ&c=ilBQI1lupc9Y65XwNblLtw&r=bIwUnEkCqKFQQ0RVQaaY0gBWY7SIAhmiWLyMS82_mSU&m=RYp4WeqFQ03XpIUkriybKoxAFXTNGqdNLAgzp4S2S8k&s=MswLT0A5A80afFFIfBit21JLH37rUpN4gBC_ACxPw6k&e= > Thanks! > > -- > Luca