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)
Thu, Nov 7, 8:35 AM
Unknown Object (File)
Thu, Nov 7, 7:19 AM
Unknown Object (File)
Wed, Nov 6, 8:36 PM
Unknown Object (File)
Wed, Oct 30, 9:59 PM
Unknown Object (File)
Wed, Oct 16, 9:34 PM
Unknown Object (File)
Tue, Oct 15, 8:49 AM
Unknown Object (File)
Mon, Oct 14, 8:57 PM
Unknown Object (File)
Mon, Oct 14, 8:05 AM
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