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 C4801C61DA4 for ; Sun, 19 Feb 2023 15:07:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F2F32857C2; Sun, 19 Feb 2023 16:07:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject 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="pGwzR7A6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3F0F7854C8; Sun, 19 Feb 2023 16:06:43 +0100 (CET) Received: from cskrhhvt.outbound-mail.sendgrid.net (cskrhhvt.outbound-mail.sendgrid.net [198.21.0.135]) (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 2017185704 for ; Sun, 19 Feb 2023 16:06:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject 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:in-reply-to:references:mime-version:to:cc: content-transfer-encoding:content-type:cc:content-type:from:subject:to; s=s1; bh=PwSpyMm4wDKwSISgYpxZT+9kCdzDnFxwMUEM6dxb9/k=; b=pGwzR7A6r5jcAbVtMVwJFreM8nNdcka0mnKsudk+x+3OF1Ggup9ckrAmvY7R+wO+t9li 987gEQ5Pvsno49/vlOQ75jejG751H0ie3BPYvxQr6KlfQUmLcN4tS04vSDjlKF3qXy3kdF XLD5mt0PlMw+vemVYELXbgm25xAfZrNbrXzZmCE81k+vMOH1amw31tQRduQsRd9/eDmE1i 8rSoqrCVGKt9eMA/qY66Lrv3Axw7feVEFKKDMmibjcKK84HUOge3z/HYY2IrkNswq4pywJ Ns/bm1auiHa+d0a7MZbN+yKaF5sVRGeUTtRJFdaGQ+fd5bYgZp9UIEb6pJeufaVQ== Received: by filterdrecv-7dfc98557c-wqt5r with SMTP id filterdrecv-7dfc98557c-wqt5r-1-63F23AFB-19 2023-02-19 15:06:35.704580931 +0000 UTC m=+763766.066696551 Received: from bionic.localdomain (unknown) by geopod-ismtpd-1-1 (SG) with ESMTP id 61WxuLJaS2OJXr4orcUukA Sun, 19 Feb 2023 15:06:35.398 +0000 (UTC) From: Jonas Karlman Subject: [PATCH v4 4/4] rockchip: mkimage: Update init size limit for RK3328 and RK3568 Date: Sun, 19 Feb 2023 15:06:35 +0000 (UTC) Message-Id: <20230219150629.4012377-5-jonas@kwiboo.se> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230219150629.4012377-1-jonas@kwiboo.se> References: <20230219150629.4012377-1-jonas@kwiboo.se> MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h6bME0B7M2k77BQ1s?= =?us-ascii?Q?8=2FuP8n3XT3wS7bAvd7082GLWbrKPu1jrqQgZctv?= =?us-ascii?Q?uaZ8hm1JI+cG9zZltYfnCfctz2OeOYIW2CW+Ci5?= =?us-ascii?Q?r5EeCw3YMDKvYrbTHGnUEzKaVL7qjPzrOWlhU22?= =?us-ascii?Q?RPvytgy03Ek8ArXvNH1LIQo54R3atbMNMWA9cn?= To: Simon Glass , Philipp Tomsich , Kever Yang , Joseph Chen , Alper Nebi Yasak Cc: Quentin Schulz , Jagan Teki , Heinrich Schuchardt , 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.6 at phobos.denx.de X-Virus-Status: Clean Latest vendor TPL for RK3328 has grown past the current init size limit of 28KiB and the current init size limit for RK3568 of 76KiB is too big to fit in 64KiB SRAM. Sync init size limit from vendor u-boot for the following SoCs: rk3328: 30KiB (+2KiB) rk3568: 60KiB (-16KiB) This makes it possible to use latest vendor TPL on RK3328 without getting a size limit error running the mkimage command. Signed-off-by: Jonas Karlman --- v4: - Only change limit for rk3328 and rk3568 v3: - Sync with vendor u-boot as-is - Update commit message to include size changes v2: - New patch tools/rkcommon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 1f1eaa16752b..0d29110a4dec 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c @@ -129,12 +129,12 @@ static struct spl_info spl_infos[] = { { "rk322x", "RK32", 0x8000 - 0x1000, false, RK_HEADER_V1 }, { "rk3288", "RK32", 0x8000, false, RK_HEADER_V1 }, { "rk3308", "RK33", 0x40000 - 0x1000, false, RK_HEADER_V1 }, - { "rk3328", "RK32", 0x8000 - 0x1000, false, RK_HEADER_V1 }, + { "rk3328", "RK32", 0x8000 - 0x800, false, RK_HEADER_V1 }, { "rk3368", "RK33", 0x8000 - 0x1000, false, RK_HEADER_V1 }, { "rk3399", "RK33", 0x30000 - 0x2000, false, RK_HEADER_V1 }, { "rv1108", "RK11", 0x1800, false, RK_HEADER_V1 }, { "rv1126", "110B", 0x10000 - 0x1000, false, RK_HEADER_V1 }, - { "rk3568", "RK35", 0x14000 - 0x1000, false, RK_HEADER_V2 }, + { "rk3568", "RK35", 0x10000 - 0x1000, false, RK_HEADER_V2 }, }; /** -- 2.39.2