From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Schwebel Date: Wed, 25 Jun 2003 07:16:33 +0200 Subject: [U-Boot-Users] uploading OS over network instead of u-boot do wnloading it from a server. In-Reply-To: <5.1.1.6.2.20030624140047.012b3d10@corelis.com> References: <5.1.1.6.2.20030624115306.0131de20@corelis.com> <5.1.1.6.2.20030624140047.012b3d10@corelis.com> Message-ID: <20030625051633.GA15674@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jun 24, 2003 at 02:20:00PM -0700, Brian S. Park wrote: > It could be integrated to our PC side application which can upload it > the first time it connects to the target. Integrating TFTP server to > our application would require it to start before the user powering up > the target. It might be a good idea that you explain how your users handle your board; in which cases is it important that the board is powered on _before_ the upload program was started? > With TFTP client approach, I need to set the serverip environmental > variable to IP of PC with the TFTP server. If I move the controller to > another room, and found out that the PC with TFTP server is not powered up, > I need to either change the serverip variable to the new PC I intended to > use or go back to the other room and power up the PC. :) Or you can use DHCP/BOOTP to find your host pc (a dhcp server could be included in the upload program as well). Ok - this might find your company's DHCP server instead of your upload program, but that could surely be fixed with some special DHCP option and a small u-boot shell script which checks for the "correct" magick string. Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Braunschweiger Str. 79, 31134 Hildesheim, Germany Handelsregister: Amtsgericht Hildesheim, HRA 2686 Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4