From mboxrd@z Thu Jan 1 00:00:00 1970 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 7129BC433EF for ; Fri, 1 Oct 2021 15:36:07 +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 B08AD61440 for ; Fri, 1 Oct 2021 15:36:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B08AD61440 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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 7EDEC81FEC; Fri, 1 Oct 2021 17:36:03 +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="OjTRzBpk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8514482021; Fri, 1 Oct 2021 17:36:01 +0200 (CEST) Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) (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 AA36880C83 for ; Fri, 1 Oct 2021 17:35:57 +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=bmeng.cn@gmail.com Received: by mail-yb1-xb35.google.com with SMTP id v195so20913653ybb.0 for ; Fri, 01 Oct 2021 08:35:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AHwGRfHQq+VTRFF42JJqltRBhFDL8Kjn03Tc9m4y5oM=; b=OjTRzBpkcgl48jM8MQ81joesND2OOIxQ6ytq2pZg7e0ObweoefjYbdRfp8DWq1u9Jy aMOQbbctYy0gsua3wA03hwWnMFhW4bX1z/bPqDqaZidoXkI5SQq2Gf6RSMjuxHeWX7Ab yrlbTmF0DfL771S3k8zQtFUFj7mIOmlfTGZU+UhMZkN6bNR5Hik+Pqv0qR2K0eiW6dsU ewWCRa7qZh47tDw2pYYlI9VyTxZZE1hEBhL1TdTBuoR1IpYFgc+0tWQ06oOf/CyHZ1ci VXR7JEKuiWn6Ax7DDKMrsvkpFGgYVVZxKmEgsNDzKsdbifdkgaiZEpRymQXO8CNxdwwL ZSUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AHwGRfHQq+VTRFF42JJqltRBhFDL8Kjn03Tc9m4y5oM=; b=6N8t8emjr9/5CIsP0dcOEQiH2ocAtTXcWT3yAA/cmAZRRxt7BJn1v7+HI+x/zWU9+b kPeaFHEsm4WjqV2Ssys/zv6GybTzEkau3Y0giDe5dLmzJDlsl5jmtdLbIsqB+gmOwwYp a58CObQUSGlyIMfvoQzfgNuL/DpZvCbiMyfjVRVQ9ixq2zqP7bB/lYWLkaJGX8niBvYN 5oh7jb7Zn07x5dI2AjeMd06jX5eth34954VU6wUUD0nyrrZX2gWyMgyV0d55hlMZJYZ6 ydJRBHiCB+J4xRExLTMAtfShZWS1gEgzaqZUot96k5x8IcnsNHK9aLv7qOrEYWt0ghu+ QYBA== X-Gm-Message-State: AOAM533npMAcjaM3jA+n+UwkZ2XzcDVrhP6441izjPgaZImXvUpE35g0 xVNCMHBroGvCPzDeohlH0p/GeO+qSnXGWVGr99s= X-Google-Smtp-Source: ABdhPJyyraK6GQxz5z+TF1w1UBGUb8iq3VhhQMwGa31tFXERv6PkXr17W6gpLSqywm/8qJJ7EgyQeH2V9b2I6N996eU= X-Received: by 2002:a25:3843:: with SMTP id f64mr6780889yba.313.1633102556261; Fri, 01 Oct 2021 08:35:56 -0700 (PDT) MIME-Version: 1.0 References: <20211001113745.52797-1-heinrich.schuchardt@canonical.com> In-Reply-To: <20211001113745.52797-1-heinrich.schuchardt@canonical.com> From: Bin Meng Date: Fri, 1 Oct 2021 23:35:45 +0800 Message-ID: Subject: Re: [PATCH 1/1] board: sifive: unmatched: enlarge CONFIG_SYS_SPL_MALLOC_SIZE To: Heinrich Schuchardt Cc: Tom Rini , Leo Yu-Chi Liang , Rick Chen , Alexandre Ghiti , Pragnesh Patel , Dimitri John Ledkov , Zong Li , Green Wan , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" 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 Hi Heinrich, On Fri, Oct 1, 2021 at 7:37 PM Heinrich Schuchardt wrote: > > Avoid an error like > > Could not get FIT buffer of 1725952 bytes > check CONFIG_SYS_SPL_MALLOC_SIZE > No device tree specified in SPL image > ### ERROR ### Please RESET the board ### > > Signed-off-by: Heinrich Schuchardt > --- > include/configs/sifive-unmatched.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/configs/sifive-unmatched.h b/include/configs/sifive-unmatched.h > index f8ad2cce1f..8d3deabdd3 100644 > --- a/include/configs/sifive-unmatched.h > +++ b/include/configs/sifive-unmatched.h > @@ -18,7 +18,7 @@ > #define CONFIG_SPL_BSS_MAX_SIZE 0x00100000 > #define CONFIG_SYS_SPL_MALLOC_START (CONFIG_SPL_BSS_START_ADDR + \ > CONFIG_SPL_BSS_MAX_SIZE) > -#define CONFIG_SYS_SPL_MALLOC_SIZE 0x00100000 > +#define CONFIG_SYS_SPL_MALLOC_SIZE 0x00200000 > > #define CONFIG_SPL_STACK (0x08000000 + 0x001D0000 - \ > GENERATED_GBL_DATA_SIZE) What caused this? Last time this was seen on Ax25-AE350, CONFIG_SPL_SYS_MALLOC_F_LEN was increased, instead of CONFIG_SYS_SPL_MALLOC_SIZE which the error messages point to https://lists.denx.de/pipermail/u-boot/2021-May/449447.html Regards, Bin