From patchwork Wed Aug 19 19:11:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 1347980 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Vg7AIBQm; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BWy7W5lzsz9sRK for ; Thu, 20 Aug 2020 05:11:32 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8ED8A81F93; Wed, 19 Aug 2020 21:11:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Vg7AIBQm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A35A582176; Wed, 19 Aug 2020 21:11:21 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3B36381E39 for ; Wed, 19 Aug 2020 21:11:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aford173@gmail.com Received: by mail-il1-x141.google.com with SMTP id e11so13685733ils.10 for ; Wed, 19 Aug 2020 12:11:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+VhDdK6wE03EEN3CTV8ZYJeocZJW+6Cl3vp0i6ILLRw=; b=Vg7AIBQmpqBnPKoPGYgxV61ptaku6TB5yyUfK4zej+FXcFD0PcXoPeObHjKQh1t6Ac WJfeTjjNmjrjMsk2x7/hpCluORcOEQN9/RIhyUItkFKuPL7vSTNZu8NqDQsK7idrBe/e tV0Bbjz0KUSjgyRyLTz5B53peMUYa835eEwFXGjLoHMEtXjnIPfYS27zZKRGSQRtC63p E5jfU19x4CFIXdm3zaGviSsfhFW2nNvsSEAJeZnpk9KVqQFQBmz2YS9BQXySY/KPfrBF 5KrQ7ZOlmCEJQbQdZjDN2/TCjuY2RsS2o3ANwm1FIsHAGmNSBL6RXrym44pzmM5Zo35T PMmQ== 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:mime-version :content-transfer-encoding; bh=+VhDdK6wE03EEN3CTV8ZYJeocZJW+6Cl3vp0i6ILLRw=; b=jX8OKhahxRTEvsUrz4xcKjIK5HtZZCuLtWtkV7G/PsXhDEDf6N/uZtJLSxG5ydhBx9 N8pgjXvsLDW+YeYjbneFeAesqvpHc+tcx4AAkjxBy1TKe8EXEn/BCIv8WhX035Zzn8lX af/EURrI2TiVLy1/Q8nlod27m3tpknWtZyMfQ/r1vq5cmUMWhFhRhbqt2GQNeEMX+paH 2iIdajfHoNdyh40XGMQj3NynEhd6JAHEwr8xue1uMxDnkpTKe6UrtvVIv3vKlI6+xiQw sAq+N68UNJoKesu2RF2wPCLeeZ//D02vNpFQ3UOF94ogTRKC/K2h1qFUdpVpZnK2XdTg MShQ== X-Gm-Message-State: AOAM533y1GIi5gMelIGERbfPAwtI6h8L+m4EtT4sAT328RI+4nLG4N2j mAHlkfgrhlnwtxxeHI3QdQgrw8s7Lc3doQ== X-Google-Smtp-Source: ABdhPJyfBYH9A1K5rKtYRQ2rqztyE5OZFeGnAv/+u4kCQtsHGaLy6tgVBsGP/cdE6XBxJJPXqgKAIA== X-Received: by 2002:a92:6f0a:: with SMTP id k10mr11793817ilc.5.1597864277560; Wed, 19 Aug 2020 12:11:17 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:b588:1a5f:55c3:870e]) by smtp.gmail.com with ESMTPSA id z7sm10916136ilk.19.2020.08.19.12.11.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Aug 2020 12:11:16 -0700 (PDT) From: Adam Ford To: u-boot@lists.denx.de Cc: Adam Ford Subject: [PATCH] ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address Date: Wed, 19 Aug 2020 14:11:08 -0500 Message-Id: <20200819191108.2853540-1-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean The loading address is too close to the kernel address, so newer kernels may overlap memory space, so loading the device tree may corrupt zImage. This patch moves the fdt_addr_r to 0x18000000 which is also consistent with some other i.MX6Q boards. Signed-off-by: Adam Ford diff --git a/include/configs/imx6_logic.h b/include/configs/imx6_logic.h index 63662dd18d..58862e4c49 100644 --- a/include/configs/imx6_logic.h +++ b/include/configs/imx6_logic.h @@ -34,7 +34,7 @@ "script=boot.scr\0" \ "image=zImage\0" \ "bootm_size=0x10000000\0" \ - "fdt_addr_r=0x13000000\0" \ + "fdt_addr_r=0x18000000\0" \ "ramdisk_addr_r=0x14000000\0" \ "kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \ "ramdisk_file=rootfs.cpio.uboot\0" \