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)
Wed, Sep 2, 8:30 AM
Unknown Object (File)
Tue, Sep 1, 1:22 AM
Unknown Object (File)
Sun, Aug 30, 11:22 AM
Unknown Object (File)
Aug 9 2026, 2:13 PM
Unknown Object (File)
Aug 3 2026, 1:22 PM
Unknown Object (File)
Aug 1 2026, 6:42 AM
Unknown Object (File)
Jul 31 2026, 7:00 AM
Unknown Object (File)
Jul 28 2026, 7:38 PM
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