我有一台 TI am335x,正在尝试进行网络启动。我在 Ubuntu 14.04 上使用 bootpd。
BOOTP 数据包不包含“客户端主机名”(选项 12?),因此我无法指定主机名字段。它确实包含选项 60:
Message type: Boot Request (1)
Hardware type: Ethernet (0x01)
Hardware address length: 6
Hops: 0
Transaction ID: 0x00000001
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
0... .... .... .... = Broadcast flag: Unicast
.000 0000 0000 0000 = Reserved flags: 0x0000
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: TexasIns_12:c4:df (a0:f6:fd:12:c4:df)
Client hardware address padding: 00000000000000000000
Server host name not given
Boot file name not given
Magic cookie: DHCP
Option: (60) Vendor class identifier
Length: 10
Vendor class identifier: AM335x ROM
Option: (61) Client identifier
Length: 81
Option: (255) End
Option End: 255
Padding
因此,在我的 bootptab 中,我尝试这样做:
"":T60="AM335x ROM":\
:ht=1:\
:td=/tftpboot:\
:hd=/:\
:bf=MLO:
和组合,但它不会响应。我可以在 bootpd 的调试输出中确认它确实看到了请求并忽略了它。
我该如何为该启动请求编写配置条目?