From patchwork Tue Jun 3 04:04:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 355150 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 761CC14007F for ; Tue, 3 Jun 2014 14:05:50 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 145024B8E9; Tue, 3 Jun 2014 06:05:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EG63GhhkiFV2; Tue, 3 Jun 2014 06:05:48 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7B8764B892; Tue, 3 Jun 2014 06:05:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 85BCA4B8BD for ; Tue, 3 Jun 2014 06:05:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vrKM8k2raQFb for ; Tue, 3 Jun 2014 06:05:19 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ob0-f202.google.com (mail-ob0-f202.google.com [209.85.214.202]) by theia.denx.de (Postfix) with ESMTPS id 5C41C4B855 for ; Tue, 3 Jun 2014 06:05:08 +0200 (CEST) Received: by mail-ob0-f202.google.com with SMTP id wm4so1214854obc.1 for ; Mon, 02 Jun 2014 21:05:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fauT8sQ7mJWzDAYr8gn9ZIEm/ImZv2C4PZ44FyIqCic=; b=DqcPlLHxkXuYWoHvL8cbYBcf5Y/fM/44m92RVZxmrZGXJds1VaQRVPngdr6kklB6Cr TYtNp4LsUehSqkTNCwGcPKiaBPVjOotPcTBLy+bjqD6pIzvqKdUvERqMchzKaBWrc0TE D4XvH+sItXBWneYd99tokGkW9qq6wZJ8AWLx9lDXvyqMln/AQikK9wIoqkycM9OTVXgn n/d6TbOqqevfCZUHfFMDQcHE8AE+ZwhoacgALPLCwWx71sosNeCuGbZQKranOKkdQK8l oYoXLNqWgsCxcx32aGoAJBaXrazRYoHQbMc7DEww6x0NhbGwqOb3JL2u97tQr/LLnXVH 1scQ== X-Gm-Message-State: ALoCoQnBtFWt0KiCMKNP5mEhp2H4vak1TbxoENHYAm9/Kv1a8IpQzQaifhiOXtNMxCxdWYgcBb2F X-Received: by 10.182.66.33 with SMTP id c1mr16465068obt.39.1401768306936; Mon, 02 Jun 2014 21:05:06 -0700 (PDT) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id y50si975680yhk.4.2014.06.02.21.05.06 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Jun 2014 21:05:06 -0700 (PDT) Received: from kaki.bld.corp.google.com (kaki.bld.corp.google.com [172.29.216.32]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id C447C31C42C; Mon, 2 Jun 2014 21:05:06 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 7C1F5220C01; Mon, 2 Jun 2014 22:05:06 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Mon, 2 Jun 2014 22:04:44 -0600 Message-Id: <1401768297-7198-2-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.9.1.423.g4596e3a In-Reply-To: <1401768297-7198-1-git-send-email-sjg@chromium.org> References: <1401768297-7198-1-git-send-email-sjg@chromium.org> Cc: Tom Rini Subject: [U-Boot] [PATCH v3 01/14] ti: am335x: Fix the U-Boot binary output X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This should include the hash so that image_binary_size is really at the end of the image, and not some 300 bytes earlier. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Add new patch to ensure the hash section is inside the image for am335x board/ti/am335x/u-boot.lds | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/ti/am335x/u-boot.lds b/board/ti/am335x/u-boot.lds index 2c5a0f8..78f294a 100644 --- a/board/ti/am335x/u-boot.lds +++ b/board/ti/am335x/u-boot.lds @@ -78,6 +78,8 @@ SECTIONS *(.__rel_dyn_end) } + .hash : { *(.hash*) } + .end : { *(.__end) @@ -118,7 +120,6 @@ SECTIONS .dynbss : { *(.dynbss) } .dynstr : { *(.dynstr*) } .dynamic : { *(.dynamic*) } - .hash : { *(.hash*) } .gnu.hash : { *(.gnu.hash) } .plt : { *(.plt*) } .interp : { *(.interp*) }