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 07225C433F5 for ; Sat, 16 Oct 2021 12:06:14 +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 065D860F56 for ; Sat, 16 Oct 2021 12:06:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 065D860F56 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com 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 51A8B835DD; Sat, 16 Oct 2021 14:06:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="N/fUdTm0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1CB9D835F6; Sat, 16 Oct 2021 14:06:09 +0200 (CEST) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 A1A0483578 for ; Sat, 16 Oct 2021 14:06:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82b.google.com with SMTP id z24so11169275qtv.9 for ; Sat, 16 Oct 2021 05:06:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Fbfg1bb7PsA33i4qWziCz6/uf/c7LBMMf7xCRXUXJXA=; b=N/fUdTm00c9ctkl7pfWvYgC3ivzbvYy2FlU2PksxU9wQs5hsCZjrF+5HwAXbhP2m5M T/rJog7DhY1eAWKNZrWNIQVFYtmdnMOPVG1z/prHWvwEvs2aL1+ccmLhFZmDGdU0iieD ARs8wpJ6pjxCpD3l4/vkI3ZRfHzGSQjrqINAg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Fbfg1bb7PsA33i4qWziCz6/uf/c7LBMMf7xCRXUXJXA=; b=aIfTU28wgz22JIixOMwczjfZn9jHByXMbKSwkQjvt9mgQEKjvyMURiOStTtmtWRlvo 7YJE+mF521Prcf3h0OIFUCdr7xB8HRzc38GrOnsxFvee3Zn4NGijDTJbiEc4XlBfGbNY crI8hOyD5mkl0iqSCE+8tpIAMa3w9sOQgJ1E+m287l4UF878n3QMnAP8NFybsnd4m9j2 4zeCAu78cOmEJCae89dAhIY9PIKwjw3FwZ29Ji/PUFGE1KD9qERCGwPjRT5GiGzDLpx8 tWtxSJ0mHy64/345NiUvR5qepCffEFC0Nie3z4OGnLQdpuBvRHNVo0ycHBIsPoV25uQ7 ECog== X-Gm-Message-State: AOAM531mUiYVH8/R3tCBgA67LD3tBttzquJii+uDZhwq9ksjOTx1SvZN bmukaKIpTIVnd94Vs5bYrz/93Mo4rDc= X-Google-Smtp-Source: ABdhPJxcsWiK2y5ngV102v3Jmj1G1YaZvzEk5zvgZ0FWcRlvjk0NDGGgx9pyF7o8RCCFWwdPs4d40g== X-Received: by 2002:ac8:1e06:: with SMTP id n6mr18869780qtl.365.1634385964192; Sat, 16 Oct 2021 05:06:04 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-381c-6b3a-b46f-68f3.res6.spectrum.com. [2603:6081:7b01:cbda:381c:6b3a:b46f:68f3]) by smtp.gmail.com with ESMTPSA id k9sm2785993qkj.75.2021.10.16.05.06.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Oct 2021 05:06:03 -0700 (PDT) Date: Sat, 16 Oct 2021 08:06:01 -0400 From: Tom Rini To: =?iso-8859-1?Q?S=F6ren?= Tempel Cc: U-Boot Mailing List Subject: Re: HiFive Unmatched: U-Boot stuck when loading Ramdisk Message-ID: <20211016120601.GK7964@bill-the-cat> References: <3JGPTMTJW4N96.3Q6M32G65IN1H@8pit.net> <20211015161653.GY7964@bill-the-cat> <36RDVSYAY5ZNA.3HXLORY8EDTOY@8pit.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="S15chdLD9aN2Rgzd" Content-Disposition: inline In-Reply-To: <36RDVSYAY5ZNA.3HXLORY8EDTOY@8pit.net> X-Clacks-Overhead: GNU Terry Pratchett 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 --S15chdLD9aN2Rgzd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 16, 2021 at 01:22:35PM +0200, S=F6ren Tempel wrote: > 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. >=20 > 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? It's a series actually: https://patchwork.ozlabs.org/project/uboot/list/?series=3D258110&state=3D* > > 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). >=20 > Alright, I guess we are applying this CONFIG_SYS_BOOTMAPSZ change > downstream then until v2022.01 is released. Sounds like a good plan, yes. --=20 Tom --S15chdLD9aN2Rgzd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFqwCYACgkQFHw5/5Y0 tyzppQv/dMna3zZ5kRxX566y01ObqfcGpQEkNGw8EL4pvicpo6S8Jv+7xGJI8+j9 JJjd2KYdS7jPcWBAH5ltB7mmFDaLcOY5mKGfY1gdQJMyDzoFLMqi54romJstDapj HU/tG3UQaIaHLSWxo0VhxyImqWNDND/oaji4qsf1qs7S7QwAM1sipwkffXL1oVhK cGZ57p9psyHmMWgj43dY+rcMvBRbHcgL6jRl6ucaT7OZwJmDLf8hdHuZIHB+9wFU rO7YvB65RTUGhGeZT6H9JXgo2jJErTidrQo9o/cuArrGum5SQoYnM7IVmSeJ81of +iechw/HhAvnxTRTiXBwqlW4HudwKyMu0OAMRGkpmEQK/AnQbbf9QGWOZQSpxpif /0JhG4lNJ6mi8eBVKlUVxT0WLrF+uNPdzFkDwtf2oSdbHeMmD6LpMTsZZNMsu8Wz FYBYlma8X1BbKyib24e6S0sHsKj2YGlDAi10clmg68R3A65DpxZiJ/0+Djug4Aw2 L1xmxgQH =aoEr -----END PGP SIGNATURE----- --S15chdLD9aN2Rgzd--