Bug 2057005

Summary: Please branch and build uboot-tools in epel9
Product: [Fedora] Fedora EPEL Reporter: Davide Cavalca <davide>
Component: uboot-toolsAssignee: Dan Horák <dan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: dan, dennis, jean, jordan, michel, ngompa13, nrevo, ole.d, pasik, pbrobinson, pwhalen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: uboot-tools-2022.04-2.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-30 02:07:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2057180, 2143981    
Bug Blocks: 1914423    

Description Davide Cavalca 2022-02-22 14:41:03 UTC
Please branch and build uboot-tools in epel9.

If you do not wish to maintain uboot-tools in epel9,
or do not think you will be able to do this in a timely manner,
the EPEL Packagers SIG would be happy to be a co-maintainer of the package;
please add the epel-packagers-sig group through
https://src.fedoraproject.org/rpms/uboot-tools/addgroup
and grant it commit access, or collaborator access on epel* branches.

Comment 1 Peter Robinson 2022-02-22 20:18:29 UTC
Why? What components of U-Boot do you want built of U-Boot, who is going to maintain it?

Comment 2 Davide Cavalca 2022-02-22 21:26:39 UTC
I just need uboot-tools (specifically mkimage right now, and possibly a few of the other tools down the road), not U-Boot proper. We use it as part of the update flow for a BMC, among other things. Happy to maintain it for EPEL if you'd like, both individually and as part of the EPEL Packagers SIG. I just noticed this needs python3-libfdt to build, which is currently unshipped, so I've filed https://bugzilla.redhat.com/show_bug.cgi?id=2057180 to get that added.

Comment 3 Michel Lind 2022-02-22 22:04:18 UTC
It's a common occurrence that a package's Fedora maintainer does not care about EPEL; in this case it looks like Dan Horak is already marked as the EPEL maintainer anyway (but there's no EPEL build at all, curiously).

The SIG definitely can co-maintain this package - this is similar to how many Python and Rust packages are co-maintained by the respective SIGs, though with a focus on EPEL branches (if you want to make sure the EPEL Packagers SIG members don't interfere with the Fedora branches, granting them collaborator access to epel* ensures this, and we can then file PRs if we need something merge). We discuss our issues in the weekly EPEL meeting on Wednesdays.

see https://docs.fedoraproject.org/en-US/epel/epel-packagers-sig/ for reference

Comment 4 Dan Horák 2022-02-23 09:09:35 UTC
I think my name for EPEL is an historical relic from some plans to have uboot-tools in EPEL-7 or EPEL-8 :-) I have no objections to make the tools available in EPEL-9.

Comment 5 Peter Robinson 2022-02-23 11:57:10 UTC
TBH I don't particularly either. They provide less value TBH if the system was EBBR compliant because it would just boot like any other device and the requirement for mkimage becomes a lot less (eg we no longer ship them by default at all in Fedora arm). But if it's just a random release of the tools I'll put the pieces in place for that shortly in rawhide and will build it once 2022.04 goes GA in ~ 2 weeks.

Comment 6 Neal Gompa 2022-03-27 19:20:35 UTC
FTR, I'd prefer to see a full build of U-Boot in EPEL 8/9 so that SIGs like Hyperscale, Automotive, and others who may want to build ARM images with U-Boot stuff can do so. The image building tools I maintain in EPEL can use it if it's available, for example.

Comment 7 Peter Robinson 2022-03-27 21:49:09 UTC
(In reply to Neal Gompa from comment #6)
> FTR, I'd prefer to see a full build of U-Boot in EPEL 8/9 so that SIGs like
> Hyperscale, Automotive, and others who may want to build ARM images with
> U-Boot stuff can do so. The image building tools I maintain in EPEL can use
> it if it's available, for example.

Why? This makes no sense.

1) The standard RHEL kernel doesn't support SystemReady IR devices so we're providing firmware that they can't actually use out of the box
2) Automotive will use UEFI and specific devices so they will need to provide their own firmware
3) Hyperscalers and others will no doubt provide their own firmware and are unlikely to actually use these builds for the devices we provide.

And the request above is for mkimage to be able to produce uImage and friends kernels which from my understanding is foe when they generate images for OpenBMC images which are generally Yocto images running on either ARMv6 or ARMv7 hardware. So even the above request for tools is no even for typical RHEL use cases, and we've not made active use of the tools package in Fedora since about Fedora 17.

Comment 8 Neal Gompa 2022-03-27 23:30:47 UTC
(In reply to Peter Robinson from comment #7)
> (In reply to Neal Gompa from comment #6)
> > FTR, I'd prefer to see a full build of U-Boot in EPEL 8/9 so that SIGs like
> > Hyperscale, Automotive, and others who may want to build ARM images with
> > U-Boot stuff can do so. The image building tools I maintain in EPEL can use
> > it if it's available, for example.
> 
> Why? This makes no sense.
> 
> 1) The standard RHEL kernel doesn't support SystemReady IR devices so we're
> providing firmware that they can't actually use out of the box
> 2) Automotive will use UEFI and specific devices so they will need to
> provide their own firmware
> 3) Hyperscalers and others will no doubt provide their own firmware and are
> unlikely to actually use these builds for the devices we provide.
> 

U-Boot can provide a UEFI environment for devices that don't offer it themselves, so it's still useful in that context.

The Hyperscale SIG will not be providing its own firmware, as we use commodity stuff that typically has enablement in Fedora. The goal is to use upstreamed stuff, not special stuff.

> And the request above is for mkimage to be able to produce uImage and
> friends kernels which from my understanding is foe when they generate images
> for OpenBMC images which are generally Yocto images running on either ARMv6
> or ARMv7 hardware. So even the above request for tools is no even for
> typical RHEL use cases, and we've not made active use of the tools package
> in Fedora since about Fedora 17.

This stuff is also used on AArch64-class hardware too for similar reasons.

Comment 9 Davide Cavalca 2022-07-16 00:04:04 UTC
Will you be able to branch and build uboot-tools in epel9?
The EPEL Packagers SIG would be happy to be a co-maintainer
if you do not wish to build it on epel9.

Comment 10 Peter Robinson 2022-08-02 07:53:59 UTC
(In reply to Davide Cavalca from comment #9)
> Will you be able to branch and build uboot-tools in epel9?
> The EPEL Packagers SIG would be happy to be a co-maintainer
> if you do not wish to build it on epel9.

Still blocking on the lack of a dependent package when I tried a scratch build the other day.

Comment 11 Davide Cavalca 2022-11-18 15:44:32 UTC
Looks like we need one more dependency in https://bugzilla.redhat.com/show_bug.cgi?id=2143981 but once that's sorted out this should be good to go.

Comment 12 Peter Robinson 2022-11-18 15:48:24 UTC
(In reply to Davide Cavalca from comment #11)
> Looks like we need one more dependency in
> https://bugzilla.redhat.com/show_bug.cgi?id=2143981 but once that's sorted
> out this should be good to go.

That dependency is not needed just for the tools.

Comment 13 Fedora Update System 2022-11-21 18:57:14 UTC
FEDORA-EPEL-2022-ed4f363862 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-ed4f363862

Comment 14 Fedora Update System 2022-11-22 02:51:45 UTC
FEDORA-EPEL-2022-ed4f363862 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-ed4f363862

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2022-11-30 02:07:05 UTC
FEDORA-EPEL-2022-ed4f363862 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.