From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XPWP6-0001K2-Sq for barebox@lists.infradead.org; Thu, 04 Sep 2014 12:44:45 +0000 Date: Thu, 4 Sep 2014 14:44:17 +0200 From: Sascha Hauer Message-ID: <20140904124417.GS5352@pengutronix.de> References: <1409822900-25526-1-git-send-email-p.zabel@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1409822900-25526-1-git-send-email-p.zabel@pengutronix.de> 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: [PATCH] Fix barebox metadata To: Philipp Zabel Cc: barebox@lists.infradead.org On Thu, Sep 04, 2014 at 11:28:20AM +0200, Philipp Zabel wrote: > Patch 97e81f2d78f3 (Add support for metadata in barebox images) > writes the wrong length for the model tag in the barebox metadata. > Fix this to use the correct value. > > Signed-off-by: Philipp Zabel Applied, thanks Sascha > --- > scripts/gen-dtb-s | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/gen-dtb-s b/scripts/gen-dtb-s > index 434612f..a920495 100755 > --- a/scripts/gen-dtb-s > +++ b/scripts/gen-dtb-s > @@ -36,7 +36,7 @@ if [ "$imd" = "y" ]; then > if [ "$model" != "notfound" ]; then > modellen=$($FDTGET -t s "$dtb" / model | wc -c) > le32 0x640c8004 > - le32 $compatlen > + le32 $modellen > echo ".byte " $model > echo ".balign 4" > fi > -- > 2.0.1 > > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox