From patchwork Fri Nov 9 15:26:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 150669 Delivered-To: patch@linaro.org Received: by 2002:aa7:da0f:0:0:0:0:0 with SMTP id r15csp376517eds; Fri, 9 Nov 2018 07:34:02 -0800 (PST) X-Google-Smtp-Source: AJdET5f+7VMe29Hi70kq+u9b+SLhjth9cwm4S4hxZO2n38mi0+XYl2HYSOh2y+S86C5dbP0UmIVY X-Received: by 2002:a50:b2e1:: with SMTP id p88-v6mr2735230edd.155.1541777642456; Fri, 09 Nov 2018 07:34:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541777642; cv=none; d=google.com; s=arc-20160816; b=ogmExAIapLQHnd+7cZ1N7s5dKemiCbrhSpE9bExHIQEZ4JOxdkFAciHs1U/dxyRRWI 6RQzzAiQJdJRqcPpX4qQprSKLQAFZ+00wGuBulXmAbtwO7VHPwCK2HUfs4L7+mL6I3+9 a5dv8OrQwITtZZxNjWi8ScmsubPVH/jmpahsjQoGHLvMrOFEZwXNCdoJMUJZVEd+lVzo b+Q6pFEy+RKLlDkaWkmyiDUrTtr6ZsbF+xDj0Z0xJnCrAE4x157AB0O1E9g0GAeewEXR sE7DxJlOE79wkxE6rAef74xf4WyJVILkf6vqX2ok2kbcO0/1feXafAQ7lBschxcybUsh tMDw== 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:cc:references:in-reply-to:message-id :date:to:from:dkim-signature; bh=3/Vk4ZYMm0XZw6UdKzbRo6JKYM1L/NWdhvbURix+WVs=; b=VUXI0zfxhCYaUWW4ZKrdtyZUTVBZOb5Lc4JPetZoZxr8gNC2TjqOV3c6CsEL+Wnh/T olYmkjUYng/yXyhRz/th4bw2nEu45gyXfjqrrN8IZJ5VWtyBVQOjl5FuPfzrh4bIVqpW maiWIX7J/jh2h0ogIDlo4iUJw670OaEewIUwFjsHC/QHaoF1/+khZQfAaXgIwD9zrDCl t5kmafcOt219WrFzwP5qmVhgi3/STsamxzewEtu/v0mXFRYBtzf0yufEMGMQLFKDRIqB FDbJXjiVyNJsQTA1MCVl5X8H4w/P80DkMP1ppWnqEQOlP9IbwqavT0/hmOKbNNkwhgt6 Eq0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=GkDMlsMY; 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 r1-v6si4025136edq.38.2018.11.09.07.33.52; Fri, 09 Nov 2018 07:34:02 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=GkDMlsMY; 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 3A6B3C2210B; Fri, 9 Nov 2018 15:32:46 +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, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID 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 882FFC225B0; Fri, 9 Nov 2018 15:27:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 77E2EC2259B; Fri, 9 Nov 2018 15:27:14 +0000 (UTC) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by lists.denx.de (Postfix) with ESMTPS id 8C742C2259E for ; Fri, 9 Nov 2018 15:27:08 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id u9-v6so2333524wrr.0 for ; Fri, 09 Nov 2018 07:27:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4G4jhZ4NPrqD9z35EA3JgHI7ZuEmf+o7iVAHKLkoJTg=; b=GkDMlsMYiIh/H10hgbrnKMu5kqd3F87IRsP6kIJt3GsP/2jGtZEiaSNTyxEnpG3IGK 5qq+6YFsH7q94PUs2cOn5o3IOilkbvF2iDYwDhOfXCd8p7J1Suk9V5sbQHvIxanprfwR NAVMrmaDMNwapbkObgHEZq0OkNQbJqDy2OBg5FsTHWqkNgeZFwO3H27dzcVdoEGvN2g3 IFYAsOScd47HDNIK68k8MGjBc+YP1pc8oMsaJqKMDP01ptlKvlEmecky8MuvAL4g7njr kB2QivG/6+z5vehhJHclS+PJUlaH8RP0NYc89yHsDGnVI80m6vlZdgnniTba7nRXhx2r yR+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4G4jhZ4NPrqD9z35EA3JgHI7ZuEmf+o7iVAHKLkoJTg=; b=PmjueSgJEgj5Ul3RBDRNKydCmcSs0eO9cw9PR6JBDfsgY/+sgQ9nMNX6lN0yrVqZGa aURHGLJUiUAe6TeYDTLk5fWmxMXWWCXZbdSSZ/BSyAZkSkt5DKWW4e48+dT7//9+phVA RNlTas339EsGL5hLqJywBicn5xqo+MoojE2aWYdP3JP7nmpBwqs2FId74Aq/4+9MMdge 2WqXGr/BGfyNCfgvm3/YzlIAlR9vgdCczFRPuKoLhSosw3dgO+pZ4fZQMJgq8eI40S41 A32WJ2A33620cqtyacNxxTIGLR1Q2uAj85ghxlrS7+lKgnNOO9WAcxOONEKKmv8w4ctX o8LA== X-Gm-Message-State: AGRZ1gIqMEMfic+tAMuUh9rzl+xMYOvy93HE2MZ9teMke2/xbfp26YXm XvK8Gj7XbwltzY2kYF1R5VO5MeP4ULo= X-Received: by 2002:adf:c752:: with SMTP id b18-v6mr7810283wrh.197.1541777227927; Fri, 09 Nov 2018 07:27:07 -0800 (PST) Received: from bender.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id a127-v6sm1748545wmh.24.2018.11.09.07.27.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Nov 2018 07:27:07 -0800 (PST) From: Neil Armstrong To: u-boot@lists.denx.de Date: Fri, 9 Nov 2018 16:26:46 +0100 Message-Id: <1541777218-472-8-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541777218-472-1-git-send-email-narmstrong@baylibre.com> References: <1541777218-472-1-git-send-email-narmstrong@baylibre.com> Cc: linux-amlogic@lists.infradead.org, trini@konsulko.com, Jerome Brunet Subject: [U-Boot] [PATCH u-boot 07/19] configs: meson: change default load addresses 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" From: Jerome Brunet The original chosen addresses conflict with the BL2 initialisation. So far there was no issue with them but if we preload binaries in RAM (ROMUSB boot) before running the BL2 they get corrupted by the execution of BL2 init. If we load them around 0x08000000, there is no such issue. Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- include/configs/meson64.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/meson64.h b/include/configs/meson64.h index 1929a3e..80c883e 100644 --- a/include/configs/meson64.h +++ b/include/configs/meson64.h @@ -41,9 +41,9 @@ #ifndef CONFIG_EXTRA_ENV_SETTINGS #define CONFIG_EXTRA_ENV_SETTINGS \ - "fdt_addr_r=0x01000000\0" \ - "scriptaddr=0x1f000000\0" \ - "kernel_addr_r=0x01080000\0" \ + "fdt_addr_r=0x08008000\0" \ + "scriptaddr=0x08000000\0" \ + "kernel_addr_r=0x08080000\0" \ "pxefile_addr_r=0x01080000\0" \ "ramdisk_addr_r=0x13000000\0" \ "fdtfile=amlogic/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \