From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lb0-x230.google.com ([2a00:1450:4010:c04::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZAcN3-00012M-61 for barebox@lists.infradead.org; Thu, 02 Jul 2015 11:09:33 +0000 Received: by lbcpe5 with SMTP id pe5so29724411lbc.2 for ; Thu, 02 Jul 2015 04:09:11 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <836000AE-9A04-47B7-9BD4-106A3D487558@jcrosoft.com> References: <931117BB-24FC-4564-AD2F-B66FA129D3C1@jcrosoft.com> <836000AE-9A04-47B7-9BD4-106A3D487558@jcrosoft.com> Date: Thu, 2 Jul 2015 13:09:11 +0200 Message-ID: From: Philippe Leduc 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: Jean-Christophe PLAGNIOL-VILLARD Cc: barebox@lists.infradead.org Is this a Linux specific behavior? Because I am trying to boot a RTOS (PikeOS) without success? (Anyway thank you for the info :) ) Best regards, Philippe LEDUC ledphilippe@gmail.com 2015-07-02 12:50 GMT+02:00 Jean-Christophe PLAGNIOL-VILLARD : > >> 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