From patchwork Sun Jun 7 09:54:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1304669 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=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=aQNKFJii; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 49fsDc1Zcfz9sRN for ; Sun, 7 Jun 2020 19:54:37 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CFF5C801CA; Sun, 7 Jun 2020 11:54:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gmx.de 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; secure) header.d=gmx.net header.i=@gmx.net header.b="aQNKFJii"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CF1F180199; Sun, 7 Jun 2020 11:54:25 +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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B679280199 for ; Sun, 7 Jun 2020 11:54:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1591523651; bh=YCqVdQkUW+DuDLq3/xWlZjZDo8r8Wj8TxXPemoU56CY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=aQNKFJiirhI1Lnm2B8Zl5SiF+CNhmGQ5ovk5k2VNhD36UaBQeZPuuOwkymSsdfSCF K9nAAyZh0sUv+nTpsnSaQH1L4vCX03Z3nomB26rrEW7suhP8QIPkgCjtfW81jfBYRP 5KiFJMRyrZGhwrCCE3pGSc/yxcn2QSwv/OLdYu9k= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from LT02.fritz.box ([88.152.145.75]) by mail.gmx.com (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1ML9uK-1jQtLl355G-00I9P4; Sun, 07 Jun 2020 11:54:11 +0200 From: Heinrich Schuchardt To: Tom Rini Cc: Tuomas Tynkkynen , Vlad Lungu , Alexander Graf , Bin Meng , Simon Goldschmidt , Joe Hershberger , u-boot@lists.denx.de, Heinrich Schuchardt Subject: [PATCH 1/1] config: qemu: increase SYS_MALLOC_F_LEN Date: Sun, 7 Jun 2020 11:54:00 +0200 Message-Id: <20200607095400.158497-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Provags-ID: V03:K1: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VSptK+qTTml7UX9JBRV+SQ0O Nr5tQK0lH4nIWWCinlU+a7JuZw91ubbRTFiepRih54BKSMZsMIFgrJZ42w0lnHPN+piUrSsQA YbbT1LPHEfk7mhk1OO+H73P+oUeuyUP/7VYzZTBukk6KeJDZpi7vwFVdGCdBks9vxobuZIlRd WnRTDvfkgxc0ve/MROTqS7UZF4AumyVi6E3Jtx9oe0CaEW33x/gRHLZHyKAtVrk0CNjufq4xw NZ+quNN+A7Pdt06sQn1YNnKqIJaXZ2DEqdF3tS4o4NHPVyQLX28WJWz7guhCFTEnU3YLMlGQR NfIQc7xR80Vrg3bvBqMMi404l9L44jW3+O717e0LMcU727VdVQrB7fX44VwCn/H8JVRvve0Xw Cb6gcHSSTUinTR+2LuzWtyXgpUK33wFRXGtNmAz0ywkiq4q2VUIingxXZmSNd8cm4RkP7ef37 Y4DzeHcBc8mcY8vAn X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.2 at phobos.denx.de X-Virus-Status: Clean Several configutation options require additional memory before relocation: * CONSOLE_RECORD * LOG * RSA The current default of 0x400 is too small to encompass them all. Increase the value of SYS_MALLOC_F_LEN to 0x2000 for ARCH_QEMU. Signed-off-by: Heinrich Schuchardt --- There is a similar patch for ARCH_SUNXI still pending: arm: sunxi: increase SYS_MALLOC_F_LEN https://lists.denx.de/pipermail/u-boot/2020-June/415227.html --- Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.26.2 diff --git a/Kconfig b/Kconfig index 13204e2384..798a8e4d42 100644 --- a/Kconfig +++ b/Kconfig @@ -146,7 +146,7 @@ config SYS_MALLOC_F_LEN default 0x2000 if (ARCH_IMX8 || ARCH_IMX8M || ARCH_MX7 || \ ARCH_MX7ULP || ARCH_MX6 || ARCH_MX5 || \ ARCH_LS1012A || ARCH_LS1021A || ARCH_LS1043A || \ - ARCH_LS1046A || ARCH_SUNXI) + ARCH_LS1046A || ARCH_QEMU || ARCH_SUNXI) default 0x400 help Before relocation, memory is very limited on many platforms. Still,