From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 26 Jun 2019 17:32:49 -0400 Subject: [U-Boot] python3 support for pylibfdt In-Reply-To: References: <20190619182219.GT9388@bill-the-cat> Message-ID: <20190626213249.GG9388@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jun 20, 2019 at 11:45:02AM +0100, Peter Robinson wrote: > On Wed, Jun 19, 2019 at 7:22 PM Tom Rini wrote: > > > > On Tue, Jun 18, 2019 at 10:39:54AM +0100, Peter Robinson wrote: > > > Hi Simon, > > > > > > With the EOL of python2 soon I've been looking at the Fedora U-Boot > > > builds to see what it would take to move over to python3. There's a > > > couple of issues building the bundled pylibfdt, the first is the > > > Makefile hard codes python2, the second is that the generated > > > libfdt_wrap.c doesn't seem to find the python3 version of Python.h > > > (errors below). > > > > > > It seems upstream now supports building pylibfdt with dtc 1.5.0 but I > > > couldn't quite work out how this fits into the U-Boot bundled version. > > > Is there plans to be able to support pylibfdt with python3? > > > > Sounds like we need to run the normal kernel script to re-sync with > > upstream? Thanks! > > Seems reasonable, I'll keep an eye out for a patch series to test, > it's quite straight forward to test from my PoV. It won't be any time soon, sadly. Updating to the same dtc in the kernel (so just v1.4.7+) causes both massive amount of new device tree warnings as well as several fail to link due to size growth problems. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: