<@nirik:matrix.scrye.com>
16:00:02
!startmeeting riscv-sig
<@meetbot:fedora.im>
16:00:05
Meeting started at 2024-12-03 16:00:02 UTC
<@meetbot:fedora.im>
16:00:05
The Meeting name is 'riscv-sig'
<@nirik:matrix.scrye.com>
16:00:08
!meetingname riscv-sig
<@nirik:matrix.scrye.com>
16:00:08
!topic init process / agenda gathering
<@meetbot:fedora.im>
16:00:09
The Meeting Name is now riscv-sig
<@jonathanspw:fedora.im>
16:00:46
!hi
<@zodbot:fedora.im>
16:00:47
Jonathan Wright (jonathanspw)
<@davidlt:matrix.org>
16:00:49
!hi
<@zodbot:fedora.im>
16:00:51
David Abdurachmanov (davidlt)
<@dai_enkai:matrix.org>
16:00:57
!hi
<@zodbot:fedora.im>
16:00:59
Arif B (nines)
<@nirik:matrix.scrye.com>
16:01:52
morning everyone. Anyone have agenda items?
<@abologna:matrix.org>
16:02:05
!hi
<@zodbot:fedora.im>
16:02:07
None (abologna)
<@nirik:matrix.scrye.com>
16:02:22
I can give a short status on new hub/etc... which is: I haven't done it yet, but its almost to the top of my list finally...
<@davidlt:matrix.org>
16:02:40
dist-git solution? try to figure out the ETA for a new Koji.
<@nirik:matrix.scrye.com>
16:03:18
good ones, yep. I also will have to step away at the bottom of the hour for a few...
<@davidlt:matrix.org>
16:03:46
From me: I have updated Kiwi NG related things on F40, and using F40 + VF2 started cooking initial F41 images. Some smaller mistakes so far, but it booted just fine on VF2. Didn't test new firmware blobs. Started F42 tags, etc, already. Currently only the builds related to toolchain are done.
<@davidlt:matrix.org>
16:04:23
I assume we want to use F41 for the builders, and sunset F40 as soon as we are happy with F41 images (Unmatched, VF2, QEMU/libvirt, container, toolbox).
<@abologna:matrix.org>
16:04:38
that'd be a big +1 from me
<@nirik:matrix.scrye.com>
16:05:02
Yeah... So, lets do: builders/current status, new hub status, dist-git discussion?
<@davidlt:matrix.org>
16:05:38
I assume abologna is interested in QEMU, libvirt/QEMU testing 😉
<@nirik:matrix.scrye.com>
16:05:46
!topic current status / builders / short term plans
<@nirik:matrix.scrye.com>
16:06:20
reminds me that my builder is running something really old. ;( Should move it... but likely wait for f41 images.
<@davidlt:matrix.org>
16:06:57
nirik: 90+% current boards are running a very old Fedora build. I don't really plan to change that until there is a new Koji.
<@nirik:matrix.scrye.com>
16:07:14
sure, understandable.
<@nirik:matrix.scrye.com>
16:07:31
we can uplift when moving them
<@abologna:matrix.org>
16:07:37
ideally we'd have a "koji builder" image based on F41 that you can just write to disk and boot off of
<@davidlt:matrix.org>
16:07:39
It's taking longer than I originally anticipated, and we do have kojid vs. koji hub compatibility issues, thus we have to downgrade kojid on the builders that are F40+.
<@abologna:matrix.org>
16:07:55
but I suspect that's not realistic outside of a small number of targets
<@nirik:matrix.scrye.com>
16:08:16
Yeah, I am very sorry I haven't setup the new hub yet. Just been lots of fires, then I was on pto all last week. ;)
<@davidlt:matrix.org>
16:08:18
Yes, I can cook special builder disk images with a few more packages installed if that helps.
<@davidlt:matrix.org>
16:09:01
I would like to have v6.12.X as the kernel in F41 final images. The current test images are v6.11.X.
<@jonathanspw:fedora.im>
16:09:21
so these images will target vf2 only?
<@davidlt:matrix.org>
16:09:33
v6.12 or v6.13 (I don't recall) might be able to boot with ACPI + SMBIOS stuff already.
<@nirik:matrix.scrye.com>
16:09:40
yeah, 6.12.x is undergoing test week this week I think... probibly will land in updates in a few weeks.
<@abologna:matrix.org>
16:09:46
can we have a "flag day" for the new koji? require that every builder connected to it must run F41?
<@davidlt:matrix.org>
16:09:49
Jonathan Wright: Unmatched, VF2, QEMU/libvirt, containers.
<@nirik:matrix.scrye.com>
16:11:07
abologna: we are going to have to setup each builder for the new hub. I am hoping we can just use keytabs... that would seem to be a logical time to move things to newer builder images.
<@davidlt:matrix.org>
16:11:09
BPI-F3 and P550 boards (there are multiple) currently don't have images, but we might want to do something about that. I have been thinking (for months) to have board specific tags that inherit f41-staging for the vendor custom kernel.
<@abologna:matrix.org>
16:11:16
for the boards that we are unable to support out of the box in the "official" image, we should have detailed instructions on how to flash one of the fedoravforce images and switch as much as possible over to the riscv.rocks koji
<@nirik:matrix.scrye.com>
16:11:43
so just using the patched kernels from there?
<@jonathanspw:fedora.im>
16:11:55
rvi is sending out bpi-f3 in bulk to folks so it'd probably be good to have an official image for them
<@jonathanspw:fedora.im>
16:11:59
and p550 for obvious reasons of speed
<@abologna:matrix.org>
16:12:10
are those actually supported upstream?
<@davidlt:matrix.org>
16:12:12
Yes, Jason Montleon does our custom vendor kernels these days and bootstack too. Epic work.
<@davidlt:matrix.org>
16:13:01
I don't want call them "official images", but maybe "vendored". I don't want to pull in mesa, etc. Mainly kernel and anything else related (firmware, etc.)
<@abologna:matrix.org>
16:13:23
alternative idea: can we have both a "pristine" kernel (matching Fedora, no patches, only works on QEMU and possibly VF2/Unmatched) and a "franken" LTS kernel that supports more boards?
<@davidlt:matrix.org>
16:13:27
All new hardware is 12-24 months away from upstream support to the point we could use it.
<@abologna:matrix.org>
16:13:56
we could use the former in the "official" image and the latter in the "koji" one
<@abologna:matrix.org>
16:14:08
as a pragmatic compromise
<@abologna:matrix.org>
16:14:14
maybe it's too much work though
<@davidlt:matrix.org>
16:14:14
abologna: I think that's NAK. Each vendors adds a lot of customs patches, and figuring out how to merge those would be too much work.
<@abologna:matrix.org>
16:14:23
okay, fair enough
<@abologna:matrix.org>
16:14:50
what about multiple vendor builds and koji images for each then?
<@davidlt:matrix.org>
16:14:59
The minimal solution would be to add f41-<board> tag that inherist f41-staging (which today holds only shim). Then we land Jason Montleon kernels, etc. in each board tag.
<@jonathanspw:fedora.im>
16:15:05
i'm only just starting to grasp the mass of chip/board combos. it's...a lot.
<@abologna:matrix.org>
16:15:45
davidlt that sounds good but can we then produce bootable kiwi images for koji usage out of those with a reasonable amount of effort?
<@davidlt:matrix.org>
16:16:01
Today shim is no-go for upstream merging, but Richard Jones is working on this IIRC.
<@davidlt:matrix.org>
16:16:31
abologna: yes, we just point Kiwi to a different repo to pull packages from. It's done by changing a symlink.
<@abologna:matrix.org>
16:16:36
still some way to go before we can have even a QEMU-only image that's fully built out of pristine Fedora sources. but we're working on it :)
<@nirik:matrix.scrye.com>
16:16:40
I wonder if we could make something like arm-image-installer for riscv... it would take the vanilla fedora image and add the kernel/etc for your specific board. Would be a lot to maintain tho...
<@davidlt:matrix.org>
16:16:46
All RPMs are hardlinks basically thus it doesn''
<@davidlt:matrix.org>
16:17:04
All RPMs are hardlinks basically thus it doesn't require more storage (or significant storage).
<@davidlt:matrix.org>
16:17:47
Tags sounds better option for me. We don't plan to support all the boards too, just the boards that are beneficial for Koji build farm. That's a starting point.
<@abologna:matrix.org>
16:17:58
nirik: can I instead dream of a future in which all hardware is supported by mainline, boots off UEFI, and we don't need those shenaningans? O:-)
<@davidlt:matrix.org>
16:18:15
This way we can track and have history of what's happening. Overhead is minimal from my point of view.
<@nirik:matrix.scrye.com>
16:18:17
yes, yes yes. ;) I dream of it too...
<@abologna:matrix.org>
16:18:41
custom tags + custom images for a few select boards sounds like the way to go if davidlt says that the amount of effort required is reasonable
<@nirik:matrix.scrye.com>
16:18:43
yeah, targeting builders instead of general user deliverables sounds reasonable at first
<@abologna:matrix.org>
16:19:11
I mean, if we publish board-specific images people will use them...
<@davidlt:matrix.org>
16:19:22
I am happy to work (i.e. complain, etc.) to vendors for upstreamin efforts 😉
<@davidlt:matrix.org>
16:19:41
That's fine, but those most likely will not incl. GPU (as we don't need it) support.
<@abologna:matrix.org>
16:20:15
slightly different take: what if we produced minimal images for those select boards, and then had generic instructions on how to turn those into koji builders?
<@abologna:matrix.org>
16:20:31
for people who actually want to run builders it would probably not be a big obstacle to overcome
<@davidlt:matrix.org>
16:20:45
BTW, thanks to the efforts by a number of folks (incl. our own abologna) F41 images will come without modified GRUB2 package! The changes landed!
<@abologna:matrix.org>
16:20:47
and everyone else could play with semi-official images in the meantime
<@nirik:matrix.scrye.com>
16:20:49
Is there a list of boards we support as builders and would want images for?
<@davidlt:matrix.org>
16:21:24
abologna: that's what we have today, we have an image and you need to install a few packages to set it up.
<@nhanlon:beeper.com>
16:21:36
!hi
<@zodbot:fedora.im>
16:21:37
Neil Hanlon (neil) - he / him / his
<@davidlt:matrix.org>
16:21:41
Unmatched, VF2, BPI-F3 and 2-3 variants of P550 ESWIN.
<@nhanlon:beeper.com>
16:22:01
!cookie give abologna
<@zodbot:fedora.im>
16:22:02
neil gave a cookie to abologna. They now have 4 cookies, 2 of which were obtained in the Fedora 41 release cycle
<@abologna:matrix.org>
16:22:08
right. initially I was thinking about ready-made koji builder images with those packages pre-installed, but now I think more basic images are going to be better
<@jonathanspw:fedora.im>
16:22:19
i'd lean to basic image
<@davidlt:matrix.org>
16:22:19
BPI-F3 is being upstreamed by the community already (Kernel + U-Boot), but will take many months.
<@jonathanspw:fedora.im>
16:22:32
then some simple copy/pasta stuff to do most of the heavy lifting of making it a builder
<@abologna:matrix.org>
16:22:34
because people are going to use them regardless. might as well give them clean foundations to build upon
<@abologna:matrix.org>
16:22:41
right
<@nirik:matrix.scrye.com>
16:22:55
we could provide / publish a ansible playbook to do the builder config (or most of it)
<@nhanlon:beeper.com>
16:23:06
kevin sniping me :)
<@nirik:matrix.scrye.com>
16:23:08
ha
<@davidlt:matrix.org>
16:23:09
Here is the image for F41: http://fedora.riscv.rocks:3000/davidlt/fedora-kiwi-descriptions/src/branch/f41-riscv64/teams/riscv.xml
<@nirik:matrix.scrye.com>
16:23:15
great minds or something.
<@davidlt:matrix.org>
16:23:16
Well, the Kiwi description.
<@nhanlon:beeper.com>
16:23:32
you can be great minds i'll be or something
<@davidlt:matrix.org>
16:23:57
Setting up a kojid builder (as-is now) is very easy, but instructions are most likely will be more complicated once we move to a new Koji.
<@nirik:matrix.scrye.com>
16:24:25
it shouldn't be too much different, just some config options change and a keytab is needed (ideally)
<@davidlt:matrix.org>
16:24:29
We should follow here what Fedora Infra folks want, which is probably a proper setup + minimal changes if needed (e.g. bigger timeout values, maxjobs, etc.)
<@nirik:matrix.scrye.com>
16:25:06
ideally we just reuse the fedora infra stuff , but conditionalize when we need to change something...
<@abologna:matrix.org>
16:25:15
I assume that up-to-date F41 would be fine despite the vendor kernel?
<@davidlt:matrix.org>
16:25:22
I do not volunteer myself for writing Ansible (well, adapting) instructions and writing instructions (if possible) 😉
<@abologna:matrix.org>
16:25:48
otherwise the whole idea is kinda dead in the water unless we want to limit ourselves to just Unmatched/VF2
<@davidlt:matrix.org>
16:26:09
Jakub started work on GCC 15 thus as soon as we have F41 images I would like to dive back towards 24/7 F42 action to catch up.
<@nirik:matrix.scrye.com>
16:26:27
yes, f41 would be fine, IMHO.
<@davidlt:matrix.org>
16:26:57
Unmatched and VF2 initially are fine, but we can do custom thing in parallel. It's just tags + Jason Montleon relaunching his SRPMs to rebuild in those tags.
<@nirik:matrix.scrye.com>
16:26:58
yeah, keeping up with/following rawhide is good... (after we have enough f41 to run builders)
<@abologna:matrix.org>
16:27:26
I was wondering whether running a vendor kernel would be okay from the Fedora infra point of view
<@nirik:matrix.scrye.com>
16:28:17
for a secondary setup like this one? yeah, I would think fine... once we try and move to primary the restrictions would be much higher, but we would be running the hardware directly then
<@davidlt:matrix.org>
16:28:32
It's NAK for anything official, but these images would be specific to the builders for now.
<@abologna:matrix.org>
16:28:50
nirik: that's what I though but I wanted to get explicit confirmation :)
<@davidlt:matrix.org>
16:28:57
I suggest we do not announce these "vendored" images for general use.
<@davidlt:matrix.org>
16:29:15
They exist, they public, but not announced.
<@davidlt:matrix.org>
16:29:23
They exist, they are public, but not announced.
<@nirik:matrix.scrye.com>
16:30:09
ok, I have to step away for a few... will read up when I get back. ;) Feel free to use !topic to move to other topics if you all want...
<@davidlt:matrix.org>
16:30:24
These "vendored" images would have mainly the kernel, and intention is that it's for the builders (like we don't need a GPU working, HDMI working, etc.)
<@davidlt:matrix.org>
16:30:43
abologna: do you want to take over from nirik to lead this?
<@abologna:matrix.org>
16:31:03
I have no idea how that works
<@abologna:matrix.org>
16:31:10
what with magic IRC commands and such :D
<@abologna:matrix.org>
16:31:40
anyone with some experience with it?
<@abologna:matrix.org>
16:32:39
also I think the next topic was going to be the dist-git overlay, which we need nirik for
<@abologna:matrix.org>
16:32:56
so let's just wait a few
<@davidlt:matrix.org>
16:34:13
I think, the same commands as on IRC, but with `!` instead of `#`: https://fedoraproject.org/wiki/Zodbot#Meeting_Functions
<@abologna:matrix.org>
16:34:31
this is literally the second Fedora meeting I'm attending :)
<@davidlt:matrix.org>
16:34:35
(I should read it up next time)
<@davidlt:matrix.org>
16:35:26
We can wait for nirik if we want to discuss dist-git next and we don't have any other topic.
<@abologna:matrix.org>
16:35:30
but I think we can !agreed: build minimal F41 images with vendor kernels targeting select board (BPi, P550) for koji builder usage
<@jonathanspw:fedora.im>
16:35:49
i think the line has to start with !agreed
<@abologna:matrix.org>
16:36:08
that was me proposing it and seeing whether anyone disagreed ;)
<@davidlt:matrix.org>
16:36:15
Yeah, you start a messaged with: `!<command> [..]`
<@abologna:matrix.org>
16:36:46
we also !agreed: all builders will need to be provisioned with a clean F41-based image once the new koji is up and running
<@abologna:matrix.org>
16:37:02
sounds good?
<@jonathanspw:fedora.im>
16:37:08
+1
<@davidlt:matrix.org>
16:37:29
and probably: !agreed close F40 as soon as we have working F41 images. No more active effort on F40 afterwards (i.e. no updates).
<@abologna:matrix.org>
16:37:43
great point
<@abologna:matrix.org>
16:37:47
let's go for it
<@abologna:matrix.org>
16:37:54
!agreed: build minimal F41 images with vendor kernels targeting select board (BPi, P550) for koji builder usage
<@abologna:matrix.org>
16:38:30
!agreed all builders will need to be provisioned with a clean F41-based image once the new koji is up and running
<@abologna:matrix.org>
16:38:40
!agreed build minimal F41 images with vendor kernels targeting select board (BPi, P550) for koji builder usage
<@abologna:matrix.org>
16:38:50
!agreed close F40 as soon as we have working F41 images. No more active effort on F40 afterwards (i.e. no updates).
<@abologna:matrix.org>
16:39:02
good stuff
<@davidlt:matrix.org>
16:40:14
abologna: I checked v6.12 news and there is `- Support for ACPI-based enumeration of interrupt controllers on RISC-V platforms. `. That'
<@davidlt:matrix.org>
16:40:23
That's probably enough to boot now.
<@abologna:matrix.org>
16:41:47
on specific boards you mean?
<@davidlt:matrix.org>
16:42:26
QEMU only
<@abologna:matrix.org>
16:42:55
is the information gathered from DT right now?
<@davidlt:matrix.org>
16:43:22
abologna: no idea, I assume QEMU generates relevant tables, etc.
<@abologna:matrix.org>
16:43:53
nirik: we were waiting for you to move on to the topic of dist-git overlay
<@nirik:matrix.scrye.com>
16:44:02
ah ha. ok.
<@nirik:matrix.scrye.com>
16:44:07
!topic dist-git overlay
<@nirik:matrix.scrye.com>
16:44:35
So, I looked some after the last meeting and I don't think groups will work in a way thats useful to us sadly.
<@nirik:matrix.scrye.com>
16:45:56
it may be that it would work in a new gitfoge (fedora will be moving next year to a new one), but unclear
<@davidlt:matrix.org>
16:46:17
Yeah it's based on Gitea, which we use right now.
<@nirik:matrix.scrye.com>
16:47:04
so I think at least short term we are going to have to keep having a speperate repo for overlay... unless we can think up some more clever thing.
<@nirik:matrix.scrye.com>
16:47:51
we could do a single user and have multiple people with access to it... but thats a bit more messy...
<@davidlt:matrix.org>
16:47:53
It's fine with me. Whatever makes things happen faster 😄
<@nirik:matrix.scrye.com>
16:48:14
whats our overlay status? I guess it's continued to go down?
<@davidlt:matrix.org>
16:48:14
abologna and friends are quite active trying to reduce the number of modified packages.
<@nirik:matrix.scrye.com>
16:48:19
yeah
<@davidlt:matrix.org>
16:48:35
abologna: could you provide some update from your efforts?
<@abologna:matrix.org>
16:48:54
https://abologna.gitlab.io/fedora-riscv-tracker/
<@abologna:matrix.org>
16:49:14
we're down to ~160 packages needing the overlay
<@zodbot:fedora.im>
16:49:29
kevin gave a cookie to abologna. They now have 5 cookies, 3 of which were obtained in the Fedora 41 release cycle
<@zodbot:fedora.im>
16:49:32
neil has already given cookies to abologna during the F41 timeframe
<@nhanlon:beeper.com>
16:49:36
ecelleennntttt
<@zodbot:fedora.im>
16:49:43
davidlt has already given cookies to abologna during the F41 timeframe
<@zodbot:fedora.im>
16:49:48
yselkowitz gave a cookie to abologna. They now have 6 cookies, 4 of which were obtained in the Fedora 41 release cycle
<@abologna:matrix.org>
16:50:03
I'm hoping that some of those are "clustered", i.e. we can get rid of all the R ones in one fell swoop
<@abologna:matrix.org>
16:50:06
or close enough
<@nirik:matrix.scrye.com>
16:50:40
yeah, still some biggies on there... llvm, webkitgtk, etc
<@nirik:matrix.scrye.com>
16:51:04
java. ugh
<@abologna:matrix.org>
16:51:24
the llvm situation shouldn't be hard to deal with, I just need to sit down and figure out a plan to land everything neatly in Fedora and CentOS Stream
<@davidlt:matrix.org>
16:51:24
There are no patches for any newer versions of LLVM IIRC, but older ones just have a hack for triplet + disabled tests most likely.
<@nirik:matrix.scrye.com>
16:51:33
a number of the java ones should go away... since they are moving to supporting less of them
<@nirik:matrix.scrye.com>
16:51:47
this is f40 targeted?
<@davidlt:matrix.org>
16:51:53
Java is easy, most of these are minor. Also all non-system OpenJDK are not longer in Fedora repos starting F42 IIUC.
<@abologna:matrix.org>
16:52:00
another way to make them go away quick would be to switch our focus to F42 only ;)
<@abologna:matrix.org>
16:52:06
but it's too early for that obviously
<@abologna:matrix.org>
16:52:18
no, F41
<@nirik:matrix.scrye.com>
16:52:22
ah, ok.
<@davidlt:matrix.org>
16:52:35
Example: https://src.fedoraproject.org/rpms/java-11-openjdk/c/eef5cae1618adf22b43adb9e243580e26aaab57c?branch=rawhide
<@nirik:matrix.scrye.com>
16:52:44
still a great pile of work done to get it down to this. ;)
<@davidlt:matrix.org>
16:52:50
I checked their repos, they have riscv64 builds (didn't check all of them).
<@yselkowitz:fedora.im>
16:52:52
aren't the old openjdk going away?
<@nirik:matrix.scrye.com>
16:53:01
yep
<@davidlt:matrix.org>
16:53:08
See: https://fedoraproject.org/wiki/Changes/ThirdPartyLegacyJdks#adoptium-temurin-java-repository
<@abologna:matrix.org>
16:53:12
yeah... we should anticipate at least 100-120 packages in the overlay
<@abologna:matrix.org>
16:53:19
anything lower than that is probably wishful thinking
<@abologna:matrix.org>
16:53:43
so we need a solution that scales to those numbers
<@davidlt:matrix.org>
16:53:55
I might add more, I might need to patch Rust until we move all the board to a newer kernels.
<@nirik:matrix.scrye.com>
16:54:01
so, 7 min left... anything we need to cover before the end? how about next meeting date? do we want to skip to jan?
<@davidlt:matrix.org>
16:54:10
I need to move stack from 8 to 16MB IIRC.
<@davidlt:matrix.org>
16:54:44
I am available in December (so far), but I assume folks will start vanishing for holidays.
<@abologna:matrix.org>
16:54:47
early January for the next one sounds good to me
<@abologna:matrix.org>
16:55:13
I'll still be around for the most part
<@nhanlon:beeper.com>
16:55:35
yeah we know where to bother one another in the interim
<@nirik:matrix.scrye.com>
16:55:49
I'm going to be on pto after the 13th, but will still be around. :)
<@abologna:matrix.org>
16:55:56
yeah the SIG meetings are just nice checkpoints
<@nirik:matrix.scrye.com>
16:56:04
so, shall we say jan 7th for next meeting?
<@abologna:matrix.org>
16:56:05
the actual work happens in between them ;)
<@davidlt:matrix.org>
16:56:05
Fedora/RISCV Christmas Edition disk images!
<@nirik:matrix.scrye.com>
16:56:27
🎄
<@conan_kudo:matrix.org>
16:56:31
woot
<@abologna:matrix.org>
16:56:31
talk about stocking stuffers!
<@nhanlon:beeper.com>
16:56:33
I should probably take some pto...
<@conan_kudo:matrix.org>
16:56:40
!hi
<@zodbot:fedora.im>
16:56:42
Neal Gompa (ngompa) - he / him / his
<@davidlt:matrix.org>
16:57:05
Reminder, Conan Kudo wants some KDE images. We should probably look into that for F41.
<@nirik:matrix.scrye.com>
16:57:10
ok, then, lets go back and continue in #riscv:fedoraproject.org
<@conan_kudo:matrix.org>
16:57:18
yes, and if we want minimal images, I can add definitions for that too
<@nirik:matrix.scrye.com>
16:57:30
thanks for coming everyone.
<@nhanlon:beeper.com>
16:57:34
Thanks for organizing @nirik !
<@zodbot:fedora.im>
16:57:40
neil has already given cookies to kevin during the F41 timeframe
<@nirik:matrix.scrye.com>
16:57:42
!endmeeting