Page MenuHomeFreeBSD

loader: allow TFTP to be used by default
AbandonedPublic

Authored by luporl on Apr 7 2020, 7:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 30, 11:10 PM
Unknown Object (File)
Fri, May 15, 2:43 AM
Unknown Object (File)
Thu, May 14, 7:47 PM
Unknown Object (File)
Tue, May 12, 8:26 AM
Unknown Object (File)
Wed, May 6, 2:50 AM
Unknown Object (File)
Apr 30 2026, 6:54 PM
Unknown Object (File)
Apr 29 2026, 9:21 PM
Unknown Object (File)
Apr 26 2026, 7:47 AM
Subscribers

Details

Reviewers
bapt
imp
Summary

This change adds a compile time option to make TFTP the default network protocol.

While TFTP may be selected by specifying it in the URI scheme for root-path, this requires a BOOTP/DHCP daemon to be running to supply this information.

With QEMU, it is possible to specify a directory to simulate a TFTP server and also specify a bootfile to be fetched from this TFTP server (-netdev user,tftp=<dir>,bootfile=<path>).
Unfortunately, there is no option to supply a root-path, which makes it impossible to netboot using QEMU only, without additional daemons.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30344
Build 28112: arc lint + arc unit