[SLOF] [PATCH] netboot: Create bootp-response when bootp is used

Nikunj A Dadhania nikunj at linux.vnet.ibm.com
Tue Sep 26 14:23:30 AEST 2017


Thomas Huth <thuth at redhat.com> writes:

> On 19.09.2017 11:58, Nikunj A Dadhania wrote:
>> According to TFTP Booting extension, after the success of BOOTP, BOOTREPLY
>> packet should be copied to bootp-response property under "/chosen"
>> 
>> While in current case, even when DHCP was used, bootp-response was being set. So
>> set bootp-response when BOOTP is used and dhcp-response for DHCP
>
> Is this causing trouble somewhere?

The other OS expects it to be set when bootp is used

> Sure, this is old code and might be wrong, but I thought that DHCP was
> a superset of BOOTP, so encoding the DHCP response in a bootp-response
> property does not sound that bad to me. Also, is the "dhcp-response"
> property defined somewhere?

I didnt see any spec, but GRUB seems to be using it for other ppc
target.

> I can see "bootp-response" in the OF TFTP
> spec, but where does "dhcp-response" comes from?

Regards
Nikunj



More information about the SLOF mailing list