| Message ID | 20251214175449.3799539-2-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765734909; bh=JHER0NnrbNvfUMzu650j37g59II95vUTulfVF5oMSxs=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=tpCiVxh90J7nbG1WmbfhTS4if62TfsslM0VQGWQeO0w1CWOvQvV0UzeKyfOITL/1T eyTUX4XZsIRMy/wmX1YhuAJek+ZxaNk8zl6i3Ew9zmBaUNOqmwWCbiA7OpIG1ZoMnk DTAylwC8kR0VMuNyrjlCPN6p2dJdz+riPUuLXadefFWrV4G7acHaPAS93EiPiTxRY1 3aPwrIi5LhXOs1KKGwpR2SWqj2L/KvMjCdbq2FbN8zWHY3lWRu+zqAlooDkSJCVEnb NmxzlL0FgCW61Ie3NCE0Ri/nlBwt8XSB+2omIrbvzTD/c7hCl+/BQURGKA3lcOkfZh UZbsLGl2X3rLA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A7A8B68AEA for <u-boot-concept@u-boot.org>; Sun, 14 Dec 2025 10:55:09 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id U1tvTGyl4BXl for <u-boot-concept@u-boot.org>; Sun, 14 Dec 2025 10:55:09 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765734909; bh=JHER0NnrbNvfUMzu650j37g59II95vUTulfVF5oMSxs=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=tpCiVxh90J7nbG1WmbfhTS4if62TfsslM0VQGWQeO0w1CWOvQvV0UzeKyfOITL/1T eyTUX4XZsIRMy/wmX1YhuAJek+ZxaNk8zl6i3Ew9zmBaUNOqmwWCbiA7OpIG1ZoMnk DTAylwC8kR0VMuNyrjlCPN6p2dJdz+riPUuLXadefFWrV4G7acHaPAS93EiPiTxRY1 3aPwrIi5LhXOs1KKGwpR2SWqj2L/KvMjCdbq2FbN8zWHY3lWRu+zqAlooDkSJCVEnb NmxzlL0FgCW61Ie3NCE0Ri/nlBwt8XSB+2omIrbvzTD/c7hCl+/BQURGKA3lcOkfZh UZbsLGl2X3rLA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9747568AC0 for <u-boot-concept@u-boot.org>; Sun, 14 Dec 2025 10:55:09 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765734906; bh=xnUL3XmrYBHhjTrZrKAp4kifK/5xbc5MdejNQEQNJpI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NfUnanYsYRa+eWRvoMOo48keLYOF3VZNZEisR/RyETceL5Oq5Oc6l5FyrvzXjMNQ8 nUyu0IjwXzLplOCTbkwtNfHFPcYZKqFTEnifLJtPCoNGdo9ChyV+radb9bdAHmd/+J wtqDsA4UHH9m1QT1yTg3aCx1Fare5tUMBPPvDTgyP+n5PrgU+LanG2zcoQ5YEN8ku9 RvDGpi7DV7ciS1nuWUycrPOaxl7EtXgWuMmK204b/zDEyhES4kslhmpNlXL/RRaQmd 7GXltM1UHrrxF0NR2CtHcL/LovglaCNynHKtCUJdnjjcFpFsI6QbYntdzuwygFlnaZ TUfZAAZloiHIw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A225F68A84; Sun, 14 Dec 2025 10:55:06 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id VeV_i-HP6ozY; Sun, 14 Dec 2025 10:55:06 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1765734902; bh=HUOnye6VtdONX+gH+1zeMgyunYaOxmTYvz2/jl/H9Hc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LUaF7Td+xu/AuEZVKWMKKkmoC+f5hXKcDQhGAzoiwhGzUHKZS7L/WWzUCzbGIb4DJ 5nux9THyK27Kff6eG62wNbhA1zSI6mNL0uSjh24aLFxA6P9ZN4b/6IBH4n9aQpCC6R eJCxE5EOq77PpqOMGpsItbTGipRFFBP777j21Td5wmDTx3IA+dFQL2wd3jfN3Ra0en igDmaWzMDk56u0QAVznqCwGZvhAjTI0Rw7Mbsw0sVKumHtOJd+aW/kkRz/isS074dg h5MNtZq5uYVAfDb93pGZSaYzcV4jENbbyiXopMRia503L/n9cFXKb6dhfUPRd3fAAZ kuSNXyG+IjFPQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 24A9468A91; Sun, 14 Dec 2025 10:55:02 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Sun, 14 Dec 2025 10:54:23 -0700 Message-ID: <20251214175449.3799539-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251214175449.3799539-1-sjg@u-boot.org> References: <20251214175449.3799539-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 2Y5YHAYGLANYFOREK2RHZDMAXGCIQ2PD X-Message-ID-Hash: 2Y5YHAYGLANYFOREK2RHZDMAXGCIQ2PD X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Heinrich Schuchardt <heinrich.schuchardt@canonical.com>, Simon Glass <sjg@chromium.org>, Leo Yu-Chi Liang <ycliang@andestech.com>, Simon Glass <simon.glass@canonical.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 01/21] configs: raise SPL_SYS_MALLOC_SIZE to 8 MiB on RISC-V List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/2Y5YHAYGLANYFOREK2RHZDMAXGCIQ2PD/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
test: Add support for passing arguments to C unit tests
|
|
Commit Message
Simon Glass
Dec. 14, 2025, 5:54 p.m. UTC
From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> On several RISC-V boards we have seen that 1 MiB is a insufficient value for CONFIG_SPL_SYS_MALLOC_SIZE. For instance qemu-riscv32_spl_defconfig fails booting because u-boot.itb exceeds 1 MiB. 8 MiB is a reasonable value that allows adding FPGA blobs or splash images to main U-boot. Reported-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> (cherry picked from commit 8b410cab51266a0f6ee9c20e7f2bac9cfec079e8) Dropped modifications to all files except common/spl/Kconfig: Signed-off-by: Simon Glass <simon.glass@canonical.com> --- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index da0a358b2a3..c40dc5a1fe9 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -481,6 +481,7 @@ config SPL_CUSTOM_SYS_MALLOC_ADDR config SPL_SYS_MALLOC_SIZE hex "Size of the SPL malloc pool" depends on SPL_SYS_MALLOC + default 0x800000 if RISCV default 0x100000 config SPL_READ_ONLY