Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC9F9C433F5 for ; Sat, 16 Oct 2021 11:31:01 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 23E3461181 for ; Sat, 16 Oct 2021 11:31:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 23E3461181 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=soeren-tempel.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1697E83657; Sat, 16 Oct 2021 13:30:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=soeren-tempel.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=soeren-tempel.net header.i=@soeren-tempel.net header.b="r7BecyTb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C7CC3834E8; Sat, 16 Oct 2021 13:22:43 +0200 (CEST) Received: from magnesium.8pit.net (magnesium.8pit.net [45.76.88.171]) by phobos.denx.de (Postfix) with ESMTP id 0140E833AE for ; Sat, 16 Oct 2021 13:22:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=soeren-tempel.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=soeren@soeren-tempel.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=opensmtpd; bh=+cQ2Kve6QG y3nLgLHT5eCRxYsnitWLF6egPrcir0zDg=; h=in-reply-to:references:from: subject:cc:to:date; d=soeren-tempel.net; b=r7BecyTbnKaGhEucVjTXjqCccNh eZtQm01a/ofXbFDGWnzlZOP1QGQS7A30WjAKUOc5u3HUd3ZU83vUQ+mn7IltU567+FA+CI QzFjimCysPny1uRGROovq5MrYdjQ3KBxnm2nkv/ch4too9Iau+F+L3QGKbGtMZyo3eJ/03 BzMg= Received: from localhost (p200300f5ff094b0062c45da34140eab5.dip0.t-ipconnect.de [2003:f5:ff09:4b00:62c4:5da3:4140:eab5]) by magnesium.8pit.net (OpenSMTPD) with ESMTPSA id e70f3b5a (TLSv1.3:AEAD-AES256-GCM-SHA384:256:YES); Sat, 16 Oct 2021 13:22:40 +0200 (CEST) Date: Sat, 16 Oct 2021 13:22:35 +0200 To: Tom Rini Cc: U-Boot Mailing List Subject: Re: HiFive Unmatched: U-Boot stuck when loading Ramdisk From: =?UTF-8?Q?S=C3=B6ren?= Tempel References: <3JGPTMTJW4N96.3Q6M32G65IN1H@8pit.net> <20211015161653.GY7964@bill-the-cat> In-Reply-To: <20211015161653.GY7964@bill-the-cat> Message-Id: <36RDVSYAY5ZNA.3HXLORY8EDTOY@8pit.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Sat, 16 Oct 2021 13:30:39 +0200 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.103.2 at phobos.denx.de X-Virus-Status: Clean Tom Rini wrote: > I believe, that risc-v, until the current dev tree (so v2022.01) > doesn't set the flag to prevent itself from being overwritten when > preparing to boot the OS. If I understand your comment correctly, this means that the issue has been fixed in the v2022.01 dev tree? If so: Could you point me to the commit fixing the issue? > So the correct change is indeed to set CONFIG_SYS_BOOTMAPSZ as this > does tell U-Boot to always contain kernel/dtb/initrd to within that > size window, from start of memory (roughly). Alright, I guess we are applying this CONFIG_SYS_BOOTMAPSZ change downstream then until v2022.01 is released. Greetings, S=C3=B6ren