7567 Netboot: allow both tftpfs and nfs in both pxeboot and loader.efi

Review Request #266 — Created Nov. 10, 2016 and submitted

tsoome
illumos-gate
7567
261
6f477ef...
general
7567 Netboot: allow both tftpfs and nfs in both pxeboot and loader.efi

Tested network boot with tftp (to load pxeboot) + nfs to load the kernel and boot_archive. To use tftp only, the tftp-server-address (option 150) needs to be provided by dhcp.

  • 0
  • 0
  • 0
  • 2
  • 2
Description From Last Updated
xenol
  1. 
      
  2. usr/src/boot/sys/boot/common/dev_net.c (Diff revision 1)
     
     

    Replace this with:

    if (tftpip.s_addr != NULL) {
    ...
    }
    
    1. apparently the s_addr is 32bit int, so the 0 is fine there. will drop those 2 issues.

  3. Replace this with:

    if (tftpip.s_addr != NULL) {
    ...
    }
    
  4. 
      
xenol
  1. Ship It!
  2. 
      
rm
  1. In general, this looks good. I presume there aren't any size constraints to be worried about?
    1. It does add a bit size but not much. I do have size optimization update in my queue to provide more relief.

  2. 
      
tsoome
tsoome
rm
  1. Ship It!
  2. 
      
xenol
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...