From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 25 Jan 2011 11:27:43 +0100 Subject: [U-Boot] [PATCH] Change the visible output for transfers to display hex numbers In-Reply-To: <1295950537-12363-1-git-send-email-holler@ahsoftware.de> References: <1295950537-12363-1-git-send-email-holler@ahsoftware.de> Message-ID: <20110125102743.B8343BB0B9@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Alexander Holler, In message <1295950537-12363-1-git-send-email-holler@ahsoftware.de> you wrote: > When files were transfered the output is currently > - > Bytes transferred = 1976384 (1e2840 hex) > - > Using the decimal length as input for other commands conflicts with the > the default base of 16 needed. > > Change the output to > - > Bytes transferred = 0x1e2840 (1976384 bytes) > - > to reflect what should be used as input for other commands. In which way does this reflect what "should be used as input for other commands"? I don't even understand why you use this manually with copy & paste. Why don't you simply refer to the ${filesize} variable? In any case, if you want to change this format, you must change _all_ occurrences of it, i. e. include all the commands that load from external storage (ide, usb, scsi, sata, nand, dataflash, SPI-Flash, ...). Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Lots of folks confuse bad management with destiny. -- Frank Hubbard