From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Wed, 03 Dec 2008 13:08:52 +0100 Subject: [U-Boot] [PATCH v2] tools/mkimage: use lseek rather than fstat for file size for -l option In-Reply-To: <20081203115559.5519F834B020@gemini.denx.de> (Wolfgang Denk's message of "Wed\, 03 Dec 2008 12\:55\:59 +0100") References: <1228304125-6669-1-git-send-email-jacmet@sunsite.dk> <1228304125-6669-2-git-send-email-jacmet@sunsite.dk> <20081203115559.5519F834B020@gemini.denx.de> Message-ID: <87abbdxxyj.fsf@macbook.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >>>>> "Wolfgang" == Wolfgang Denk writes: Hi, Wolfgang> As mentioned before, this doesn't work because the length you are Wolfgang> checking is not the image length, but the device size. Yes, because you rejected the patch to fix this. So, what do you suggest? -- Bye, Peter Korsgaard