From patchwork Fri Apr 13 15:49:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 133403 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp862088ljb; Fri, 13 Apr 2018 08:49:09 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/jMZZlfF1sLEbFLsvgfViQI4jC5Y/kiHMN5/kUwOUOjvC5uYRANxR8vFINc8Wxj9P/Dq5F X-Received: by 10.80.205.69 with SMTP id d5mr20500022edj.118.1523634549108; Fri, 13 Apr 2018 08:49:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523634549; cv=none; d=google.com; s=arc-20160816; b=XVvO3Ep6JEAiNBZfk3urZ28fjRvhxONhh4anbkM3d/3THVTrCrtXH/6fRcZZOIweJ8 7vVlyz6C+PuTiSQu7c+HP1F6cVk6nf59W0lKGif5HbSPgywl5oHQ5olla8sMRvVdyLZe 8gqGesXYYR9HULHoFZL2ydfvF6hX6Po1kQi9JUGOh+2EM+maiCEtEGRuXShhwFnVQi4a YPzvljq462IMs9PNSgTCLnm8GukDwD9WtzsyU8L7A1a/3pm/D5pVb7cch3YWUQ7KQPix P40C4zDae4luBtMlf4SSZD1GqXfq0fiYuy/R/XvayQ5WRSh8lEm0RMbgcBHu5WElgCM5 fy/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from :arc-authentication-results; bh=UMHXCHnPa548YWSaxz/WXsaeX7H2Q42a0LYpTBEIdF0=; b=Pw/7CoTkyjCydcSuntW+Xp1+lMVm/TS7bOdEwbHI+X/lgs2S7bSYpCQMiGDdaWqFWu OmQPa/5aTos4BuSsCl8iH8pR3EHfT5Qmofx8JxSr++8Sud85Jboe5DZbDOXqL8q9rSNE LK3f42A0ITAP8I3yZ3kXMdUNFeD9pM0QuiRMbomLo9CyD3oi9QtbxOJ1cESiu7M+Tkv5 2EWPhLJ1gbuacIrHy1bfKnTKf2y0J9QaGUMUROThga0mcPPNnDllm/2IB1FTg+6VrT0Z EOpsLgx2GLcRIt0eL78l9qsTlY+CjxgcoZRnqePPtJoZvYXEaoueq/mCyqz8yBBh9jVy dfyw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id i16si2806878edj.340.2018.04.13.08.49.08; Fri, 13 Apr 2018 08:49:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 9DB0FC21DD7; Fri, 13 Apr 2018 15:49:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 86462C21C4A; Fri, 13 Apr 2018 15:49:03 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E4FA3C21C4A; Fri, 13 Apr 2018 15:49:02 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id D5D21C21C2F for ; Fri, 13 Apr 2018 15:49:01 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 66ECBAEFF; Fri, 13 Apr 2018 15:49:01 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Fri, 13 Apr 2018 17:49:00 +0200 Message-Id: <20180413154900.84208-1-agraf@suse.de> X-Mailer: git-send-email 2.12.3 Subject: [U-Boot] [PATCH] rpi: Adjust fdt_addr_r to a sane address X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Back in the old days, 0x100 was used as the address to pass the device tree from firmware into the kernel. This has since changed to a more dynamic location, so using 0x100 actually breaks more things than it helps with. Let's move the device tree default location for distro boot to a more sane place that gives us enough head room in low memory. Reported-by: Tuomas Tynkkynen Signed-off-by: Alexander Graf --- include/configs/rpi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/rpi.h b/include/configs/rpi.h index 325e52a019..fcf7e0976b 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -124,7 +124,7 @@ #define ENV_MEM_LAYOUT_SETTINGS \ "fdt_high=ffffffff\0" \ "initrd_high=ffffffff\0" \ - "fdt_addr_r=0x00000100\0" \ + "fdt_addr_r=0x01f00000\0" \ "pxefile_addr_r=0x00100000\0" \ "kernel_addr_r=0x01000000\0" \ "scriptaddr=0x02000000\0" \