From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Tue, 15 Jan 2008 17:30:43 -0500 Subject: [U-Boot-Users] Can DHCP be used for TFTP booting? In-Reply-To: <95455e980801151417v6ee20603uc740c8536c3aee5e@mail.gmail.com> References: <95455e980801151417v6ee20603uc740c8536c3aee5e@mail.gmail.com> Message-ID: <478D3413.5040500@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de hce wrote: > Hi, > > I am currently using a fixed tftp server and client IP address for > booting from tftp, it works fine. I am wondering if the DHCP can be > used or not for tftp booting, either for both TFTP server and client > IP address or just for client IP address? If so, could you please give > an example of how to config DHCP parameters in CONFIG_BOOTARGS and > CONFIG_BOOTCOMMAND? > DHCP can be used for obtaining an IP address and also booting. My advice is to play with it yourself. Make sure you include CONFIG_CMD_DHCP, and then try "help dhcp". Sorry for the lack of hand holding, but it's the best way for you to learn. If you're really stuck, ask again. regards, Ben