From patchwork Wed Oct 14 06:11:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 530017 X-Patchwork-Delegate: sbabic@denx.de 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 874DC141107 for ; Wed, 14 Oct 2015 17:11:27 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=agner.ch header.i=@agner.ch header.b=B24mpNNV; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 89FD44B6EA; Wed, 14 Oct 2015 08:11:23 +0200 (CEST) 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 WAZLUJdWJLSx; Wed, 14 Oct 2015 08:11:23 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EED6D4B6E0; Wed, 14 Oct 2015 08:11:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BCEC94B6E0 for ; Wed, 14 Oct 2015 08:11:20 +0200 (CEST) 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 FoHcxCG2Ijbm for ; Wed, 14 Oct 2015 08:11:20 +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.kmu-office.ch (mail.kmu-office.ch [178.209.48.109]) by theia.denx.de (Postfix) with ESMTPS id 8EF1C4B6DD for ; Wed, 14 Oct 2015 08:11:15 +0200 (CEST) Received: from trochilidae.toradex.int (unknown [IPv6:2601:602:8b00:ffde:ad4:cff:fe03:1df8]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 4C0415C2645; Wed, 14 Oct 2015 08:09:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=agner.ch; s=dkim; t=1444802974; bh=IvIbHQeqs7qtbdbHiMFMnKUALfFbnXIR2S04MqaRpp0=; h=From:To:Cc:Subject:Date:From; b=B24mpNNVCmsq2JCatny31qvPLWR1smy6yC86OIQdKiEEKy58vW7jsqivCxwgIEEol ZhDn3qvQv7LdqGM2r0Dxh5mackiiQ9JBvkb+2HRqlF/FS06m7cXuZiiskdYC8U6PbX GloP94oDhIhU4bKjTYvtju13gS2D+K+6d9OYfwwI= From: Stefan Agner To: u-boot@lists.denx.de, trini@konsulko.com, b18965@freescale.com Date: Tue, 13 Oct 2015 23:11:45 -0700 Message-Id: <1444803105-3312-1-git-send-email-stefan@agner.ch> X-Mailer: git-send-email 2.6.1 Cc: otavio.salvador@ossystems.com.br Subject: [U-Boot] [PATCH] arm: vf610: move device tree after kernel image X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Since the device tree relocation is disabled (fdt_high set to 0xffffffff), U-Boot keeps the device tree at its load address 0x81000000. The kernel uncompresses itself to 0x80008000 by default, hence this limits the maximum (uncompressed) kernel size to somewhat below 16MiB, otherwise the device tree gets overwritten by the kernel data... Move the device tree load address to 0x84000000 to avoid that the device tree being overwritten by the kernel. Signed-off-by: Stefan Agner --- include/configs/vf610twr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/vf610twr.h b/include/configs/vf610twr.h index 324ba8f..1d15f35 100644 --- a/include/configs/vf610twr.h +++ b/include/configs/vf610twr.h @@ -129,7 +129,7 @@ "fdt_high=0xffffffff\0" \ "initrd_high=0xffffffff\0" \ "fdt_file=vf610-twr.dtb\0" \ - "fdt_addr=0x81000000\0" \ + "fdt_addr=0x84000000\0" \ "boot_fdt=try\0" \ "ip_dyn=yes\0" \ "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \