From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 2.mo2.mail-out.ovh.net ([188.165.53.149]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZAc54-0002jX-4Z for barebox@lists.infradead.org; Thu, 02 Jul 2015 10:50:59 +0000 Received: from mail629.ha.ovh.net (gw6.ovh.net [213.251.189.206]) by mo2.mail-out.ovh.net (Postfix) with SMTP id EEF9B1000B22 for ; Thu, 2 Jul 2015 12:50:29 +0200 (CEST) Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) From: Jean-Christophe PLAGNIOL-VILLARD In-Reply-To: Date: Thu, 2 Jul 2015 18:50:17 +0800 Message-Id: <836000AE-9A04-47B7-9BD4-106A3D487558@jcrosoft.com> References: <931117BB-24FC-4564-AD2F-B66FA129D3C1@jcrosoft.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: how to do a digest on a flashed uImage ? uimage command evolution To: Philippe Leduc Cc: barebox@lists.infradead.org > On Jul 2, 2015, at 6:47 PM, Philippe Leduc wrote: > > Well, I am using bootm to start my system: how do you boot your system > with a mounted uImage? > bootm /mnt/data simply specialy on arm. Best Regards, J. > Best regards, > > > Philippe LEDUC > ledphilippe@gmail.com > > > 2015-07-02 11:30 GMT+02:00 Jean-Christophe PLAGNIOL-VILLARD > : >> >>> On Jul 2, 2015, at 4:53 PM, Philippe Leduc wrote: >>> >>> Hi, >>> >>> First thank you for the details answers :) >>> >>> Following your explanations/propositions, I think uimagefs is not >>> suited to my needs. I think therefore make an evolution of the uImage >>> command to be able to retrieve the size of my image and to copy it >>> efficiently into the RAM. >>> >>> I'll try to propose a patch next week for review. But before that, >>> what do you think about thes follwing interface: >>> >>> uimage - extract/verify/copy uImage >>> >>> Usage: uimage [-vienc] FILE >>> >>> Options: >>> -i show information about image >>> -v verify image >>> -e OUTFILE extract image to OUTFILE >>> -n NO use image number NO in multifile image >>> -c OUTFILE Copy the image to OUTFILE >>> -s SIZE Return the size of the uimage file into a VARiable. >>> >> >> >> I see no point to extract and copy as you you need to mount it >> >> and then use cp >> >> Best Regards, >> J. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox