This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001177] Redboot DHCP client race condition, XID, and retryproblems.


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001177

Grant Edwards <grant.b.edwards@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1182|0                           |1
        is obsolete|                            |

--- Comment #9 from Grant Edwards <grant.b.edwards@gmail.com> 2011-03-26 18:01:42 GMT ---
Created an attachment (id=1184)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1184)
Second pass at BOOTP/DHCP rewrite.

Comments are welcome on the second pass at the BOOTP/DHCP rewrite.

Changes from the first pass are:

 1) Miscellaneous cleanup.

 2) Fixed DHCP support so that it works in "fall-back" mode if the
    server only does plain BOOTP and not DHCP.

 3) Created new option CYGPKG_REDBOOT_NETWORKING_BOOTP (default 1)
    which controls whether or not BOOTP/DHCP support (src/net/bootp.c)
    is built.  This new package contains the sub-options:

      CYGSEM_REDBOOT_NETWORKING_DHCP                   (default 1)
      CYGSEM_REDBOOT_NETWORKING_BOOTP_VERBOSE          (default 0)
      CYGSEM_REDBOOT_DEFAULT_NO_BOOTP                  (default 0)

    That last one used to be contained in CYGDAT_REDBOOT_DEFAULT_IP_ADDR.

    Building with no BOOTP-related options specified should result in
    the same behavior as previously.

I've done test builds for i386 PC platform with all combinations of
"absent/0/1" for the following:

  CYGPKG_REDBOOT_NETWORKING_BOOTP
  CYGSEM_REDBOOT_DEFAULT_NO_BOOTP
  CYGSEM_REDBOOT_NETWORKING_DHCP
  CYGSEM_REDBOOT_NETWORKING_BOOTP_VERBOSE
  CYGDAT_REDBOOT_DEFAULT_IP_ADDR

About a dozen of the combinations have been tested with both DHCP and
BOOTP-only servers.

One thing I don't have the ability to test is flash-config support, so
it wouldn't hurt if somebody took a look at that.  I tried building
for the i386 PC platform with CYGSEM_REDBOOT_FLASH_CONFIG enabled, but
that didn't work.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]