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, Oct 15, 7:50 PM
Unknown Object (File)
Thu, Oct 2, 4:38 PM
Unknown Object (File)
Mon, Sep 29, 11:43 PM
Unknown Object (File)
Mon, Sep 29, 10:58 AM
Unknown Object (File)
Sat, Sep 27, 3:26 AM
Unknown Object (File)
Fri, Sep 26, 12:24 AM
Unknown Object (File)
Thu, Sep 25, 9:30 PM
Unknown Object (File)
Wed, Sep 24, 2:53 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