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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id CF0C9EB64D9 for ; Sun, 2 Jul 2023 10:44:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 722E786197; Sun, 2 Jul 2023 12:44:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se 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=kwiboo.se header.i=@kwiboo.se header.b="bbGutCJ3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6E3CA861D5; Sun, 2 Jul 2023 12:44:02 +0200 (CEST) Received: from s.wrqvtzvf.outbound-mail.sendgrid.net (s.wrqvtzvf.outbound-mail.sendgrid.net [149.72.126.143]) (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 DDEC9860AC for ; Sun, 2 Jul 2023 12:43:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bounces+31435339-7456-u-boot=lists.denx.de@em2124.kwiboo.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=from:subject:mime-version:to:cc:content-transfer-encoding: content-type:cc:content-type:from:subject:to; s=s1; bh=+tKL0SN0Z30Ll4UmEFs9tHm/EQHIE8okL5EnfwBpqo4=; b=bbGutCJ3PMb1bnuOLv7wi8GYiL2ohrneCqcgNGlxq6GTX3T9S0cSK+ARQmBc1WXLPe3x mw1YY9ZqqH+09QRHTWHjI9ee29m+dIntU+bC3VgSynjGuDpuStg7X8NW08FRan5pcBlf7L EowZWAidG+Bj79TpdbhIUUvMQSCzK/7r2v95vuCJ91HzqGDgkCqvvekMl0wJnr4Xump+fF iccEpBhEn8Ie/8xwZF0met7ltSwmGART1XQ22L8Y1Tkh7CQshj0YTot1pUQHcB4/bfGIT5 dZ4lDDxc/xLssMf441cZ6WN3nk2Kp7FafUzFA3tuDZfre3PcLY2H8WegtMzJyTtg== Received: by filterdrecv-84b96456cb-ggcm8 with SMTP id filterdrecv-84b96456cb-ggcm8-1-64A154ED-B 2023-07-02 10:43:57.539389702 +0000 UTC m=+4532727.670917949 Received: from bionic.localdomain (unknown) by geopod-ismtpd-3 (SG) with ESMTP id GpB-R7duSIqUod9JHudXsA Sun, 02 Jul 2023 10:43:57.054 +0000 (UTC) From: Jonas Karlman Subject: [PATCH] rockchip: rk3568: Fix alloc space exhausted in SPL Date: Sun, 02 Jul 2023 10:43:57 +0000 (UTC) Message-ID: <20230702104353.3682549-1-jonas@kwiboo.se> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h=2Ffvr6l+ao9WGkPS=2F?= =?us-ascii?Q?0B1syyI=2Fwe9ciNz8h+md0cqc9rquBZWuEASxf++?= =?us-ascii?Q?2DZh21VrZWfyvkWUpSZcVEVVXTYpLlNGyn84hZs?= =?us-ascii?Q?LP+uG9UE62gPiMdFutT95ICaYpjbJVg0T5lrgJU?= =?us-ascii?Q?Q69UNaa7GLVVt1hpgXdcYBxa6XWHSaVW0aypM2?= To: Kever Yang , Simon Glass , Philipp Tomsich Cc: Joseph Chen , u-boot@lists.denx.de, Jonas Karlman X-Entity-ID: P7KYpSJvGCELWjBME/J5tg== Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Current SYS_MALLOC_F_LEN of 0x2000 (8 KB) used in SPL is too small for some RK3568 boards. SPL will print following during boot: alloc space exhausted Increase the default SYS_MALLOC_F_LEN to 0x20000 (128 KB) to mitigate. Fixes: 2a950e3ba506 ("rockchip: Add rk3568 architecture core") Signed-off-by: Jonas Karlman --- arch/arm/mach-rockchip/rk3568/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/rk3568/Kconfig b/arch/arm/mach-rockchip/rk3568/Kconfig index 94e04b79e7d8..4424a3c47be1 100644 --- a/arch/arm/mach-rockchip/rk3568/Kconfig +++ b/arch/arm/mach-rockchip/rk3568/Kconfig @@ -29,7 +29,7 @@ config SYS_SOC default "rk3568" config SYS_MALLOC_F_LEN - default 0x2000 + default 0x20000 source "board/rockchip/evb_rk3568/Kconfig" source "board/anbernic/rgxx3_rk3566/Kconfig" -- 2.41.0