From patchwork Thu Nov 22 09:07:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10693707 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6B91B14DE for ; Thu, 22 Nov 2018 09:08:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F7812C2FE for ; Thu, 22 Nov 2018 09:08:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 53C5E2C30B; Thu, 22 Nov 2018 09:08:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7FD062C2FE for ; Thu, 22 Nov 2018 09:08:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BOzMTEFgt/4wOC0zk81AosNhrUKqpDqA/0Lv8yVbSRA=; b=A9tI4aFhWZWVfE sncYD9Ctubk+BNh9jxP2zmApZ/21PMHD740trm6L+L8gEmANWi7lgoaELqrbtWb62jyjNU01/PEoc EblM+kH3uBPtzcycsLwJ3ZaufxRN4rRVg6LrHag0hrsr7LgXiNV3KWILUR2VmwXvJRIbIzSGgb3s3 ok8QTTlZ3dvHeem0heRKult/r2TlcY5lXN+5NlwRMqBQj5MpXswy2H7KTQEymWGa2unaUPNNH4M6j L1mZXvfSPSxvotdtKCFONPdEQE848o5kQ0rUY0lAYgqqehWYcxCDhahV33tBkCIF2wNuVnDSgwWVT NuhrZfLoSDj+cP/pFdkA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPky3-0008Cy-9C; Thu, 22 Nov 2018 09:08:11 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPkxs-0007xg-IO for linux-amlogic@lists.infradead.org; Thu, 22 Nov 2018 09:08:02 +0000 Received: by mail-wr1-x444.google.com with SMTP id x10so8428919wrs.8 for ; Thu, 22 Nov 2018 01:07:51 -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 :mime-version:content-transfer-encoding; bh=Xx9ld+MQk2jz1mizqGoi7IP5NiXS+26yDhQ8XuOm3Dc=; b=AqUOGgfeILqz3cDJ/tYsXgUYuQlU0Of4555Oe6B/FNIVjijvVomCiH3/VbWt/60FIx pg+2xSSCv1N0heFEcMyJVx3bFk7EK8j4JiLud8n1fARqe5046S0Voisq/+5oG6RQQP1F KlWqM0aGcsL4g22TwBJ0VIkGzLqkv47P3WIKioygKv8XkWN0PC7XqTfPwv/t6VychXc6 zyhd4CmFe9tlwFtObQ25p2i7t99a4E3GKL/OVlS+vNac2r30tMXbVDLwKWM3pTP7agBh RhddLF5AaMobaR2HKWJR+XpoGm9q4EmgX7SKPZ6ceWp/EmgFsFHFqFFuyYHYzNHIX2Gv S8uw== 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:mime-version:content-transfer-encoding; bh=Xx9ld+MQk2jz1mizqGoi7IP5NiXS+26yDhQ8XuOm3Dc=; b=ZeHQ4CKmdOnNfG1ChxqFEq4nIYp72OPSp8xlRP/zaE8hJ4COLzVLHzYFOnTr90sMeP O63+I1uIvZ5OgkUqGmkRNk5n3+3o/q35Ln4NTy0JST7Js2LX9nPLb8+FRkzMR7grKDzr DeRXS/2Cxjv9Py3P4Esnsp/ph4rqlsj+2GOED/VpShGswmCPoitH4YNvNAztZcsR4EFa pejJnp8d4AQ0o7tau0r92XgV7RuKMOyX7Nhph+RyZJm9CY8A4Cf1PV4IsmLfuwKgE1Qj n7QTt+wprub73HW/R/K8ojjbrfVQkOyzqAH9xounEw+NH+UoLUQkYjALU447R2E9TUvv f5MA== X-Gm-Message-State: AA+aEWanrroNfCpelJCVnAhm46cpyo801T+wL18Ra+Pix7m5P4EOjIKW rqO/Cj+i6ga13TOfL18LOt5b5A== X-Google-Smtp-Source: AFSGD/XxaFVkTw5nIWE6rrKf9yuI1fgOrrEN/hkYwnvo3jHG5zZ2NbkGFvJ7o0EA+geyXnHMEkktoQ== X-Received: by 2002:a5d:4586:: with SMTP id p6mr8512681wrq.69.1542877670512; Thu, 22 Nov 2018 01:07:50 -0800 (PST) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id y9sm13856434wrq.55.2018.11.22.01.07.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Nov 2018 01:07:50 -0800 (PST) From: Neil Armstrong To: u-boot@lists.denx.de Subject: [PATCH u-boot v2 07/19] configs: meson: change default load addresses Date: Thu, 22 Nov 2018 10:07:28 +0100 Message-Id: <20181122090740.29739-8-narmstrong@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181122090740.29739-1-narmstrong@baylibre.com> References: <20181122090740.29739-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181122_010800_607176_EECE7078 X-CRM114-Status: UNSURE ( 9.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, Neil Armstrong , trini@konsulko.com, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 1929a3e406..80c883e3f4 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" \