Page MenuHomeFreeBSD

Add loongarch64 as an optional boot-test.sh arch
ClosedPublic

Authored by imp on Wed, Sep 23, 4:37 AM.
Tags
None
Referenced Files
F176502362: D59923.id.diff
Mon, Oct 19, 9:10 AM
F176502358: D59923.id187481.diff
Mon, Oct 19, 9:10 AM
F176502351: D59923.id190255.diff
Mon, Oct 19, 9:10 AM
Unknown Object (File)
Fri, Oct 9, 3:01 PM
Unknown Object (File)
Fri, Oct 9, 12:25 PM
Unknown Object (File)
Thu, Oct 8, 3:04 PM
Unknown Object (File)
Thu, Oct 8, 2:55 PM
Unknown Object (File)
Tue, Oct 6, 7:31 AM
Subscribers

Details

Summary

D59889 brings up a FreeBSD/loongarch64 EFI loader, none of it in
this tree yet. Add a disabled config entry (excluded from -A, usable
via -a once the port lands) using the confirmed QEMU virt/la464
recipe; hw/loongarch/virt.c defaults to virtio-blk/net, so the
existing generic EFI+GPT builder needs no arch-specific QEMU code.

loongarch64 has never had a FreeBSD release, so
install_minimal_userland's ISO extraction can never find one. Split
it into ISO and installworld-cross-build paths, selected by a new
no_release capability, so archs without a release can still get a
minimal userland.

Diff Detail

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

Event Timeline

imp requested review of this revision.Wed, Sep 23, 4:37 AM
imp created this revision.
emaste added inline comments.
tools/boot/boot-test.sh
24–25

IMO you could just leave this text out -- no chance of forgetting about it later once loongarch lands, and -A's description is correct either way -- while out of the tree loongarch isn't supported :)

395

is it worth having a commandline option to select this too?

tools/boot/boot-test.sh
24–25

fair.

395

Possibly. When would you need it, though? We specifically test release artifacts to make sure we don't regress from those releases.

This revision was not accepted when it landed; it landed in state Needs Review.Mon, Oct 19, 7:37 AM
This revision was automatically updated to reflect the committed changes.