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: 10676177 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 B89F713B0 for ; Fri, 9 Nov 2018 15:27:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A600F2ED4C for ; Fri, 9 Nov 2018 15:27:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A8912EDDC; Fri, 9 Nov 2018 15:27:36 +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 3B1172ED4C for ; Fri, 9 Nov 2018 15:27:36 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=VA5VgT9HzZCUuuHM3YmfHR00Lzm2ab5X5WV6uknfEHM=; b=gUkA3PW6ChxzfET4BmIWPcaRok C5zyA75TkMGpyBqeJBZyMcoi9cs45qS5PwjtJtmTCpTVoe5R57yp/Nycq7BoXSI0jSnCm184ryzv0 CRHGLRqjQdGvGsgh7dpr+wI6w3djKxP2Sq5pt82/NX2/+8ntj+BKjxlYoxs/hdSZzWhuwGwDGppMW Uw8GUwQ8RhQqpaTV1P8USDm7Z2r7+RhTR8zn7dngVIwo2WX3I7IFMq/QgVgIdDa2hTPr2MhntLQ3l s2tUxOk0dq0orEuU+i65Kf4i5Qu3nSPlzYGFAWsuFF71AnfTPqJW/HeWI4T2qcmyyrLGJ8EvhnAIU y47desqA==; 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 1gL8h4-0002q4-9w; Fri, 09 Nov 2018 15:27:34 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL8gp-0002YP-M1 for linux-amlogic@lists.infradead.org; Fri, 09 Nov 2018 15:27:22 +0000 Received: by mail-wr1-x441.google.com with SMTP id b13so2288320wrx.6 for ; Fri, 09 Nov 2018 07:27:09 -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=DeBjirnGrxplffXkXIuQpI4Gw0Y4tnEKmboqG3suUZ4DACBnnELloHhYbdmb8bGoYV CipY6iULm6vjQ1vAY/z4Patas9oKtyXRbeVXrSzk2cQ2YbGMn5lHCf4TGxTpHHdTUIEv R90EyXXR0XBVRs/gzSycNE3WMHEWwL+QFngutvdnI/ZpGTEE7kZ8E14VMxGK6YpwXl+s Vh+BTAtxyiRCvOH6w1I9j7Uc61kh79twVUuai4EkP5pO/UmdNeiYJXInMwy5aISDeXCz vqMlGxBC1DHssJ+zfu+DxUqWvyGC04pvts2i1UVFMs/ungAjiOokz5m0nOgbapIoGat8 BIZQ== X-Gm-Message-State: AGRZ1gIDsxf6FxgC5uaL3HVKtH9FYdI2rROsZBYm2fsUpK8do61qKBhf Qu68ZF1Nqg6YjJfsr2mkZoCmIg== X-Google-Smtp-Source: AJdET5eDNXJelHhpER+zdjbk0BsElozKl2wEwdodifbfTJSPNgkCMh70EHXiwWvIxyzyKSZA2Aa0ag== 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 Subject: [PATCH u-boot 07/19] configs: meson: change default load addresses 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_072719_754600_D4AF5536 X-CRM114-Status: GOOD ( 10.57 ) 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 MIME-Version: 1.0 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 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" \