Page MenuHomeFreeBSD

release: Add support for building armv7 vm
ClosedPublic

Authored by bofh on Feb 17 2024, 8:07 PM.
Tags
Referenced Files
Unknown Object (File)
Sat, Jun 15, 7:04 PM
Unknown Object (File)
May 10 2024, 7:13 PM
Unknown Object (File)
May 6 2024, 10:46 PM
Unknown Object (File)
May 2 2024, 12:29 AM
Unknown Object (File)
Apr 26 2024, 3:30 AM
Unknown Object (File)
Apr 8 2024, 10:37 PM
Unknown Object (File)
Apr 6 2024, 5:55 AM
Unknown Object (File)
Mar 25 2024, 10:41 PM
Subscribers

Details

Summary

Currently there is no support for generating armv7 vm images in the release artifacts. In fact in terms of release artifacts and architecture there is no good reason to have a vm release artifact for armv7 as those are mostly used in SOCs or embedded boards. However if you consider that developers actually do need an easy way to test armv7 with a vm running this is really important. As me and @lwhsu are working on pre-commit ci for developers this can be really helpful for the end developers.

I have already done the work on pre-commit CI at https://reviews.freebsd.org/D43786 which supports building images utilizing the release scripts itself. So once we can merge this we will add more test facilities when we can see the real benefits.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bofh requested review of this revision.Feb 17 2024, 8:07 PM

No objections from me, but I don't know enough about armv7 to know if produces working images.

This revision is now accepted and ready to land.Feb 17 2024, 10:56 PM

Assuming one can boot these with qemu-system-arm -m virt, great!
There may be one fix that's needed from stable that I don't think has made its way into 13.3 yet though. It's not fatal, but does make the virtionet work. Otherwise you have to specify real hardware to boot them. Which isn't terrible, but not completely ideal.

No objections from me, but I don't know enough about armv7 to know if produces working images.

It produces a working image. I have tested this with the other patch from https://reviews.freebsd.org/D43786

And it booted properly :)

In D43952#1002643, @imp wrote:

Assuming one can boot these with qemu-system-arm -m virt, great!

It does. By the by I am still awaiting your feedback on https://reviews.freebsd.org/D43786

There may be one fix that's needed from stable that I don't think has made its way into 13.3 yet though. It's not fatal, but does make the virtionet work. Otherwise you have to specify real hardware to boot them. Which isn't terrible, but not completely ideal.

This entire thing including the CI thing going into other stable branches will take some times