From mboxrd@z Thu Jan 1 00:00:00 1970 From: kevin.morfitt at fearnside-systems.co.uk Date: Wed, 01 Apr 2009 00:40:27 +0100 Subject: [U-Boot] [PATCH] Added a tftp command In-Reply-To: <200903311901.03029.vapier@gentoo.org> References: <49D29CC5.2010406@fearnside-systems.co.uk> <200903311901.03029.vapier@gentoo.org> Message-ID: <49D2A9EB.3090006@fearnside-systems.co.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Mike Frysinger wrote: > On Tuesday 31 March 2009 18:44:21 kevin.morfitt at fearnside-systems.co.uk wrote: > >> Adds a "tftp" command that gets a specified file from a TFTP Server and >> stores it in RAM at a specified RAM address. Most of the code already >> exists in board-specific form (eg in board/hymod) but this patch >> extracts it and makes it available as a standard u-boot command. >> > > your patch is horribly word wrapped. ignoring that, how is this any different > from the "tftpboot" command ? i use "t " to load arbitrary files > via tftp to arbitrary addresses all the time. > -mike > "tftpboot" loads the file then if "autostart" is "yes" it automatically boots from the load address. The patch just loads the file then stops. When programming a board I use it to copy images across before I program them into flash. In effect, it does the same thing as setting "autostart" to "off" then using "tftpboot". I'm new to creating patches which I think explains the horrible word wrapping.