From sjg at chromium.org Wed Nov 4 17:52:52 2026 From: sjg at chromium.org (Simon Glass) Date: Wed, 4 Nov 2026 17:52:52 +0000 Subject: In-tree Python tools (patman, buildman, binman, etc.) In-Reply-To: <20260522180011.GY1858239@bill-the-cat> References: <20260522180011.GY1858239@bill-the-cat> Message-ID: Hi Tom, On Fri, 22 May 2026 at 12:00, Tom Rini wrote: > > On Wed, May 20, 2026 at 07:38:17PM -0500, Simon Glass wrote: > > Hi, > > > > On Mon, 4 May 2026 at 07:16, Simon Glass wrote: > > > > > > Hi, > > > > > > As you know, I maintain several tools which are part of the U-Boot tree. > > > > > > Tom has previously suggested that it would be better to move patman > > > out of the U-Boot tree, e.g. to its own Github project. It is a > > > general tool which can be used with Linux and other > > > mailing-list/patchwork-based projects. I have never been keen on > > > taking on the extra effort required, but I've recently added more > > > features and am wondering whether now might be a good time to do this. > > > > > > Buildman is quite obviously designed specifically for U-Boot. I have > > > made some improvements recently (a large code refactor and distributed > > > builds). I would like to push those changes to mainline. Do people > > > think it should be in a separate tree somewhere? > > > > > > Binman was written with U-Boot in mind but supports other projects > > > (such as Zephyr). It is generic enough that it could be separated. The > > > impact would be harder code review. > > > > > > We also have smaller things like qconfig (which I have substantially > > > rewritten to make it fast) and dtoc, which is very tailored to U-Boot. > > > > > > What do people think? Of all of these, patman would be the easiest to > > > move, with the least impact on existing workflows. > > > > Thank you to those who have commented on this thread. > > > > Quentin, I think there is a mailing-list patch for the pygit2 problem. For > > qconfig, your feature should be easy enough to implement. If you suggest a > > syntax I could take a look. > > > > I am considering moving all the major tools I wrote out of U-Boot, each > > into its own project. As Neha points out, Binman is useful as a general > > tool. Patman clearly is too. This leaves Buildman which is U-Boot-specific > > in many ways, but it hardly seems sensible to keep just that one in-tree, > > plus I have a substantial code-refactor and new feature to figure out how > > to upstream. With some adjustments it could be used in other projects. The > > qconfig tool is in a similar boat, particularly now that it can rebuild the > > database in two seconds instead of a minute. > > > > I also have some other tools I have written recently, both of which might > > have generic application: > > - pickman, an AI-powered cherry picker which could be applied to other > > projects such as Linux (but it currently is tied to gitlab) > > - codman, a simple source-code analyser which tells you what files and code > > lines are actually built for a board > > > > If I do take this path, I will need to figure out a way to make it easy to > > install the tools for use with U-Boot. This could involve using 'pip > > install, cloning a repo, or some other mechanism. I could use a PR workflow > > rather than the mailing list, if that is easier. > > > > Please do continue to send your thoughts on this. I cannot attend the call > > next week but hope to join the next one. > > You should plan to take care of patman outside of the project as we have > been working towards just using b4. The rest of the tooling that's > currently in tree will continue to be managed by the community at large, > and some of the suggestions I've made before will be looked at harder > again, but not likely until after we've migrated our Gitlab server to > OSU OSL hosting. Just to follow up here. The U-Boot removal is complete and I have moved patman to a new site http://deinde.dev/patman - we can continue development there. Regards, Simon From trini at konsulko.com Mon Nov 9 21:54:23 2026 From: trini at konsulko.com (Tom Rini) Date: Mon, 9 Nov 2026 15:54:23 -0600 Subject: [ANN] U-Boot v2027.01-rc2 released Message-ID: <20261109215423.GZ3741582@bill-the-cat> Hey all, So it's release day and I have tagged and pushed things out, and as it's -rc2 the next branch will be updated and open shortly after this. In terms of important project news, last week we removed Simon Glass from the project: https://lore.kernel.org/u-boot/CALeDE9Pu2rzu_zaWr=XAux88nV-LJ9_AYfLB8D6EECgm-BbeCg at mail.gmail.com/ We've now also asked for help on writing a Code of Conduct: https://lore.kernel.org/u-boot/20261103172036.GS3309461 at bill-the-cat/ As well as input on forming a Technical Steering Committee: https://lore.kernel.org/u-boot/20261103172044.GT3309461 at bill-the-cat/ With all that, we've gotten most of the pull requests I had hoped for by now. I think sadly the USB DWC3 series is likely to get pushed out a bit more, but that's something to talk about on the community call. We're continuing with a community meeting following the release and the calendar link is https://calendar.google.com/calendar/event?action=TEMPLATE&tmeid=Njh0ZmkzajgyNnZtM3FvMmM1azkzOTAxdXJfMjAyNjEwMjdUMTUwMDAwWiA4OWJlN2I4MTMxMzZiZWMwNmE4M2RlNGRhNTk3NDVmMGFiZDExYzFiODM2MDYxYWUwNmMxYzdkYmNkMThkZjQxQGc&tmsrc=89be7b813136bec06a83de4da59745f0abd11c1b836061ae06c1c7dbcd18df41%40group.calendar.google.com&scp=ALL The meeting details itself are: October 26th, 2026. 9am (GMT -06:00) Video call link: https://meet.google.com/hir-pkrc-ngg Dial: (US) +1 636-707-2454 PIN: 996 784 524# More phone numbers: https://tel.meet/hir-pkrc-ngg?pin=1444832752708 In terms of a rough changelog: - Platform updates for PowerPC, Marvell, x86, i.MX, QorIQ, AMD/Xilinx, RISC-V, U8500, TI OMAP4, airoha, sunxi, TI K3, Rockchip, Renesas R-Car and Qualcomm. - Fixes in our watchdog, networking, TPM, documentation, EFI loader and UBI subsystems / drivers. - VGA BIOS emulation should now be usable for RISC-V. - Assorted correctness fixes for LMB, Virtio, mkimage and pstore support. I continue to plan to do an rc release every two weeks and the final release will be 04 January 2027. Thanks all! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: not available URL: