I have done some work on porting to python in this area and have a few ideas on how to make progress.
I have seen major issues with pre-compiled binaries of tools when they are out of sync with the FW code. Having a way to guarantee that the tools being used are compatible with the FW sources being built is very important. Also, reproducible builds where the same tree build on different Build systems or on different dates must always produce the same binary. Mike > -----Original Message----- > From: Rebecca Cran <[email protected]> > Sent: Saturday, August 29, 2026 6:43 AM > To: [email protected]; Andrew Fish <[email protected]>; Ard > Biesheuvel <[email protected]>; Leif Lindholm > <[email protected]>; Kinney, Michael D > <[email protected]>; Michael Kubacki > <[email protected]> > Subject: Status of BaseTools Python rewrite work > > My understanding is that at the UEFI Developers Conference last year, > there was a confirmation/agreement that the C BaseTools should be > rewritten in Python. I was wondering what the status of that work is: > whether there's been any progress or if nothing has been started > whether > there are plans to? > > > I'm interested in modernizing the C tools, because quite a lot of the > code is *very* old and crusty. But I don't want to put work into that > if > in a couple of years it's all going to be thrown away with the > rewrite. > Personally, as someone who in the mid-2000s heard of a colleague > giving > the company a C tool only to have another team spend 6 months > rewriting > it in Python and wasting time, I'm not convinced of the value of any > work rewriting them especially since a previous project to do that has > already not worked out. Instead, we could fairly easily have CI build > the BaseTools and have people download precompiled binaries if we want > to avoid people having to build them themselves. > > > -- > > Rebecca Cran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#122143): https://edk2.groups.io/g/devel/message/122143 Mute This Topic: https://groups.io/mt/120985885/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
